TeachLM: Post-Training LLMs for Education Using Authentic Learning Data
Janos Perczel, Jin Chow, Dorottya Demszky
TL;DR
This work addresses the gap between educational pedagogy and large language models by leveraging authentic student–tutor data to post-train LLMs. It introduces TeachLM, a parameter-efficiently fine-tuned model trained on over 100,000 hours of Polygence interactions and paired with a novel multi-turn evaluation framework that uses a fine-tuned student model to generate scalable synthetic dialogues. The results show that fine-tuning on authentic learning data improves conversational and pedagogical performance, increasing student talk time, refining questioning style, extending dialogue depth, and personalizing instruction, compared with off-the-shelf models. The study validates a scalable, reproducible evaluation workflow and outlines future directions, including RLHF and more nuanced longitudinal benchmarks, to advance AI-assisted education.
Abstract
The promise of generative AI to revolutionize education is constrained by the pedagogical limits of large language models (LLMs). A major issue is the lack of access to high-quality training data that reflect the learning of actual students. Prompt engineering has emerged as a stopgap, but the ability of prompts to encode complex pedagogical strategies in rule-based natural language is inherently limited. To address this gap we introduce TeachLM - an LLM optimized for teaching through parameter-efficient fine-tuning of state-of-the-art models. TeachLM is trained on a dataset comprised of 100,000 hours of one-on-one, longitudinal student-tutor interactions maintained by Polygence, which underwent a rigorous anonymization process to protect privacy. We use parameter-efficient fine-tuning to develop an authentic student model that enables the generation of high-fidelity synthetic student-tutor dialogues. Building on this capability, we propose a novel multi-turn evaluation protocol that leverages synthetic dialogue generation to provide fast, scalable, and reproducible assessments of the dialogical capabilities of LLMs. Our evaluations demonstrate that fine-tuning on authentic learning data significantly improves conversational and pedagogical performance - doubling student talk time, improving questioning style, increasing dialogue turns by 50%, and greater personalization of instruction.
