Introduction
Large Language Models (LLMs) are notoriously overconfident, often asserting incorrect answers with high certainty. While techniques like Self-Consistency (sampling multiple reasoning paths) or Bayesian weight marginalization can significantly improve uncertainty estimation, they require dozens or hundreds of forward passes. This "test-time scaling" is computationally prohibitive for real-time applications.
This paper introduces Dist$^2$ill (Distributional Distillation), a framework designed to capture the high-quality uncertainty of expensive ensembles in a single, efficient inference pass. The core of this approach relies on a phenomenon the authors term Internal Alignment of Uncertainty (IAU): even when an LLM's verbalized confidence is unreliable, the distribution of its sampled answers remains remarkably well-calibrated across different model families.
Methodology: The Dist$^2$ill Framework
Dist$^2$ill operates through a two-stage process: Offline Distribution Construction and Distributional Distillation.
- Offline Distribution Construction: A "teacher" model—either a Bayesian LLM for classification or a multi-path sampling process for generation—is used to generate a target probability distribution for a set of training queries.
- Distributional Distillation: A "student" LLM is trained to mimic this target distribution.
Single-Pass Multi-Response Generation
For generative reasoning, the student is trained to output a structured response containing $K$ distinct reasoning paths and answers within a single sequence. To estimate confidence without "self-report" bias, an auxiliary MLP head is attached to a special delimiter token. This head is trained to predict the probability distribution over the $K$ candidates. To ensure training stability, the authors employ a curriculum learning schedule, allowing the model to first master content generation before aligning its probability head with the teacher's distribution.
Key Results and Insights
The researchers evaluated Dist$^2$ill on sequence classification tasks (e.g., ARC, Winogrande) and complex mathematical reasoning (MATH-500, AIME).
- Efficiency and Speed: Dist$^2$ill achieves a 10x speedup compared to sampling-based baselines (such as $N=10$ Self-Consistency) by amortizing the cost of Bayesian reasoning into a single (albeit longer) sequence generation.
- Superior Calibration: On the MATH-500 dataset, Dist$^2$ill reduced the Expected Calibration Error (ECE) by approximately 2x compared to standard Chain-of-Thought (CoT) prompting. It also outperformed "Verbalized Sampling," where models are explicitly asked to state their confidence.
- Robustness to Distribution Shift: In Out-of-Distribution (OOD) tests—moving from commonsense reasoning to MMLU Physics—Dist$^2$ill maintained significantly better calibration than standard parameter-efficient fine-tuning (PEFT) methods like MLE or MAP.
- Reasoning Diversity: The distilled model successfully maintains diversity in its reasoning paths, exploring multiple potential solutions in its single-pass output rather than collapsing into repetitive answers.
Conclusion
Dist$^2$ill provides a practical path toward deploying well-calibrated LLMs in production environments. By shifting the computational burden of sampling from inference to the training phase, it offers the reliability of Bayesian ensembles with the efficiency of a single-pass model. Future work may explore adaptive decoding strategies, allowing models to dynamically determine the optimal number of reasoning paths to generate based on real-time uncertainty.
Summary updated