arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.23740cs.CLcs.AI
收藏

LANID:LLM辅助的新意图发现

LANID: LLM-assisted New Intent Discovery

The Hong Kong Polytechnic University(香港理工大学);NetEase Inc.(网易公司)

Lu Fan, Jiashu Pu, Rongsheng Zhang, Xiao-Ming Wu

AI总结:

提出LANID框架,利用LLM指导轻量级编码器进行对比微调,在三个NID数据集上有效识别新意图并超越强基线。

摘要:

任务型对话系统(TODS)经常面临遇到新意图的挑战。新意图发现(NID)是一项关键任务,旨在识别这些新意图,同时保持识别已有意图的能力。先前使TODS适应新意图的努力一直受困于语义表示不充分,或者依赖于外部知识,这通常不具备可扩展性或灵活性。最近,大型语言模型(LLMs)展现出了强大的零样本能力;然而,对于涉及大量查询的实际应用而言,其规模可能并不实用。为了通过利用LLMs来解决现有NID方法的局限性,我们提出了LANID,这是一个在LLMs的指导下增强轻量级NID编码器语义表示的框架。具体而言,LANID采用$K$近邻和带有噪声的基于密度的空间聚类应用(DBSCAN)算法,从训练集中采样有选择性的话语对。然后,它查询LLM以确定这些话语对之间的关系。从该过程产生的数据被用于设计对比微调任务,随后使用对比三元组损失来训练小型编码器。我们的实验结果证明了所提出方法在三个不同NID数据集上的有效性,在无监督和半监督设置中均超越了强基线。我们的代码可在https://github.com/floatSDSDS/LANID获取。

英文摘要:

Task-oriented Dialogue Systems (TODS) often face the challenge of encountering new intents. New Intent Discovery (NID) is a crucial task that aims to identify these novel intents while maintaining the capability to recognize existing ones. Previous efforts to adapt TODS to new intents have struggled with inadequate semantic representation or have depended on external knowledge, which is often not scalable or flexible. Recently, Large Language Models (LLMs) have demonstrated strong zero-shot capabilities; however, their scale can be impractical for real-world applications that involve extensive queries. To address the limitations of existing NID methods by leveraging LLMs, we propose LANID, a framework that enhances the semantic representation of lightweight NID encoders with the guidance of LLMs. Specifically, LANID employs the $K$-nearest neighbors and Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithms to sample selective utterance pairs from the training set. It then queries an LLM to ascertain the relationships between these pairs. The data produced from this process is utilized to design a contrastive fine-tuning task, which is then used to train a small encoder with a contrastive triplet loss. Our experimental results demonstrate the efficacy of the proposed method across three distinct NID datasets, surpassing strong baselines in both unsupervised and semi-supervised settings. Our code is available at https://github.com/floatSDSDS/LANID.

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

↑