Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

Deep Neural Network (DNN) classifiers suffer from poor calibration when their softmax outputs (predictive confidence) deviate from the empirical likelihoods. This manifests itself as either overconfident incorrect predictions or under-confident correct predictions. Label smoothing (LS) enhances model calibration by introducing entropy regularization during training through redistributing probability mass from the ground-truth label to the remaining classes. LS, including Margin-based LS (MbLS), have restrictive assumptions: they rely on predefined, uniform smoothing rules and only tackle overconfidence. In reality, samples exhibit diverse characteristics, such as difficulty/ambiguity, that interact with the evolving nature of the model being trained. In training, samples may have various degrees of under- or overconfidence. To overcome this, a mechanism that identifies the specific confidence state of each sample and determines the appropriate degree of smoothing in each training step is needed, tailoring the adjustment to the individual sample. We propose FedLAS: Feature-Modulated Bidirectional Label Smoothing, a plug-and-play algorithm for label smoothing-based losses. In FedLAS, we introduce a Feature Norm-based Confidence Indicator (NCI) to control smoothing and a Bidirectional Calibration Gating (BCG) module to detect both over and under-confidence. Our algorithm can be integrated with LS and MbLS based losses when applied to standard DNNs, enhancing performance. Extensive experiments on standard and fine-grained high-resolution vision benchmarks show that FedLAS consistently improves calibration compared to modern baselines, reducing Expected Calibration Error (ECE) and Adaptive ECE while maintaining Top-1 accuracy. Code: github.com/nadarasarbahavan/FEDLAS

Thiru Thillai Nadarasar Bahavan, Sachith Seneviratne, Saman Halgamuge• 2026

Related benchmarks

TaskDatasetResultRank
Fine-grained Image ClassificationCUB200 2011 (test)
Accuracy83.32
585
Out-of-Distribution DetectionCIFAR-10 vs SVHN (test)
AUROC0.914
146
Out-of-Distribution DetectionCIFAR-10 vs CIFAR-100 (test)
AUROC84.15
119
Model CalibrationTiny ImageNet (test)
ECE1.22
57
Image Recognition and CalibrationCIFAR10 (test)
ECE1.12
32
Image Recognition and CalibrationCIFAR100 (test)
ECE4.29
32
Fine grained classificationFGVC-Aircraft (test)
Accuracy88.71
23
Out-of-Distribution DetectionCIFAR-100 SVHN in-distribution out-of-distribution standard (test)
AUROC84.33
18
Image Recognition and CalibrationTiny-ImageNet, CIFAR10, and CIFAR100 Average
Accuracy79.62
16
Fine-grained Image ClassificationAverage (FGVC-Aircraft and CUB-2011-Birds)
Accuracy79.19
9
Showing 10 of 10 rows

Other info

Follow for update