Manuscript Offprint
arXiv:2610.36460Full Collapse Is Suboptimal: Controlled Partial Neural Collapse for Long-Tailed Recognition
Abstract
Recent long-tailed recognition (LTR) methods incorporate neural collapse (NC) and align features to a fixed Equiangular Tight Frame (ETF) as a uniform target for all classes. However, forcing tail classes to fully collapse over-contracts their samples and weakens generalization. To address this, we propose a controlled partial neural collapse, realized through two coordinated controls on a backbone: the Class-Adaptive Sparse Activation (CASA) classifier and the ETF-constrained adaptive margin (ETF-AM) loss. Rather than forcing a uniform full collapse, this regime allows head classes to collapse along the ETF while tail classes retain within-class diversity. This prevents the tail from being forced into full collapse, which is suboptimal under imbalance. To set the dimensionality of collapse, CASA induces class-related node specialization through feature-conditioned gating so that tail classes occupy their own feature directions. For the clearance axis, ETF-AM applies a frequency-adaptive margin, with smaller margins for head classes and larger for tail classes. On CIFAR100-LT, ImageNet-LT, Places-LT, and iNaturalist-2018, our method achieves the best overall accuracy over prior methods. In the empirical analysis, within-class spread increases monotonically from head to tail classes, consistent with tail classes retaining variability rather than fully collapsing.
1. Introduction
Real-world data often follows a long-tailed distribution, where head (Many) classes hold most samples, and tail (Few) classes hold only a handful [38, 56]. Models trained on such data are biased toward head classes and lose accuracy on tail classes, which limits their reliable deployment in safety-critical domains [13, 46, 60]. Long-tailed recognition (LTR) studies how to train accurate models despite this imbalance [4, 5, 17, 26, 27, 31, 34, 40, 41, 52, 53, 55, 59].
A recent line of LTR research draws on neural collapse (NC), which describes the terminal-phase geometry of a network trained on balanced data [35]. Under NC, within-class features collapse to their class mean, and the class means form a simplex Equiangular Tight Frame (ETF) that maximizes inter-class separation. Several methods import this geometry into LTR by fixing the classifier to an ETF and training the features to match it [29, 51] or by regularizing feature directions toward it [15]. These methods pursue full collapse for every class.
Full collapse, however, is the optimal geometry only for balanced data. Under imbalance, the global-optimal last-layer geometry deviates significantly from the balanced ETF. For instance, minority classes may degenerate into a single shared direction [8] or, depending on the loss, scatter across multiple directions [50]. Additionally, finite regularization further distorts this structure away from the ideal ETF [6, 44].
Forcing tail classes to collapse fully therefore over-contracts their samples and removes the within-class variance that tail generalization needs [11, 18]. Prior NC-based LTR methods inherit this problem because they target the same full collapse geometry across all classes.
We reframe LTR around controlled partial neural collapse: head classes effectively collapse along the ETF while tail classes retain within-class diversity. The two requirements act on distinct NC properties, within-class collapse (NC1) and inter-class separation (NC2), which the standard NC framework quantifies separately [35]. The two interact through a trade-off that favors retaining a positive tail spread over full collapse.
Based on this motivation, we prove that a positive within-class spread, rather than full collapse, lowers balanced test risk under a finite-sample class-conditional model. We realize controlled partial collapse with two coordinated controls on a backbone (Fig. 1). One control sets the dimensionality of collapse. CASA uses feature-conditioned node-level gating, allowing different classes to develop distinct activation patterns. Different classes then occupy distinct feature directions instead of a single shared subspace. The other control targets the training-to-inference clearance. Our ETF-constraint Adaptive Margin (ETF-AM)

Figure 1. Controlled partial neural collapse via two coordinated mechanisms. Full collapse over-concentrates tail classes at their ETF vertices (center); our method addresses this by controlling the dimensionality of collapse via instance-conditioned node selection (CASA, right; Sec. 3.1) and the training-to-inference clearance per class (ETF-AM, left; Sec. 3.2).
loss fixes the classifier to an ETF for inter-class separation and assigns larger margins to tail classes, widening their training-to-inference clearance.
In summary, our contributions are as follows:
• Theoretical suboptimality of full collapse: Under a finite-sample class-conditional model, we show that full collapse is not risk-optimal for classes below an explicit sample-count threshold, and that the optimal within-class spread is ordered by class frequency among those classes.
• Controlled Partial Collapse: To effectively induce partial collapse, we propose two coordinated mechanisms: the CASA classifier gates feature nodes to dictate the dimensionality of collapse, while the ETF-AM loss imposes an adaptive margin to set its clearance.
• Empirical validation: Our method achieves the best overall accuracy over prior methods on CIFAR100-LT, ImageNet-LT, Places-LT, and iNaturalist-2018. The empirical analysis shows that further tail compression degrades generalization on tail classes.
Several studies induce NC to improve long-tailed recognition [15, 29, 51]. NC [35] emerges at the end of training on balanced data: within-class features collapse to one center (NC1), class centers form a simplex ETF (NC2), classifier weights align with the centers (NC3), and decisions follow the nearest center (NC4). These methods fix the classifier to an ETF, or regularize features toward it, and pursue full collapse for every class.
Theoretical analyses [6, 8, 44, 50] show that the optimal geometry deviates from that of the balanced ETF when the data is imbalanced. The layer-peeled model exhibits minority collapse, in which minority-class weights degenerate into a single shared direction beyond an imbalance threshold [8]. Vanishing-regularization analysis shows the optimum follows a simplex-encoded-label geometry rather than the ETF [44]. Similarly, an unconstrained ReLU analysis confirms that class means become orthogonal with class-dependent lengths rather than equiangular [6]. Recent work argues that minority classes are best represented by multiple centers rather than a single collapsed mean [50].
A complementary line of work studies inter-class geometry when the number of classes C exceeds the feature dimension . In this regime, a simplex ETF is geometrically impossible; prior work establishes that the optimal inter-class target is instead a generalized maximal-separation frame with coherence approaching the Welch bound [12, 19, 28]. These works target the inter-class frame under full collapse. Our analysis is orthogonal to this choice, since it acts only on the within-class spread and holds for any maximal-separation target.
Recent methods continue to pursue full NC recovery: All-around Neural Collapse (AllNC) [54] restores collapse across activations, means, and classifier vectors. In parallel, Space Alignment [47] corrects feature-classifier misalignment to better reach the ETF. Both treat the balanced ETF as the target for every class. We take the complementary view: for tail classes, this target benefits from relaxation rather than full collapse. Moreover, achieving such full NC recovery with these methods relies on heavier training machinery, such as additional branches, contrastive objectives, or alignment modules, rather than on a single backbone.
3. Methodology
Prior NC-based LTR methods operate on the inter-class axis, refining the mean geometry while keeping every class fully collapsed. In contrast, we achieve controlled partial collapse by intervening on the within-class geometry along two distinct axes. On the dimensionality axis, the CASA classifier (Sec. 3.1) uses node-level gating to give each class its own feature subspace rather than forcing all classes to share one. On the clearance axis, the ETF-AM loss (Sec. 3.2) applies a per-class adaptive margin that sets a frequency-dependent training-to-inference clearance. In this section, we first present the theoretical motivation for this design, then describe the main components, as illustrated in Fig. 1.
Theoretical Motivation. We utilize the unconstrained-features model (UFM), which treats last-layer features as free variables and is standard for NC analysis [6, 51]. We consider classes with sample counts . The class means align with a maximal-separation inter-class target, yielding a base separation margin from the nearest decision boundary.
The within-class spread measures how tightly features cluster around the class mean ; full collapse drives every to zero. To reason about generalization, we adopt a finite-sample class-conditional model, defining the signed test margin of a class-c sample as
with separation cost , where is the signed distance lost per unit of spread, irreducible noise with , and Gaussian finite-sample term . A sample is correctly classified when , and is the per-class risk.
On free features, the UFM optimum is full collapse. But the UFM treats features as free variables with no sample count, so its optimum is independent of and cannot reflect how Few-sample classes generalize.
To handle this, we draw on recent transfer learning and generalization analyses [10, 11], which establish within-class variability as a key determinant of finite-sample error, with estimates that degrade as the number of available samples shrinks. We formalize this via the variance of the finite-sample term, which grows as decreases: raising from zero trades off separation against estimation variance.
Assumption 1 (Finite-sample variance model). Let , then
where is differentiable on with and . For the cross-class statement below, , , and are shared across classes; the class counts are the varying model parameters.
Since is Gaussian, with . The condition , under which a small positive spread lowers the risk, holds exactly when
where . We call this the sensitivity condition (Sec. A).
Theorem 1 (Suboptimality of full collapse). Let V be as in Assumption 1. For any class c satisfying Eq. (3), the per-class risk on attains its global minimum in the interior. Writing for the smallest global minimizer,
Because the balanced risk is the average of the separable class-wise risks, if at least one class satisfies Eq. (3), the all-class zero-spread solution is not globally optimal within this model. Theorem 1 leaves open which classes satisfy the condition; the following Corollary 1 resolves it into a threshold on the training count.
Corollary 1 (Scarcity-dependent spread). Let be the sample count at which Eq. (3) changes sign. Then Eq. (3) holds if and only if . If, in addition, for every , then for any two classes with ,
The threshold is what Eq. (3) becomes once is substituted, and it is non-vacuous when (Sec. A.3). The ordering needs to decrease on the whole interval not only at zero. Within the shared-parameter model, both the threshold and the ordering are governed by .
3.1. Class-Adaptive Sparse Activation Classifier
3.1.1. Detailed Architecture
The CASA classifier controls the dimensionality of collapse. Forcing every class to collapse within the same shared feature subspace over-contracts tail classes, since their features are squeezed into a subspace shared across classes rather than their own dedicated direction [50]. As shown in Fig. 2, CASA instead assigns each class its own subset of feature dimensions through a node-level gating layer, so head and tail classes share the fixed ETF target for their means but operate in distinct subspaces around it.
CASA incorporates a node-level gating layer, a single fully connected layer integrated within the main classification layer, which selectively activates a subset of specialized

Figure 2. The overall architecture of the CASA classifier, which selects a subset of nodes through instance-conditioned node-level gating.
nodes for each instance (Eq. (6)):
where represents the soft mask vector, denotes the gating network, is the feature produced by the feature extractor for input , and are the trainable parameters of the gating layer.
During training, is discretized using a thresholding operation to produce the binary mask M for class-related node selection:
where is the i-th element of and is the indicator function. The hard threshold during training drives class-specific node selection; the soft mask at test aggregates node contributions smoothly for stable generalization.
The mask is applied along the node dimension, , and the forward pass is . Since acts on the node dimension shared by all classes, this is equivalent to masking the feature:
where the classifier weights are fixed to the ETF structure. CASA selects the subspace in which each class's features collapse.
3.1.2. Instance-Conditioned Gating and Its Class Structure
The gate is conditioned on the instance feature and trained jointly with the classifier. When the masked weights on the classifier are , the prediction is
where is the prediction and is that classifier. Optimizing it with a classification loss such as cross-entropy gives:
where is the one-hot ground-truth label and is the feature of sample . Because the mask is produced from the feature and the loss is minimized class-wise, samples of the same class receive correlated gate inputs, which empirically yields similar masks within a class.
During the backward pass, we use a straight-through estimator [3, 42]. The hard threshold is bypassed on the backward path, and gradients flow only through the weights of activated nodes (Eq. (11)):
This selective gradient flow restricts updates to the activated nodes. Furthermore, we employ a spike-and-slab prior [42] on the gating mechanism to encourage sparse masks. The prior term is formulated as:
Here weighs the spike-and-slab term and is the slab variance: the spike term pushes nodes toward activation while the slab term prevents the gate from saturating, balancing sparsity against signal. Unlike attention-based or feature reweighting methods, the hard threshold and sparse gradient flow activate a sparse subset of nodes rather than reweighting all nodes.
3.2. ETF-Constrained Adaptive Margin Loss
Under the additional monotonicity condition, Corollary 1 gives a wider risk-optimal spread to scarcer classes. Following this ordinal prediction, the ETF-AM loss combines a fixed ETF classifier with a per-class adaptive margin, giving scarcer classes a wider training-to-inference clearance.
3.2.1. ETF-Constrained Margin Formulation
Consider a multi-class classification problem with C classes, where the number of samples in class c is denoted by . We define an adaptive margin for each class as:
where is the margin scale fixed by the ETF geometry below. We set following the frequency scaling of LDAM [4]. The exponent is a design choice rather than a rate derived from Theorem 1 and Corollary 1. Under the ETF constraint, the Euclidean distance between any two distinct class weight vectors is
Placing the decision boundary at the midpoint yields
(15) with the full derivation in Sec. B of the supplementary material. Tail classes receive a larger and correspondingly larger clearance, while head classes keep a small margin.
We adopt an ETF classifier that enforces the constraints:
which guarantees that all class weight vectors are uniformly distributed on the unit hypersphere. Given a feature embedding extracted by a feature extractor , the logit for class is computed as:
where u is the gated feature of Eq. (8). We then modify the logit for the true class y by subtracting the corresponding margin:
Subtracting makes the training condition stricter than the inference rule . The two hyperplanes are parallel and separated by . By Eq. (14), this distance is independent of the competitor , giving a single per-class clearance . A feature that meets the training condition therefore retains at least in signed distance once the margin is removed. The margin is imposed on the gated feature, and the ETF fixes irrespective of the mask, so gating leaves unchanged.
While the frequency scaling follows LDAM [4], the fixed frame changes what the margin means geometrically. Under a learnable head the same maps to a different distance for each competitor k, whereas here it maps to a single per-class clearance . The margin-adjusted loss is defined via the standard cross-entropy formulation:
where N is the number of samples, denotes the ground-truth label for sample i and is the adaptive margin for that class. Because the ETF weights are fixed at maximal separation (Eq. (16)), the network can reduce only through the backbone and the gate, not by rotating the classifier. A further discussion and clearance derivation are in Sec. C.
The overall loss function integrates the classification loss and the sparse regularization term induced by the spike-and-slab prior:
where corresponds to the sparse regularization in Eq. (12), is the coefficient of the feature-norm regularizer. Together, the and terms act on the dimensionality of collapse and clearance, thereby promoting partial collapse.
4. Experiments
4.1. Experiment Setup
4.1.1. Metric
We use top-1 accuracy [1] and, for detailed analysis, the standard split into Many (> 100 samples), Medium (> 20 and ≤ 100), and Few (≤ 20) subsets, following previous works [1, 4, 30].
Following Hasegawa and Sato [15], we also use the FDR score [9], the ratio of between-class scatter to within-class scatter, which quantifies the emergence of NC; mask-consistency metrics (cosine similarity [33], symmetric KL [24]) are defined in Sec. D of the supplementary material. In our partial collapse setting, FDR primarily tracks inter-class separation (NC2/NC3); within-class relaxation is measured separately via the per-class spread of Sec. 4.4.
4.1.2. Dataset
We use four datasets to evaluate the proposed method on long-tailed classification tasks.
CIFAR100-LT. CIFAR100-LT down-samples CIFAR100 [23] with imbalance factor , the ratio between the largest and smallest class sizes [1].
ImageNet-LT. Following [30], we construct ImageNet-LT by subsampling the original ImageNet [7] using a Pareto distribution with a power value [2], resulting in 5 to 1,280 images per class for training.
Places-LT. Following the same procedure, Places-LT applies a Pareto distribution ( ) to the 365 classes of Places [62], with class sizes from 5 to 4,980.
iNaturalist-2018. iNaturalist-2018 [45] is a naturally long-tailed fine-grained dataset (imbalance factor of 500) with classes, 437K training and 24K validation images.
4.1.3. Implementation Details
We use ResNet34 [16] for CIFAR100-LT, ResNeXt50 [49] for ImageNet-LT, and ResNet152 [16] for Places-LT, following the implementation of Alshammari et al. [1], Hasegawa and Sato [15], Zhang et al. [57]. For iNaturalist-2018, we use ResNet50 [16] ( ); since , no simplex ETF exists, so we train the classifier directly on the features while keeping CASA gating and the ETF-AM loss with tuned . Models are trained on long-tailed sets and evaluated on balanced test sets. Following prior works [30, 57, 58], Places-LT uses ImageNet-1k pre-trained weights from PyTorch [36]; CIFAR100-LT and ImageNet-LT train from scratch. We apply post-training logit adjustment (LA) [15, 22]. Main results (Tabs. 1 to 4)
Table 1. Top-1 accuracy on the test set of CIFAR100-LT (). Baseline numbers are taken from the original papers; “-” denotes results not reported in the original papers. Bold marks the best and underline the second-best result. indicates result with ResNet34
| Method | Many | Medium | Few | All |
|---|---|---|---|---|
| CE (Baseline) | 64.60 | 36.90 | 11.90 | 38.50 |
| CB [5] | - | - | - | 39.60 |
| LDAM [4] | - | - | - | 42.04 |
| BALMS [40] | - | - | - | 50.80 |
| VS+SAM [39] | 56.40 | 48.80 | 46.60 | |
| GCL [26] | - | - | - | 48.70 |
| WB [1] | 72.60 | 51.86 | ||
| RBL [37] | - | - | - | 53.10 |
| NC-DRW-cRT [29] | - | - | - | 48.70 |
| DLLA [53] | - | - | - | 50.08 |
| ETF [15] | 29.90 | 53.00 | ||
| BIB [25] | - | - | - | 44.90 |
| MBIB [25] | - | - | - | 47.50 |
| Ours | 74.71 | 55.77 | 31.65 | 54.73 |
Table 2. Top-1 accuracy on the test set of ImageNet-LT with ResNeXt50. Baseline numbers are taken from the original papers; “-” denotes results not reported in the original papers. Bold marks the best and underline the second-best result.
| Method | Many | Medium | Few | All |
|---|---|---|---|---|
| CE (Baseline) | 37.50 | 7.70 | 44.40 | |
| LDAM [4] | - | - | - | 51.30 |
| ALA [59] | 64.10 | 49.90 | 34.70 | 53.30 |
| WB [1] | 62.50 | 50.40 | 53.90 | |
| RBL [37] | 64.80 | 49.60 | 34.20 | 53.30 |
| NC-DRW-cRT [29] | 65.60 | 51.20 | 35.40 | 54.20 |
| DLLA [53] | - | - | - | 54.50 |
| ETF [15] | 62.40 | 49.30 | 36.00 | 52.60 |
| BIB [25] | 64.70 | 51.20 | 32.70 | 53.90 |
| MBIB [25] | 33.50 | |||
| Ours | 65.20 |
use a fixed seed, following the protocol of the cited baselines. Further training settings are in Sec. E of the supplementary material.
4.2. SOTA Benchmark
Tabs. 1 to 3 show that our method achieves the best overall accuracy over prior approaches on all three benchmarks: 54.73% (+1.38%p) on CIFAR100-LT, 56.90% (+1.20%p) on ImageNet-LT, and 41.20% (+0.56%p) on Places-LT. The gains are concentrated in the Medium and Few splits, while Many-class accuracy is preserved. These results are consistent with the frequency-adaptive margin, which assigns larger margins to underrepresented classes.
iNaturalist-2018. Tab. 4 reports results on iNaturalist-2018, the natural fine-grained long-tail benchmark. Our method achieves 73.50% overall top-1 accuracy, outper-
Table 3. Top-1 accuracy on the test set of Places-LT with ResNet152. Baseline numbers are taken from the original papers; “-” denotes results not reported in the original papers. Bold marks the best and underline the second-best result.
| Method | Many | Medium | Few | All |
|---|---|---|---|---|
| CE (Baseline) | 45.70 | 27.30 | 8.20 | 30.20 |
| OLTR [30] | 44.70 | 37.00 | 25.30 | 35.90 |
| D-LWS [20] | 40.60 | 39.10 | 28.60 | 37.60 |
| BALMS [40] | 41.20 | 39.80 | 31.60 | 38.70 |
| DisAlign [56] | 40.40 | 42.40 | 30.10 | 39.30 |
| LADE [17] | 42.80 | 39.00 | 31.20 | 38.80 |
| GCL [26] | - | - | - | 40.64 |
| RBL [37] | 44.10 | 40.70 | 24.40 | 38.80 |
| DLLA [53] | 43.90 | 40.10 | 40.10 | |
| Ours | 44.10 | 41.20 |
Table 4. Top-1 accuracy on iNaturalist-2018 with ResNet50. Baseline numbers are taken from the original papers; “-” denotes results not reported in the original papers. Bold marks the best and underline the second-best result.
| Method | Many | Medium | Few | All |
|---|---|---|---|---|
| CE (Baseline) | 75.70 | 66.90 | 61.70 | 65.80 |
| cRT [20] | - | - | - | 65.20 |
| LWS [20] | - | - | - | 65.90 |
| MiSLAS [61] | - | - | - | 71.60 |
| GCL [26] | - | - | - | 72.00 |
| WB [1] | 71.00 | 70.30 | 69.40 | 70.00 |
| DLLA [53] | - | - | - | 71.30 |
| BIB [25] | 73.90 | 72.90 | 72.10 | 72.70 |
| MBIB [25] | 72.60 | 73.60 | 73.10 | 73.30 |
| Ours (learnable head) | 74.00 | 73.90 | 73.30 | 73.50 |
forming prior methods. We utilize a learnable classifier because no simplex ETF exists. The partial-collapse still applies since Theorem 1 is agnostic to the inter-class target, and tail classes retain larger within-class spread than head classes here as well (Tab. 7). This will be discussed more in Sec. 4.4.
Footprint. Our method adds only a node-level gating layer. The gating layer and classifier scale with the embedding dimension , adding 0.3M parameters at (CIFAR100-LT) and up to 4.2M at (ImageNet-LT, Places-LT, iNaturalist), while FLOPs increase by under 0.1% across all settings as shown in Tab. 5.
4.3. Ablation Study
We conduct various ablation studies on the ETF-AM loss and the gating layer, as summarized in Tab. 6.
Ablation of key components. As shown in Tab. 6, omitting ETF-AM leaves Many nearly unchanged (74.88%) but drops Medium and Few by 2.4 and 4.9 points (overall 52.42%). Removing the gating layer reduces accuracy to
Table 5. Parameter count and FLOPs of the proposed method, and the Vanilla model. (The number of parameters and FLOPs are measured with ptflops)
| Dataset | Backbone | Vanilla | Ours | ||
|---|---|---|---|---|---|
| #param | FLOPs | #param | FLOPs | ||
| CIFAR100-LT | ResNet34 | 21.3M | 2.3G | 21.6M | 2.3G |
| ImageNet-LT | ResNeXt50 | 25.0M | 8.6G | 29.2M | 8.6G |
| Places-LT | ResNet152 | 60.2M | 23.2G | 64.4M | 23.2G |
| iNaturalist | ResNet50 | 40.2M | 8.2G | 44.4M | 8.2G |
Table 6. Component ablation on CIFAR100-LT: FDRs and Top-1 accuracy. Bold marks the best.
| Method | FDR (Train) | FDR (Test) | Many | Medium | Few | Avg. |
|---|---|---|---|---|---|---|
| Full model | 74.71 | 55.77 | 31.65 | 54.73 | ||
| Ablation on key components | ||||||
| w/o ETF-AM | 74.88 | 53.34 | 26.74 | 52.42 | ||
| w/o Gating layer | 74.20 | 54.10 | 30.60 | 53.60 | ||
| Capacity-matched gating and margin baselines | ||||||
| 2-layer MLP | 70.30 | 45.00 | 29.50 | 48.80 | ||
| Soft Attn. | 74.40 | 53.40 | 29.20 | 52.90 | ||
| Fixed margin () | 73.70 | 52.90 | 29.60 | 52.80 | ||
53.60%, confirming that the masks aid inter-class separation.
These drops reflect that each component aligns with its role. Removing ETF-AM hurts the tail the most, consistent with keeping tail classes away from full collapse. Removing the gate yields a smaller, more uniform drop, consistent with the dimensionality of the axis.
Capacity-matched gating and margin baselines. To isolate whether CASA's gain comes from added parameters or per-class node selection, we compare parameter-matched variants on CIFAR100-LT in Tab. 6. CASA (54.73%) outperforms the soft-attention gate (52.90%) and the two-layer MLP head (48.80%), demonstrating the effectiveness of the gating layer. Replacing the adaptive margin with a fixed margin drops accuracy to . The tail gain therefore comes from scaling the margin with class frequency, not from the margin alone. Extended experimental analysis, including an ablation study on a larger dataset and qualitative analysis, is provided in Sec. F of the supplementary materials.
4.4. Empirical Support for Partial Collapse
Theorem 1 shows that the risk is strictly worse at zero spread for classes below the threshold, and Corollary 1 orders their optimal spread by .
We measure the within-class spread (test set for CIFAR100-LT and validation set for iNaturalist-2018) of the trained models, as shown in Tab. 7. On CIFAR100-LT, the spread increases monotonically from Many to Few: the Few-class spread is the Many-class spread. Compared with the cross-entropy baseline (without ETF-AM), ETF-AM retains a larger relative within-class spread on the Few classes (1.76 vs. 1.33), and this larger spread coexists with higher Few-class accuracy. We report relative spreads because the raw values are scale-dependent: on the Many-classes, ETF-AM and CE differ in (18.4 vs. 172.2) as their feature norm (8.6 vs. 26.1). This is consistent with the partial-collapse view, in which tail classes benefit from within-class diversity rather than from full collapse. The same monotonic pattern holds on iNaturalist-2018, where no simplex ETF exists, and the classifier is learned: the Few-class spread is the Many-class spread under ETF-AM, against for the CE baseline.
Table 7. Within-class spread , averaged within each frequency split and normalized to the Many-class mean. In both datasets, the spread increases monotonically from head to tail, and ETF-AM maintains a larger tail spread than the CE baseline.
| Dataset | Loss | Many | Medium | Few |
|---|---|---|---|---|
| CIFAR100-LT | ETF-AM | 1.00 | 1.40 | 1.76 |
| CE | 1.00 | 1.18 | 1.33 | |
| iNaturalist-2018 | ETF-AM | 1.00 | 1.38 | 1.40 |
| CE | 1.00 | 1.04 | 1.01 |
This is the partial-collapse geometry: inter-class separation (NC2) is preserved while within-class collapse (NC1) is relaxed for tail classes. Theorem 1 acts only on the within-class spread and is agnostic to the inter-class target. The retained tail spread on both datasets, including the no-ETF iNaturalist regime, is consistent with it. Section F tests the zero-spread side with a controlled collapse experiment, and reports the frequency dependence of the spread.
4.5. Mask Consistency
To support the dimensionality of collapse controlled by CASA, we evaluate the consistency of the mask generation process by analyzing the symmetric KL divergence and cosine similarity between mask distributions computed from sample pairs. Fig. 3 illustrates the epoch-wise evolution of these metrics. The gating layer progressively decreases cosine similarity and increases KL divergence between samples of different classes, while showing the opposite trend within the same class. Same-class instances activate more similar subsets of nodes than different-class instances.
Tab. 8 quantifies the consistency of generated masks. On the train set, intra-class pairs reach cosine similarity 0.96 (KL 0.001) versus inter-class 0.48 (KL 1.115). On the test set, intra-class similarity drops to 0.81 (KL 0.046), while inter-class similarity 0.72 (KL 0.430) remains distinct. The gating layer therefore produces masks with class-related structure on both splits. The KL-divergence histograms
Between-label (Train)
Within-label (Train)
Between-label (Test)
Within-label (Test)
(a) Cosine similarity

(b) Symmetric KL Divergence
Figure 3. Epoch-wise cosine similarity (a) and symmetric KL divergence (b) of generated masks on CIFAR100-LT. Within-class masks grow more similar over training, whereas between-class masks separate.

(a) train
(b) test
(b) test
Figure 4. Histograms of symmetric KL divergence of generated mask (before thresholding on the training time) between sample pairs. (a) shows divergences computed from training set samples, and (b) displays divergences from test set samples. All histograms are plotted on a logarithmic scale.
Table 8. Cosine similarity and average KL divergence of generated masks between inter-class and intra-class on CIFAR100-LT.
| Cosine Similarity | Avg. KL Divergence | |||
|---|---|---|---|---|
| Inter | Intra | Inter | Intra | |
| Train | 0.48 | 0.96 | 1.115 | 0.001 |
| Test | 0.72 | 0.81 | 0.430 | 0.046 |
in Fig. 4 further validate this: on both the train and test sets, same-class pairs concentrate at lower divergence than inter-class pairs on both splits. The intra-class divergence is slightly higher on the test set, reflecting the distribution shift between the long-tailed training set and the class-balanced test set rather than a loss of mask consistency. Further discussion about masks and success/failure case analysis is in Sec. F of the supplementary material.
5. Limitations
Our method has some limitations. (i) When , a simplex ETF does not exist, so we utilize a learnable classifier head. We keep the same procedure, but is no longer constant across pairs: must be tuned, and the clearance holds per pair rather than per class. (ii) Theorem 1 is established under a finite-sample class-conditional model (Sec. A). The positivity of the optimal spread follows from the qualitative form of the assumption alone, while the sample-count dependence is grounded in prior analyses [10, 11]. The cross-class ordering additionally requires to decrease throughout the feasible interval. We test the full-collapse-suboptimal side empirically and treat the interior optimum as a model-level prediction; a proof for the trained network remains open. (iii) We verify the claim for long-tailed image classification; transfer to other regimes, such as long-tailed detection or segmentation, remains open.
6. Conclusion
We reframed long-tailed recognition around controlled partial neural collapse: head classes effectively collapse along a fixed ETF while tail classes retain within-class diversity. Under a finite-sample class-conditional model, we showed that full collapse fails to minimize risk for sample-scarce classes and that the optimal spread is ordered by class frequency; our measurements are consistent with that ordering. Two coordinated controls on a backbone reach this regime: ETF-AM acts on the training-to-inference clearance, and CASA on its dimensionality. Our method achieves the best performance on CIFAR100-LT, ImageNet-LT, Places-LT, and iNaturalist-2018.
Acknowledgement
This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (RS-2025-00573160), the Institute of Information & Communications Technology Planning & Evaluation (IITP) - Information Technology Research Center (ITRC) grant funded by the Korea government (MSIT) (IITP-2026-RS-2023-00259703), and the “Advanced GPU Utilization Support Program” funded by the Government of the Republic of Korea (Ministry of Science and ICT) (for H. Hwang and D. Kim); and by the Electronics and Telecommunications Research Institute (ETRI) grant funded by ICT R&D program of MSIT/IITP [MSIT, No. RS-2025-02304183, Development of Optimization Code Conversion Technology for Heterogeneous AI Semiconductor-Based Large-Scale Models] (for C. Hur).
References
[1] Shaden Alshammari, Yu-Xiong Wang, Deva Ramanan, and Shu Kong. Long-tailed recognition via weight balancing. In CVPR, pages 6897–6907, 2022. 2, 5, 6
[2] Barry C. Arnold. Pareto distribution. Wiley StatsRef: Statistics Reference Online, pages 1–10, 2014. 5
[3] Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013. 4
[4] Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Arechiga, and Tengyu Ma. Learning imbalanced datasets with label-distribution-aware margin loss. NeurIPS, 32, 2019. 1, 2, 4, 5, 6
[5] Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song, and Serge Belongie. Class-balanced loss based on effective number of samples. In CVPR, pages 9268–9277, 2019. 1, 2, 6
[6] Hien Dang, Tho Tran, Tan Minh Nguyen, and Nhat Ho. Neural collapse for cross-entropy class-imbalanced learning with unconstrained ReLU features model. In ICML, pages 10017–10040, 2024. 1, 2, 3
[7] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In CVPR, pages 248–255, 2009. 5
[8] Cong Fang, Hangfeng He, Qi Long, and Weijie J. Su. Exploring deep neural networks via layer-peeled model: Minority collapse in imbalanced training. PNAS, 118(43): e2103091118, 2021. 1, 2
[9] Ronald A. Fisher. The use of multiple measurements in taxonomic problems. Annals of Eugenics, 7(2):179–188, 1936. 5
[10] Tomer Galanti, András György, and Marcus Hutter. Generalization bounds for few-shot transfer learning with pretrained classifiers. arXiv preprint arXiv:2212.12532, 2022. 3, 8
[11] Tomer Galanti, András György, and Marcus Hutter. On the role of neural collapse in transfer learning. In International Conference on Learning Representations, 2022. 1, 3, 8
[12] Peifeng Gao, Qianqian Xu, Peisong Wen, Huiyang Shao, Zhiyong Yang, and Qingming Huang. A study of neural collapse phenomenon: Grassmannian frame, symmetry and generalization. arXiv preprint arXiv:2304.08914, 2023. 2
[13] Zahra Gharaee, ZeMing Gong, Nicholas Pellegrino, et al. A step towards worldwide biodiversity assessment: The BIOSCAN-1m insect dataset. NeurIPS, 36:43593–43619, 2023. 1
[14] Dandan Guo, Zhuo Li, He Zhao, Mingyuan Zhou, and Hongyuan Zha. Learning to re-weight examples with optimal transport for imbalanced classification. NeurIPS, 35:25517–25530, 2022. 2
[15] Naoya Hasegawa and Issei Sato. Exploring weight balancing on long-tailed recognition problem. In ICLR, 2024. 1, 2, 5, 6
[16] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pages 770–778, 2016. 5
[17] Youngkyu Hong, Seungju Han, Kwanghee Choi, Seokjun Seo, Beomsu Kim, and Buru Chang. Disentangling label distribution for long-tailed visual recognition. In CVPR, pages 6626–6636, 2021. 1, 6
[18] Like Hui, Mikhail Belkin, and Preetum Nakkiran. Limitations of neural collapse for understanding generalization in deep learning. arXiv preprint arXiv:2202.08384, 2022. 1
[19] Jiachen Jiang, Jinxin Zhou, Peng Wang, Qing Qu, Dustin Mixon, Chong You, and Zhihui Zhu. Generalized neural collapse for a large number of classes. In International Conference on Machine Learning (ICML), 2024. 2
[20] Bingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan, Albert Gordo, Jiashi Feng, and Yannis Kalantidis. Decoupling representation and classifier for long-tailed recognition. In ICLR, 2020. 6
[21] Haeyong Kang, Thang Vu, and Chang D. Yoo. Learning imbalanced datasets with maximum margin loss. In ICIP, pages 1269–1273, 2021. 2
[22] Byungju Kim and Junmo Kim. Adjusting decision boundary for class imbalanced learning. IEEE Access, 8:81674–81685, 2020. 5
[23] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. 5
[24] Solomon Kullback and Richard A. Leibler. On information and sufficiency. The Annals of Mathematical Statistics, 22(1):79–86, 1951. 5, 4
[25] Yifan Lan, Cai xin, Jun Cheng, and Shan Tan. Mixture of balanced information bottlenecks for long-tailed visual recognition. Transactions on Machine Learning Research, 2025. 2, 6
[26] Mengke Li, Yiu-ming Cheung, and Yang Lu. Long-tailed visual recognition via Gaussian clouded logit adjustment. In CVPR, pages 6929–6938, 2022. 1, 6
[27] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In ICCV, pages 2980–2988, 2017. 1
[28] Weiyang Liu, Longhui Yu, Adrian Weller, and Bernhard Schölkopf. Generalizing and decoupling neural collapse via hyperspherical uniformity gap. In International Conference on Learning Representations (ICLR), 2023. 2
[29] Xuantong Liu, Jianfeng Zhang, Tianyang Hu, He Cao, Yuan Yao, and Lujia Pan. Inducing neural collapse in deep long-tailed learning. In AISTATS, pages 11534–11544, 2023. 1, 2, 6
[30] Ziwei Liu, Zhongqi Miao, Xiaohang Zhan, Jiayun Wang, Boqing Gong, and Stella X. Yu. Large-scale long-tailed recognition in an open world. In CVPR, pages 2537–2546, 2019. 5, 6
[31] Alexander Long, Wei Yin, Thalaiyasingam Ajanthan, et al. Retrieval augmented classification for long-tail visual recognition, 2022. 1
[32] Aditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain, Andreas Veit, and Sanjiv Kumar. Long-tail learning via logit adjustment. In ICLR, 2021. 2
[33] Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. In ICLR Workshop, 2013. 5
[34] Tai-Yu Pan, Cheng Zhang, Yandong Li, et al. On model calibration for long-tailed object detection and instance segmentation, 2021. 1
[35] Vardan Papyan, X. Y. Han, and David L. Donoho. Prevalence of neural collapse during the terminal phase of deep learning training. CoRR, abs/2008.08186, 2020. 1, 2
[36] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017. 5
[37] Gao Peifeng, Qianqian Xu, Peisong Wen, Zhiyong Yang, Huiyang Shao, and Qingming Huang. Feature directions matter: Long-tailed learning via rotated balanced representation. In ICML, 2023. 6
[38] Wujian Peng, Zejia Weng, Hengduo Li, Zuxuan Wu, and Yu-Gang Jiang. BMB: Balanced memory bank for long-tailed semi-supervised learning. IEEE TMM, 2025. 1
[39] Harsh Rangwani, Sumukh K. Aithal, Mayank Mishra, et al. Escaping saddle points for effective generalization on class-imbalanced data. NeurIPS, 35:22791–22805, 2022. 2, 6
[40] Jiawei Ren, Cunjun Yu, Xiao Ma, Haiyu Zhao, and Shuai Yi. Balanced meta-softmax for long-tailed visual recognition. NeurIPS, 33:4175–4186, 2020. 1, 2, 6
[41] Jiang-Xin Shi, Tong Wei, Yuke Xiang, and Yu-Feng Li. How re-sampling helps for long-tail learning?, 2023. 1
[42] Suraj Srinivas, Akshayvarun Subramanya, and R. Venkatesh Babu. Training sparse neural networks. In CVPR Workshops, pages 138–145, 2017. 4
[43] Jingru Tan, Xin Lu, Gang Zhang, Changqing Yin, and Quanquan Li. Equalization loss v2: A new gradient balance approach for long-tailed object detection. In CVPR, pages 1685–1694, 2021. 2
[44] Christos Thrampoulidis, Ganesh Ramachandra Kini, Vala Vakilian, and Tina Behnia. Imbalance trouble: Revisiting neural-collapse geometry. NeurIPS, 35, 2022. 1, 2
[45] Grant Van Horn, Oisin Mac Aodha, Yang Song, Yin Cui, Chen Sun, Alex Shepard, Hartwig Adam, Pietro Perona, and
Serge Belongie. The inaturalist species classification and detection dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 8769–8778, 2018. 5
[46] Jiangong Wang, Xiao Wang, Tianyu Shen, et al. Parallel vision for long-tail regularization: Initial results from IVFC autonomous driving testing. IEEE T-IV, 7(2):286–299, 2022. 1
[47] Jinping Wang, Zhiqiang Gao, and Zhiwu Xie. Space alignment matters: The missing piece for inducing neural collapse in long-tailed learning. arXiv preprint arXiv:2512.07844, 2025. 2
[48] Tong Wu, Qingqiu Huang, Ziwei Liu, Yu Wang, and Dahua Lin. Distribution-balanced loss for multi-label classification in long-tailed datasets. In ECCV, 2020. 2
[49] Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. In CVPR, pages 1492–1500, 2017. 5
[50] Hongren Yan, Yuhua Qian, Furong Peng, Jiachen Luo, Zheqing Zhu, and Feijiang Li. Neural collapse to multiple centers for imbalanced data. NeurIPS, 37, 2024. 1, 2, 3
[51] Yibo Yang, Shixiang Chen, Xiangtai Li, Liang Xie, Zhouchen Lin, and Dacheng Tao. Inducing neural collapse in imbalanced learning: Do we really need a learnable classifier at the end of deep neural network? NeurIPS, 35:37991–38002, 2022. 1, 2, 3
[52] Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. CutMix: Regularization strategy to train strong classifiers with localizable features, 2019. 1
[53] Enhao Zhang, Chuanxing Geng, Chaohua Li, and Songcan Chen. Dynamic learnable logit adjustment for long-tailed visual recognition. IEEE TCSVT, 2024. 1, 2, 6
[54] Enhao Zhang, Chaohua Li, Chuanxing Geng, and Songcan Chen. All-around neural collapse for imbalanced classification. arXiv preprint arXiv:2408.07253, 2024. 2
[55] Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. Mixup: Beyond empirical risk minimization, 2018. 1
[56] Songyang Zhang, Zeming Li, Shipeng Yan, Xuming He, and Jian Sun. Distribution alignment: A unified framework for long-tail visual recognition. In CVPR, pages 2361–2370, 2021. 1, 6
[57] Yifan Zhang, Bryan Hooi, Lanqing Hong, and Jiashi Feng. Self-supervised aggregation of diverse experts for test-agnostic long-tailed recognition. NeurIPS, 35:34077–34090, 2022. 5
[58] Qihao Zhao, Chen Jiang, Wei Hu, Fan Zhang, and Jun Liu. MDCS: More diverse experts with consistency self-distillation for long-tailed recognition. In ICCV, pages 11597–11608, 2023. 5
[59] Yan Zhao, Weicong Chen, Xu Tan, Kai Huang, and Jihong Zhu. Adaptive logit adjustment loss for long-tailed visual recognition. In AAAI, pages 3472–3480, 2022. 1, 2, 6
[60] Qiaoyu Zheng, Weike Zhao, Chaoyi Wu, Xiaoman Zhang, Lisong Dai, Hengyu Guan, Yuehua Li, Ya Zhang, Yanfeng
Wang, and Weidi Xie. Large-scale long-tailed disease diagnosis on radiology images. Nature Communications, 15(1):10147, 2024. 1
[61] Zhisheng Zhong, Jiequan Cui, Shu Liu, and Jiaya Jia. Improving calibration for long-tailed recognition. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 6
[62] Bolei Zhou, Agata Lapedriza, Aditya Khosla, Aude Oliva, and Antonio Torralba. Places: A 10 million image database for scene recognition. IEEE TPAMI, 40(6):1452–1464, 2017. 5
[63] Jianggang Zhu, Zheng Wang, Jingjing Chen, Yi-Ping Phoebe Chen, and Yu-Gang Jiang. Balanced contrastive learning for long-tailed visual recognition. In CVPR, pages 6908–6917, 2022. 2
Full Collapse Is Suboptimal: Controlled Partial Neural Collapse for Long-Tailed Recognition
Supplementary Material
A. Finite-Sample Model for the Optimality of Partial Collapse
This section supports Theorem 1 and Corollary 1 of the main paper. We first show that the UFM, the standard abstraction for neural collapse, drives every class to full collapse at its training optimum (Sec. A.1). The UFM contains no sampling process and no learned map from inputs to features, so it has no training-to-test gap and cannot express how the risk-optimal geometry depends on the class size. We therefore analyze the finite-sample class-conditional model introduced in the main paper (Sec. A.2) and prove that, for any class satisfying the sensitivity condition of Eq. (3), the within-class spread that minimizes per-class risk is strictly positive (Sec. A.3). The same section resolves that condition into a threshold on the training count and, under an additional monotonicity condition on , orders the optimal spread across classes.
A.1. The Training Optimum Under the UFM Is Full Collapse
We use the UFM, which treats last-layer features as free variables [6, 51]. The features are for class and sample , with counts , class mean , zero-mean deviation , and within-class spread as in the main paper. The classifier provides a maximal-separation inter-class geometry: a simplex ETF (with and for ) when , which gives a positive separation margin between distinct class means. The proof uses this margin, not a specific frame. A per-class budget with some finite radius couples the mean norm and the spread, . With the margin cross-entropy of the main paper, the class-c loss decreases as aligns with and as the true-class logit grows. The budget then forces : every unit of spread is spent at the cost of mean norm, and the loss prefers mean norm. The adaptive margin shifts the loss scale but not this conclusion. Hence, the UFM training optimum is full collapse, , for every class and any imbalance profile. The result is imbalance-agnostic because the inter-class target is held fixed and the argument acts only on the within-class spread . The imbalance reshapes the inter-class geometry studied elsewhere [6, 8, 44], but enters our analysis only through the test-risk dependence on , not the training optimum.
A.2. The Finite-Sample Class-Conditional Model
The optimum above concerns the training objective on free features; it says nothing about test performance, because the UFM has no data-generating distribution. To reason about generalization, the main paper adopts a minimal population model for one class c with training count , in which the signed test margin of a random class-c sample is
with , irreducible test noise with , and an independent Gaussian finite-sample term . The sample is correctly classified when . The term is the separation cost: a larger within-class spread moves features closer to the boundary. The term is the finite-sample cost of the learned feature map, whose variance is the object of Assumption 1 and Eq. (3). Relaxing the spread reduces variance at rate while paying separation at rate , and the trade favors a positive spread when the former dominates. The modeling content of Assumption 1 lies in the dependence of on the training count . The finite-sample cost of estimating a class- feature map grows as shrinks. This dependence is what the UFM lacks and what makes the analysis sensitive to imbalance.
Galanti et al. [11] establish within-class variability as a key determinant of finite-sample error, with estimates that degrade as the number of available samples shrinks. Hui et al. [18] observe that train-time variability collapse and test accuracy can be anti-correlated, indicating that driving the spread to zero degrades the learned feature map rather than improving it; this is what encodes.
Two simplifications are built into Eq. (21). First, the model identifies the test-time spread with the training spread: the same enters both the separation cost and the estimation variance, which assumes the learned feature map reproduces its training spread at test time. Second, classes are decoupled, and , and are shared across classes; the class count is the varying model parameter in the threshold result. The separation cost therefore prices only a class's own interference toward the boundary, not that of its neighbors. Both simplifications keep the risk separable by class, which makes the closed-form analysis below possible.
A.3. Proofs of Theorem 1 and Corollary 1
The balanced test risk weights each class equally, so it suffices to minimize the per-class error
. We prove Theorem 1 of the main paper, then Corollary 1, which resolves the sensitivity condition into a threshold on the training count.
Theorem A.1 (Theorem 1, suboptimality of full collapse). Let V be as in Assumption 1. For any class c satisfying Eq. (3), the per-class risk on attains its global minimum in the interior. Writing for the smallest global minimizer,
Proof of Theorem 1. Since and are independent zero-mean Gaussians, is Gaussian with mean and variance . With the standard Gaussian CDF,
and since is strictly increasing, minimizing on is equivalent to maximizing .
By , Assumption 1 gives throughout the compact interval . Hence is continuous on that interval and differentiable in its interior. Differentiating,
The denominator is positive, so at s = 0,
which is exactly Eq. (3). Let class c satisfy it.
At the two endpoints, , while . Since , there is with . Since is continuous on the compact interval, it attains a maximum, and that value exceeds both endpoints. The maximum therefore lies in . Hence has an interior global maximizer, equivalently has an interior global minimizer.
Let . The preceding argument shows that is nonempty and contained in . It is a closed subset of a compact interval, so it has a smallest element; define to be that element. Since ,
(26)
Full collapse is therefore strictly suboptimal for any class satisfying Eq. (3). The proof of Theorem 1 is finished. ☐
Theorem 1 is a per-class existence statement. It applies to whichever classes satisfy Eq. (3) and is silent about the rest. The assumed scaling turns this condition into an explicit threshold on the training count.
Corollary A.1 (Corollary 1, scarcity-dependent spread). Let be the sample count at which Eq. (3) changes sign. Then Eq. (3) holds if and only if . If, in addition, for every , then for any two classes with ,
Proof of Corollary 1. Threshold. By Assumption 1, and , so Eq. (3) reads
Multiplying by and rearranging gives , i.e. with
Ordering. Assume in addition on . Since , maximizing is equivalent to maximizing
For , Theorem 1 places every maximizer in , where ; on this open interval set . For ,
(31)
since and . Thus has strictly decreasing differences in .
Let and take any and . If , optimality gives and , contradicting strictly decreasing differences. Hence for every such pair.
Both maximizers are interior, so each satisfies . The left side does not depend on while the right side is strictly monotone in whenever , so no point is optimal for both counts. Therefore . The proof of Corollary 1 is finished.
Regarding the condition. The threshold and ordering parts have different roles. The threshold identifies the classes for which full collapse is suboptimal. The ordering is the part the design uses, since ETF-AM follows the same monotone ranking in . It is also the part we measure (Sec. F.1), while depends on constants the model leaves unspecified. The threshold uses the sign of at zero, whereas the ordering requires it on the whole interval .
Scope of the inter-class target. The inter-class target is the simplex ETF of Sec. 3 when . For (e.g., iNaturalist-2018 with ) no simplex ETF exists, and we learn the classifier instead. The proof concerns the within-class spread and holds unchanged for either inter-class target, since it uses only the base margin .
B. Reference Scale Determination Under ETF
In this section, we elaborate on the derivation of the reference scale under the ETF constraint as mentioned in Sec. 3.2.1 of the main paper.
Under the ETF constraint, all class weight vectors lie on the unit hypersphere, and their pairwise inner products satisfy:
where C denotes the total number of classes.
Based on this property, the squared Euclidean distance between any two unit-norm vectors can be derived as follows:
Thus, the Euclidean distance between any two distinct class weight vectors is given by:
Assuming that the decision boundary between two class centers is placed at the midpoint, the effective margin (the distance from a class center to the boundary) is:
For a sufficiently large C, the term becomes negligible, and the margin converges to:
This derivation shows that asymptotically approaches , ensuring that the margin adheres to the intrinsic geometric constraints imposed by the ETF configuration.
C. Clearance Derivation Under the ETF Constraint
This section derives the training-to-inference clearance induced by the adaptive margin , as used in Sec. 3.2 of the main paper.
Two parallel hyperplanes. With the logit and the masked feature , the inference rule for a true class against a class is as:
whereas subtracting from the true-class logit makes the training condition , i.e.
The two hyperplanes share the normal vector and are therefore parallel; they differ only in their offsets. The Euclidean distance between them is
We call the clearance: a feature meeting Eq. (38) sits at least from the inference boundary of Eq. (37) once the margin is removed.
Independence from the competitor. Under the ETF constraint, is the same for every pair (Eq. (14)), and by Eq. (15) it equals . Hence
which depends solely on the true class. On a learnable classifier head, varies by pair and over training, so the same logit margin maps to a clearance that is neither constant across competitors nor stable during optimization.
Clearance under gating. Both hyperplanes in Eqs. (37) and (38) are defined in u-space, and the mask enters only through . The normal is , whose length the ETF fixes at irrespective of , so the clearance of Eq. (40) is unchanged by gating: the mask selects which coordinates carry the feature, not the classifier geometry from which is derived.
Scope of the clearance. is a nominal training-to-inference buffer. It bounds the boundary-normal variation a feature can absorb between the two rules, but it does not set the learned cloud radius or guarantee a particular within-class spread.
D. Detailed Formulation of Evaluation Metrics
D.1. Fisher Discriminant Ratio
Given samples and classes, where is the number of samples in class and is the mean feature of
Table 9. Hyperparameters used in experiments. is a fixed value, except for iNaturalist2018, which cannot have an ETF structure.
| CIFAR100-LT | ImageNet-LT | Places-LT | iNaturalist2018 | |
|---|---|---|---|---|
| Data Settings | ||||
| # Classes | 100 | 1000 | 365 | 8142 |
| Batch Size | 64 | 128 | 128 | 512 |
| Optimizer Parameters | ||||
| Total Epochs | 320 | 200 | 30 | 200 |
| Optimizer | SGD | SGD | SGD | SGD |
| Momentum | 0.9 | 0.9 | 0.9 | 0.9 |
| Scheduler | Cos | MultiStep | ReduceLROnPlateau | Cos |
| Base LR | 0.01 | 0.05 | 0.3 | 0.05 |
| Weight Decay | 0.005 | 0.00024 | 0.00024 | 0.0005 |
| (Feature Reg.) | 0.01 | 0.0001 | 0.00003 | 0.0001 |
| LA Coef. | 0.65 | 0.2 | 0.35 | 0.15 |
| (Reference Scale) | 0.71 | 0.71 | 0.71 | 0.9 |
| Loss Hyperparameters | ||||
| (spike) | 0.5 | 0.5 | 0.3 | 0.5 |
| (slab) | 0.1 | 0.1 | 0.3 | 0.1 |
Table 10. Extended ablation study on CIFAR100-LT: FDR on train and test sets, and Top-1 Accuracy for Many, Medium, Few, and overall Average classes.
| Method | FDR (Tr) | FDR (Te) | Many | Med | Few | Avg. |
|---|---|---|---|---|---|---|
| 74.71 | 55.77 | 31.65 | 54.73 | |||
| w/o ETF-AM | 74.88 | 53.34 | 26.74 | 52.42 | ||
| w/o Gating | 74.20 | 54.10 | 30.60 | 53.60 | ||
| 73.00 | 55.48 | 31.29 | 53.56 | |||
| 73.52 | 55.26 | 31.48 | 54.10 | |||
| 73.85 | 54.22 | 31.73 | 54.22 | |||
| 74.08 | 54.59 | 32.12 | 54.30 | |||
| 71.43 | 52.40 | 28.97 | 51.22 | |||
| 72.61 | 53.40 | 29.87 | 52.19 | |||
| 73.32 | 54.21 | 30.82 | 53.24 | |||
| 73.55 | 55.60 | 31.90 | 53.72 |
class , we define the following:
where is the overall mean of all samples.
FDR is defined as the ratio of the trace of the between-class scatter to the trace of the within-class scatter:
A high FDR indicates that the features are more compact within each class (lower ) and more separated between classes (higher ), which is a characteristic of effective NC. We use FDR to verify that inter-class separation is preserved, not to argue for uniform within-class compactness. Because tail classes are sample-scarce, the tail spread we deliberately retain contributes little to the overall .
D.2. Metrics for Mask Consistency
Given two mask distribution vectors and , the cosine similarity is computed as:
The symmetric KL divergence is defined as the sum of the Kullback-Leibler divergences [24] in both directions:
Table 11. Extended Ablation study on ImageNet-LT with ResNeXt50: FDR on train and test sets, and Top-1 Accuracy for Many, Medium, Few, and overall Average classes. bold marks the best.
| Method | FDR (Tr) | FDR (Te) | Many | Med | Few | Avg. |
|---|---|---|---|---|---|---|
| w/o ETF-AM | ||||||
| w/o Gating | ||||||

Figure 5. Hyperparameter ( and ) heatmap on CIFAR100-LT. (a) Average accuracy on the test set, (b) FDR score on the test set.
where, for two probability distributions and ,
These metrics are computed for pairs of samples within the same class (intra-class) and across different classes (inter-class) to evaluate the degree of similarity in the generated mask distributions.
E. Training Settings
For our experimental environment, we use an Ubuntu 22.04 server with an Intel i9-10900X CPU, 64GB of RAM, and an NVIDIA 5090 GPU with CUDA 13.0, and an Ubuntu 22.04 server with two AMD EPYC 9654 CPUs, 512GB of RAM, and four NVIDIA PRO6000 Workstation Edition GPUs with CUDA 13.0. All experiments are implemented using PyTorch 2.10.0 with Python 3.13.
Detailed hyperparameters are provided in Tab. 9. For Places-LT (), we set . This setting activates more weights for the Few classes, thereby enhancing their feature representation and overall performance under extreme imbalance.
F. Extended Experiments and Analysis
F.1. Frequency Dependence of the Within-Class Spread
Corollary 1 gives a model-level threshold and, under the additional monotonicity condition, an ordering of the risk-optimal spreads by class frequency. The ordering predicts that the learned spread decreases as increases. We test this descriptive implication using the backbone features. For a split , let denote the number of its class- samples. We compute
For both the training and Test/Val. set, the predictor is the training count , not the number of samples in the evalua-
Table 12. Log-log OLS slope of class-wise within-class spread against the training count . All slopes are negative on both splits.
| Dataset | Train | Test / Val. |
|---|---|---|
| CIFAR100-LT | ||
| iNaturalist-2018 |
tion split. Specifically, with and , the reported slope is the unweighted Ordinary Least Squares (OLS) coefficient
where and are the corresponding means over the set of classes . Thus, each class contributes one equally weighted observation. We use natural logarithms; the fit includes 100 classes on CIFAR100-LT and 8,142 classes on iNaturalist. As Tab. 12 shows, all four slopes are negative, and every split retains Many < Medium < Few.
We compare signs and orderings rather than magnitudes. The training and test splits are differently distributed. The model also identifies the training and test spread (Sec. A.2), a simplification we adopt for tractability. The iNaturalist slopes agree closely across splits, though they are smaller in magnitude than on CIFAR.
F.2. Controlled Collapse Intervention
To examine the effect of stronger within-class compression, we add a penalty that contracts Few-class backbone features toward their running class means,
and train with , varying . Here is the mini-batch, and is a running mean of class with momentum 0.9 initialized at the first batch mean containing the class. The penalty acts on the raw backbone feature .
For every seed, each setting yields substantially lower normalized Few-class spread on the clean training set than , although the training-set spread is not monotonic across the three nonzero values. On the test set, both normalized spread and post-LA Few-class accuracy decrease monotonically with for all three seeds. From to 0.3, normalized Few-class spread decreases by on the clean training set and on the test set. Over the same change, post-LA Few-class accuracy decreases by points, while training balanced accuracy remains at least . We therefore view this sweep as a one-sided stress test: increasing the contraction penalty from the baseline reduces test spread but degrades post-LA Few-class performance. The
Table 13. Three-seed sweep of the Few-class contraction penalty with ResNet-34 on CIFAR100-LT. Each entry reports the mean±sample SD.
| λ | Train () | Test | Few Acc. (%) |
|---|---|---|---|
| 0.0 | 4.045±0.33 | 0.3325±0.0033 | 33.34±1.29 |
| 0.1 | 0.991±0.04 | 0.2925±0.0048 | 32.15±0.76 |
| 0.2 | 0.855±0.03 | 0.2748±0.0045 | 30.62±1.45 |
| 0.3 | 1.440±0.74 | 0.2670±0.0014 | 29.66±1.68 |
setting does not enforce exact , and the sweep does not identify an optimum or show that spread alone causes the accuracy change.
F.3. Extended Ablation Study
To further validate this trend on a larger-scale benchmark, we provide extended ablation results on CIFAR100-LT and ImageNet-LT. Tabs. 10 and 11 report FDR scores and top-1 accuracy for Many, Medium, and Few classes across various settings.
In both datasets, increasing either or reduces mask sparsity, resulting in denser mask outputs and reduced node specialization. This, in turn, leads to lower FDR scores and decreased overall classification accuracy, with the model's behavior approaching performance without a gating layer.
For example, on ImageNet-LT, as increases from 0.5 to 0.9, FDR drops from to , and average accuracy decreases from 56.90% to 55.91%. Increasing from 0.1 to 0.9, while fixing , further decreases FDR to and lowers accuracy to 53.15%.
Fig. 5 illustrates the hyperparameter sweep for and on the CIFAR100-LT dataset. The results are consistent with the extended ablation study. Based on our experiments, we recommend the following approach for tuning and on a new dataset. First, fix the slab variance to a small value (e.g., 0.1). Second, search for the optimal in a range like [0.1, 0.3, 0.5, 0.7]. Finally, with the best fixed, perform a fine-grained search for around the initial value (e.g., [0.05, 0.1, 0.3]).
F.4. Mask Mode at Training and Inference
Training uses hard masks while inference uses the soft sigmoid gate. To check the impact of gate design, we conduct all four combinations on CIFAR100-LT (Tab. 14). The learned geometry is set by the training mode alone: hard training raises train FDR from to and test FDR from to , while the inference mode leaves both unchanged. Accuracy depends on both, and our pairing is best overall; soft training costs more than two points, with the loss concentrated on Medium and Few.
Table 14. Mask mode at training and inference on CIFAR100-LT. FDR is determined by the training mode alone. Bold marks the best; underline the second-best.
| Method | FDR (Tr) | FDR (Te) | Many | Med. | Few | Avg. |
|---|---|---|---|---|---|---|
| Soft / Soft | 77.53 | 52.03 | 25.10 | 52.35 | ||
| Soft / Hard | 76.18 | 50.06 | 24.55 | 51.03 | ||
| Hard / Hard | 75.34 | 52.01 | 29.45 | 53.41 | ||
| Hard / Soft (Ours) | 74.71 | 55.77 | 31.65 | 54.73 |
Table 15. Residual cosine similarity after removing the dataset-mean mask, CIFAR100-LT.
| Intra-class | Inter-class | |
|---|---|---|
| Train | 0.986 | 0.254 |
| Test | 0.383 | 0.015 |
F.5. Residual Mask Structure
The mask similarities in Tab. 8 are inflated by a component shared across the entire dataset: the gate learns a common activation pattern before differentiating classes. To isolate the class-related part, we subtract the dataset-mean mask and recompute cosine similarity on the residuals .
As Tab. 15 shows, the intra/inter gap is on both splits. The test-set values are much smaller: the gate is conditioned on the feature, so unseen samples inherit class structure only to the extent the feature map transfers it. The structure is thus a statistical property of the learned map, not a constraint enforced by the objective, and we claim only an empirically class-related residual structure.
F.6. Qualitative Result
Fig. 6 shows a confusion matrix on the test set of CIFAR100-LT ( ). Classes are sorted in descending order by the number of samples per class. In the head classes, it shows almost perfect results. In the tail classes, there are some notable misclassifications, such as ‘streetcar’ vs. ‘bus’ and ‘whale’ vs. ‘dolphin’, where the former belong to tail classes and the latter to head classes. This error is more likely due to semantic overlap within the class itself or in the background, rather than to the long-tailed property.
Failure Case Analysis. Fig. 7 analyzes two visually similar Few/Many pairs ('streetcar'/'bus', 11/262 training samples; 'whale'/'dolphin', 6/119), split into success and failure cases. For correctly classified samples, the Few-class masks are distinct from the Many counterpart (Fig. 7a), so the gate assigns them distinguishable node patterns; misclassified samples show high mask similarity to the Many class, indicating failure from visual overlap rather than long-tailed bias. Removing ETF-AM increases this similarity (Fig. 7b), so the adaptive margin supplies the separation the gate needs, consistent with the Few-class drop when ETF-AM is removed as in Sec. 4.3.
CIFAR100-LT

Prediction
Figure 6. Confusion matrix for CIFAR100-LT ( ). Classes are sorted in descending order by the number of training samples per class.
(a) Success/Failure mask similarity on CIFAR 100-LT

(b) Success/Failure mask similarity on CIFAR 100-LT w/o ETF-AM

Figure 7. Generated mask similarity on the CIFAR100-LT test set for success and failure cases ('streetcar' (11 training samples) vs. 'bus' (262) and 'whale' (6) vs. 'dolphin' (119)): (a) the proposed method, (b) the proposed method w/o ETF-AM loss.