Training Deep Neural Networks with Virtual Smoothing Classes
Abstract
Learning with softmax cross-entropy on one-hot labels often leads to overconfidence on the correct class. While label smoothing regulates this overconfidence by redistributing some confidence from the correct class to other incorrect classes, it compromises the representation in the logits about the similarity between samples of different classes and may hurt calibration if higher confidence is required for high accuracy. To overcome these limitations, we propose a Virtual Smoothing (VS) label that redistributes certain confidence from the correct class to additional VS classes to regularize overconfidence. In VS labels, the VS class nodes act as adversaries to the original class nodes, enforcing regularization by clustering samples across all classes. The zero confidence assigned to each incorrect class also allows the incorrect logits to be different from each other without erasing information about sample similarities. The prediction probability can still approach 1 when applying softmax to the logits of the original real classes, which avoids harming but consistently improves calibration. Experiments show that VS labels consistently improve accuracy and calibration while providing better logits for improved knowledge distillation. Additionally, VS labels exhibit effectiveness in improving adversarial training, robust distillation, and out-of-distribution detection.
Cite
Text
Zhou et al. "Training Deep Neural Networks with Virtual Smoothing Classes." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I21.34467Markdown
[Zhou et al. "Training Deep Neural Networks with Virtual Smoothing Classes." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/zhou2025aaai-training/) doi:10.1609/AAAI.V39I21.34467BibTeX
@inproceedings{zhou2025aaai-training,
title = {{Training Deep Neural Networks with Virtual Smoothing Classes}},
author = {Zhou, Zhiyang and Wei, Siwei and Zhang, Xudong and Dou, Wensheng and Qu, Muzi and Cai, Yan},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2025},
pages = {23036-23044},
doi = {10.1609/AAAI.V39I21.34467},
url = {https://mlanthology.org/aaai/2025/zhou2025aaai-training/}
}