mlsanityData to 7 Oct 2026

Cross-Entropy Loss Functions: Theoretical Analysis and Applications

arXiv 2304.07288 ↗First posted 14 Apr 2023cs.LG stat.MLcited by 206

Not on the map. Why?

Abstract (arXiv)

Cross-entropy is a widely used loss function in applications. It coincides with the logistic loss applied to the outputs of a neural network, when the softmax is used. But, what guarantees can we rely on when using cross-entropy as a surrogate loss? We present a theoretical analysis of a broad family of loss functions, comp-sum losses, that includes cross-entropy (or logistic loss), generalized cross-entropy, the mean absolute error and other cross-entropy-like loss functions. We give the first H-consistency bounds for these loss functions. These are non-asymptotic guarantees that upper bound the zero-one loss estimation error in terms of the estimation error of a surrogate loss, for the specific hypothesis set H used. We further show that our bounds are tight. These bounds depend on quantities called minimizability gaps. To make them more explicit, we give a specific analysis of these gaps for comp-sum losses. We also introduce a new family of loss functions, smooth adversarial comp-sum losses, that are derived from their comp-sum counterparts by adding in a related smooth term. We show that these loss functions are beneficial in the adversarial setting by proving that they admit H-consistency bounds. This leads to new adversarial robustness algorithms that consist of minimizing a regularized smooth adversarial comp-sum loss. While our main purpose is a theoretical analysis, we also present an extensive empirical analysis comparing comp-sum losses. We further report the results of a series of experiments demonstrating that our adversarial robustness algorithms outperform the current state-of-the-art, while also achieving a superior non-adversarial accuracy.

Key facts. Cited by 206 papers in the map (data through 7 Oct 2026). Builds on 95 of its 160 references that are in the map. First posted on arXiv 14 Apr 2023.

Builds on

95 of 160 references.

References · 95

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  3. 2013Intriguing properties of neural networkscited by 5,114
  4. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  6. 2016Wide Residual Networkscited by 3,057
  7. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  8. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  9. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  10. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  11. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  12. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
38 more
  1. 2016Adversarial Machine Learning at Scalecited by 934
  2. 2018Robustness May Be at Odds with Accuracycited by 873
  3. 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
  4. 2020Fast is better than free: Revisiting adversarial trainingcited by 723
  5. 2017Evasion Attacks against Machine Learning at Test Timecited by 686
  6. 2019Adversarial Training for Free!cited by 638
  7. 2020Overfitting in adversarially robust deep learningcited by 504
  8. 2017Robust Loss Functions under Label Noise for Deep Neural Networkscited by 441
  9. 2019Unlabeled Data Improves Adversarial Robustnesscited by 415
  10. 2018Adversarially Robust Generalization Requires More Datacited by 318
  11. 2018Feature Denoising for Improving Adversarial Robustnesscited by 312
  12. 2020Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examplescited by 275
  13. 2020Attacks Which Do Not Kill Training Make Adversarial Learning Strongercited by 242
  14. 2018Adversarial Logit Pairingcited by 224
  15. 2019Improving Adversarial Robustness via Promoting Ensemble Diversitycited by 213
  16. 2020Understanding and Improving Fast Adversarial Trainingcited by 213
  17. 2021Fixing Data Augmentation to Improve Adversarial Robustnesscited by 201
  18. 2020Bag of Tricks for Adversarial Trainingcited by 199
  19. 2021Data Augmentation Can Improve Robustnesscited by 193
  20. 2019You Only Propagate Once: Accelerating Adversarial Training via Maximal Principlecited by 181
  21. 2018MMA Training: Direct Input Space Margin Maximization through Adversarial Trainingcited by 171
  22. 2019Are Labels Required for Improving Adversarial Robustness?cited by 162
  23. 2021A Universal Law of Robustness via Isoperimetrycited by 150
  24. 2019Adversarial Robustness through Local Linearizationcited by 146
  25. 2018Rademacher Complexity for Adversarially Robust Generalizationcited by 132
  26. 2021On the Convergence and Robustness of Adversarial Trainingcited by 127
  27. 2019Adversarially Robust Distillationcited by 124
  28. 2020Boosting Adversarial Training with Hypersphere Embeddingcited by 97
  29. 2019Defense Against Adversarial Attacks Using Feature Scattering-based Adversarial Trainingcited by 95
  30. 2018Curriculum Adversarial Trainingcited by 89
  31. 2019When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attackscited by 87
  32. 2019VC Classes are Adversarially Robustly Learnable, but Only Improperlycited by 83
  33. 2018Adversarial examples from computational constraintscited by 79
  34. 2019Adversarially Robust Generalization Just Requires More Unlabeled Datacited by 75
  35. 2020Adversarial Vertex Mixup: Toward Better Adversarially Robust Generalizationcited by 73
  36. 2020DVERGE: Diversifying Vulnerabilities for Enhanced Robust Generation of Ensemblescited by 73
  37. 2020CAT: Customized Adversarial Training for Improved Robustnesscited by 61
  38. 2018Improving the Generalization of Adversarial Training with Domain Adaptationcited by 48

50 most cited of 95 All 95 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 13; 2024: 44; 2025: 99; 2026: 50.

206 papers.

Sort:

By area:

  1. 2024RigorLLM: Resilient Guardrails for Large Language Models against Undesired Contentcited by 65
  2. 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
  3. 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
  4. 2024Regression with Multi-Expert Deferralcited by 29
  5. 2023Ranking with Abstentioncited by 27
  6. 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defercited by 26
  7. 2024A Universal Growth Rate for Learning with Smooth Surrogate Lossescited by 24
  8. 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
  9. 2024Multi-Label Learning with Stronger Consistency Guaranteescited by 22
  10. 2024H-Consistency Guarantees for Regressioncited by 21
  11. 2024Enhanced H-Consistency Boundscited by 18
  12. 2024A Two-Stage Learning-to-Defer Approach for Multi-Task Learningcited by 16
38 more
  1. 2025Adversarial Robustness in Two-Stage Learning-to-Defer: Algorithms and Guaranteescited by 16
  2. 2025Mastering Multiple-Expert Routing: Realizable H-Consistency and Strong Guarantees for Learning to Defercited by 16
  3. 2024Optimal Query Allocation in Extractive QA with LLMs: A Learning-to-Defer Framework with Theoretical Guaranteescited by 15
  4. 2025Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Datacited by 15
  5. 2023PrivImage: Differentially Private Synthetic Image Generation using Diffusion Models with Semantic-Aware Pretrainingcited by 12
  6. 2025V2-SAM: Marrying SAM2 with Multi-Prompt Experts for Cross-View Object Correspondencecited by 12
  7. 2023Understanding Probe Behaviors through Variational Bounds of Mutual Informationcited by 11
  8. 2025K-frames: Scene-Driven Any-k Keyframe Selection for long video understandingcited by 11
  9. 2025Budgeted Multiple-Expert Deferralcited by 11
  10. 2025SeqVLA: Sequential Task Execution for Long-Horizon Manipulation with Completion-Aware Vision-Language-Action Modelcited by 10
  11. 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learningcited by 9
  12. 2025DART: Disease-aware Image-Text Alignment and Self-correcting Re-alignment for Trustworthy Radiology Report Generationcited by 9
  13. 2025Improved Balanced Classification with Theoretically Grounded Loss Functionscited by 9
  14. 2026ReGuLaR: Variational Latent Reasoning Guided by Rendered Chain-of-Thoughtcited by 8
  15. 2024Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Modelscited by 7
  16. 2025Universal Visuo-Tactile Video Understanding for Embodied Interactioncited by 7
  17. 2024Parameter-Selective Continual Test-Time Adaptationcited by 6
  18. 2025TAET: Two-Stage Adversarial Equalization Training on Long-Tailed Distributionscited by 6
  19. 2025Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Expertscited by 6
  20. 2025Principled Algorithms for Optimizing Generalized Metrics in Binary Classificationcited by 6
  21. 2023A Markov Random Field model for Hypergraph-based Machine Learningcited by 5
  22. 2024Top-k Classification and Cardinality-Aware Predictioncited by 5
  23. 2024Temporal Feature Matters: A Framework for Diffusion Model Quantizationcited by 5
  24. 2024Model Fusion through Bayesian Optimization in Language Model Fine-Tuningcited by 5
  25. 2025MHAFF: Multi-Head Attention Feature Fusion of CNN and Transformer for Cattle Identificationcited by 5
  26. 2025TensorHyper-VQC: A Tensor-Train-Guided Hypernetwork for Robust and Scalable Variational Quantum Computingcited by 5
  27. 2025DHG-Bench: A Comprehensive Benchmark for Deep Hypergraph Learningcited by 5
  28. 2025Adversarial Robustness in One-Stage Learning-to-Defercited by 5
  29. 2023Language Models for Business Optimisation with a Real World Case Study in Production Schedulingcited by 4
  30. 2024CosmoCLIP: Generalizing Large Vision-Language Models for Astronomical Imagingcited by 4
  31. 2024Semi-Supervised Object Detection: A Survey on Progress from CNN to Transformercited by 4
  32. 2024Tests for model misspecification in simulation-based inference: from local distortions to global model checkscited by 4
  33. 2025Generating crossmodal gene expression from cancer histopathology improves multimodal AI predictionscited by 4
  34. 2025Learning to Partially Defer for Sequencescited by 4
  35. 2025tn4ml: Tensor Network Training and Customization for Machine Learningcited by 4
  36. 2025Instance-Level Data-Use Auditing of Visual ML Modelscited by 4
  37. 2025No Query, No Accesscited by 4
  38. 2025Field Matters: A Lightweight LLM-enhanced Method for CTR Predictioncited by 4

50 most cited of 206 All 206 (JSON)