Distilling Black-Box Machine Learning into a Small, Self-Explaining Language Model for Learning Analytics
Chenguang Pan, Airui Meng, Youmi Suk
Key points
From the paper's conclusion- We propose a two-stage fine-tuning pipeline that distills a fitted black-box estimator and its post hoc interpretation (the mentor) into a small, open-weight large language model (LLM; the mentee) that returns an individual-level estimate and explains in natural language.
Abstract
Learning analytics increasingly relies on flexible machine learning (ML), but the model opacity and the burden of deployment prevent these tools from reaching educational practice. We propose a two-stage fine-tuning pipeline that distills a fitted black-box estimator and its post hoc interpretation (the mentor) into a small, open-weight large language model (LLM; the mentee) that returns an individual-level estimate and explains in natural language. The design is estimator-agnostic and paired with a faithfulness-first evaluation framework that audits every narration against the attribution it claims to describe. We design a simulation study that separates distillation loss from estimator loss by comparing an oracle mentor with a realistic ML mentor. Given an oracle signal, distillation with a two-billion-parameter LLM model is nearly lossless in recovering the effect surface (r > .90), perfectly ranking the important variables, and citing no spurious covariate. Under a realistic estimator, almost all remaining error originates upstream. We find that fluency is no evidence of correctness since narration quality is independent of signal quality, and decision quality collapses toward the majority action in severely imbalanced settings. Applied to a nationally representative dataset, the pipeline recovers the finding that advanced mathematics coursework benefits students least likely to enroll in four-year college the most, with 98.8% of narrations passing the audit and no fabricated quantities. The result is a single fine-tuned LLM that predicts and explains offline on a commodity laptop, so student records never leave the machine.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LLM Benchmarking via Representation Multi-task LearningarXiv · 2026
- Anytime-Valid Empirical Likelihood Inference from LLM Annotations with Adaptive Human AuditingarXiv · 2026
- Generative LLMs for educational recommendation.Frontiers in artificial intelligence · 2026
- "I Am Not a Kiddo!": Quantifying Epistemic Infantilization in Large Language Models via Multi-Metric Bias AnalysisarXiv · 2026
- Generative AI-Assisted Learning: An Unexpected Detrimental Interaction with Self-ExplanationJournal of the Association for Information Systems · 2026
- Overcoming Scaling Limits in On-Policy Self-Distillation for LLM ReasoningarXiv · 2026