Geometric Self-Distillation Improves LLM Out-of-Distribution Reasoning
Summary
This paper introduces GeoSD, a novel geometric self-distillation objective that enhances large language models' out-of-distribution reasoning by mitigating "drift" during training. It uses a Hellinger loss to scale teacher preferences and a Fisher-Rao distance proximal term to penalize prediction drift, leading to more robust generalization.
Why it matters
For professionals developing or deploying LLMs, improving out-of-distribution reasoning is crucial for reliable performance in real-world, diverse applications, reducing the risk of confident but incorrect outputs. This method offers a path to more robust and trustworthy AI systems.
How to implement this in your domain
- 1Explore integrating GeoSD into your LLM fine-tuning pipelines, especially for tasks requiring strong generalization beyond training data.
- 2Experiment with Hellinger loss and Fisher-Rao distance as regularization terms in your distillation objectives.
- 3Benchmark the OOD performance of your current LLMs and compare it with models trained using geometric self-distillation.
- 4Consider applying this technique to specialized LLMs where reasoning accuracy on novel inputs is paramount.
- 5Analyze the impact of different distillation strategies on model confidence and the distribution of predicted tokens.
Who benefits
Key takeaways
- Standard self-distillation can lead to "drift" and degrade out-of-distribution reasoning in LLMs.
- GeoSD uses geometric principles (Hellinger loss, Fisher-Rao distance) to mitigate this drift.
- The method significantly improves LLM generalization and OOD accuracy across various model scales.
- It helps prevent models from confidently agreeing on wrong answers by preserving alternative predictions.
Original post by Josip Juki\'c, Ivan Titov
"arXiv:2607.06855v1 Announce Type: new Abstract: On-policy distillation is a practical post-training recipe for large language models, supplying dense teacher supervision on the student's own trajectories. In privileged-context self-distillation, teacher and student are the same m…"
View on XOriginally posted by Josip Juki\'c, Ivan Titov on X · view source
Want to go deeper?
Turn these trends into skills with Learnijoy's hands-on AI & tech courses.
Explore coursesMore in AI Research
Transformers Learn Non-Invertible Modular Multiplication via Stratified Fourier Mechanisms.
This research investigates how small transformers learn modular integer multiplication over composite moduli, a non-invertible operation. It proposes the "monoid extension" theory, suggesting models partition input space into hierarchical algebraic regions where Fourier mechanisms apply, explaining how embeddings, attention, and local features contribute to the computation.
New Interpretable Model Handles Feature Interactions in Tabular Data.
This paper introduces Interaction Aware Interpretable Machine Learning (IAIML), a framework for tabular data that addresses the limitation of traditional interpretable models in capturing feature interactions. IAIML uses adaptive discretization, pairwise interaction scoring, and a partitioned explanation budget to achieve high accuracy while maintaining interpretability.
Principles of Deep Feedforward ReLU Networks Unveiled.
This paper systematically studies the mechanisms of deep feedforward ReLU networks, generalizing principles from two-layer networks to deeper architectures. It explains how hidden-layer units form piecewise linear manifolds to divide input space and how paths and their relationships are central to understanding the back-propagation training solution.