arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.02285cs.CLcs.AIcs.LG
收藏

SynthDST:少样本对话状态跟踪仅需合成数据

SynthDST: Synthetic Data is All You Need for Few-Shot Dialog State Tracking

Carnegie Mellon University(卡内基梅隆大学);Apple Inc.(苹果公司)

Atharva Kulkarni, Bo-Hsiang Tseng, Joel Ruben Antony Moniz, Dhivya Piraviperumal, Hong Yu, Shruti Bhargava

AI总结:

SynthDST利用LLMs仅凭对话模式和少量模板合成带标注对话数据,实现少样本DST,在MultiWOZ上相比零样本提升4-5%联合目标准确率,并恢复近98%的人工数据性能。

摘要:

基于大型语言模型(LLMs)的上下文学习已成为对话状态跟踪(DST)研究中一个有前景的方向。然而,性能最佳的上下文学习方法涉及检索并添加相似示例到提示中,这需要访问带标签的训练数据。为广泛领域和应用获取此类训练数据耗时、昂贵,有时甚至不可行。虽然零样本学习不需要训练数据,但其性能显著落后于少样本设置。因此,我们提出一个问题:“我们能否为任何对话模式高效生成合成数据,以实现少样本提示?”针对这一问题,我们提出了SynthDST,一个专为DST设计、利用LLMs的数据生成框架。我们的方法仅需对话模式和少量手工制作的对话模板,即可合成自然、连贯且自由流畅的对话及其DST标注。使用SynthDST生成的数据进行少样本学习,在MultiWOZ 2.1和2.4上,联合目标准确率相比零样本基线提升了4-5%。值得注意的是,我们的少样本学习方法相比使用人工标注训练数据的少样本设置,恢复了近98%的性能。我们的合成数据和代码可在https://github.com/apple/ml-synthdst获取。

英文摘要:

In-context learning with Large Language Models (LLMs) has emerged as a promising avenue of research in Dialog State Tracking (DST). However, the best-performing in-context learning methods involve retrieving and adding similar examples to the prompt, requiring access to labeled training data. Procuring such training data for a wide range of domains and applications is time-consuming, expensive, and, at times, infeasible. While zero-shot learning requires no training data, it significantly lags behind the few-shot setup. Thus, `\textit{Can we efficiently generate synthetic data for any dialogue schema to enable few-shot prompting?}' Addressing this question, we propose \method, a data generation framework tailored for DST, utilizing LLMs. Our approach only requires the dialogue schema and a few hand-crafted dialogue templates to synthesize natural, coherent, and free-flowing dialogues with DST annotations. Few-shot learning using data from {\method} results in $4-5%$ improvement in Joint Goal Accuracy over the zero-shot baseline on MultiWOZ 2.1 and 2.4. Remarkably, our few-shot learning approach recovers nearly $98%$ of the performance compared to the few-shot setup using human-annotated training data. Our synthetic data and code can be accessed at https://github.com/apple/ml-synthdst

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

↑