arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.15093cs.CLcs.AIcs.LG
收藏

C-STS:条件语义文本相似度

C-STS: Conditional Semantic Textual Similarity

The Allen Institute for AI(艾伦人工智能研究所);Princeton University(普林斯顿大学);Georgia Tech(佐治亚理工学院)

Ameet Deshpande, Carlos E. Jimenez, Howard Chen, Vishvak Murahari, Victoria Graf, Tanmay Rajpurohit, Ashwin Kalyan, Danqi Chen, Karthik Narasimhan

AI总结:

本研究提出条件语义文本相似度(C-STS)任务,通过自然语言条件明确相似度的衡量维度,降低传统STS的歧义性,测试发现多款主流模型在该任务上表现不佳,同时公开了近1.9万样本与代码以支撑相关研究。

摘要:

语义文本相似度(STS)是自然语言处理(NLP)中的核心任务,用于衡量句子对之间的相似程度,在信息检索、自然语言理解等领域有着广泛应用。然而,句子相似度本质上可能存在歧义,其结果取决于所关注的具体方面。我们通过提出一项名为Conditional STS(C-STS,条件语义文本相似度)的新型任务来解决这一歧义,该任务基于自然语言描述的特征(以下简称“条件”)来衡量句子的相似度。例如,句子“NBA球员投出一记三分球”和“一名男子将网球抛向空中发球”的相似度,在“球的运动”条件下更高(二者都是向上运动),在“球的大小”条件下更低(一个大一个小)。C-STS的优势体现在两方面:(1)它降低了STS的主观性与歧义性;(2)能够通过多样化的自然语言条件实现细粒度的语言模型评估。我们对多个当前最优模型进行了测试,即便在STS任务上表现优异的模型(如SimCSE、Flan-T5和GPT-4)也认为C-STS颇具挑战,所有模型的斯皮尔曼相关系数得分均低于50。为推动对语义相似度和自然语言理解开展更全面的评估,我们公开了近1.9万个C-STS样本与代码,可供其他研究者训练和测试自身的模型。

英文摘要:

Semantic textual similarity (STS), a cornerstone task in NLP, measures the degree of similarity between a pair of sentences, and has broad application in fields such as information retrieval and natural language understanding. However, sentence similarity can be inherently ambiguous, depending on the specific aspect of interest. We resolve this ambiguity by proposing a novel task called Conditional STS (C-STS) which measures sentences' similarity conditioned on an feature described in natural language (hereon, condition). As an example, the similarity between the sentences "The NBA player shoots a three-pointer." and "A man throws a tennis ball into the air to serve." is higher for the condition "The motion of the ball" (both upward) and lower for "The size of the ball" (one large and one small). C-STS's advantages are two-fold: (1) it reduces the subjectivity and ambiguity of STS and (2) enables fine-grained language model evaluation through diverse natural language conditions. We put several state-of-the-art models to the test, and even those performing well on STS (e.g. SimCSE, Flan-T5, and GPT-4) find C-STS challenging; all with Spearman correlation scores below 50. To encourage a more comprehensive evaluation of semantic similarity and natural language understanding, we make nearly 19K C-STS examples and code available for others to train and test their models.

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

↑