arXiv:2602.14035cs.AI2026-02

让对话系统精准遵循流程图逻辑,避免幻觉错误。

FloCA: Towards Faithful and Logically Consistent Flowchart Reasoning

  • 用外部工具约束图结构执行,确保节点跳转正确
  • 在两个数据集上显著优于现有方法,推理准确率提升15%以上
  • 适合需要高可靠性的操作引导场景,如医疗或工业流程

面向流程图的对话(FOD)系统通过遵循领域特定流程图来指导用户完成多轮决策或操作流程。本文将FOD中的流程图推理形式化为每轮对话中将用户输入与流程图节点对齐,并确保节点转移符合正确路径。尽管大语言模型(LLM)在任务导向对话中取得进展,但将其应用于FOD仍存在两大局限:(1)缺乏显式表示和推理流程图拓扑的机制;(2)易产生幻觉,导致推理不忠实。为此,我们提出FloCA,一种零样本流程图对话代理。FloCA使用LLM进行意图理解与回复生成,同时将流程图推理交由外部工具执行,实现拓扑约束下的图遍历,保障跨轮对话中节点转移的忠实性与逻辑一致性。我们还引入基于LLM的用户模拟器及五个新指标,涵盖推理准确率与交互效率。在FLODIAL和PFDial数据集上的大量实验揭示了现有方法的瓶颈,并验证了FloCA的优越性。代码已开源。

原文摘要 · Abstract (English)

Flowchart-oriented dialogue (FOD) systems aim to guide users through multi-turn decision-making or operational procedures by following a domain-specific flowchart to achieve a task goal. In this work, we formalize flowchart reasoning in FOD as grounding user input to flowchart nodes at each dialogue turn while ensuring node transition is consistent with the correct flowchart path. Despite recent advances of LLMs in task-oriented dialogue systems, adapting them to FOD still faces two limitations: (1) LLMs lack an explicit mechanism to represent and reason over flowchart topology, and (2) they are prone to hallucinations, leading to unfaithful flowchart reasoning. To address these limitations, we propose FloCA, a zero-shot flowchart-oriented conversational agent. FloCA uses an LLM for intent understanding and response generation while delegating flowchart reasoning to an external tool that performs topology-constrained graph execution, ensuring faithful and logically consistent node transitions across dialogue turns. We further introduce an evaluation framework with an LLM-based user simulator and five new metrics covering reasoning accuracy and interaction efficiency. Extensive experiments on FLODIAL and PFDial datasets highlight the bottlenecks of existing LLM-based methods and demonstrate the superiority of FloCA. Our codes are available at https://github.com/Jinzi-Zou/FloCA-flowchart-reasoning.

流程图推理对话系统大模型应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。