ε-Softmax: Approximating One-Hot Vectors for Mitigating Label Noise

Jialiang Wang, Xiong Zhou, Deming Zhai, Junjun Jiang, Xiangyang Ji +1 more
8/4/2025
cs.LGcs.CV

Official code: cswjl/eps-softmax (10 stars, last commit 2025-07-23).

Abstract

Noisy labels pose a common challenge for training accurate deep neural networks. To mitigate label noise, prior studies have proposed various robust loss functions to achieve noise tolerance in the presence of label noise, particularly symmetric losses. However, they usually suffer from the underfitting issue due to the overly strict symmetric condition. In this work, we propose a simple yet effective approach for relaxing the symmetric condition, namely $ε$-softmax, which simply modifies the outputs of the softmax layer to approximate one-hot vectors with a controllable error $ε$. Essentially, $ε$-softmax not only acts as an alternative for the softmax layer, but also implicitly plays the crucial role in modifying the loss function. We prove theoretically that $ε$-softmax can achieve noise-tolerant learning with controllable excess risk bound for almost any loss function. Recognizing that $ε$-softmax-enhanced losses may slightly reduce fitting ability on clean datasets, we further incorporate them with one symmetric loss, thereby achieving a better trade-off between robustness and effective learning. Extensive experiments demonstrate the superiority of our method in mitigating synthetic and real-world label noise. The code is available at https://github.com/cswjl/eps-softmax.

View on arXivView PDF

Code Implementations(1)

cswjl/eps-softmaxOfficial100%

[NeurIPS2024] $\epsilon$-Softmax: Approximating One-Hot Vectors for Mitigating Label Noise

100PythonOct 5, 20241 years ago
epsilon-softmaxlearning-with-noisy-labelsneurips2024robust-loss-functions

Similar Papers

Cite this paper

@article{wang2025softmax,
  title  = {ε-Softmax: Approximating One-Hot Vectors for Mitigating Label Noise},
  author = {Jialiang Wang and Xiong Zhou and Deming Zhai and Junjun Jiang and Xiangyang Ji and Xianming Liu},
  year   = {2025},
  eprint = {2508.02387},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.02387v1},
  journal = {NEURIPS 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.02387.svg)](https://codeofpaper.com/paper/2508.02387)

Discussion