Abstract
Task-oriented dialogue systems employ natural language understanding (NLU) modules to manage intricate and continually evolving business requirements. Although Large Language Models (LLMs) offer extraordinary chitchat capabilities, implementing them into production systems introduces challenges, primarily the lack of specific datasets for training and evaluating systems that blend chat and task capabilities. This paper presents CTFUSION, a multi-turn dialogue generation framework designed to assist the evaluation and training of production systems. Using CTFUSION, we generate a multi-turn dialogue dataset for an in-vehicle speech recognition system (IVSR-CTF) and train the In-vehicle Context Sensor (ICS), a lightweight model that successfully identifies functional intent. ICS outperforms baseline models, demonstrating that CTFUSION can generate relevant datasets with complex logic to assist production systems in leveraging LLMs effectively.
Introduction: The Functional Intent Challenge
Modern smart assistants, particularly in-vehicle systems, face a "dual-identity" crisis. They must use traditional Natural Language Understanding (NLU) modules for rigid, tool-based tasks (e.g., "Set the AC to 72 degrees") while leveraging Large Language Models (LLMs) for engaging chitchat. A critical challenge arises when these modes collide in multi-turn conversations. If a driver asks a task-related question after a casual exchange, the system must correctly identify the "functional intent."
As shown in Figure 1, misidentifying a task as chitchat can lead to "hallucinations," where the LLM prioritizes being conversational over factual accuracy. Conversely, treating chitchat as a task can lead to system errors. The lack of multi-turn datasets that blend these modes makes it difficult to train robust classifiers.
The CTFUSION Framework
To address this data scarcity, we developed CTFUSION, a five-stage pipeline designed to generate realistic, multi-turn synthetic training data.
The framework consists of the following stages:
- Intent-Slot Set Construction: GPT-4o defines mandatory and optional data slots for 240 real-world vehicle intents.
- Action Sequence Selection: Predefines the dialogue flow (e.g., chitchat transitioning to a task request).
- User Data Seed Selection: Anonymized real-world user utterances are used as "seeds" to ground the conversation's tone and avoid the monotony of purely synthetic data.
- Dialogue Generation: GPT-4o generates full multi-turn dialogues based on the previous parameters.
- Dialogue Augmentation: Diversity is increased by identifying topics via Latent Dirichlet Allocation (LDA) and prompting an LLM to rewrite dialogues with varying subjects and lengths.
Dataset and Model Training
The framework produced IVSR-CTF, a new dataset for in-vehicle speech recognition containing 41,211 Korean dialogues. Spanning 240 intents across 14 domains (Navigation, Media, Climate, etc.), the dataset features an average of 8.5 turns per dialogue, offering significantly more fine-grained detail than existing benchmarks like MultiWOZ.
Using this data, we trained the In-vehicle Context Sensor (ICS), a specialized model based on Llama-3.2-3B, using Parameter-Efficient Fine-Tuning (LoRA).
Key Results and Insights
The ICS model demonstrated superior performance in identifying functional intent:
- Accuracy: ICS achieved 90.36% accuracy on the test set, significantly outperforming the base Llama-3.2-3B (53.68%) and even GPT-4o (82.62%).
- Real-World Generalization: On manually labeled real driver data, ICS maintained 82.51% accuracy, validating the effectiveness of the CTFUSION generation process.
- Efficiency: The 3B parameter size ensures the model is production-ready, offering lower latency and cost compared to massive proprietary APIs.
A key insight from our ablation studies is the necessity of the augmentation step. Without it, performance on real-world data dropped from 82.5% to 62.3%, proving that topic diversity is essential for model generalization.
Conclusion
CTFUSION provides a robust path for training production-level dialogue systems to navigate the boundary between chitchat and task execution. By grounding synthetic generation in real-world seeds and employing rigorous augmentation, we can create lightweight, high-performance models like ICS that mitigate hallucinations and improve user experience. Future work will explore more complex transitions, such as jumping between multiple tasks or returning to chitchat after task completion.
Summary updated