Abstract
In second language (L2) learning, scenario-based conversation practice is essential for achieving fluency. However, learners often lack opportunities to practice with qualified instructors. To address this, we propose situational dialogue models fine-tuned on Large Language Models (LLMs). These models combine the engaging nature of open-ended conversation with the focused practice of scenario-based tasks. Our research demonstrates that these models generalize effectively to unseen topics and introduces a novel automatic evaluation method using fine-tuned LLMs to assess performance efficiently.
Introduction
Achieving fluency in a second language requires extensive conversational practice, yet access to native speakers is often a luxury. Existing AI solutions generally fall into two categories: rigid, task-oriented systems that lack natural flow, and general-purpose LLMs that lack the topical constraints necessary for targeted pedagogical practice. Furthermore, evaluating dialogue systems is notoriously difficult; human evaluation is the gold standard but is slow and expensive, while traditional metrics like BLEU correlate poorly with conversational quality. Researchers from Alibaba Group have developed a situational dialogue system to bridge these gaps using the Qwen LLM series.
Methodology
The system is built upon fine-tuned versions of the Qwen LLM series, ranging from 1.8B to 14B parameters. The training process involves Situational Fine-Tuning on a curated dataset, mixed with general instruction-following data to maintain versatility.
Dialogue Agent Architecture
The Dialogue Agent is designed with specific components to support L2 learners:
- Suggestion Generation: If a student is stuck, the model can generate a "suggestion" (a possible next turn) by treating the user's ideal response as a target during training.
- End-of-Dialogue Detector: A binary classifier (fine-tuned Qwen-1.8B) determines when a conversation has reached a natural conclusion, preventing infinite loops.
Datasets
The researchers developed a custom dataset consisting of 51 In-Domain (ID) topics common in textbooks and 20 Out-of-Domain (OOD) topics to test generalization. Dialogues were initially generated using GPT-3.5-turbo and then manually refined by humans to ensure linguistic accuracy and simplicity suitable for learners.
Automated Evaluation Framework
To bypass the costs of human testing, the study introduces a closed-loop automated evaluation pipeline. This system employs a Talker Model to simulate a student interacting with the Dialogue Agent. A third Judge Model then analyzes each turn to decide if the agent's response was contextually and factually appropriate.
The Judge model achieved over 97% accuracy in identifying appropriate responses, validating the "LLM-as-a-judge" approach for scaling educational tool development.
Results and Discussion
The Qwen-14B model performed on par with or better than GPT-3.5-turbo across most metrics. On in-domain topics, it achieved a 98.8% response success rate and an 88.2% session success rate.
Generalization and Scaling
A significant finding is the model's ability to generalize. The performance drop on unseen (OOD) topics was negligible, with the session success rate for Qwen-14B only dipping from 88.2% to 87.5%. This suggests that LLM-based agents can be deployed for a vast range of subjects without manual rule-writing. Additionally, model scaling proved vital; the 14B model significantly outperformed the 1.8B model in maintaining long-term coherence (88% vs 17% session success).
Conclusion
This situational dialogue system offers a promising solution for L2 learners by providing focused yet flexible conversation practice. While the system demonstrates high coherence and generalization, future work will address language level control (e.g., matching CEFR levels) and enhancing the "interestingness" of conversations to improve student retention.
Summary updated