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

通过函数调用将大型语言模型作为零样本对话状态跟踪器

Large Language Models as Zero-shot Dialogue State Tracker through Function Calling

University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);Carnegie Mellon University(卡内基梅隆大学);Meta AI

Zekun Li, Zhiyu Zoey Chen, Mike Ross, Patrick Huber, Seungwhan Moon, Zhaojiang Lin, Xin Luna Dong, Adithya Sagar, Xifeng Yan, Paul A. Crook

AI总结:

本文提出FnCTOD方法,通过函数调用利用大型语言模型解决任务型对话中的零样本对话状态跟踪问题,无需大量数据收集或模型微调,在7B/13B参数模型及ChatGPT上均超越SOTA,并通过少量微调使13B模型达到接近ChatGPT的性能。

摘要:

大型语言模型(LLMs)因其在通用语境中先进的理解和生成能力,在对话系统中日益普及。然而,它们在任务型对话(TOD)中的效果仍不尽如人意,这不仅需要生成回复,还需要在特定任务和领域内进行有效的对话状态跟踪(DST)。在本研究中,我们提出了一种新方法FnCTOD,通过函数调用利用LLMs解决DST。该方法改进了零样本DST,允许适应不同领域而无需大量数据收集或模型微调。实验结果表明,我们的方法在中等规模的开源模型和专有LLMs上均取得了卓越性能:通过上下文提示,它使各种7B或13B参数模型超越了ChatGPT此前实现的最先进(SOTA)水平,并使ChatGPT的性能提升了5.6%的平均联合目标准确率(JGA),击败了SOTA。GPT-3.5和GPT-4的单独模型结果分别提升了4.8%和14%。我们还表明,通过对少量多样化任务型对话进行微调,我们能为中等规模模型(具体为13B参数的LLaMA2-Chat模型)赋予函数调用能力,使其DST性能与ChatGPT相当,同时保持其聊天能力。我们已将代码公开于https://github.com/facebookresearch/FnCTOD

英文摘要:

Large language models (LLMs) are increasingly prevalent in conversational systems due to their advanced understanding and generative capabilities in general contexts. However, their effectiveness in task-oriented dialogues (TOD), which requires not only response generation but also effective dialogue state tracking (DST) within specific tasks and domains, remains less satisfying. In this work, we propose a novel approach FnCTOD for solving DST with LLMs through function calling. This method improves zero-shot DST, allowing adaptation to diverse domains without extensive data collection or model tuning. Our experimental results demonstrate that our approach achieves exceptional performance with both modestly sized open-source and also proprietary LLMs: with in-context prompting it enables various 7B or 13B parameter models to surpass the previous state-of-the-art (SOTA) achieved by ChatGPT, and improves ChatGPT's performance beating the SOTA by 5.6% average joint goal accuracy (JGA). Individual model results for GPT-3.5 and GPT-4 are boosted by 4.8% and 14%, respectively. We also show that by fine-tuning on a small collection of diverse task-oriented dialogues, we can equip modestly sized models, specifically a 13B parameter LLaMA2-Chat model, with function-calling capabilities and DST performance comparable to ChatGPT while maintaining their chat capabilities. We have made the code publicly available at https://github.com/facebookresearch/FnCTOD

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

↑