Saved in:
Bibliographic Details
Main Authors: Joshi, Akhil, Erukude, Sai Teja, Shamir, Lior
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.17605
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910888780365824
author Joshi, Akhil
Erukude, Sai Teja
Shamir, Lior
author_facet Joshi, Akhil
Erukude, Sai Teja
Shamir, Lior
contents With the availability of virtually infinite number text documents in digital format, automatic comparison of textual data is essential for extracting meaningful insights that are difficult to identify manually. Many existing tools, including AI and large language models, struggle to provide precise and explainable insights into textual similarities. In many cases they determine the similarity between documents as reflected by the text, rather than the similarities between the subjects being discussed in these documents. This study addresses these limitations by developing an n-gram analysis framework designed to compare documents automatically and uncover explainable similarities. A scoring formula is applied to assigns each of the n-grams with a weight, where the weight is higher when the n-grams are more frequent in both documents, but is penalized when the n-grams are more frequent in the English language. Visualization tools like word clouds enhance the representation of these patterns, providing clearer insights. The findings demonstrate that this framework effectively uncovers similarities between text documents, offering explainable insights that are often difficult to identify manually. This non-parametric approach provides a deterministic solution for identifying similarities across various fields, including biographies, scientific literature, historical texts, and more. Code for the method is publicly available.
format Preprint
id arxiv_https___arxiv_org_abs_2503_17605
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Explainable identification of similarities between entities for discovery in large text
Joshi, Akhil
Erukude, Sai Teja
Shamir, Lior
Information Retrieval
Machine Learning
With the availability of virtually infinite number text documents in digital format, automatic comparison of textual data is essential for extracting meaningful insights that are difficult to identify manually. Many existing tools, including AI and large language models, struggle to provide precise and explainable insights into textual similarities. In many cases they determine the similarity between documents as reflected by the text, rather than the similarities between the subjects being discussed in these documents. This study addresses these limitations by developing an n-gram analysis framework designed to compare documents automatically and uncover explainable similarities. A scoring formula is applied to assigns each of the n-grams with a weight, where the weight is higher when the n-grams are more frequent in both documents, but is penalized when the n-grams are more frequent in the English language. Visualization tools like word clouds enhance the representation of these patterns, providing clearer insights. The findings demonstrate that this framework effectively uncovers similarities between text documents, offering explainable insights that are often difficult to identify manually. This non-parametric approach provides a deterministic solution for identifying similarities across various fields, including biographies, scientific literature, historical texts, and more. Code for the method is publicly available.
title Explainable identification of similarities between entities for discovery in large text
topic Information Retrieval
Machine Learning
url https://arxiv.org/abs/2503.17605