arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.06706cs.CLcs.AIcs.LG
收藏

PFDial:一种基于UML流程图的结构化对话指令微调方法

PFDial: A Structured Dialogue Instruction Fine-tuning Method Based on UML Flowcharts

College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学与人工智能学院);Douyin Co., Ltd.(抖音公司);Institute of Modern Languages and Linguistics, Fudan University(复旦大学现代语言与语言学研究所);Institute of Trustworthy Embodied Artificial Intelligence, Fudan University(复旦大学可信具身人工智能研究所);Graduate School of Arts and Sciences, Columbia University(哥伦比亚大学艺术与科学院)
Ming Zhang, Yuhui Wang, Yujiong Shen, Tingyi Yang, Changhao Jiang, Yilong Wu, Shihan Dou, Qinhao Chen, Zhiheng Xi, Zhihao Zhang, Yi Dong, Zhen Wang, Zhihui Fei,… 展开作者

Ming Zhang, Yuhui Wang, Yujiong Shen, Tingyi Yang, Changhao Jiang, Yilong Wu, Shihan Dou, Qinhao Chen, Zhiheng Xi, Zhihao Zhang, Yi Dong, Zhen Wang, Zhihui Fei, Mingyang Wan, Tao Liang, Guojun Ma, Qi Zhang, Tao Gui, Xuanjing Huang

AI总结:

针对大语言模型难以处理强约束流程驱动对话任务的问题,研究者构建了源自UML流程图的PFDial结构化对话指令数据集,实验证明小样本训练的模型即可实现高准确率,8B模型表现显著优于GPT-4o。

摘要:

流程驱动对话系统在严格的预定义流程约束下运行,在客户服务与设备维护场景中至关重要。尽管大语言模型(LLM)已在对话与推理领域取得显著进展,但仍难以胜任这类强约束对话任务。为应对这一挑战,我们构建了Process Flow Dialogue(PFDial,流程对话)数据集,该数据集包含12705条高质量中文对话指令,源自440张含5055个流程节点的流程图。基于PlantUML规范,每张UML流程图被转换为原子对话单元,即结构化五元组。实验结果表明,仅用800个样本训练的7B模型、以及在全量数据上训练的0.5B模型,准确率均可超过90%。此外,8B模型的表现最高可超过GPT-4o 43.88%,平均超出11.00%。我们进一步评估了模型在流程中具有挑战性的逆向跳转任务上的表现,并深入分析了不同数据集格式对模型处理决策分支与顺序分支性能的影响。相关数据已发布于https://github.com/KongLongGeFDU/PFDial。

英文摘要:

Process-driven dialogue systems, which operate under strict predefined process constraints, are essential in customer service and equipment maintenance scenarios. Although Large Language Models (LLMs) have shown remarkable progress in dialogue and reasoning, they still struggle to solve these strictly constrained dialogue tasks. To address this challenge, we construct Process Flow Dialogue (PFDial) dataset, which contains 12,705 high-quality Chinese dialogue instructions derived from 440 flowcharts containing 5,055 process nodes. Based on PlantUML specification, each UML flowchart is converted into atomic dialogue units i.e., structured five-tuples. Experimental results demonstrate that a 7B model trained with merely 800 samples, and a 0.5B model trained on total data both can surpass 90% accuracy. Additionally, the 8B model can surpass GPT-4o up to 43.88% with an average of 11.00%. We further evaluate models' performance on challenging backward transitions in process flows and conduct an in-depth analysis of various dataset formats to reveal their impact on model performance in handling decision and sequential branches. The data is released in https://github.com/KongLongGeFDU/PFDial.

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

↑