通过提示链与细粒度反馈提升大模型多轮任务完成率
Improving Multi-turn Task Completion in Task-Oriented Dialog Systems via Prompt Chaining and Fine-Grained Feedback
- 用提示链自动生成符合任务架构的上下文示例,实现零样本泛化
- 对每条API调用进行校验,错误定位准确率提升37.10%(SGD)
- 适合需要高可靠性多轮对话的智能客服、任务助手场景
面向复杂多轮任务的对话系统常依赖大语言模型完成自然语言交互。尽管指令微调的大模型在单轮任务中表现优异,但在涉及外部系统调用的多轮任务中仍存在可靠性不足问题。为此,本文提出RealTOD框架,通过(1)提示链实现零样本跨领域泛化,自动构建目标任务的上下文示例;(2)细粒度反馈机制,验证每条生成的API调用是否符合领域模式,识别具体错误并提供精准修正提示。为评估任务完成可靠性,引入全量API调用准确率(Full API Call Accuracy)及子指标以捕捉常见失败模式。在SGD和BiTOD基准上使用4个LLM进行实验,RealTOD在SGD上相较SOTA AutoTOD提升37.10%,在BiTOD上相比监督基线SimpleTOD提升10.32%。人工评估进一步表明,集成RealTOD的模型在任务完成度、流畅性与信息量方面均优于现有方法。
原文摘要 · Abstract (English)
Task-oriented dialog (TOD) systems facilitate users in accomplishing complex, multi-turn tasks through natural language. While instruction-tuned large language models (LLMs) have demonstrated strong performance on a range of single-turn NLP tasks, they often struggle with reliable multi-turn task completion in TOD settings, particularly when generating API calls required to interact with external systems. To address this, we introduce RealTOD, a novel framework that improves LLM-based TOD systems through (1) prompt chaining and (2) fine-grained feedback. Prompt chaining enables zero-shot generalization to new domains by automatically synthesizing a schema-aligned in-context example for the target task. Fine-grained feedback verifies each generated API call against the domain schema, identifies specific errors, and provides targeted correction prompts. To evaluate task completion reliability, we introduce full API Call Accuracy as a robust metric, along with detailed sub-metrics to capture common failure modes. We conduct extensive experiments on the SGD and BiTOD benchmarks using four LLMs. RealTOD improves Full API accuracy, surpassing state-of-the-art AutoTOD by 37.10% on SGD and supervised learning-based baseline SimpleTOD by 10.32% on BiTOD. Human evaluations further confirm that LLMs integrated with RealTOD achieve superior task completion, fluency, and informativeness compared to existing methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。