mlsanityData to 14 Oct 2026

Calibration Attention: Learning Reliability-Aware Representations for Vision Transformers

arXiv 2508.08547 ↗First posted 12 Aug 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Most calibration methods operate at the logit level, implicitly assuming that miscalibration can be corrected without changing the underlying representation. We challenge this assumption and propose Calibration Attention (CalAttn), a representation-aware calibration module for vision transformers that couples instance-wise temperature scaling to transformer token geometry under a proper scoring objective. CalAttn predicts a sample-specific temperature from the texttt[CLS] token and backpropagates calibration gradients into the backbone, thereby reshaping the uncertainty structure of the representation rather than post-hoc adjusting confidence. This yields token-conditioned uncertainty modulation with negligible overhead ((<0.1%) additional parameters). Across multiple datasets with ViT/DeiT/Swin backbones, CalAttn consistently improves calibration while preserving accuracy, achieving relative ECE reductions of (3.7%) to (77.7%) over strong baselines across diverse training objectives. Our results indicate that treating calibration as a representation-level problem is a practical and effective direction for trustworthy uncertainty estimation in transformers. Code: [https://github.com/EagleAdelaide/CalibrationAttention-CalAttn-](https://github.com/EagleAdelaide/CalibrationAttention-CalAttn-)

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 25 of its 30 references that are in the map. First posted on arXiv 12 Aug 2025.

Builds on

25 of 30 references.

References · 25

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  3. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  4. 2017On Calibration of Modern Neural Networkscited by 4,960
  5. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  6. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  7. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  8. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  9. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  10. 2019When Does Label Smoothing Help?cited by 988
  11. 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 569
  12. 2021Intriguing Properties of Vision Transformerscited by 446
13 more
  1. 2021Revisiting the Calibration of Modern Neural Networkscited by 390
  2. 2020Calibrating Deep Neural Networks using Focal Losscited by 357
  3. 2019Confidence Calibration and Predictive Uncertainty Estimation for Deep Medical Image Segmentationcited by 163
  4. 2022Understanding The Robustness in Vision Transformerscited by 144
  5. 2021Visformer: The Vision-friendly Transformercited by 137
  6. 2020A Review and Comparative Study on Probabilistic Object Detection in Autonomous Drivingcited by 115
  7. 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
  8. 2023Smooth ECE: Principled Reliability Diagrams via Kernel Smoothingcited by 63
  9. 2022Sample-dependent Adaptive Temperature Scaling for Improved Calibrationcited by 48
  10. 2023Dual Focal Loss for Calibrationcited by 33
  11. 2024Focal Calibration Loss: Controlling Posterior Distortion in Deep Neural Classifierscited by 3
  12. 2024Enhancing Financial Market Predictions: Causality-Driven Feature Selectioncited by 2
  13. 2025Beyond One-Hot Labels: Semantic Mixing for Model Calibrationcited by 2

Built on by

Not cited yet.