- Rating
- 4
- Clarity
- 4
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes Generative Cross-Entropy (GenCE), a drop-in replacement for standard cross-entropy for data-efficient classification. The main idea is to introduce a generative learning principle into discriminative classifier training by rewriting the class-conditional likelihood through Bayes’ rule. In practice, the loss normalizes each sample’s predicted probability for its ground-truth class by the model’s batch-level prediction mass for the same class. This creates a non-local loss where the training signal for one sample depends on other samples in the same mini-batch. The paper further develops a non-local proper-scoring-rule analysis and proves that GenCE is strictly proper under a completeness condition. Experiments on CIFAR-10, CIFAR-100, and Mini-ImageNet suggest that GenCE improves over CE and several common loss functions in small-data, class-imbalanced, calibration, and OOD detection settings.
Strengths and weaknesses
Strengths:
-
The paper studies an interesting and under-explored direction: improving label-efficient classification by revisiting the training objective itself, rather than relying only on data augmentation, synthesis, or pretrained representations.
-
The proposed loss is simple and easy to implement.
-
The attempt to extend proper-scoring-rule analysis to non-local losses is valuable.
-
The empirical results are generally positive. GenCE consistently improves over CE and several widely used alternative losses, and the reported gains are especially noticeable in some low-data settings such as CIFAR-100 with VGG.
Weaknesses:
-
The main theoretical result is established at the population level, while the actual training objective relies on a mini-batch approximation. Since the denominator of GenCE estimates the model-induced class marginal (p_\theta(y)), its quality can be strongly affected by mini-batch composition, batch size, and sampling strategy. The current theory does not show whether the mini-batch version of GenCE remains strictly proper, nor does it analyze the bias or variance introduced by this approximation. As a result, there is still a noticeable gap between the theoretical objective and the practical training loss.
-
Strict properness mainly guarantees that the population-risk minimizer recovers the true posterior distribution. This is more directly related to probabilistic calibration than to finite-sample top-1 accuracy. However, one of the central empirical claims is that GenCE is more sample-efficient in small-data classification. The theory does not provide a finite-sample generalization bound, sample-complexity analysis, or convergence-rate comparison. Therefore, the claimed small-data advantage is still motivated more by the classical generative-versus-discriminative intuition than by a result proved in this paper.
-
The use of the term “generative” may be somewhat strong. Although the loss is derived from a Bayesian rewriting of (p(x|y)), the method does not explicitly model (p(x|y)), learn a data density, or generate samples. In practice, it remains a discriminative softmax-based loss with batch-level normalization. The paper should be more careful in explaining that the method is inspired by a generative factorization, rather than being a generative classifier in the usual sense.
-
The method depends on reliable batch-level estimates of class marginals. For datasets such as CIFAR-100 or Mini-ImageNet, where the number of classes is 100 and the default batch size is also 100, many classes may appear only once or not at all in a mini-batch. In this case, the denominator for a target class is largely determined by predictions on samples from other classes, rather than by a stable estimate of same-class evidence. This concern becomes more serious for larger-class datasets such as ImageNet-1K, ImageNet-LT, or iNaturalist, where the number of classes can be much larger than the batch size. The paper does not evaluate such settings.
-
The experimental comparisons are mainly limited to general-purpose loss functions such as CE, GCE, focal loss, MAE, and Brier loss. This is useful for isolating the effect of the proposed loss, but it is not enough to support broader claims about small-data or imbalanced classification. In particular, for small-data learning, the paper does not compare with representative pretrained, few-shot/low-shot, semi-supervised, or stronger label-efficient learning pipelines, even though the introduction discusses these families of methods as important related directions.
-
The class-imbalanced experiments are not sufficiently convincing. The paper reports results on imbalanced CIFAR-10/100 and compares against several generic losses, but it does not compare with classical long-tailed recognition methods such as logit adjustment, Balanced Meta-Softmax, Balanced Softmax, Class-Balanced Loss, or LDAM-DRW. Since the paper explicitly evaluates class-imbalanced classification and claims that GenCE has an implicit rebalancing effect, comparisons with standard long-tailed baselines are necessary. At minimum, it would be useful to show both direct comparisons and whether GenCE can be combined with these methods.
Questions
-
The strict properness result is proved for the population-level objective, but the implemented loss uses a mini-batch approximation. Does the mini-batch version of GenCE still retain any form of properness? If not, how do batch size and batch composition affect this property in practice?
-
Theorem 1 relies on the completeness condition. Can the authors provide more intuition or empirical evidence that this condition is realistic for CIFAR-100, Mini-ImageNet, or more challenging fine-grained and long-tailed datasets?
-
Since GenCE is evaluated on class-imbalanced classification, why are standard long-tailed recognition baselines such as logit adjustment, Balanced Meta-Softmax, Balanced Softmax, and LDAM-DRW not included? Can GenCE be combined with these methods, and would the gains be additive?
-
How does GenCE scale when the number of classes is much larger than the batch size? For example, would the batch-level marginal estimate remain reliable on ImageNet-1K, ImageNet-LT, or iNaturalist?
Limitations
Yes
Paper formatting concerns
N/A
Final justification
The authors provide additional experiments and clarifications addressing several concerns, including mini-batch behavior, long-tailed recognition baselines, and comparisons with small-data learning methods. However, the rebuttal does not fully resolve the fundamental gap between the population-level theoretical analysis and the practical mini-batch optimization setting, nor does it provide a convincing theoretical explanation for the claimed sample-efficiency advantage. The added results are encouraging but mainly strengthen empirical evidence rather than addressing the core concerns on novelty and theoretical justification, so I maintain my original score.
Response to Reviewer NNzm
Thank you for raising this. It is indeed an important gap between the theory and the practical objective. Our claim is that the mini-batch version of GenCE is asymptotically strictly proper.
In training, we optimize the batch objective, which uses the within-batch average s^B(k)=B1∑j∈Bpθ(k∣xj) in place of the population marginal sk(θ)=Ex[pθ(k∣x)]. This substitution is the only place where finite-batch error enters, and its effect can be made precise. Because s^B(k) averages B i.i.d. terms, E[s^B(k)]=sk and Var[s^B(k)]=σk2/B, where σk2(θ)=Varx[pθ(k∣x)], and expanding the log-denominator to second order gives the following.
Bias of the risk. The batch objective is consistent but biased for the population risk, with a positive bias of order 1/B:
E[R^B(θ)]−R(θ)=B1∑k2sk2(θ)πkσk2(θ)+O(B−2).
Here R is the population GenCE risk, R^B its batch counterpart, and πk=Ex[q(k∣x)] the true class marginal.
Bias of the minimizer. Let β(θ)=∑kπkσk2(θ)/(2sk2(θ)) denote the bias term above, and let εB(θ)=R^B(θ)−E[R^B(θ)] be the mean-zero part of the batch objective. Expanding ∇R^B(θ^B)=0 about θ⋆ and using ∇R(θ⋆)=0, we obtain
θ^B−θ⋆=−H−1∇εB(θ⋆)−B1H−1∇β(θ⋆)+op(B−1),
with θ⋆=argminθR(θ), θ^B=argminθR^B(θ), and H=∇2R(θ⋆). The first term has mean zero and is Op(B−1/2). Since ∇εB(θ⋆)=B1∑j∈Bψ(xj)+op(B−1/2) is a sample average of i.i.d. mean-zero terms, where ψ(x) is the per-sample influence of x on ∇εB(θ⋆) with E[ψ]=0, its B-scaling obeys a central limit theorem, which after the linear map −H−1 gives
B(θ^B−θ⋆) d N(0, H−1ΣH−1),Σ=limB→∞BCov[∇εB(θ⋆)]=Cov[ψ(x)].
This accounts for the variability seen at small batch sizes. Its expectation is zero, so the systematic bias of the minimizer is again O(1/B). Its leading part is −B1H−1∇β(θ⋆), plus a same-order contribution from the second-order effect of εB. Both terms disappear as B→∞, which recovers Theorem 1 in the limit.
Changes. In the revised version we will state this as a proposition and give the detailed proof in the appendix.
We agree with your assessment. Strict properness aims at recovering the true posterior distribution, which is a strictly stronger property than being well calibrated and usually also leads to a lower calibration error. Our theoretical result is indeed unrelated to data efficiency: Theorem 1 is meant to show that GenCE has this desirable property, so that it yields a lower calibration error and a better fit to the true posterior. As you point out, our method is heuristic in this respect, and the absence of theory that would better support the empirical results is a further limitation of this work. We will add this point to the limitations section.
Thank you for pointing this out. As you say, although we use the training objective of a generative model, the model itself remains discriminative. We agree that the term "generative" is somewhat abused here, and we will be more careful in explaining this in the revised version.
We agree that the submission does not cover this regime, and we have now run it. We trained ResNet-50 on ImageNet-1K with batch size 256, so K=1000 and K/B≈4, which is exactly the setting you describe: most classes do not appear in a given batch at all. We used stratified subsets of 10,000 and 20,000 training images, and the table reports the best accuracy reached by each loss.
This speaks directly to your concern. The batch-level marginal estimate does not break down once K exceeds B: training is stable at K/B≈4, and GenCE outperforms CE at the two sample sizes, which is the same pattern we report on the smaller benchmarks.
Thank you for this feedback. There are indeed several directions for handling data scarcity, including data augmentation, data generation, the training objective, and transferring knowledge from a pretrained model. This paper focuses on the training objective, and the introduction states that our interest is in "the loss itself to matter more when data are scarce". These families act at different stages of the training pipeline, so a direct comparison with them is out of the scope of this paper.
Within the loss family, we have added two baselines that were designed specifically for small-data image classification: the cosine loss [R1] and t-vMF [R2]. We trained t-vMF across all 12 experimental settings of the main table under the Section 5.1 protocol, sweeping the head sharpness κ∈0,4,16, where κ=0 corresponds exactly to the cosine similarity head and therefore also covers [R1]. Each entry below is at its optimal κ for that setting:
GenCE outperforms in 11 of the 12 settings and ties in one. We will add both baselines to the revised version.
As noted at line 273 of the paper, we did not discuss methods such as logit adjustment for two reasons. First, we wanted a unified set of baselines, and this family reverts to CE when the data are balanced. Second, because they adjust the softmax or the logits, they can also be applied on top of our method. To address your concern, we ran both comparisons you asked for: Balanced Softmax [R3] and Logit Adjustment [R4], and each one composed with GenCE, meaning the long-tail logit shift followed by GenCE's batch-marginal term. ResNet-50, CIFAR-10/100-LT, Sec. 5.1 protocol, balanced test set, 5 seeds.
Adding GenCE improves both methods in all four settings, and the gain grows with the imbalance ratio, which supports the second reason above. We will include the detailed analysis and experiments in our final version.
The intuition behind completeness is that it rules out certain degenerate cases. Note that in the expression for GenCE, multiplying pθ(k∣x) by a constant ck that does not depend on x leaves the loss unchanged. If the true posterior q(k∣x) were itself a constant independent of x, GenCE could therefore not guarantee that q(k∣x) is the unique minimizer. As in the example we give at line 214, for the datasets normally used, such as CIFAR-10/100 and Mini-ImageNet, every class contains some samples xk whose class is unambiguous, that is 1≈q(k∣xk)>1/2. These datasets therefore satisfy the completeness condition.
References