arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.22745cs.LG
收藏

Softmax损失是否足够?对Softmax家族损失的系统分析

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

Yuanhao Pu, Defu Lian, Enhong Chen

AI总结:

本文系统分析了Softmax家族损失的理论性质和实践效果,揭示了不同替代物在分类和排序中的一致性及收敛行为,提出了偏差-方差分解和复杂度分析,为大规模类别学习中的损失选择提供了理论基础和实践指导。

摘要:

Softmax损失是分类和排序任务中最广泛使用的替代目标之一。为了阐明其理论性质,Fenchel-Young框架将其置于一个广泛替代物的广大家族中的典范实例之中。同时,另一条研究路线在类别数量极多时探讨了可扩展性,其中提出了许多近似方法以保留精确目标的优势并提高效率。基于这两种视角,我们对Softmax家族损失进行了系统研究。我们检验了不同替代物是否能与分类和排序指标保持一致,并分析其梯度动态以揭示不同的收敛行为。我们还引入了一种系统性的偏差-方差分解,为近似方法提供收敛保证,并进一步推导了每轮复杂度分析,展示了有效性与效率之间的显式权衡。在具有代表性的任务上进行了广泛的实验,证明了一致性、收敛性和经验性能之间有很强的一致性。这些结果建立了一个系统的基础,并为大规模类别机器学习应用中的损失选择提供了实用指导。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑