CoDial: Interpretable Task-Oriented Dialogue Systems Through Dialogue Flow Alignment

Read full text
Authors: Radin Shayanfar, Chu Fei Luo, Rohan V Bhambhoria, Samuel Dahan, Xiaodan Zhu
Cited by: 0

Abstract

Building Task-Oriented Dialogue (TOD) systems that generalize across different tasks remains a challenging problem.Data-driven approaches often struggle to transfer effectively to unseen tasks.While recent schema-based TOD frameworks improve generalization by decoupling task logic from language understanding, their reliance on neural or generative models often obscures how task schemas influence behaviour and hence impair interpretability.In this work, we introduce a novel framework, CoDial (Code for Dialogue), at the core of which is converting a predefined task schema to a structured heterogeneous graph and then to programmatic LLM guardrailing code, such as NVIDIA's Colang.The pipeline enables efficient and interpretable alignment of dialogue policies during inference.We introduce two paradigms for LLM guardrailing code generation, CoDial free and CoDial structured , and propose a mechanism that integrates human feedback to iteratively improve the generated code.Empirically, CoDial achieves state-ofthe-art (SOTA) performance on the widely used benchmark datasets, while providing inherent interpretability in the design.We additionally demonstrate CoDial's iterative improvement via manual and LLM-aided feedback, making it a practical tool for human-guided alignment of LLMs in unseen domains. 1

Fields of Study & Subjects

Topic Modeling Speech and dialogue systems Natural Language Processing Techniques

Publication details

Journal / source
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Publisher
Association for Computational Linguistics
Pages
42741–42763
Publication date
1 January 2026
Language
EN