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

词汇替换并非同义词替换:论生成上下文相关词语替代的重要性

Lexical Substitution is not Synonym Substitution: On the Importance of Producing Contextually Relevant Word Substitutes

Technical University of Munich(慕尼黑工业大学)

Juraj Vladika, Stephen Meisenbacher, Florian Matthes

AI总结:

本文提出 ConCat 方法,通过利用原始句子增强上下文信息来改进词汇替换任务,实验表明其优于现有方法,并揭示了 CoInCo 基准的评估缺陷。

摘要:

词汇替换(Lexical Substitution)是将句子中的单个词替换为相似词的任务。理想情况下,替换词不仅应是同义词,还应能很好地融入目标词的周围语境,同时保持句子的语法结构。近年来,词汇替换的进展利用预训练语言模型的掩码词预测任务来为句子中的给定词生成替代词。基于这一技术,我们提出了 ConCat,一种简单的增强方法,利用原始句子来增强发送给模型的上下文信息。与现有方法相比,ConCat 在引导模型为目标词做出上下文相关的预测方面非常有效。我们的研究包括定量评估,通过句子相似度和任务性能进行衡量。此外,我们还进行了定性的人工分析,以验证用户更偏好我们方法提出的替代词,而非先前方法的结果。最后,我们在词汇替换的主流基准 CoInCo 上测试了我们的方法,揭示了该基准的潜在缺陷。这些见解为关于词汇替换评估方式的批判性讨论奠定了基础。

英文摘要:

Lexical Substitution is the task of replacing a single word in a sentence with a similar one. This should ideally be one that is not necessarily only synonymous, but also fits well into the surrounding context of the target word, while preserving the sentence's grammatical structure. Recent advances in Lexical Substitution have leveraged the masked token prediction task of Pre-trained Language Models to generate replacements for a given word in a sentence. With this technique, we introduce ConCat, a simple augmented approach which utilizes the original sentence to bolster contextual information sent to the model. Compared to existing approaches, it proves to be very effective in guiding the model to make contextually relevant predictions for the target word. Our study includes a quantitative evaluation, measured via sentence similarity and task performance. In addition, we conduct a qualitative human analysis to validate that users prefer the substitutions proposed by our method, as opposed to previous methods. Finally, we test our approach on the prevailing benchmark for Lexical Substitution, CoInCo, revealing potential pitfalls of the benchmark. These insights serve as the foundation for a critical discussion on the way in which Lexical Substitution is evaluated.

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

↑