arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06689cs.LGstat.ML
收藏

生成交叉熵:一种数据高效分类的严格合理损失

Generative Cross-Entropy: A Strictly Proper Loss for Data-Efficient Classification

University of Pennsylvania(宾夕法尼亚大学)

Qipeng Zhan, Zhuoping Zhou, Li Shen

AI总结:

本文提出生成交叉熵(GenCE),通过引入生成学习原理改进传统判别网络,提升数据效率和分类性能,在多种数据集和架构上优于传统交叉熵及其他损失函数。

摘要:

交叉熵(CE)是监督分类的默认训练损失,但在标签稀缺时样本效率受限。现有方法主要通过数据增强、合成或迁移学习解决,而本文重新审视训练目标。基于生成分类器比判别分类器在更少样本下达到渐近误差的观察,提出生成交叉熵(GenCE),作为CE的替代方案,将生成学习原理引入标准判别网络而不改变架构或拟合单独密度模型。GenCE源自类条件似然的贝叶斯重写,在小批量近似下,通过将每个样本的softmax分数与模型在批次上的预测进行归一化,跨共享类别的示例耦合训练信号。将proper-scoring-rule框架扩展到非局部损失,并证明在温和的完备性条件下,GenCE是严格合理的:其总体风险在真实后验处唯一最小化。在三个数据集、两种架构及平衡小数据和类别不平衡场景中,GenCE优于CE和其他常用损失函数,同时产生更校准的概率和更强的分布外检测能力。

英文摘要:

Cross-entropy (CE) is the default training loss for supervised classification, but its sample efficiency is limited when labels are scarce. Existing remedies primarily act on the data side, via augmentation, synthesis, or transfer from pretrained models; the training objective itself is rarely revisited. We revisit it here. Drawing on the classical observation that generative classifiers reach their asymptotic error with fewer samples than discriminative ones, we propose Generative Cross-Entropy (GenCE), a drop-in replacement for CE that introduces a generative learning principle into a standard discriminative network without altering the architecture or fitting a separate density model. GenCE follows from a Bayesian rewrite of the class-conditional likelihood and, in the mini-batch approximation, reduces to normalizing each sample's softmax score against the model's predictions on the batch, coupling the training signal across examples sharing a class. We extend the proper-scoring-rule framework to such non-local losses and prove that GenCE is strictly proper under a mild completeness condition: its population risk is uniquely minimized at the true posterior. Across three datasets, on two architectures and in both balanced small-data and class-imbalanced regimes, GenCE outperforms CE and other widely used losses, while also producing better-calibrated probabilities and stronger out-of-distribution detection.

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

↑