Hybrid detection of fuzzy duplicate texts: сosine similarity and transformers

This paper addresses the challenge of detecting texts that share the same meaning but differ in wording and structure.Such "fuzzy duplicates" are increasingly prevalent in user-generated content, media articles, and academic materials.Traditional TF-IDF-based methods with cosine similarity process data swiftly but often overlook deeper semantic nuances, especially in languages with free word order and complex morphology (for example, Slavic languages such as Ukrainian or Bulgarian, and agglutinative languages like Hungarian).Fully neural solutions (e.g., transformers) typically offer higher accuracy yet can be slow and computationally demanding.To tackle these issues, we propose a hybrid approach that integrates a simplified neural component with classical cosine similarity.The workflow normalizes text variants (correcting spelling and inflectional forms), converts them into semantic vectors using a lightweight transformer model, and then applies a dynamic threshold mechanism tuned to text genre (e.g., news vs. social media).Experiments on Ukrainian-language datasets suggest that this method balances accuracy and speed more effectively than a fully neural pipeline.The approach is novel in combining domain-specific preprocessing and lightweight neural embeddings for fuzzy duplicate detection in text, achieving approximately ten to twelve percent higher detection accuracy than known solutions while maintaining faster runtime than a full BERT model.Preliminary tests in editorial and plagiarism-checking scenarios indicate that the system more reliably identifies paraphrased content than purely statistical methods, thereby reducing the burden of manual verification.Overall, the hybrid design offers a practical compromise between detection performance and computational requirements, which is especially beneficial for resourceconstrained applications in morphologically rich languages like Ukrainian or other Slavic languages.Future efforts will focus on extending morphological coverage to further improve reliability.

Authors

Publication Details

Journal
Applied Aspects of Information Technology
Published
2025-04-13
DOI
https://doi.org/10.15276/aait.08.2025.4
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid detection of fuzzy duplicate texts: сosine similarity and transformers

Тетяна Заболотня, Nazarii V. Kozynets
Applied Aspects of Information Technology
Spam and Phishing Detection
article

Hybrid detection of fuzzy duplicate texts: сosine similarity and transformers

Тетяна Заболотня, Nazarii V. Kozynets
article en

Abstract

This paper addresses the challenge of detecting texts that share the same meaning but differ in wording and structure.Such "fuzzy duplicates" are increasingly prevalent in user-generated content, media articles, and academic materials.Traditional TF-IDF-based methods with cosine similarity process data swiftly but often overlook deeper semantic nuances, especially in languages with free word order and complex morphology (for example, Slavic languages such as Ukrainian or Bulgarian, and agglutinative languages like Hungarian).Fully neural solutions (e.g., transformers) typically offer higher accuracy yet can be slow and computationally demanding.To tackle these issues, we propose a hybrid approach that integrates a simplified neural component with classical cosine similarity.The workflow normalizes text variants (correcting spelling and inflectional forms), converts them into semantic vectors using a lightweight transformer model, and then applies a dynamic threshold mechanism tuned to text genre (e.g., news vs. social media).Experiments on Ukrainian-language datasets suggest that this method balances accuracy and speed more effectively than a fully neural pipeline.The approach is novel in combining domain-specific preprocessing and lightweight neural embeddings for fuzzy duplicate detection in text, achieving approximately ten to twelve percent higher detection accuracy than known solutions while maintaining faster runtime than a full BERT model.Preliminary tests in editorial and plagiarism-checking scenarios indicate that the system more reliably identifies paraphrased content than purely statistical methods, thereby reducing the burden of manual verification.Overall, the hybrid design offers a practical compromise between detection performance and computational requirements, which is especially beneficial for resourceconstrained applications in morphologically rich languages like Ukrainian or other Slavic languages.Future efforts will focus on extending morphological coverage to further improve reliability.

Applied Aspects of Information TechnologyVol. 8(1)
Openalex Percentile: Top 91%
Spam and Phishing Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.