Cross-Entropy Loss Functions: Theoretical Analysis and Applications
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
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2016Wide Residual Networkscited by 3,057
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
38 more
- 2016Adversarial Machine Learning at Scalecited by 934
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
- 2020Fast is better than free: Revisiting adversarial trainingcited by 723
- 2017Evasion Attacks against Machine Learning at Test Timecited by 686
- 2019Adversarial Training for Free!cited by 638
- 2020Overfitting in adversarially robust deep learningcited by 504
- 2017Robust Loss Functions under Label Noise for Deep Neural Networkscited by 441
- 2019Unlabeled Data Improves Adversarial Robustnesscited by 415
- 2018Adversarially Robust Generalization Requires More Datacited by 318
- 2018Feature Denoising for Improving Adversarial Robustnesscited by 312
- 2020Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examplescited by 275
- 2020Attacks Which Do Not Kill Training Make Adversarial Learning Strongercited by 242
- 2018Adversarial Logit Pairingcited by 224
- 2019Improving Adversarial Robustness via Promoting Ensemble Diversitycited by 213
- 2020Understanding and Improving Fast Adversarial Trainingcited by 213
- 2021Fixing Data Augmentation to Improve Adversarial Robustnesscited by 201
- 2020Bag of Tricks for Adversarial Trainingcited by 199
- 2021Data Augmentation Can Improve Robustnesscited by 193
- 2019You Only Propagate Once: Accelerating Adversarial Training via Maximal Principlecited by 181
- 2018MMA Training: Direct Input Space Margin Maximization through Adversarial Trainingcited by 171
- 2019Are Labels Required for Improving Adversarial Robustness?cited by 162
- 2021A Universal Law of Robustness via Isoperimetrycited by 150
- 2019Adversarial Robustness through Local Linearizationcited by 146
- 2018Rademacher Complexity for Adversarially Robust Generalizationcited by 132
- 2021On the Convergence and Robustness of Adversarial Trainingcited by 127
- 2019Adversarially Robust Distillationcited by 124
- 2020Boosting Adversarial Training with Hypersphere Embeddingcited by 97
- 2019Defense Against Adversarial Attacks Using Feature Scattering-based Adversarial Trainingcited by 95
- 2018Curriculum Adversarial Trainingcited by 89
- 2019When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attackscited by 87
- 2019VC Classes are Adversarially Robustly Learnable, but Only Improperlycited by 83
- 2018Adversarial examples from computational constraintscited by 79
- 2019Adversarially Robust Generalization Just Requires More Unlabeled Datacited by 75
- 2020Adversarial Vertex Mixup: Toward Better Adversarially Robust Generalizationcited by 73
- 2020DVERGE: Diversifying Vulnerabilities for Enhanced Robust Generation of Ensemblescited by 73
- 2020CAT: Customized Adversarial Training for Improved Robustnesscited by 61
- 2018Improving the Generalization of Adversarial Training with Domain Adaptationcited by 48
50 most cited of 95 All 95 (JSON)
Built on by
Citing papers per year: 2023: 13; 2024: 44; 2025: 99; 2026: 50.
206 papers.
Sort:
By area:
- 2024RigorLLM: Resilient Guardrails for Large Language Models against Undesired Contentcited by 65
- 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
- 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
- 2024Regression with Multi-Expert Deferralcited by 29
- 2023Ranking with Abstentioncited by 27
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defercited by 26
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Lossescited by 24
- 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
- 2024Multi-Label Learning with Stronger Consistency Guaranteescited by 22
- 2024H-Consistency Guarantees for Regressioncited by 21
- 2024Enhanced H-Consistency Boundscited by 18
- 2024A Two-Stage Learning-to-Defer Approach for Multi-Task Learningcited by 16
38 more
- 2025Adversarial Robustness in Two-Stage Learning-to-Defer: Algorithms and Guaranteescited by 16
- 2025Mastering Multiple-Expert Routing: Realizable H-Consistency and Strong Guarantees for Learning to Defercited by 16
- 2024Optimal Query Allocation in Extractive QA with LLMs: A Learning-to-Defer Framework with Theoretical Guaranteescited by 15
- 2025Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced Datacited by 15
- 2023PrivImage: Differentially Private Synthetic Image Generation using Diffusion Models with Semantic-Aware Pretrainingcited by 12
- 2025V2-SAM: Marrying SAM2 with Multi-Prompt Experts for Cross-View Object Correspondencecited by 12
- 2023Understanding Probe Behaviors through Variational Bounds of Mutual Informationcited by 11
- 2025K-frames: Scene-Driven Any-k Keyframe Selection for long video understandingcited by 11
- 2025Budgeted Multiple-Expert Deferralcited by 11
- 2025SeqVLA: Sequential Task Execution for Long-Horizon Manipulation with Completion-Aware Vision-Language-Action Modelcited by 10
- 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learningcited by 9
- 2025DART: Disease-aware Image-Text Alignment and Self-correcting Re-alignment for Trustworthy Radiology Report Generationcited by 9
- 2025Improved Balanced Classification with Theoretically Grounded Loss Functionscited by 9
- 2026ReGuLaR: Variational Latent Reasoning Guided by Rendered Chain-of-Thoughtcited by 8
- 2024Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Modelscited by 7
- 2025Universal Visuo-Tactile Video Understanding for Embodied Interactioncited by 7
- 2024Parameter-Selective Continual Test-Time Adaptationcited by 6
- 2025TAET: Two-Stage Adversarial Equalization Training on Long-Tailed Distributionscited by 6
- 2025Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Expertscited by 6
- 2025Principled Algorithms for Optimizing Generalized Metrics in Binary Classificationcited by 6
- 2023A Markov Random Field model for Hypergraph-based Machine Learningcited by 5
- 2024Top-k Classification and Cardinality-Aware Predictioncited by 5
- 2024Temporal Feature Matters: A Framework for Diffusion Model Quantizationcited by 5
- 2024Model Fusion through Bayesian Optimization in Language Model Fine-Tuningcited by 5
- 2025MHAFF: Multi-Head Attention Feature Fusion of CNN and Transformer for Cattle Identificationcited by 5
- 2025TensorHyper-VQC: A Tensor-Train-Guided Hypernetwork for Robust and Scalable Variational Quantum Computingcited by 5
- 2025DHG-Bench: A Comprehensive Benchmark for Deep Hypergraph Learningcited by 5
- 2025Adversarial Robustness in One-Stage Learning-to-Defercited by 5
- 2023Language Models for Business Optimisation with a Real World Case Study in Production Schedulingcited by 4
- 2024CosmoCLIP: Generalizing Large Vision-Language Models for Astronomical Imagingcited by 4
- 2024Semi-Supervised Object Detection: A Survey on Progress from CNN to Transformercited by 4
- 2024Tests for model misspecification in simulation-based inference: from local distortions to global model checkscited by 4
- 2025Generating crossmodal gene expression from cancer histopathology improves multimodal AI predictionscited by 4
- 2025Learning to Partially Defer for Sequencescited by 4
- 2025tn4ml: Tensor Network Training and Customization for Machine Learningcited by 4
- 2025Instance-Level Data-Use Auditing of Visual ML Modelscited by 4
- 2025No Query, No Accesscited by 4
- 2025Field Matters: A Lightweight LLM-enhanced Method for CTR Predictioncited by 4
50 most cited of 206 All 206 (JSON)
- 2026M2Depth: Unifying Monocular Depth Foundation Priors with Multi-View Stereo21 Aug 2026
- 2026Contrastive-Collapsed Loss for Flexible and Geometrically Optimal Embeddings and Faster Convergence14 Jul 2026
- 2026PS4: Proxy-Supervised Joint Training for Real Target Speaker Extraction9 Jul 2026
- 2026Converge to Surprise: Evolutionary Self-supervised Image Clustering8 Jul 2026
- 2026Hybrid quantum-classical neural network for sentiment analysis2 Jul 2026
- 2026FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibration26 Jun 2026
- 2026IstGPT: LLM-based Anomaly Detection for Spatial-Temporal Graph in Industrial Systems1 Jun 2026
- 2026ResNet-34 with Lightweight Decoder for Accurate and Efficient Segmentation of Fetal Brain MRI31 May 2026
- 2026Rate-optimal neural boundary detection from unlabeled noisy images30 May 2026
- 2026KLAS: Using Similarity to Stitch Neural Networks for Improved Accuracy-Efficiency Tradeoffs28 May 2026
- 2026Principled Algorithms for Optimizing Generalized Metrics in Multi-Label Learning27 May 2026
- 2026Classical State Preparation for Variational Quantum Algorithms via Reinforcement Learning22 May 2026
38 more
- 2026Informative Graph Structure Learning16 May 2026
- 2026ATLAS: Agentic or Latent Visual Reasoning? One Word is Enough for Both14 May 2026
- 2026Deep Image Segmentation via Discriminant Feature Learning14 May 2026
- 2026Online Learning-to-Defer with Varying Experts12 May 2026
- 2026MPerS: Dynamic MLLM MixExperts Perception-Guided Remote Sensing Scene Segmentation11 May 2026
- 2026Reference-based Category Discovery: Unsupervised Object Detection with Category Awareness6 May 2026
- 2026Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction30 Apr 2026
- 2026Optimized Deferral for Imbalanced Settings30 Apr 2026
- 2026Materialistic RIR: Material Conditioned Realistic RIR Generation22 Apr 2026
- 2026LAF-Based Evaluation and UTTL-Based Learning Strategies with MIATTs22 Apr 2026
- 2026Severity-Aware Weighted Loss for Arabic Medical Text Generation7 Apr 2026
- 2026Silhouette Loss: Differentiable Global Structure Learning for Deep Representations27 Mar 2026
- 2026Dissecting Model Failures in Abdominal Aortic Aneurysm Segmentation through Explainability-Driven Analysis25 Mar 2026
- 2026SAMSEM -- A Generic and Scalable Approach for IC Metal Line Segmentation17 Mar 2026
- 2026Quantum-Enhanced Vision Transformer for Flood Detection using Remote Sensing Imagery14 Mar 2026
- 2026RTFDNet: Fusion-Decoupling for Robust RGB-T Segmentation10 Mar 2026
- 2026TALON: Test-time Adaptive Learning for On-the-Fly Category Discovery9 Mar 2026
- 2026BornoViT: A Novel Efficient Vision Transformer for Bengali Handwritten Basic Characters Classification28 Feb 2026
- 2026Unsupervised Semantic Segmentation in Synchrotron Computed Tomography with Self-Correcting Pseudo Labels27 Feb 2026
- 2026A Theoretical Framework for Modular Learning of Robust Generative Models19 Feb 2026
- 2026Optimizing Soft Prompt Tuning via Structural Evolution18 Feb 2026
- 2026A Self-Supervised Approach for Enhanced Feature Representations in Object Detection Tasks18 Feb 2026
- 2026Picking the Right Specialist: Attentive Neural Process-based Selection of Task-Specialized Models as Tools for Agentic Healthcare Systems16 Feb 2026
- 2026ReGuLaR: Variational Latent Reasoning Guided by Rendered Chain-of-Thought30 Jan 2026
- 2026SDCM: Simulated Densifying and Compensatory Modeling Fusion for Radar-Vision 3-D Object Detection in Internet of Vehicles29 Jan 2026
- 2026Quantum LEGO Learning: A Modular Design Principle for Hybrid Artificial Intelligence29 Jan 2026
- 2026Soft Quantization: Model Compression Via Weight Coupling29 Jan 2026
- 2026CiMRAG: CiM-Aware Domain-Adaptive and Noise-Resilient Retrieval-Augmented Generation for Edge-Based LLMs27 Jan 2026
- 2026VISTA-PATH: An interactive foundation model for pathology image segmentation and quantitative analysis in computational pathology23 Jan 2026
- 2026Class Confidence Aware Reweighting for Long Tailed Learning22 Jan 2026
- 2026Vision Models for Medical Imaging: A Hybrid Approach for PCOS Detection from Ultrasound Scans21 Jan 2026
- 2026Partial Decoder Attention Network with Contour-weighted Loss Function for Data-Imbalance Medical Image Segmentation20 Jan 2026
- 2026Towards Onboard Continuous Change Detection for Floods20 Jan 2026
- 2026Continual Quantum Architecture Search with Tensor-Train Encoding: Theory and Applications to Signal Processing10 Jan 2026
- 2026Key-Value Pair-Free Continual Learner via Task-Specific Prompt-Prototype8 Jan 2026
- 2026From Preoperative CT to Postmastoidectomy Mesh Construction: Mastoidectomy Shape Prediction for Cochlear Implant Surgery7 Jan 2026
- 2026Graph Integrated Transformers for Community Detection in Social Networks7 Jan 2026
- 2026PET-TURTLE: Deep Unsupervised Support Vector Machines for Imbalanced Data Clusters6 Jan 2026
50 newest of 206 All 206 (JSON)
- 2025To Ask or Not to Ask: Learning to Require Human Feedbackcited by 4
- 2025To Ask or Not to Ask: Learning to Require Human Feedback9 Oct 2025
- 2023Predictor-Rejector Multi-Class Abstention: Theoretical Analysis and Algorithmscited by 36
- 2023Theoretically Grounded Loss Functions and Algorithms for Score-Based Multi-Class Abstentioncited by 32
- 2024Regression with Multi-Expert Deferralcited by 29
- 2023Ranking with Abstentioncited by 27
- 2024Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defercited by 26
- 2024A Universal Growth Rate for Learning with Smooth Surrogate Lossescited by 24
- 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
- 2024Multi-Label Learning with Stronger Consistency Guaranteescited by 22
- 2024H-Consistency Guarantees for Regressioncited by 21
- 2024Enhanced H-Consistency Boundscited by 18
- 2024A Two-Stage Learning-to-Defer Approach for Multi-Task Learningcited by 16
- 2025Adversarial Robustness in Two-Stage Learning-to-Defer: Algorithms and Guaranteescited by 16
12 most cited of 189 All 189 (JSON)
- 2026M2Depth: Unifying Monocular Depth Foundation Priors with Multi-View Stereo21 Aug 2026
- 2026Contrastive-Collapsed Loss for Flexible and Geometrically Optimal Embeddings and Faster Convergence14 Jul 2026
- 2026PS4: Proxy-Supervised Joint Training for Real Target Speaker Extraction9 Jul 2026
- 2026Converge to Surprise: Evolutionary Self-supervised Image Clustering8 Jul 2026
- 2026Hybrid quantum-classical neural network for sentiment analysis2 Jul 2026
- 2026FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibration26 Jun 2026
- 2026IstGPT: LLM-based Anomaly Detection for Spatial-Temporal Graph in Industrial Systems1 Jun 2026
- 2026ResNet-34 with Lightweight Decoder for Accurate and Efficient Segmentation of Fetal Brain MRI31 May 2026
- 2026Rate-optimal neural boundary detection from unlabeled noisy images30 May 2026
- 2026KLAS: Using Similarity to Stitch Neural Networks for Improved Accuracy-Efficiency Tradeoffs28 May 2026
- 2026Principled Algorithms for Optimizing Generalized Metrics in Multi-Label Learning27 May 2026
- 2026Classical State Preparation for Variational Quantum Algorithms via Reinforcement Learning22 May 2026
12 newest of 189 All 189 (JSON)