Soft edit distance for differentiable comparison of symbolic sequences
Not on the map. Why?
Abstract (arXiv)
Edit distance, also known as Levenshtein distance, is an essential way to compare two strings that proved to be particularly useful in the analysis of genetic sequences and natural language processing. However, edit distance is a discrete function that is known to be hard to optimize. This fact hampers the use of this metric in Machine Learning. Even as simple algorithm as K-means fails to cluster a set of sequences using edit distance if they are of variable length and abundance. In this paper we propose a novel metric - soft edit distance (SED), which is a smooth approximation of edit distance. It is differentiable and therefore it is possible to optimize it with gradient methods. Similar to original edit distance, SED as well as its derivatives can be calculated with recurrent formulas at polynomial time. We prove usefulness of the proposed metric on synthetic datasets and clustering of biological sequences.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). First posted on arXiv 29 Apr 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1.
1 paper.