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

通过HEROS揭示句子编码器评估的盲区

Revealing the Blind Spot of Sentence Encoder Evaluation by HEROS

National Taiwan University(国立台湾大学);Massachusetts Institute of Technology(麻省理工学院)

Cheng-Han Chiang, Yung-Sung Chuang, James Glass, Hung-yi Lee

AI总结:

该研究针对传统句子文本相似度基准的评估盲区,构建高词汇重叠最小对诊断数据集HEROS,测试发现多数无监督句子编码器对否定不敏感,训练数据集是编码器相似度判断的主要决定因素。

摘要:

现有的句子文本相似度基准数据集仅用单个数值来概括句子编码器的决策与人类判断的相似程度。然而,目前尚不清楚句子编码器(SE)会将哪些类型的句子对判定为相似。此外,现有的SE基准主要关注词汇重叠度低的句子对,因此当两个句子词汇重叠度较高时,SE的表现如何仍不明确。我们引入了一个高质量的SE诊断数据集HEROS。HEROS的构建方式是按照特定规则将原句转换为新句子,形成“最小对”,且这类最小对具有高词汇重叠度。转换规则包括将单词替换为同义词、反义词、拼写错误词、随机词,以及将原句转换为否定形式。不同规则对应生成HEROS的不同子集。通过系统对比60余种有监督和无监督SE在HEROS上的性能,我们发现大多数无监督句子编码器对否定信息不敏感。研究表明,用于训练SE的数据集是决定SE将哪些句子对判定为相似的主要因素。我们还发现,即使两个SE在STS基准上的性能相近,它们在HEROS上的表现也可能存在显著差异。我们的研究结果揭示了传统STS基准在评估SE时存在的盲区。

英文摘要:

Existing sentence textual similarity benchmark datasets only use a single number to summarize how similar the sentence encoder's decision is to humans'. However, it is unclear what kind of sentence pairs a sentence encoder (SE) would consider similar. Moreover, existing SE benchmarks mainly consider sentence pairs with low lexical overlap, so it is unclear how the SEs behave when two sentences have high lexical overlap. We introduce a high-quality SE diagnostic dataset, HEROS. HEROS is constructed by transforming an original sentence into a new sentence based on certain rules to form a \textit{minimal pair}, and the minimal pair has high lexical overlaps. The rules include replacing a word with a synonym, an antonym, a typo, a random word, and converting the original sentence into its negation. Different rules yield different subsets of HEROS. By systematically comparing the performance of over 60 supervised and unsupervised SEs on HEROS, we reveal that most unsupervised sentence encoders are insensitive to negation. We find the datasets used to train the SE are the main determinants of what kind of sentence pairs an SE considers similar. We also show that even if two SEs have similar performance on STS benchmarks, they can have very different behavior on HEROS. Our result reveals the blind spot of traditional STS benchmarks when evaluating SEs.

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

↑