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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Shayanfar, Radin, Luo, Chu Fei, Bhambhoria, Rohan, Dahan, Samuel, Zhu, Xiaodan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917421246316544
author Shayanfar, Radin
Luo, Chu Fei
Bhambhoria, Rohan
Dahan, Samuel
Zhu, Xiaodan
author_facet Shayanfar, Radin
Luo, Chu Fei
Bhambhoria, Rohan
Dahan, Samuel
Zhu, Xiaodan
contents 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, $\text{CoDial}_{\text{free}}$ and $\text{CoDial}_{\text{structured}}$, and propose a mechanism that integrates human feedback to iteratively improve the generated code. Empirically, CoDial achieves state-of-the-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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_02264
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CoDial: Interpretable Task-Oriented Dialogue Systems Through Dialogue Flow Alignment
Shayanfar, Radin
Luo, Chu Fei
Bhambhoria, Rohan
Dahan, Samuel
Zhu, Xiaodan
Computation and Language
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, $\text{CoDial}_{\text{free}}$ and $\text{CoDial}_{\text{structured}}$, and propose a mechanism that integrates human feedback to iteratively improve the generated code. Empirically, CoDial achieves state-of-the-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.
title CoDial: Interpretable Task-Oriented Dialogue Systems Through Dialogue Flow Alignment
topic Computation and Language
url https://arxiv.org/abs/2506.02264