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

你的模型能区分否定与隐含意义吗?揭示意图编码器面临的挑战

Can Your Model Tell a Negation from an Implicature? Unravelling Challenges With Intent Encoders

University of California, San Diego(加利福尼亚大学圣迭戈分校);WS AI Labs(WS AI实验室);KAIST(韩国科学技术院)

Yuwei Zhang, Siffi Singh, Sailik Sengupta, Igor Shalyminov, Hang Su, Hwanjun Song, Saab Mansour

AI总结:

针对传统基准无法衡量意图嵌入模型语义理解差距的问题,研究提出含三元组任务的语义工具包评估模型对否定与隐含意义的理解,并通过自回归数据增强加对比损失的预训练方法提升相关语义能力。

摘要:

对话系统通常依赖嵌入模型完成意图分类和意图聚类任务。大语言模型(LLMs)的出现催生了指令式嵌入,支持通过提示在嵌入空间中调整语义,这类模型正被视为解决这些下游对话任务的万灵药。然而,传统评估基准仅依赖任务指标,无法专门衡量与语义理解相关的能力差距。为此,我们提出一个意图语义工具包,通过考察三项任务——(1)意图分类、(2)意图聚类、(3)一项新颖的三元组任务——为意图嵌入模型提供更全面的评估视角。三元组任务用于衡量模型对现实对话系统中至关重要的两个语义概念的理解:否定和隐含意义。我们观察到,当前的嵌入模型在对这些概念的语义理解上表现不佳。为解决这一问题,我们提出一种预训练方法,利用自回归模型生成的数据进行增强,并结合对比损失项来优化嵌入模型。我们的方法提升了意图嵌入模型在上述语言维度上的语义理解能力,同时对其下游任务指标的性能影响极小。

英文摘要:

Conversational systems often rely on embedding models for intent classification and intent clustering tasks. The advent of Large Language Models (LLMs), which enable instructional embeddings allowing one to adjust semantics over the embedding space using prompts, are being viewed as a panacea for these downstream conversational tasks. However, traditional evaluation benchmarks rely solely on task metrics that don't particularly measure gaps related to semantic understanding. Thus, we propose an intent semantic toolkit that gives a more holistic view of intent embedding models by considering three tasks -- (1) intent classification, (2) intent clustering, and (3) a novel triplet task. The triplet task gauges the model's understanding of two semantic concepts paramount in real-world conversational systems -- negation and implicature. We observe that current embedding models fare poorly in semantic understanding of these concepts. To address this, we propose a pre-training approach to improve the embedding model by leveraging augmentation with data generated by an auto-regressive model and a contrastive loss term. Our approach improves the semantic understanding of the intent embedding model on the aforementioned linguistic dimensions while slightly effecting their performance on downstream task metrics.

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

↑