arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.16675cs.CL
收藏

一种基于分布的句子相似度判定阈值

A Distribution-Based Threshold for Determining Sentence Similarity

ATS Relab

Gioele Cadamuro, Marco Gruppo

AI总结:

本文提出基于孪生神经网络的分布方法,通过构建相似与不相似句对的距离分布来确定判定阈值,并结合分布特征与距离函数改进预测评分,在STS基准数据集上验证了方法的可迁移性。

摘要:

我们在此提出一种针对语义文本相似性(STS)问题的解决方案,在该问题中,需要匹配两个句子,它们唯一的区别因素在于高度具体的信息(如姓名、地址、识别码),并且我们需要由此推导出它们何时相似、何时不相似的定义。该解决方案的核心是使用一个基于孪生架构的神经网络,来生成相似句对和不相似句对之间距离的分布。这些分布的目标是找到一个判别因素,我们称之为“阈值”,它表示一个定义明确的量,可用于在新的预测和后续分析中区分相似句对的向量距离与不相似句对的向量距离。此外,我们开发了一种对预测进行评分的方法,该方法结合了分布特征和距离函数工作方式两方面的属性。最后,我们将所讨论的系统应用于一个广为人知且广泛使用的STS问题基准数据集,从而推广了结果,表明它们可以迁移到更广泛的领域。

英文摘要:

We hereby present a solution to a semantic textual similarity (STS) problem in which it is necessary to match two sentences containing, as the only distinguishing factor, highly specific information (such as names, addresses, identification codes), and from which we need to derive a definition for when they are similar and when they are not. The solution revolves around the use of a neural network, based on the siamese architecture, to create the distributions of the distances between similar and dissimilar pairs of sentences. The goal of these distributions is to find a discriminating factor, that we call "threshold", which represents a well-defined quantity that can be used to distinguish vector distances of similar pairs from vector distances of dissimilar pairs in new predictions and later analyses. In addition, we developed a way to score the predictions by combining attributes from both the distributions' features and the way the distance function works. Finally, we generalize the results showing that they can be transferred to a wider range of domains by applying the system discussed to a well-known and widely used benchmark dataset for STS problems.

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

↑