arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.10029cs.CL
收藏

SynWMD:基于句法感知的词移动距离的句子相似度评估

SynWMD: Syntax-aware Word Mover's Distance for Sentence Similarity Evaluation

University of Southern California(南加州大学);National University of Singapore(新加坡国立大学)

Chengwei Wei, Bin Wang, C. -C. Jay Kuo

摘要:

词移动器距离(WMD)计算词之间的距离,并以两个文本序列中词之间的移动代价来建模文本相似度。然而,它并没有提供良好的性能在句子相似性评估,因为它不包括单词的重要性,并没有考虑到句子中固有的上下文和结构信息。一种改进的WMD方法使用的语法分析树,称为语法感知的词移动器的距离(SynWMD),提出了解决这两个缺点,在这项工作中。首先,从句子的句法分析树中提取词的共现统计信息,并在此基础上构建一个加权图。每个词的重要性是从图的连通性推断出来的。其次,在计算词与词之间的距离时考虑词的局部句法分析结构。为了证明所提出的SynWMD的有效性,我们进行了6个文本语义相似性(STS)数据集和4个句子分类数据集的实验。实验结果表明,SynWMD在STS任务上达到了最先进的性能。它在句子分类任务上也优于其他基于WMD的方法。

英文摘要:

Word Mover's Distance (WMD) computes the distance between words and models text similarity with the moving cost between words in two text sequences. Yet, it does not offer good performance in sentence similarity evaluation since it does not incorporate word importance and fails to take inherent contextual and structural information in a sentence into account. An improved WMD method using the syntactic parse tree, called Syntax-aware Word Mover's Distance (SynWMD), is proposed to address these two shortcomings in this work. First, a weighted graph is built upon the word co-occurrence statistics extracted from the syntactic parse trees of sentences. The importance of each word is inferred from graph connectivities. Second, the local syntactic parsing structure of words is considered in computing the distance between words. To demonstrate the effectiveness of the proposed SynWMD, we conduct experiments on 6 textual semantic similarity (STS) datasets and 4 sentence classification datasets. Experimental results show that SynWMD achieves state-of-the-art performance on STS tasks. It also outperforms other WMD-based methods on sentence classification tasks.

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

↑