mlsanityData to 14 Oct 2026

Distinction Maximization Loss: Efficiently Improving Out-of-Distribution Detection and Uncertainty Estimation by Replacing the Loss and Calibrating

arXiv 2205.05874 ↗First posted 12 May 2022cs.LG cs.AI cs.CVcited by 2

Not on the map. Why?

Abstract (arXiv)

Building robust deterministic neural networks remains a challenge. On the one hand, some approaches improve out-of-distribution detection at the cost of reducing classification accuracy in some situations. On the other hand, some methods simultaneously increase classification accuracy, uncertainty estimation, and out-of-distribution detection at the expense of reducing the inference efficiency. In this paper, we propose training deterministic neural networks using our DisMax loss, which works as a drop-in replacement for the usual SoftMax loss (i.e., the combination of the linear output layer, the SoftMax activation, and the cross-entropy loss). Starting from the IsoMax+ loss, we create each logit based on the distances to all prototypes, rather than just the one associated with the correct class. We also introduce a mechanism to combine images to construct what we call fractional probability regularization. Moreover, we present a fast way to calibrate the network after training. Finally, we propose a composite score to perform out-of-distribution detection. Our experiments show that DisMax usually outperforms current approaches simultaneously in classification accuracy, uncertainty estimation, and out-of-distribution detection while maintaining deterministic neural network inference efficiency. The code to reproduce the results is available at https://github.com/dlmacedo/distinction-maximization-loss.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 22 of its 31 references that are in the map. First posted on arXiv 12 May 2022.

Builds on

22 of 31 references.

References · 22

  1. 2016Densely Connected Convolutional Networkscited by 6,720
  2. 2017On Calibration of Modern Neural Networkscited by 4,960
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  4. 2016Wide Residual Networkscited by 3,070
  5. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  6. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  7. 2016Identity Mappings in Deep Residual Networkscited by 1,965
  8. 2020YOLOv4: Optimal Speed and Accuracy of Object Detectioncited by 1,630
  9. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  10. 2019Natural Adversarial Examplescited by 1,408
  11. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  12. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
10 more
  1. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  2. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  3. 2021Revisiting the Calibration of Modern Neural Networkscited by 390
  4. 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
  5. 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
  6. 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
  7. 2020Uncertainty Estimation Using a Single Deep Deterministic Neural Networkcited by 37
  8. 2019Entropic Out-of-Distribution Detectioncited by 21
  9. 2020Entropic Out-of-Distribution Detection: Seamless Detection of Unknown Examplescited by 16
  10. 2021Enhanced Isotropy Maximization Loss: Seamless and High-Performance Out-of-Distribution Detection Simply Replacing the SoftMax Losscited by 11

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 0; 2024: 1.

2 papers.