PFDial: A Structured Dialogue Instruction Fine-tuning Method Based on UML Flowcharts
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 · 2025
Read PFDial: A Structured Dialogue Instruction Fine-tuning Method Based on UML Flowcharts by 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 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-06706.txt.
Description
Customer service bots must follow the flowchart, not improvise, and language models are bad at that discipline. Ming Zhang and co-authors build a training set straight from flowcharts. Their PFDial collection converts hundreds of process diagrams into more than twelve thousand dialogue lessons in Chinese. Each flowchart node becomes a structured teaching unit.
Small models trained on this data surprised the authors. With only eight hundred examples, a mid-sized model passed ninety percent accuracy on process dialogue tasks. A larger one beat GPT-4o on the benchmark by wide margins. Hard backward jumps in a flow, where a case returns to an earlier step, got special study. The lesson: structure in the data teaches structure in behavior.
Catalog record
| CREATOR | 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 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 49 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2503-06706