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

细节中的魔鬼--关于Few-Shot意图分类的模型和训练方案

The Devil is in the Details: On Models and Training Regimes for Few-Shot Intent Classification

Technical University of Darmstadt(达姆施塔特工业大学);University of Würzburg(维尔茨堡大学)

Mohsen Mesgar, Thy Thy Tran, Goran Glavas, Iryna Gurevych

摘要:

Few-Shot意图分类(FSIC)是模块化面向任务对话系统的关键挑战之一。虽然先进的FSIC方法在使用预训练的语言模型对文本进行编码和基于最近邻的推理进行分类方面是相似的,但这些方法在细节上有所不同。它们从不同的预训练文本编码器开始,使用具有不同相似性函数的不同编码架构,并采用不同的训练机制。将这些主要独立的设计决策与缺乏伴随的消融研究相结合,是识别驱动所报告的FSIC性能的因素的一大障碍。我们在三个关键维度上研究这些细节:(1)编码架构:交叉编码器与双编码器;(2)相似性函数:参数化(即,可训练)函数与非参数化函数;(3)训练机制:情景元学习与直接(即,非偶发性)训练。我们在七个FSIC基准上的实验结果揭示了三个重要的发现。首先,交叉编码器架构(具有参数化的相似性评分函数)和情节元学习的未开发组合始终产生最佳的FSIC性能。第二,情景训练产生比非情景训练更鲁棒的FSIC分类器。第三,在元学习方法中,将一个片段拆分为支持集和查询集并不是必须的。我们的研究结果铺平了道路进行国家的最先进的研究FSIC,更重要的是提高社会的关注FSIC方法的细节。我们公开发布代码和数据。

英文摘要:

Few-shot Intent Classification (FSIC) is one of the key challenges in modular task-oriented dialog systems. While advanced FSIC methods are similar in using pretrained language models to encode texts and nearest neighbour-based inference for classification, these methods differ in details. They start from different pretrained text encoders, use different encoding architectures with varying similarity functions, and adopt different training regimes. Coupling these mostly independent design decisions and the lack of accompanying ablation studies are big obstacle to identify the factors that drive the reported FSIC performance. We study these details across three key dimensions: (1) Encoding architectures: Cross-Encoder vs Bi-Encoders; (2) Similarity function: Parameterized (i.e., trainable) functions vs non-parameterized function; (3) Training regimes: Episodic meta-learning vs the straightforward (i.e., non-episodic) training. Our experimental results on seven FSIC benchmarks reveal three important findings. First, the unexplored combination of the cross-encoder architecture (with parameterized similarity scoring function) and episodic meta-learning consistently yields the best FSIC performance. Second, Episodic training yields a more robust FSIC classifier than non-episodic one. Third, in meta-learning methods, splitting an episode to support and query sets is not a must. Our findings paves the way for conducting state-of-the-art research in FSIC and more importantly raise the community's attention to details of FSIC methods. We release our code and data publicly.

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

↑