Didactic to Constructive: Turning Expert Solutions into Learnable Reasoning
Ethan Mendes, Jungsoo Park, Alan Ritter
TL;DR
This work addresses the difficulty of teaching frontier language models to reason on highly challenging problems when reward signals are scarce. It introduces Distribution Aligned Imitation Learning (DAIL), a two-stage method that first expands expert, didactic solutions into in-distribution reasoning traces via a privileged student and mixed policy rollouts, then trains the student with a contrastive objective against a negative reference to discourage rationalization shortcuts. Using fewer than 1000 high-quality expert solutions, DAIL achieves 10-25% gains in pass@k on math benchmarks, doubles to quadruples reasoning efficiency, and generalizes to out-of-domain tasks, including GPQA. The approach demonstrates that learning from expert reasoning can be made viable for difficult, non-verifiable problems, potentially widening the practical impact of large reasoning models in domains with sparse reward signals.
Abstract
Improving the reasoning capabilities of large language models (LLMs) typically relies either on the model's ability to sample a correct solution to be reinforced or on the existence of a stronger model able to solve the problem. However, many difficult problems remain intractable for even current frontier models, preventing the extraction of valid training signals. A promising alternative is to leverage high-quality expert human solutions, yet naive imitation of this data fails because it is fundamentally out of distribution: expert solutions are typically didactic, containing implicit reasoning gaps intended for human readers rather than computational models. Furthermore, high-quality expert solutions are expensive, necessitating generalizable sample-efficient training methods. We propose Distribution Aligned Imitation Learning (DAIL), a two-step method that bridges the distributional gap by first transforming expert solutions into detailed, in-distribution reasoning traces and then applying a contrastive objective to focus learning on expert insights and methodologies. We find that DAIL can leverage fewer than 1000 high-quality expert solutions to achieve 10-25% pass@k gains on Qwen2.5-Instruct and Qwen3 models, improve reasoning efficiency by 2x to 4x, and enable out-of-domain generalization.
