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.
Statistically Meaningful Geometry (SMG) Beyond the Euclidean Paradigm, with Application to Generative AI
Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);AMSS Center for Forecasting Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院预测科学研究中心);Beijing Institute of Mathematical Sciences and Applications (BIMSA)(北京国际数学研究中心);Department of Statistics, London School of Economics and Political Science(伦敦政治经济学院统计系);Department of Statistics and Data Science, Tsinghua University(清华大学统计与数据科学系);Paula and Gregory Chow Institute for the Studies in Economics, Xiamen University(厦门大学经济研究所(保拉和格雷戈里·周研究所));Yau Mathematical Sciences Center, Tsinghua University(清华大学丘成桐数学科学中心)