50
1

Grammar Control in Dialogue Response Generation for Language Learning Chatbots

Abstract

Chatbots based on large language models offer cheap conversation practice opportunities for language learners. However, they are hard to control for linguistic forms that correspond to learners' current needs, such as grammar. We control grammar in chatbot conversation practice by grounding a dialogue response generation model in a pedagogical repository of grammar skills. We also explore how this control helps learners to produce specific grammar. We comprehensively evaluate prompting, fine-tuning, and decoding strategies for grammar-controlled dialogue response generation. Strategically decoding Llama3 outperforms GPT-3.5 when tolerating minor response quality losses. Our simulation predicts grammar-controlled responses to support grammar acquisition adapted to learner proficiency. Existing language learning chatbots and research on second language acquisition benefit from these affordances. Code available on GitHub.

View on arXiv
@article{glandorf2025_2502.07544,
  title={ Grammar Control in Dialogue Response Generation for Language Learning Chatbots },
  author={ Dominik Glandorf and Peng Cui and Detmar Meurers and Mrinmaya Sachan },
  journal={arXiv preprint arXiv:2502.07544},
  year={ 2025 }
}
Comments on this paper