Abstract
Real dialogues with AI assistants for solving data-centric tasks often follow dynamic, unpredictable paths due to imperfect information provided by the user or in the data, which must be caught and handled. Developing datasets which capture such user-AI interactions is difficult and time-consuming. In this work, we develop a novel framework for synthetically generating controlled, multi-turn conversations between a user and AI assistant for the task of table-based question answering, which can be generated from an existing dataset with fully specified table QA examples for any target domain. Each conversation aims to solve a table-based reasoning question through collaborative effort, modeling one of two real-world scenarios: (1) an AI-initiated clarification, or (2) a user-initiated correction. Critically, we employ a strong teacher LLM to verify the correctness of our synthetic conversations, ensuring high quality. We demonstrate synthetic datasets generated from TAT-QA and WikiTableQuestions as benchmarks of frontier LLMs. We find that even larger models struggle to effectively issuing clarification questions and accurately integrate user feedback for corrections.
Introduction
Most benchmarks for AI assistants focus on "single-turn" success: the user asks a perfect question, and the AI provides a perfect answer. In reality, human-AI interaction is messy. Users provide incomplete information, data is missing, or the AI simply gets it wrong. To be truly useful, an AI needs to recognize when it doesn't have enough information (proactive clarification) and how to fix its mistakes when a user corrects it.
However, high-quality dialogue datasets that capture these "non-linear" paths are incredibly expensive and time-consuming to create manually. This work addresses the lack of robust training data for these critical conversational skills by introducing a framework to generate synthetic dialogues from existing Table Question Answering (Table QA) datasets.
Methods: The Teacher-Student Framework
The core of this approach is a Teacher-Student framework designed to transform static tasks into dynamic conversations.
The process involves three main components:
- The Teacher (Strong LLM): Acts as the orchestrator. It takes a solved Table QA task and applies Ablation Strategies—it intentionally removes a necessary column from the table or rephrases the question to be ambiguous.
- The Student (Target LLM): Acts as the AI assistant. It tries to solve the now-broken task.
- Simulated User: The teacher also plays the role of a user who can provide corrections or respond to clarifications.
The framework models two primary scenarios:
- AI-initiated clarification: The student identifies the missing info and asks the user for it.
- User-initiated correction: The student provides a wrong answer, and the simulated user provides the missing info as a correction.
Finally, the teacher model verifies that the student's clarification was useful and that the final answer (after the interaction) is actually correct. This ensures the synthetic data is high-quality and solvable.
Experimental Setup
The framework was applied to two popular Table QA benchmarks:
- TAT-QA: A dataset focused on financial data requiring numerical reasoning.
- WikiTableQuestions (Wiki-TQ): A dataset covering a broad range of topics from Wikipedia.
The researchers converted 1,000 samples from each into a "curriculum" of multi-turn dialogues to evaluate frontier LLMs.
Results and Discussion
The evaluation revealed several critical gaps in current LLM capabilities:
- The "Confidence" Paradox: Smaller models (like Llama 3.1 8b) tend to be "trigger-happy" with clarifications, often asking for more info even when the task is solvable (high recall, low precision). Larger models are more reluctant to ask for help but are far more accurate when they do.
- Integration Challenges: Models are generally better at asking for missing information than they are at actually using that information once the user provides it.
- Performance Gaps: Even GPT-4 Turbo struggled with clarifications in the Wiki-TQ curriculum, achieving only a 0.38 recall. Generally, models performed better when a user proactively corrected them than when the model had to initiate the clarification itself. For example, Qwen2.5 72b solved 78% of tasks via user correction but only 64% via its own clarification questions.
- Finetuning Gains: Training smaller models on this synthetic "curriculum" significantly improved their performance. For instance, Llama 3.1 8b saw its recall for clarifications jump from near-zero to 0.89 on TAT-QA after finetuning.
Conclusion
While frontier LLMs show promise, they still struggle with the nuances of multi-turn data-centric dialogues. The proposed Teacher-Student framework provides a scalable way to generate high-quality training and evaluation data to bridge this gap. Future work will explore expanding this beyond tables to tasks like coding or document analysis and investigating more complex, multi-turn error recovery loops.
Summary updated