English

Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibration

Machine Learning 2026-05-14 v2

Abstract

Uncertainty calibration in pre-trained transformers is critical for their reliable deployment in risk-sensitive applications. Yet, most existing pre-trained transformers do not have a principled mechanism for uncertainty propagation through their feature transformation stack. In this work, we propose a diffusion-inspired reconfiguration of transformers in which each feature transformation block is modeled as a probabilistic mapping. Composing these probabilistic mappings reveals a probability path that mimics the structure of a diffusion process, transporting data mass from the input distribution to the pre-trained feature distribution. This probability path can then be recompiled on a diffusion process with a unified transition model to enable principled propagation of representation uncertainty throughout the pre-trained model's architecture while maintaining its original predictive performance. Empirical results across a variety of vision and language benchmarks demonstrate that our method achieves superior calibration and predictive accuracy compared to existing uncertainty-aware transformers.

Keywords

Cite

@article{arxiv.2602.08920,
  title  = {Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibration},
  author = {Manh Cuong Dao and Quang Hung Pham and Phi Le Nguyen and Thao Nguyen Truong and Bryan Kian Hsiang Low and Trong Nghia Hoang},
  journal= {arXiv preprint arXiv:2602.08920},
  year   = {2026}
}
R2 v1 2026-07-01T10:28:20.526Z