cs.LGOct 6, 2026

Neighborhood Smoothing for Calibration

Authors: Idan Horowitz, Avigdor Gal

Organizations: Faculty of Data and Decision Sciences Technion Haifa, 3200003, IL

Abstract

Modern neural networks are often miscalibrated, with a tendency to overconfidence. Existing train-time calibration methods largely modify task losses or calibration penalties, leaving neighborhood structure in learned representations underexploited. We introduce graph smoothing as a general principle for train-time calibration, which encourages similar predictive distributions across neighboring samples in representation space. We analyze the effects of graph smoothing, deriving bounds that connect predictive divergence between neighboring samples to local confidence variation and to the propagation of pointwise calibration error, and characterize the conditions under which smoothing can or cannot improve calibration. In light of this analysis, we propose \modelNoSpace, a graph-based train-time regularizer that penalizes the Jensen--Shannon divergence between predictive distributions of neighboring samples. We present a thorough empirical analysis, showing that across standard calibration benchmarks, \model improves predictive quality, and the improvement is complementary to post-hoc calibration: after temperature scaling, \model attains the lowest NLL of all evaluated train-time methods in seven of the eight image and tabular settings. These findings demonstrate the value of graph smoothing over learned representations for neural network calibration.

Figures & tables

Appendix figures & tables20 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Too Sharp, Too Sure: When Calibration Follows Curvature

    Apr 22, 2026Alessandro Morosini, Matea Gjika, Tomaso Poggio +1Model CalibrationNeural Network Training Dynamics

  2. When does distribution shift break graph neural networks calibration?

    Jul 12, 2026Abderaouf BahiGraph Neural NetworksModel Calibration

  3. FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibration

    Jun 26, 2026Thiru Thillai Nadarasar Bahavan, Sachith Seneviratne, Saman HalgamugeModel CalibrationImage Classification