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.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Horowitz, I., & Gal, A. (2026). Neighborhood Smoothing for Calibration. https://omanscience.com/en/articles/neighborhood-smoothing-for-calibration

MLA 9

Horowitz, Idan, and Avigdor Gal. "Neighborhood Smoothing for Calibration." https://omanscience.com/en/articles/neighborhood-smoothing-for-calibration.

Chicago (author–date)

Horowitz, Idan, and Avigdor Gal. 2026. "Neighborhood Smoothing for Calibration." https://omanscience.com/en/articles/neighborhood-smoothing-for-calibration.

Harvard

Horowitz, I. and Gal, A. (2026) 'Neighborhood Smoothing for Calibration', Available at: https://omanscience.com/en/articles/neighborhood-smoothing-for-calibration.

Vancouver

Horowitz I, Gal A. Neighborhood Smoothing for Calibration. https://omanscience.com/en/articles/neighborhood-smoothing-for-calibration

IEEE

I. Horowitz, and A. Gal, "Neighborhood Smoothing for Calibration," https://omanscience.com/en/articles/neighborhood-smoothing-for-calibration.