ProtoSeam: Lifting Classifier Training with Latent Gaussian Mixture Models
Anonymous authors
ICLR 2027
TL;DR. We "lift" neural networks during training, leading to higher accuracy without changing the architecture at inference time.
Abstract. We propose a lifted reformulation of supervised classification that improves the final accuracy of standard classifiers without changing the architecture at inference time. A network is split at a single semantic interface and one learnable prototype per class is inserted there. Training combines a quadratic consensus penalty that pulls toward the prototype of its class with a classification loss of evaluated on samples drawn around the prototypes, whereat no gradient crosses the interface. At inference the prototypes are discarded and the unmodified network is used. Across CIFAR-10, CIFAR-100, and TinyImageNet with ResNet and vision transformer backbones, lifted training improves test accuracy by up to five percentage points over variants without lifting under a shared tuning protocol. Moreover, we provide theoretical justification of those results.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:34 UTC.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3(+1)
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes ProtoSeam, a training method for supervised classification that splits a network at the penultimate representation layer ("the seam") and introduces one learnable prototype per class. During training, no gradient crosses from into . Instead, and are trained via a quadratic consensus penalty (plus an exponential repulsion penalty on ), while and are trained on Gaussian samples using the standard classification loss, where is computed empirically once per epoch and detached. At inference time, the prototypes are dropped and the reconnected composition is evaluated directly. The authors evaluate ProtoSeam on CIFAR-10, CIFAR-100, and TinyImageNet using ResNet-8 and a small ViT-S, comparing against a standard baseline and an unlifted control (which shares the bottleneck linear layer of ProtoSeam). An appendix provides a /Bures-Wasserstein risk-transfer bound, a second-order Taylor expansion showing that sampling acts as a -weighted trace-Hessian regularizer on , and a 1D cubic toy example
Strengths
-
Clean formulation and zero inference overhead: Decoupling the backbone and classifier head at a single penultimate interface via class-conditional Gaussian sampling is simple to implement (Algorithm 1), and reconnecting at test time adds no deployment overhead over the unlifted bottleneck architecture.
-
Transparent risk-transfer accounting: The derivations in Appendix B.1 and B.2 (bounding the deployment risk mismatch via and Bures-Wasserstein distance, and linking the Gaussian sampling step to second-order trace-Hessian curvature regularization of the linear head) are clean, easy to verify, and explicitly clarify the interplay between the variance floor and weight decay on .
Weaknesses
Confounded experimental protocol, weak baselines, and missing ablations/comparators:
-
Asymmetric hyperparameter tuning: According to Remark 4.1 and Appendix A, the authors ran a 20-point grid search over for
BaselineandProtoSeam, selecting the best configuration by validation accuracy, but did not tune theUnliftedcontrol (simply copying theBaselinehyperparameters). BecauseUnliftedreplaces the final projection with an unregularized rank- linear factorization (, which is a severe rank bottleneck on CIFAR-100 with and TinyImageNet with ), its optimization dynamics differ substantially fromBaseline. Indeed, in Table 1,Unlifteddrops by 2.52% on CIFAR-100 and 4.86% on TinyImageNet (ResNet-8) relative toBaseline. Leaving the primary architectural control untuned invalidates the claim that the comparison is under a "shared tuning protocol". -
Missing component ablations and natural baselines: ProtoSeam simultaneously introduces (a) the stop-gradient seam, (b) the quadratic center penalty, (c) the inter-class repulsion , and (d) Gaussian neighborhood sampling. There is zero ablation disentangling these four pieces. If you keep the exact same objective (5) without cutting the gradient (or compare directly against Center Loss / L-GM loss / Fixed ETF head / penultimate Gaussian noise injection under the same tuning), how much of the gain comes from lifting versus simply adding a center + repulsion auxiliary loss to a sub-optimally trained ViT-S (which only reaches 46.96% on TinyImageNet and 65.91% on CIFAR-100)? Furthermore, in Section 3 (lines 303-307), the authors admit that replacing the per-epoch empirical covariance with a simple scaled identity matrix "produced similar results to the empirical covariance computation," which directly undermines the necessity of the latent GMM covariance estimation that headlines the paper.
Disconnect between the primary area (Learning Theory), the main text, and the actual architecture:
-
Although submitted under the Learning Theory primary area, the entire 9-page main text contains no theorems, propositions, or formal analysis, relegating all theoretical claims to Appendix B (which is also explicitly disclosed in the AI Use Statement as formulated and proved using generative AI).
-
More importantly, the theoretical mechanism in Appendix B does not explain why cutting the gradient across the seam improves over end-to-end training with the same loss. Theorem B.3/B.4 merely bounds the risk degradation from discarding the prototypes at test time (a bound that is vacuous as grows on CIFAR-100/TinyImageNet, as acknowledged in Eq. 7). Proposition B.5 shows that sampling around prototypes adds , which is standard Tikhonov/vicinal noise regularization on a convex linear head (Bishop, 1995). Finally, Proposition B.6 (the 1D solvable model) requires replacing the linear head with a degree-3 polynomial head under MSE loss so that the head can flatten its derivative at the prototypes while still interpolating . In the actual experiments, is strictly a single linear layer : a linear function has constant Jacobian everywhere and cannot locally flatten around without globally shrinking (which is just standard weight decay).
Questions for the authors
-
Ablating the gradient cut and loss components: What happens if you train the exact same objective (Eq. 5) end-to-end (allowing gradients from to flow through back into ), or if you compare against standard Center Loss (Wen et al., 2016) + repulsion under the exact same hyperparameter search? Without this ablation, how can we know that lifting/decoupling is beneficial rather than the auxiliary clustering loss itself?
-
Empirical vs. isotropic covariance: In lines 303-307, you state that using a scaled identity matrix instead of the empirical covariance yields similar accuracy at virtually zero overhead. Can you report the exact numbers in Table 1 for isotropic covariance (or ) versus full empirical covariance ?
-
Fair tuning of
Unliftedand rank bottleneck : Why wasUnliftednot given the same 20-point grid search asBaselineandProtoSeam? Additionally, since forces a rank-32 bottleneck on the 100-class and 200-class logits inProtoSeamandUnlifted(whereasBaselinehas full rank), what happens when matches the native penultimate feature dimension of ResNet-8 / ViT-S? -
Missing implementation details: What is the exact value of the variance floor and used across the experiments in Table 1? They are required inputs to Algorithm 1 and central to Corollary B.4 / Proposition B.5, but appear to be omitted from Section 4 and Appendix A.
3 comments
-
W2.2 Replacing the empirical covariance by an isotropic one is a heuristic that works well for the selected models and datasets because they learn well-separated small clusters for every class. We believe that this is not a flaw in our approach but a special case where it can be simplified. As mentioned in the paper, a plausible idea would be to choose it as , which depends on choosing this hyperparameter correctly. For a fair comparison we chose an isotropic covariance given by and ran a hyperparameter search on CIFAR-10, CIFAR-100, and TinyImageNet for both models. The results are summarized in the following table:
Dataset Model Covariance Seed 42 Seed 43 Seed 44 Mean Spread CIFAR-10 ResNet-8 empirical 95.27 95.54 95.57 95.46 0.30 95.36 95.45 95.54 95.45 0.18 ViT-S empirical 90.64 90.34 90.17 90.38 0.47 92.22 92.06 92.29 92.19 0.23 CIFAR-100 ResNet-8 empirical 78.18 78.21 78.63 78.34 0.45 78.03 77.90 78.51 78.15 0.61 ViT-S empirical 70.48 71.00 70.12 70.53 0.88 70.66 70.81 70.08 70.52 0.73 TinyImageNet ResNet-8 empirical 65.64 65.48 65.69 65.60 0.21 65.30 65.68 65.23 65.40 0.45 ViT-S empirical 51.71 51.88 52.78 52.12 1.07 54.35 53.37 53.20 53.64 1.15 We observe that both variants perform almost identically. The only instances where the isotropic covariance wins is for ViT-S and CIFAR-10 / TinyImageNet, where it selects hyperparameters for which the empirical covariance crashed. These crashes of ProtoSeam occur only at the beginning of the optimization, where the clusters are close and the penalties are large. They could be avoided by using gradient clipping. This heuristic no longer works in our large-scale investigation (see our response to W4 of reviewer nLe1). There, we observe that some classes in latent space actually have multiple clusters.
-
W3 Theory in the appendix: The relegation of the theoretical part to the appendix is due to space constraints. As mentioned above, cutting the gradient helps against ill-conditioned derivatives. Since this is a numerical effect, it does not allow for a compact theoretical investigation. Out of the given categories, we believed learning theory to fit our submission best.
We found that proving the theoretical feasibility of our lifted approach (Appendix B.1) was the most important theoretical aspect. Consequently, we based our further investigation of the improved accuracy on the theory of Appendix B.1.
Our main reason for using AI in the appendix was to construct a minimal example where a lifted variant finds a different and better minimizer and then to show this theoretically. The authors have a background in multivariate statistics, carefully read the theoretical results, and take full responsibility for their correctness. Furthermore, we are manually rewriting the appendix to improve its clarity. We agree that the setting of the degree-three polynomial does not transfer to a single-layer . However, we found it valuable to have a minimal example for this effect, which transfers to larger multi-layer because they can approximate polynomials.
Questions:
-
Q1 Ablating the gradient cut and loss components: Please see our response to W2 above.
-
Q2 Empirical vs. isotropic covariance: Please see our response to W2 above.
-
Q3 Fair tuning of Unlifted and rank bottleneck 32: The hyperparameter search of the unlifted variant is discussed in our response to W1. Regarding the performance of the unlifted variant with respect to , we observed different patterns for ResNet-8 and ViT-S. For ResNet-8, there is a clear trend of improved performance when increasing up to the number of classes, where it essentially matches the baseline. Increasing further leads only to very minor improvements (as seen for CIFAR-10). The ViT-S, on the other hand, seems to benefit from this bottleneck. Here, performance actually drops to the baseline level or slightly above it when increasing to the number of classes and beyond.
-
Q4 Missing implementation details: Thank you for pointing out this oversight. For all experiments we used (except for our ResNet-34 investigation) and chose , increasing it further where needed so that the resulting covariance is positive definite (which is usually only necessary for bad hyperparameter choices).
Summary of changes to the paper
- Ran the full hyperparameter grid search for the unlifted variant and included the comparison with the previous results (W1, Q3).
- Added the "Unlifted + Penalty" ablation, i.e., ProtoSeam without cutting the gradient (W2.1, Q1).
- Comparison of the empirical and the isotropic covariance on all three datasets (W2.2, Q2).
- Rewriting Appendix B to improve its clarity (W3).
- Dependence of the unlifted variant on the embedding dimension (Q3).
- Missing implementation details: and (Q4).
- Rating
- 4/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes an alternative pipeline to train a classification model. Instead of training a model end-to-end with CE loss, the authors proposed to train the backbone and the head separately. The backbone is trained with a ``consensus'' loss and the head is trained with classification losses. One design is to break the gradient between the head and the backbone. The authors also introduce a loss to regularize the cluster centers.
Strengths
The algorithm seems to be sound and adds nearly no cost compared to normal training, while achieving better performance. It also shows some potential for larger scale applications. The algorithm seems to be principled as well with designs justified by some theories. Overall the paper is also well written and overall the technicals seems sound.
Weaknesses
-
The robustness of the algorithm is not well studied. My biggest concern is that there is not much ambiguity in these images nor noise that might cause the cluster center to easily collapse. For example, can we try CIFAR-10-C, or some fine-grained classification datasets, that can stress-test the center loss?
-
Need to quantitatively demonstrate how far the cluster centers move during training to justify some designs. For example, distribution of the centers to show whether FSInit is useful; need to visualize/measure whether the centers are indeed pushed away after having the penalty term; need to visualize/measure whether the learned centers indeed represent the class centers, by maybe doing nearest neighbors as classifiers. These are helpful for authors to justify the design / components of their algorithms.
-
The motivation of the algorithm is partial due to Jacobian of N2, but it seems that the authors only mention it in the introduction but then never revisit this point, and instead more focus on changing the objective of N1 from CE to MSE loss.
-
It is not obvious whether this algorithm can be scaled up to larger models. The authors stop the experiments at ViT-S scale with datasets of smaller-to-medium sizes, so it'd be helpful if experiments with larger scales were available. Also the authors should also check whether ViT-S and ResNet-8 are underfit.
Questions for the authors
Please address the weakness point above, esp. on the robustness and more measurements.
3 comments
We very much appreciate the time and effort you have put into reviewing our contribution. We hope that the responses below address all weaknesses you raised.
Weaknesses:
-
W1 Robustness: Thank you for bringing this dataset to our attention. We believe that this aspect is also covered by our investigation in response to W4 below. Nevertheless, we agree that CIFAR-10-C would be an interesting comparison and will run the computations if time permits.
-
W2 Visualization: This is an interesting question. We believe that it is best to showcase this for the same setting as Figure 1. We created an illustration and will include it in the paper: https://anonymous.4open.science/r/ProtoSeam-material-5A10/class_centers_mnist.png
We use FSInit and observe that the clusters start very close to each other, owing to the random initialization of the network weights. The clusters then drift apart while keeping their semantic arrangement intact (e.g., "6" close to "0", or "3" next to "5").
-
W3 Jacobian of : We agree that this point deserves more emphasis. The reason for not focusing further on the Jacobian of is that consists of only one layer in our examples, so this effect is rather small. We focused on these small examples to make sure we could cover a wide range of hyperparameters, and for those one layer was sufficient. Nevertheless, the effect is still visible when comparing the ProtoSeam variant with its unlifted equivalent with all the same penalties (i.e., the same setting but without cutting the gradient):
Dataset Model Variant Seed 42 Seed 43 Seed 44 Mean Spread TinyImageNet ResNet-8 Unlifted + Penalty 65.20 64.88 65.21 65.10 0.33 ProtoSeam 65.64 65.48 65.69 65.60 0.21 Table: Multi-seed confirmation (seeds 42/43/44): test accuracy (%) for the unlifted version with added penalties and the lifted version for ResNet-8 on TinyImageNet.
The effect will only increase for larger , which might be required for the extensions suggested in W4 below. We will include this discussion in the results section.
-
W4 Scaling to larger models: To address the concerns regarding scalability, we trained ResNet-34 on ImageNet. Due to the limited rebuttal period, we took the learning rate and weight decay commonly used for the baseline in the literature (lr = 0.1, wd = 1e-4) and used them for all variants.
Our modeling assumption is that can map each class to a single cluster. On ImageNet, ResNet-34 does not achieve this for every class. For example, the output of for class 592 (hard disk) shows two distinct clusters: one for disks inside a computer and one for disks outside of it (see https://anonymous.4open.science/r/ProtoSeam-material-5A10/class_0592_pc1_hist.png).
On full ImageNet, the lifted ResNet-34 falls behind the baseline for all values of and that we tried: ~73.2% for the baseline vs. ~71.3% for the best lifted variant. The picture reverses, however, when we restrict ImageNet to the 294 classes whose latent distribution exhibits a single cluster. (We examined a trained lifted network and excluded classes where a second cluster makes up at least 15% of the samples and the distance between the two cluster means exceeds a certain threshold; we added the exact procedure to the appendix.) We call this subset GaussianImageNet; it is still the largest dataset in our evaluation and has a higher resolution than the others. Training ResNet-34 on it without further tuning of lr and wd yields:
Variant lr wd (min → max) Seed 42 Seed 43 Seed 44 Mean Baseline 0.1 1e-4 – – 85.92 85.87 85.65 85.81 Unlifted 0.1 1e-4 64 – 85.59 85.22 85.48 85.43 ProtoSeam 0.1 1e-4 64 0.001 → 32 86.62 86.62 86.67 86.64 We did not perform a full search over and ; we only decreased to avoid an exploding penalty term at the start of training.
These results suggest a natural extension of our model: using the empirical covariance, one can detect classes with multiple clusters and introduce additional class means for them, i.e., model each class as a Gaussian mixture. This may also require a more expressive . We consider this extension beyond the scope of the present paper.
Potential underfitting: We agree that this is an important concern. For this reason, we doubled the length of our initial training runs from 100 to 200 epochs. We also ran some configurations for 400 epochs, which showed no further improvement in accuracy. We will include these remarks in the paper.
Summary of changes to the paper
- Added the "Unlifted + Penalty" ablation, i.e., ProtoSeam without cutting the gradient (W3).
- Added the selection procedure for the GaussianImageNet classes to the appendix (W4).
- Illustration of the prototype trajectories during training (W2).
- Discussion of the Jacobian of in the results section (W3).
- ResNet-34 results on ImageNet and GaussianImageNet, including the multi-cluster observation (W4).
- Remarks on potential underfitting (200 vs. 400 epochs) (W4).
CIFAR-10-C investigation
We investigated the test accuracy on CIFAR-10-C using our networks trained on CIFAR-10 with their respective best hyperparameters. We use the standard benchmark metric, C-15, which is the mean accuracy over the 15 main corruptions and all 5 severities:
- noise: Gaussian, shot, impulse
- blur: defocus, glass, motion, zoom
- weather: snow, frost, fog, brightness
- digital: contrast, elastic, pixelate, JPEG
The 4 remaining corruptions (speckle noise, Gaussian blur, spatter, saturate) are reported separately as C-extra.
We plot the accuracy over the severity levels (https://anonymous.4open.science/r/ProtoSeam-material-5A10/cifar10c_severity.png) and give a tabular summary below. The table reports the test accuracy in %, as the mean over 3 seeds with the spread (max − min) in parentheses. The column "rel." is the ratio of C-15 to clean accuracy, i.e., the fraction of clean accuracy retained under corruption. Please note that we examined all crashed (with NaN values) runs during our hyperparameter search again. We discovered that two ViT-S runs for ProtoSeam were run with sub-optimal hyperparameters (among them ProtoSeam with lr=0.01 and wd=1.e-4 below).
| Model | Variant | (lr, wd) | Clean | C-15 | Severity 1 | Severity 5 | C-extra | rel. |
|---|---|---|---|---|---|---|---|---|
| ResNet-8 | Baseline | (0.02, 1e-3) | 94.91 (0.32) | 78.61 (0.56) | 90.01 | 62.15 | 82.00 | 0.828 |
| Unlifted | (0.02, 1e-3) | 95.16 (0.38) | 78.76 (0.47) | 90.08 | 62.30 | 82.18 | 0.828 | |
| ProtoSeam | (0.05, 5e-4) | 95.46 (0.30) | 79.58 (1.22) | 90.75 | 63.68 | 83.20 | 0.833 | |
| ViT | Baseline | (0.02, 1e-4) | 89.43 (0.16) | 73.23 (0.34) | 83.60 | 60.73 | 76.21 | 0.819 |
| Unlifted | (0.02, 1e-4) | 90.05 (0.89) | 74.06 (1.72) | 84.34 | 61.42 | 76.98 | 0.822 | |
| ProtoSeam | (0.01, 1e-4) | 91.42 (0.38) | 76.20 (0.41) | 86.24 | 64.02 | 79.03 | 0.834 |
We observe that ProtoSeam is the most robust of all variants, both in absolute accuracy at every severity and in relative accuracy (last column). We will add this investigation to the paper.
- Rating
- 2/4(+1)
- Confidence
- 2/4
- Soundness
- 2/3(+1)
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper proposes ProtoSeam, a training method for classifiers in which the network is split into a feature extractor and a linear classification head, with one learnable prototype per class inserted between them. The feature extractor is trained to map each sample to a region near its class prototype, while the head is trained on Gaussian samples drawn around the prototypes.
Strengths
I find the idea of viewing a classifier as the composition of two networks, trained jointly but with separate objectives (one building class-structured embeddings, the other classifying them), interesting, even if not entirely new (cf. [1]). Moreover, the method does not change the architecture at inference time, so it introduces no additional cost once training is completed.
[1] Kang, Bingyi, et al. "Decoupling representation and classifier for long-tailed recognition." arXiv preprint arXiv:1910.09217 (2019).
Weaknesses
-
The paper appears to be incomplete: The experiments compare ProtoSeam only with a standard network and with an untuned, unlifted variant. The closest methods, discussed by the authors themselves in Related works, are not evaluated. The results section is very short (8 rows + 1 table), several references in the appendix point to theorems that do not exist (e.g., Theorem B1/Theorem B2), and the AI use statement is internally inconsistent (generative AI is used “to formulate and prove the mathematical claims”, but not for “developing theoretical models”). Finally, the method combines several ingredients (removal of the gradient path, Gaussian sampling, repulsion, penalty annealing), but none of them is ablated.
-
Figure 3 reports test accuracy for sweeps over and , which are then used to motivate the choice of and for the remaining experiments. This raises concerns about possible test-set involvement in model selection. Moreover, while Appendix A states that the learning rate and weight decay are selected based on validation accuracy, the construction of the validation splits is not described.
-
The extensive theoretical appendix provides limited support for the central empirical claim. The risk-transfer bound controls the discrepancy between the sampled objective and deployed risk, but does not establish why lifting should outperform end-to-end training.
Questions for the authors
-
The AI use statement reports that generative AI tools were used “to formulate and prove the mathematical claims in the appendix”, as well as for feedback on methodology, interpretation of results, and code. Since the theoretical results are presented as one of the three contributions of the paper, it is not clear to me which parts of this contribution were developed by the authors themselves. Could the authors clarify their own role in the theoretical part, explain how the AI-generated proofs were verified, and reconcile this with the statement that AI tools were not used for “developing theoretical models”?
-
ProtoSeam combines two mechanisms: (A) removing the gradient path between N1 and N2, and (B) training N2 on Gaussian samples rather than the actual embeddings, which introduces a regularization effect. The paper attributes the improvements primarily to (A), but they could also arise solely from (B). Could the authors include a simpler baseline that retains end-to-end training while adding Gaussian noise to N1(x) before passing it to N2?
-
The experiments use a ResNet-8 and a custom small ViT, whose architectural configurations are not described in sufficient detail. Moreover, ViT is trained from scratch on small datasets, a setting in which vision transformers can struggle without appropriate training recipes and regularization. Its baseline accuracy is relatively low, and the largest improvements are observed precisely with this model. This raises the question of whether ProtoSeam mainly benefits relatively weakly trained architectures. Could the authors provide the full architectural specifications and evaluate the method on stronger, standard backbones (e.g., ResNet-18/50 or Wide ResNet), to establish whether the improvements persist under more competitive settings?
-
How much do the class prototypes move from their initialization, and does ProtoSeam improve the quality of the embeddings produced by N1 compared to the standard baseline, as measured by nearest-class-mean or kNN accuracy?
6 comments
We very much appreciate the time and effort you have put into reviewing our contribution and hope that the responses below address all weaknesses and questions you raised.
Thank you for pointing us to Kang et al., who first train the network end-to-end and only afterwards retrain the classifier on frozen features. ProtoSeam trains both parts simultaneously with separate objectives and no gradient across the interface. We will include this in the related work section.
Weaknesses:
-
W1.1 Untuned unlifted variant. In a preliminary test, the optimal hyperparameters for the unlifted variant matched those of the baseline. We agree, however, that a fair comparison requires tuning them separately, so we have now run the full grid search for the unlifted variant. For CIFAR-10 (both backbones) and TinyImageNet with ViT-S, the optimal hyperparameters are unchanged. For the other three pairs, accuracy improves, but the unlifted variant still performs worse than ProtoSeam:
Dataset Model Variant Seed 42 Seed 43 Seed 44 Mean Spread CIFAR-100 ResNet-8 Unlifted (baseline HPs) 74.12 74.04 74.55 74.24 0.51 Unlifted (tuned) 75.61 75.49 75.30 75.47 0.31 ProtoSeam 78.18 78.21 78.63 78.34 0.45 ViT-S Unlifted (baseline HPs) 65.49 65.38 64.04 64.97 1.45 Unlifted (tuned) 66.58 66.63 66.54 66.58 0.09 ProtoSeam 70.48 71.00 70.12 70.53 0.88 TinyImageNet ResNet-8 Unlifted (baseline HPs) 57.70 58.51 58.75 58.32 1.05 Unlifted (tuned) 58.45 59.71 59.16 59.11 1.26 ProtoSeam 65.64 65.48 65.69 65.60 0.21 -
W1.2 Missing comparisons with the closest related methods. We agree and have added the ablation you suggested (see Q2) and more (see W2 for reviewer zqMf).
-
W1.3 Results section. We have extended the discussion in the results section, including the ablations described below.
-
W1.4 Incorrect cross-references in the appendix. Thank you for catching these misleading references. They were generated with the LaTeX command
\cref, which rendered them as "Theorem B.1" and "Theorem B.2" instead of "Assumption B.1" and "Remark B.2". We have corrected this in the revised version. -
W1.5 Inconsistent AI use statement. We refer to our response to Q1.
-
W2 Sweep over and : Thank you for pointing out this concern. All hyperparameters were tuned on validation accuracy only; the test accuracies in Figure 3 are shown purely for illustration. To avoid any misunderstanding and for full transparency, we have added the validation accuracies to the plot (updated plot: https://anonymous.4open.science/r/ProtoSeam-material-5A10/vit_c100_sweeps_val.png). We have also added the following sentence to Section 4.2: “For CIFAR-10, CIFAR-100, and TinyImageNet, we held out 10% of the training set as a validation set.”
-
W3 Theoretical part: We explain our AI usage in the response to Q1. We found that proving the theoretical feasibility of our lifted approach (Appendix B.1) was the most important theoretical aspect.
Cutting the gradient helps against ill-conditioned derivatives. Since this is a numerical effect, it does not allow for a compact theoretical investigation. We therefore based our further investigation of the improved accuracy on the theory of Appendix B.1. We found it valuable to have a minimal example for the regularization effect of Appendix B.2. This example transfers to larger multi-layer , which can approximate polynomials.
Questions:
-
Q1 AI use: We want to be completely transparent regarding the use of AI. All ideas in this paper, including the lifted formulation, the method, the experimental design, and the theoretical questions addressed in Appendix B, originate from the authors. In Appendix B, generative AI tools were used to formulate the mathematical statements and their proofs and to find a minimal example for the regularization effect. The authors have a background in multivariate statistics, carefully read the theoretical results, and take full responsibility for the final content of this work, including all text, claims, and artifacts.
Usage statement: We were unsure whether the use outlined above can be described as "developing theoretical models". Naturally, we will change the AI statement if you think that it applies.
-
Q2 Two mechanisms: Thank you for this suggestion. We ran experiments adding noise to the unlifted variant at its interface for ResNet-8 on CIFAR-100 (on a single seed):
σ Val (%) Test (%) ‖N_1(x)‖ 0 (plain unlifted) 76.10 75.61 18.1 1/16 75.80 75.24 18.2 1/8 75.78 75.52 18.5 0.25 76.38 75.23 19.9 0.5 76.06 75.46 23.7 1 75.78 75.23 31.4 2 75.80 75.93 44.3 4 74.82 74.34 65.6 8 71.34 71.31 99.0 There seems to be little to no benefit to this kind of regularization. The network simply compensates by scaling up the latent output (as illustrated by ‖N_1(x)‖). Moreover, this regularization is of a different kind from that of ProtoSeam. Instead of sampling from a Gaussian distribution with approximately the same covariance, here we can only add noise to every sample individually.
-
Q3 Small ViT architecture: We have added the architecture details of the ViT-S to Appendix A. We use the SimpleViT implementation from https://github.com/lucidrains/vit-pytorch/tree/db05a141a6e3886353a249e64dc9678c6fa30419 with the following settings:
Hyperparameter Value patch_size 4 dim 512 depth 6 heads 8 mlp_dim 512 To address the concerns regarding scalability, we trained ResNet-34 on ImageNet. Due to the limited rebuttal period, we took the learning rate and weight decay commonly used for the baseline in the literature (lr = 0.1, wd = 1e-4) and used them for all variants.
Our modeling assumption is that can map each class to a single cluster. On ImageNet, ResNet-34 does not achieve this for every class. For example, the output of for class 592 (hard disk) shows two distinct clusters: one for disks inside a computer and one for disks outside of it (see https://anonymous.4open.science/r/ProtoSeam-material-5A10/class_0592_pc1_hist.png).
On full ImageNet, the lifted ResNet-34 falls behind the baseline for all values of and that we tried: ~73.2% for the baseline vs. ~71.3% for the best lifted variant. The picture reverses, however, when we restrict ImageNet to the 294 classes whose latent distribution exhibits a single cluster. (We examined a trained lifted network and excluded classes where a second cluster makes up at least 15% of the samples and the distance between the two cluster means exceeds a certain threshold; we added the exact procedure to the appendix.) We call this subset GaussianImageNet; it is still the largest dataset in our evaluation and has a higher resolution than the others. Training ResNet-34 on it without further tuning of lr and wd yields:
Variant lr wd (min → max) Seed 42 Seed 43 Seed 44 Mean Baseline 0.1 1e-4 – – 85.92 85.87 85.65 85.81 Unlifted 0.1 1e-4 64 – 85.59 85.22 85.48 85.43 ProtoSeam 0.1 1e-4 64 0.001 → 32 86.62 86.62 86.67 86.64 We did not perform a full search over and ; we only decreased to avoid an exploding penalty term at the start of training.
These results suggest a natural extension of our model: using the empirical covariance, one can detect classes with multiple clusters and introduce additional class means for them, i.e., model each class as a Gaussian mixture. This may also require a more expressive . We consider this extension beyond the scope of the present paper.
-
Q4 Prototype location and embeddings: This is an interesting question. We believe that it is best to showcase this for the same setting as Figure 1. We uploaded an illustration to an anonymous repository: https://anonymous.4open.science/r/ProtoSeam-material-5A10/class_centers_mnist.png
We use FSInit and observe that the clusters start very close to each other, owing to the random initialization of the network weights. The clusters then drift apart while keeping their semantic arrangement intact (e.g., "6" close to "0", or "3" next to "5"). However, we agree that there is probably still headroom when it comes to different initialization methods.
Next, we measure how well the classes are separated by the different variants before the classification layer (using ResNet-8 and CIFAR-100). For the lifted and unlifted variants we consider the 32-dimensional bottleneck output of the first network. The end-to-end baseline has no bottleneck, so we use its 512-d pooled feature. Each variant is evaluated at its own best hyperparameters, selected on held-out validation accuracy, with 3 seeds (42/43/44). We compare several metrics of class separation. The arrows next to the metric names indicate whether higher (↑) or lower (↓) values are better.
Variant Test acc. (%) Fisher ratio ↑ Silhouette ↑ Davies–Bouldin ↓ NN ratio ↑ NCM error ↓ ProtoSeam 78.34 3.71 (0.03) 0.272 (0.003) 1.311 (0.017) 1.570 (0.004) 0.227 (0.001) Unlifted 75.47 1.27 (0.02) 0.073 (0.001) 2.703 (0.013) 0.795 (0.004) 0.260 (0.003) Baseline (512-d feature) 76.76 1.17 (0.01) 0.115 (0.001) 2.284 (0.015) 0.947 (0.004) 0.232 (0.005) Mean over 3 seeds; spread (max − min) in parentheses. The representation learned by ProtoSeam is much better separated than both the baseline and the unlifted variant on every measure and every seed. We will include these results with a description of every metric in the paper.
Summary of changes to the paper
- Discussion of Kang et al. in the related work section.
- Ran the full hyperparameter grid search for the unlifted variant and updated its results and hyperparameters (W1.1).
- Extended the discussion in the results section, including the new ablations (W1.2, W1.3, Q2).
- Corrected the cross-references in Appendix B (W1.4).
- Added the validation accuracies to Figure 3 (W2).
- Added the description of the validation split (W2).
- Added the architecture details of the ViT-S to Appendix A (Q3).
- ResNet-34 results on ImageNet and GaussianImageNet, including the multi-cluster observation (Q3).
- Added the selection procedure for the GaussianImageNet classes to the appendix (Q3).
- Illustration of the prototype trajectories during training (Q4).
- Class-separation metrics for all three variants, with a description of every metric (Q4).
Comments on the paper
1 comment
Thank you for the detailed follow-up and for raising the Soundness score. We are glad to hear that we are on the right track, and we are optimistic that we can also address the remaining issues.
-
Gradient cut vs. penalties. We have now finished the Unlifted + Penalty runs for all six dataset-model pairs that you asked for:
Dataset Model Variant (lr, wd) Seed 42 Seed 43 Seed 44 Mean Spread CIFAR-10 ResNet-8 Unlifted + Penalty (0.05, 5e-4) 95.27 95.50 95.32 95.36 0.23 ProtoSeam (0.05, 5e-4) 95.27 95.54 95.57 95.46 0.30 CIFAR-10 ViT-S Unlifted + Penalty (0.01, 2e-4) 91.75 92.06 91.02 91.61 1.04 ProtoSeam (0.01, 1e-4) 91.35 91.64 91.26 91.42 0.38 CIFAR-100 ResNet-8 Unlifted + Penalty (0.02, 2e-3) 78.37 78.21 78.33 78.30 0.16 ProtoSeam (0.02, 2e-3) 78.18 78.21 78.63 78.34 0.45 CIFAR-100 ViT-S Unlifted + Penalty (0.02, 5e-4) 71.25 71.88 70.05 71.06 1.83 ProtoSeam (0.01, 5e-4) 70.48 71.00 70.12 70.53 0.88 TinyImageNet ResNet-8 Unlifted + Penalty (0.02, 1e-3) 65.20 64.88 65.21 65.10 0.33 ProtoSeam (0.02, 2e-3) 65.64 65.48 65.69 65.60 0.21 TinyImageNet ViT-S Unlifted + Penalty (0.01, 2e-4) 51.55 51.80 51.81 51.72 0.26 ProtoSeam (0.02, 2e-4) 53.95 53.65 54.01 53.87 0.36 On the four CIFAR pairs, ProtoSeam’s gains come mainly from the consensus and repulsion terms. On TinyImageNet, the gradient cut and the sampling strategy give further improvements of +0.50 and +2.15 points for the two models. Even without the gradient cut, the combination of a consensus penalty with inter-class repulsion is novel, as discussed in the Related Work section. We will add these ablation results to the paper and revise our claims about the impact of the gradient cut accordingly.
We believe this ablation has improved the paper a lot, and we thank you for pushing us in this direction. In addition to the overall improvement of the new method, we can now quantify the impact of the gradient cut: no significant improvement, but also no reduction in accuracy for the investigated data-model pairs. Evaluating the improvement potential in other applications is left to future work.
-
Empirical vs. isotropic covariance. We agree that a suitably scaled identity gives accuracy similar to the full estimate. Prompted by your comment, we re-examined all crashed (with NaN values) runs during our hyperparameter search again. We discovered that two ViT-S runs for ProtoSeam had used sub-optimal hyperparameters (CIFAR-10 and TinyImageNet, as used in the table above).
We respectfully disagree, however, that this undermines the analysis. Theorem B.3 holds for any sampling covariance, and the isotropic variant is the special case of Corollary B.4, with equal to the chosen scale. The only change is how the covariance term is read: for the empirical variant it measures the estimation error; for the isotropic variant, it measures the deliberate misspecification .
Section 3 already discusses the isotropic alternative. We chose the empirical estimate for interpretability and to avoid an additional hyperparameter. As mentioned before, the reason for the similar performance is that both backbones learn well-separated clusters with small covariances. We will present the isotropic variant as the cheaper default for this regime.
-
ImageNet. You are completely right. In general, performing worse on a larger benchmark and then cherry-picking a subset on which the method excels is not scientifically sound. Here, though, the situation is different. We will report performance on both sets in the paper, together with an explanation of why the new method cannot be expected to perform well on datasets involving multiple distributions within one class (such as the aforementioned hard-disk example or images of crabs in the wild versus crabs in a cooking pot). The additional study adds value to our paper: a possible practical shortcoming is transparently reported, also in the spirit of good scientific behavior to avoid bias towards positive results. A simple exclusion rule leading to GaussianImageNet resolves the drop in accuracy and is directly linked to straightforward future extensions of the new method to train models also on ill-classified data.
Theory. Only the illustrative example in Appendix B.3 uses a cubic head. Theorem B.3, Corollary B.4 and Proposition B.5 are stated for the single linear layer with cross-entropy used in all our experiments (Remark B.2).
Please let us know if there is anything else we can do to improve the paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We very much appreciate the time and effort you have put into reviewing our contribution. We hope that the responses below address all weaknesses and questions you raised.
Weaknesses:
W1 Asymmetric hyperparameter tuning: In a preliminary test, the optimal hyperparameters for the unlifted variant matched those of the baseline. We agree, however, that a fair comparison requires tuning them separately, so we have now run the full grid search for the unlifted variant. For CIFAR-10 (both backbones) and TinyImageNet with ViT-S, the optimal hyperparameters are unchanged. For the other three pairs, accuracy improves, but the unlifted variant still performs worse than ProtoSeam:
We have included this investigation in the paper.
W2.1 Missing component ablations and natural baselines: We added a configuration using the same class center variables and repulsion penalty as the ProtoSeam variant, but without the decoupling. Advantages of lifting also include the possibility of parallelization and cheaper backpropagation, but when it comes to accuracy, the main benefit of cutting the gradient becomes visible when N2 has an ill-conditioned Jacobian. For our one-layer N2 this effect is rather small, but we still observe an improvement over only using the penalty. We tested it on TinyImageNet with ResNet-8 (after a hyperparameter search), the largest of the three datasets and the better-known of the two architectures: