Unlocking the Pre-Trained Model as a Dual-Alignment Calibrator for Post-Trained LLMs
Beier Luo, Cheng Wang, Hongxin Wei, Sharon Li, Xuefeng Du
TL;DR
This work addresses miscalibration in post-trained LLMs by revealing two drift mechanisms—confidence drift and process drift—that underlie overconfident predictions. It introduces Dual-Align, a post-hoc, unsupervised calibration framework that combines confidence alignment with process alignment, using a Peak Divergence Layer to trigger ISE-based stabilization and a learned temperature $\tau$ to balance objectives. The method unifies final-distribution matching with trajectory-level stabilization, guided by a per-sample divergence weight, and demonstrates substantial reductions in calibration errors across multiple LLMs and benchmarks, approaching supervised oracle performance. The approach is robust across open-ended tasks and various post-training methods, suggesting broad applicability for reliable, calibrated inference in PoLMs without additional labeled data.
Abstract
Post-training improves large language models (LLMs) but often worsens confidence calibration, leading to systematic overconfidence. Recent unsupervised post-hoc methods for post-trained LMs (PoLMs) mitigate this by aligning PoLM confidence to that of well-calibrated pre-trained counterparts. However, framing calibration as static output-distribution matching overlooks the inference-time dynamics introduced by post-training. In particular, we show that calibration errors arise from two regimes: (i) confidence drift, where final confidence inflates despite largely consistent intermediate decision processes, and (ii) process drift, where intermediate inference pathways diverge. Guided by this diagnosis, we propose Dual-Align, an unsupervised post-hoc framework for dual alignment in confidence calibration. Dual-Align performs confidence alignment to correct confidence drift via final-distribution matching, and introduces process alignment to address process drift by locating the layer where trajectories diverge and realigning the stability of subsequent inference. This dual strategy learns a single temperature parameter that corrects both drift types without sacrificing post-training performance gains. Experiments show consistent improvements over baselines, reducing calibration errors and approaching a supervised oracle.
