Cross-Entropy Loss Functions: Theoretical Analysis and Applications
摘要
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 -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 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 -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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 77 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Adversarial Weight Perturbation Helps Robust Generalization 引用了 Towards Evaluating the Robustness of Neural Networks
- Adversarial Weight Perturbation Helps Robust Generalization 引用了 Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Adversarial Weight Perturbation Helps Robust Generalization 引用了 Fast is better than free: Revisiting adversarial training
- Adversarial Weight Perturbation Helps Robust Generalization 引用了 Overfitting in adversarially robust deep learning
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks 引用了 Towards Evaluating the Robustness of Neural Networks
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks 引用了 Fast is better than free: Revisiting adversarial training
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks 引用了 Overfitting in adversarially robust deep learning
- Fast is better than free: Revisiting adversarial training 引用了 Towards Evaluating the Robustness of Neural Networks
- Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defer 引用了 Revisiting Discriminative vs. Generative Classifiers: Theory and Implications
- Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to Defer 引用了 Two-Stage Learning to Defer with Multiple Experts
- Overfitting in adversarially robust deep learning 引用了 Towards Evaluating the Robustness of Neural Networks
- Overfitting in adversarially robust deep learning 引用了 Fast is better than free: Revisiting adversarial training
- Two-Stage Learning to Defer with Multiple Experts 引用了 Revisiting Discriminative vs. Generative Classifiers: Theory and Implications
引用它的顶会 Paper77
- Two-Stage Learning to Defer with Multiple ExpertsAnqi Mao, Christopher Mohri, Mehryar Mohri, Yutao ZhongNeurIPS 2023 · 98 次引用
- RigorLLM: Resilient Guardrails for Large Language Models against Undesired ContentZhuowen Yuan, Zidi Xiong, Yi Zeng, Ning Yu 等ICML 2024 · 77 次引用
- ORPO: Monolithic Preference Optimization without Reference ModelJiwoo Hong, Noah Lee, James ThorneEMNLP 2024 · 71 次引用
- Revisiting Discriminative vs. Generative Classifiers: Theory and ImplicationsChenyu Zheng, Guoqiang Wu, Fan Bao, Yue Cao 等ICML 2023 · 40 次引用
- Realizable H-Consistent and Bayes-Consistent Loss Functions for Learning to DeferAnqi Mao, Mehryar Mohri, Yutao ZhongNeurIPS 2024 · 37 次引用
它引用的 Paper47
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 次引用
- Fast is better than free: Revisiting adversarial trainingEric Wong, Leslie Rice, J. Zico KolterICLR 2020 · 1,352 次引用
- Overfitting in adversarially robust deep learningLeslie Rice, Eric Wong, J. Zico KolterICML 2020 · 935 次引用
- Adversarial Weight Perturbation Helps Robust GeneralizationDongxian Wu, Shu-Tao Xia, Yisen WangNeurIPS 2020 · 917 次引用
相关 Paper
- H-Consistency Bounds for Surrogate Loss MinimizersPranjal Awasthi, Anqi Mao, Mehryar Mohri, Yutao ZhongICML 2022 · 50 次引用
- Structured Prediction with Stronger Consistency GuaranteesAnqi Mao, Mehryar Mohri, Yutao ZhongNeurIPS 2023 · 37 次引用
- Calibration and Consistency of Adversarial Surrogate LossesPranjal Awasthi, Natalie Frank, Anqi Mao, Mehryar Mohri 等NeurIPS 2021 · 59 次引用
- A Universal Growth Rate for Learning with Smooth Surrogate LossesAnqi Mao, Mehryar Mohri, Yutao ZhongNeurIPS 2024 · 27 次引用
- H-Consistency Bounds: Characterization and ExtensionsAnqi Mao, Mehryar Mohri, Yutao ZhongNeurIPS 2023 · 34 次引用
