arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.12562cs.LGstat.ML
收藏

符号序列可微比较的软编辑距离

Soft edit distance for differentiable comparison of symbolic sequences

Tula State University(图拉国立大学);Pirogov Russian National Research Medical University(皮罗戈夫俄罗斯国立研究医科大学);Shemyakin-Ovchinnikov Institute of Bioorganic Chemistry of the Russian Academy of Sciences(俄罗斯科学院谢米亚金—奥夫钦尼科夫生物有机化学研究所);National Research University Higher School of Economics(国立研究型高等经济大学);Keldysh Institute of Applied Mathematics(克尔德什应用数学研究所)

Evgenii Ofitserov, Vasily Tsvetkov, Vadim Nazarov

摘要:

编辑距离,也被称为Levenshtein距离,是比较两个字符串的基本方法,被证明在基因序列分析和自然语言处理中特别有用。然而,编辑距离是已知难以优化的离散函数。这一事实阻碍了在机器学习中使用此度量。即使像K-means这样简单的算法也无法使用编辑距离对一组序列进行聚类,如果它们具有可变的长度和丰度。在本文中,我们提出了一种新的度量软编辑距离(SED),这是一个光滑的近似编辑距离。它是可微的,因此可以用梯度方法对其进行优化。与原始编辑距离类似,SED及其导数可以用递归公式在多项式时间计算。我们证明了有用的合成数据集和聚类的生物序列的建议度量。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑