RECORD
Identifying document similarity using a fast estimation of the Levenshtein Distance based on compression and signatures
Information Retrieval · Submitted 21 Jul 2023
abstract compiled · 2026-09-23 · no language-model review
The authors' main claim Our evaluation shows promising results in terms of runtime efficiency and accuracy.
The compiled record
The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
Open the compiled record
The abstract, sentence by sentence
Identifying document similarity has many applications, e.g., source code analysis or plagiarism detection. However, identifying similarities is not trivial and can be time complex. For instance, the Levenshtein Distance is a common metric to define the similarity between two documents but has quadratic runtime which makes it impractical for large documents where large starts with a few hundred kilobytes. In this paper, we present a novel concept that allows estimating the Levenshtein Distance: the algorithm first compresses documents to signatures (similar to hash values) using a user-defined compression ratio. Signatures can then be compared against each other (some constrains apply) where the outcome is the estimated Levenshtein Distance. Our evaluation shows promising results in terms of runtime efficiency and accuracy. In addition, we introduce a significance score allowing examiners to set a threshold and identify related documents.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | Identifying document similarity has many applications, e.g., source code analysis or plagiarism detection. | background 1.00 | 0.04 | 0.02 | asserted 1.00 |
| s1 | However, identifying similarities is not trivial and can be time complex. | background 0.86 | 0.05 | 0.02 | asserted 0.88 |
| s2 | For instance, the Levenshtein Distance is a common metric to define the similarity between two documents but has quadratic runtime which makes it impractical for large documents where large starts with a few hundred kilobytes. | background 0.90 | 0.06 | 0.03 | asserted 1.00 |
| s3 | In this paper, we present a novel concept that allows estimating the Levenshtein Distance: the algorithm first compresses documents to signatures (similar to hash values) using a user-defined compression ratio. | contribution 0.57 | 0.91 | 0.14 | asserted 1.00 |
| s4 | Signatures can then be compared against each other (some constrains apply) where the outcome is the estimated Levenshtein Distance. | method 0.99 | 0.74 | 0.08 | asserted 0.97 |
| s5 | Our evaluation shows promising results in terms of runtime efficiency and accuracy. | result 0.99 | 0.96 | 0.57 | asserted 0.86 |
| s6 | In addition, we introduce a significance score allowing examiners to set a threshold and identify related documents. | contribution 0.98 | 0.94 | 0.11 | asserted 1.00 |
What was examined, and what was not
- arXiv listing abstract v1
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
The paper
Original abstract
Identifying document similarity has many applications, e.g., source code analysis or plagiarism detection. However, identifying similarities is not trivial and can be time complex. For instance, the Levenshtein Distance is a common metric to define the similarity between two documents but has quadratic runtime which makes it impractical for large documents where large starts with a few hundred kilobytes. In this paper, we present a novel concept that allows estimating the Levenshtein Distance: the algorithm first compresses documents to signatures (similar to hash values) using a user-defined compression ratio. Signatures can then be compared against each other (some constrains apply) where the outcome is the estimated Levenshtein Distance. Our evaluation shows promising results in terms of runtime efficiency and accuracy. In addition, we introduce a significance score allowing examiners to set a threshold and identify related documents.
Human review
Discussion
Know something about this paper? Leave a comment, or highlight any passage above to comment on it.