Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Loss
School of Artificial Intelligence \& Data Science, University of Science \& Technology of China, Hefei, China;School of Computer Science \& Technology, University of Science \& Technology of China, Hefei, China;State Key Laboratory of Cognitive Intelligence, China
The Softmax loss is one of the most widely employed surrogate objectives for classification and ranking tasks. To elucidate its theoretical properties, the Fenchel-Young framework situates it as a canonical instance within a broad family of surrogates. Concurrently, another line of research has addressed scalability when the number of classes is exceedingly large, in which numerous approximations have been proposed to retain the benefits of the exact objective while improving efficiency. Building on these two perspectives, we present a principled investigation of the Softmax-family losses. We examine whether different surrogates achieve consistency with classification and ranking metrics, and analyze their gradient dynamics to reveal distinct convergence behaviors. We also introduce a systematic bias-variance decomposition for approximate methods that provides convergence guarantees, and further derive a per-epoch complexity analysis, showing explicit trade-offs between effectiveness and efficiency. Extensive experiments on a representative task demonstrate a strong alignment between consistency, convergence, and empirical performance. Together, these results establish a principled foundation and offer practical guidance for loss selections in large-class machine learning applications.
The Z-loss: a shift and scale invariant classification loss belonging to the Spherical Family
MILA(蒙特利尔学习算法研究所);University of Montréal(蒙特利尔大学);CIFAR(加拿大高等研究院)
尽管log-softmax是训练多类神经网络的标准损失函数,但它有两个潜在的局限性。首先,它涉及的计算与输出类的数量呈线性关系,这可能会限制我们能够用当前硬件解决的问题的大小。其次,它与任务损失(如top-k出错率或其他我们最终要优化的不可微评估指标)的匹配程度仍不清楚。在本文中,我们介绍了一种替代的分类损失函数,Z-损失,这是为了解决这两个问题。与log-softmax不同,它具有属于球形损失家族的理想属性(Vincent等人,2015),一类损失函数,可以以独立于输出类的数量的复杂度非常有效地对其执行训练。我们的实验表明,它显着优于其他球形损失函数以前研究。此外,我们在一个单词语言建模任务中表明,它在某些排名分数(如前k分数)方面也优于log-softmax,这表明Z损失具有更好地匹配任务损失的灵活性。因此,这些品质使得Z损失成为非常有效地训练诸如单词-语言模型或其他极端分类问题的大输出网络的吸引人的候选者。On the One Billion Word(Chelba et al.,2014)数据集,我们能够训练一个Z损失比log-softmax快40倍,比分层softmax快4倍以上的模型。
Harbin Institute of Technology(哈尔滨工业大学);Peng Cheng Laboratory(鹏城实验室);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Tsinghua University(清华大学)
Fast Model Selection and Stable Optimization for Softmax-Gated Multinomial-Logistic Mixture of Experts Models
School of Computing, National University of Singapore, Singapore.(新加坡国立大学计算机学院);ARC Centre of Excellence for the Mathematical Analysis of Cellular Systems(细胞系统数学分析卓越研究中心);School of Mathematical Sciences, Queensland University of Technology, Brisbane, Australia.(昆士兰科技大学数学科学学院);Department of Statistics and Data Science, University of Texas at Austin, Austin, USA(德克萨斯大学奥斯汀分校统计与数据科学系)
ECUAS$_n$: A family of metrics for principled evaluation of uncertainty-augmented systems
School of Engineering, UBA, Argentina(阿根廷UBA工程学院);ICC, CONICET-Universidad de Buenos Aires, Argentina(阿根廷CONICET-布宜诺斯艾利斯大学ICC);LISN, CNRS, Université Paris-Saclay, France(法国CNRS巴黎萨克雷大学LISN);International Laboratory on Learning Systems, Canada(加拿大学习系统国际实验室);CSC, CONICET, Argentina(阿根廷CONICET CSC);Mila - Quebec AI Institute, Canada(加拿大魁北克AI研究所Mila);CNRS, Université Paris-Saclay, France(法国CNRS巴黎萨克雷大学)
PSL: Rethinking and Improving Softmax Loss from Pairwise Perspective for Recommendation
State Key Laboratory of Blockchain and Data Security, Zhejiang University(区块链与数据安全国家重点实验室,浙江大学);College of Computer Science and Technology, Zhejiang University(计算机科学与技术学院,浙江大学)
Soft Diffusion: Score Matching for General Corruptions
Google Research(谷歌研究院);UT Austin(得克萨斯大学奥斯汀分校)
我们定义了一个更广泛的家庭腐败过程,概括了以前已知的扩散模型。为了扭转这些一般的扩散,我们提出了一个新的目标,称为软分数匹配,可证明学习任何线性腐败过程的分数函数,并为CelebA产生最先进的结果。软分数匹配结合了网络中的退化过程。我们的新损失训练模型预测一个干净的图像,\textit{that after corruption},匹配扩散观察。我们表明,我们的目标学习梯度的可能性在适当的规律性条件下的一个家庭的腐败过程。我们进一步开发了一种原则性的方法来选择一般扩散过程的腐败水平和一种新的采样方法,我们称之为动量采样器。我们的实验表明,我们的框架适用于一般的线性腐败过程,如高斯模糊和掩蔽。我们在CelebA-64上实现了最先进的FID评分$1.85$,优于所有先前的线性扩散模型。与香草去噪扩散相比,我们还显示出显着的计算优势。