A Fast Algorithm for the Familywise Loss
Leelavathi Raja, Amirreza Eshraghi, Vinay Prabhakar, Mark Blacher, Han Bao, Yutong Wang
Key points
From the paper's conclusion- The familywise (FW) loss for multiclass classification, introduced by Duchi, Ruan, and Khosravi, achieves universal equivalence to the 0-1 loss, and thus has stronger theoretical properties than cross entropy (CE).
Abstract
The familywise (FW) loss for multiclass classification, introduced by Duchi, Ruan, and Khosravi, achieves universal equivalence to the 0-1 loss, and thus has stronger theoretical properties than cross entropy (CE). Prior work, however, left open whether FW is as computationally efficient as CE. First, on the theoretical side, we prove that the FW gradient can be computed in $O(K)$ time, where $K$ is the number of classes. Second, on the practical side, we develop optimized kernels for computing the forward and backward passes of FW which outperform CE in terms of speed on both CPU and GPU.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When Is Accuracy Evidence? A Unified Theory of Generalisation, Validation, and Information FusionarXiv · 2026
- Selection-Safe Conformal Early Exit: Distribution-Free Coverage under Adaptive DeptharXiv · 2026
- A Survey and Taxonomy of Loss Functions in Machine LearningAI · 2026
- Multigroup Fairness and Omniprediction: Separations and EquivalencesarXiv · 2026
- Exact Risk Ratios for Weighted Data Selection in Linear RegressionarXiv · 2026
- FlexGrad: a root-free approach to adaptive step sizesarXiv · 2026