- Rating
- 4
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes the Volume Ratio Test (VRT) to detect train-test divergence in neural network backbone representations. VRT is a permutation-based two-sample test thst first l2-normalizes the embeddings onto the unit hypersphere, computes local neighborhood statistics using spherical-cap volumes derived from k-NN, and assigns a scalar score to each query embedding. The distributions of the train and test scores are then compared using a permutation test. The paper evaluates VRT on several CNN architectures and compares it with MMD, MMDAgg, Energy Distance, C2ST, and nearest-neighbor baselines. The experimental results suggest that VRT can often detect train-test representation divergence earlier than these baselines across many of the evaluated settings. The paper also argues that representation-level divergence provides complementary information to conventional output-level metrics, showing that train-test NLL gaps and backbone-geometric divergence are related but not equivalent.
Strengths and weaknesses
Detecting train-test divergence directly in learned backbone representations, rather than relying only on output-level quantities such as loss, accuracy, or negative log-likelihood (NLL), is an interesting problem that this paper addresses by proposing the Volume Ratio Test. VRT combines a simple geometric scoring procedure with a permutation test, requiring neither a learned discriminator nor kernel selection. The method is computationally lightweight and is evaluated on multiple architectures, datasets, and baselines. I also appreciate the calibration experiments and the investigation of BatchNorm-related feature shifts, which help interpret some of the observed differences between VRT and MMD. Despite these strengths, I have the following concerns:
My main concern is that the method relies on the assumption of hyperspherical representation geometry. The motivation argues that modern embeddings should be analyzed on the unit hypersphere, yet the experimental evaluation is conducted primarily on conventional CNN backbones whose native penultimate-layer representations are not inherently constrained to the hypersphere. Since VRT first l2-normalizes all embeddings, the method analyzes an induced hyperspherical representation rather than the original representation space. As a result, I was not fully convinced that the improvements reflect intrinsic properties of the learned representations rather than properties introduced by the normalization step. Consequently, it remains unclear whether the method measures divergence in the original representation space or only divergence after projection onto the hypersphere.
Related to this, VRT intentionally discards all radial information. In representation-learning settings, direction is often interpreted as capturing semantic identity, while feature magnitude may encode strength, confidence, or feature prominence. Under this interpretation, two embeddings with identical directions but substantially different norms may still carry different information. It remains unclear whether VRT captures general backbone divergence or only divergence that is preserved after removing feature magnitudes.
Figure 4(a) was helpful in understanding the behavior of the method, but it also highlights an important limitation. The analysis studies concentration, mean-direction, and mixture alternatives, showing that VRT is particularly sensitive to concentration-type shifts. However, the paper does not investigate radial, long-tailed, or magnitude-dependent alternatives. Since recent studies have reported that deep representations exhibit long-tailed behavior, it remains unclear whether VRT detects general representation divergence or angular-density divergence after hyperspherical normalization. This makes it difficult to determine whether VRT is intended as a general detector of backbone divergence or specifically of angular-density/concentration divergence.
Another interesting observation appears in Section 5, where MMD applied to the scalar scores produced by the VRT transformation rejects substantially earlier than MMD applied to the original embeddings. This suggests that much of the performance gain may arise from the neighborhood-to-score transformation itself. I think the paper would benefit from a clearer discussion or ablation separating the contributions of hyperspherical normalization, the local geometric transformation, and the final median-based permutation statistic.
Finally, Table 1 treats several CNN training settings as positive controls exhibiting backbone divergence. However, it was not entirely clear what independent criterion suggests that these checkpoints exhibit backbone divergence, rather than satisfying the conditions under which VRT is particularly sensitive. Clarifying this point would help the interpretation of the empirical results.
Questions
- Hyperspherical assumption and normalization:The motivation argues that modern representations are naturally hyperspherical, whereas the experiments are conducted primarily on CNN backbones whose native embeddings are not constrained to the unit hypersphere. Could the authors characterize the norm distributions of the original embeddings and, if feasible, compare VRT on normalized versus unnormalized representations? This would help clarify whether the reported gains arise from intrinsic representation geometry or from the normalization itself. A convincing analysis would strengthen my confidence in the broader applicability of the method.
- Role of feature magnitude: Since VRT operates on l2-normalized embeddings, all radial information is removed before testing. One possible interpretation is that direction captures semantic identity while magnitude may carry information about feature strength. Can the authors discuss whether VRT is expected to miss train-test divergence that appears primarily through feature magnitudes? Even a conceptual discussion or additional analysis would help clarify the scope of the method.
- Sensitivity to different classes of representation shifts: Figure 4(a) evaluates concentration, mean-direction, and mixture alternatives, but not radial or long-tailed alternatives. If possible, could the authors include a synthetic experiment or discussion examining cases where train and test distributions differ primarily through radial or tail behavior while preserving angular geometry? Such an experiment would clarify whether VRT is intended as a general detector of representation divergence or specifically of angular-density divergence.
- Source of the performance gains: Section 5 suggests that applying MMD to the transformed scalar scores substantially improves detection compared with applying MMD directly to the embeddings. Could the authors further clarify how much of the improvement comes from (a) hyperspherical normalization, (b) the neighborhood-to-score transformation, and (c) the final median-based permutation statistic? A simple ablation or additional discussion would help identify which component is primarily responsible for the observed gains.
- Interpretation of the positive controls: Table 1 designates several training settings as positive controls exhibiting backbone divergence. Could the authors clarify what independent criterion establishes that these checkpoints exhibit backbone-level divergence, rather than simply satisfying the conditions under which VRT is particularly sensitive? Clarifying this point would strengthen the interpretation of the experimental results.
Limitations
Partially. The paper discusses several important limitations, including reduced sensitivity to mean-direction shifts and the potential influence of BatchNorm-related feature shifts. However, I think some limitations are still underexplored. In particular, the paper does not clearly discuss how l2-normalization affects the interpretation of the test or whether VRT remains sensitive to representation shifts that primarily manifest through feature magnitudes, radial structure, or long-tailed behavior. Since these aspects are removed or modified by the normalization step, a discussion of the resulting scope of the method would help clarify its applicability. Clarifying that VRT is primarily designed to detect angular-density/concentration divergence, if that is indeed its intended scope, would also help align the claims with the presented evidence.
Paper formatting concerns
None
Final justification
The rebuttal and subsequent discussion addressed most of my original concerns. The additional experiments and clarifications provide sufficient evidence to improve my overall assessment. Therefore, I have increased my rating from 3 to 4.
We thank the reviewer for the detailed and insightful questions.
W1. “Hyperspherical assumption and normalization: ... characterize the norm distributions ... and compare VRT on normalized versus unnormalized representations?”
Answer. L2 normalization cannot create a train-test difference absent from the raw distributions. The Euclidean test on unnormalized embeddings detects every VRT-positive setting, showing that the reported detections are not created by normalization.
Applying the same deterministic map N(h)=h/∥h∥2 to both splits preserves equality of their raw distributions.
VRT is defined on the unit sphere, so for unnormalized embeddings we replace angles and spherical-cap volumes with Euclidean distances and ball volumes while keeping the splits, neighbors, and permutations fixed.
Table 1. Sustained detection onset using normalized and unnormalized embeddings.
Both make the same decision in all 17 settings. VRT is usually earlier, most notably on v7 at epoch 19 rather than 99, while the Euclidean test is earlier only once, by six epochs on one CIFAR-100 zoo model.
These detections show that every reported difference exists before normalization, even when detected later. Normalization can remove a difference carried only by magnitude when directions are unchanged, but cannot turn equal raw distributions into unequal normalized distributions.
We separately characterize the requested raw norm distributions at the final checkpoint. For r=∥h∥2, we report
\frac{\operatorname{median}(r_{\mathrm{te}})} {\operatorname{median}(r_{\mathrm{tr}})},\qquad R_{\mathrm{spr}}= \frac{\operatorname{MAD}(r_{\mathrm{te}})} {\operatorname{MAD}(r_{\mathrm{tr}})}.$$ MAD denotes median absolute deviation. A ratio of 1 means matching train and test summaries. **Table 2. Raw feature lengths at the final checkpoint.** | Model | Train median | $R_{\mathrm{loc}}$ | $R_{\mathrm{spr}}$ | |---|---:|---:|---:| | ResNet-50, paper model and 4 reseeds | 13.4 to 13.9 | 0.926 to 0.948 | 1.09 to 1.14 | | v7 | 5.9 | 0.992 | 1.04 | | CIFAR-10 zoo, 5 models | 12.1 | 0.985 to 0.988 | 1.08 to 1.11 | | CIFAR-100 zoo, 5 models | 13.7 | 0.951 to 0.954 | 1.03 to 1.07 | | WildPark | 74.0 | 1.004 | 0.99 | | SimCLR, CIFAR-10 / CIFAR-100 | 3.9 / 3.7 | 0.795 / 0.739 | 1.04 / 0.86 | Raw median lengths span 3.7 to 74.0, with setting-dependent train-test differences. *** ### W2. “Role of feature magnitude: ... is VRT expected to miss train-test divergence that appears primarily through feature magnitudes?” **Answer. Yes. VRT intentionally removes purely radial differences, but this also makes it more robust to BatchNorm-driven scale differences that can obscure whether raw norm changes reflect learned representation geometry.** $$h=ru,\qquad r=\lVert h\rVert_2,\qquad u=\frac{h}{\lVert h\rVert_2}.$$ VRT receives only $u$, and $N(\alpha h)=N(h)$ for every $\alpha>0$. It therefore cannot detect a change confined to $r$ when the directional distribution is unchanged. W3 verifies this boundary directly. In evaluation mode, stored BatchNorm statistics can leave a split-dependent common scale, $$h^{\mathrm{eval}}_s\approx c_s h^{\mathrm{batch}}_s.$$ Raw norms retain $c_s$, whereas normalization cancels it exactly because $N(c_sh)=N(h)$. This scale mismatch can accumulate across BatchNorm layers, making raw feature length sensitive to extraction mode even at the same checkpoint. On ResNet-50, the train-test scale difference grows from about 0.3 percent in shallow layers to $-7.13$ percent at the deepest BatchNorm layer, close to the final embedding-norm difference of $-6.84$ percent. Re-extracting the same checkpoints in training mode, so BN uses current batch statistics, moves the norm-test onset from epoch 61 to 76 on ResNet-50 and from epochs 14 to 26 into epochs 40 to 45 on the CIFAR-100 zoo. All five CIFAR-10 norm detections disappear. VRT retains every detection under both extraction protocols, and its ResNet-50 onset remains epoch 61. VRT is therefore more robust to this radial calibration component, at the explicit cost of missing magnitude-only divergence. *** ### W3. “Sensitivity to different classes of representation shifts ... radial or tail behavior while preserving angular geometry?” **Answer. VRT is sensitive to angular-density divergence and remains at the nominal level under radial-only changes.** We use the paper's setup with $D=500$, $N=5{,}000$ per split, 50 repetitions, and $\alpha=0.05$. S0 independently samples each split as $$h=ru,\qquad u\sim\operatorname{vMF}(\mu,250)\\ \text{on }S^{499},\qquad \log r\sim\mathcal N(0,0.05^2).$$ S1 multiplies test radii by 1.03. S2 changes only the test log-radius law to $\mathcal N(0,0.20^2)$, preserving directions and the median radius. S3 changes only the test angular concentration from $D/2$ to $D/2+0.3\sqrt D$. S4 applies S1's radial change to the same S3 direction draws. **Table 3. VRT rejections out of 50 runs.** | Scenario | VRT | |---|---:| | S0, matched null | 2 | | S1, radii multiplied by 1.03 | 1 | | S2, heavier radial tail | 3 | | S3, angular concentration shift | 44 | | S4, S3 plus the radial change in S1 | 44 | VRT rejects 1 of 50 S1 runs and 3 of 50 S2 runs, near the nominal level, but 44 of 50 S3 runs. Targeted length tests detect both radial changes in all 50 runs. Adding S1 to S3 leaves all 50 VRT $p$-values unchanged, with $\max|\Delta p|=0$. VRT therefore detects angular-density rather than radial-only divergence. *** ### W4. “Source of the performance gains: ... improvement from (a) normalization, (b) the neighborhood-to-score transformation, and (c) the final median-based permutation statistic?” **Answer. On ResNet-50, mapping each normalized embedding to $\hat c$ provides the largest improvement. On v7, comparing the median $\hat c$ scores is decisive. L2 normalization alone does not improve detection onset in either setting.** We introduced one step at a time using the same splits and permutation procedure. **Table 4. Detection-onset changes across the VRT pipeline.** | Step introduced | Controlled comparison | ResNet-50 | v7 | |---|---|---:|---:| | $h\mapsto h/\lVert h\rVert_2$ | MMD on $h$ → MMD on $h/\lVert h\rVert_2$ | 115 → 121 | not detected for either | | $h/\lVert h\rVert_2\mapsto\hat c(q)$ | MMD on normalized $h$ → MMD on $\hat c$ | 121 → 75 | not detected for either | | $T=\operatorname{med}(\hat c_{\mathrm{te}})-\operatorname{med}(\hat c_{\mathrm{tr}})$ | MMD on $\hat c$ → VRT | 75 → 61 | not detected → 19 | All entries report sustained onset. MMD uses 1,500 samples per split. On ResNet-50, normalization delays onset by six epochs, the $\hat c$ transformation advances it by 46, and $T$ advances it by another 14. On v7, only $T$ detects the divergence. Replacing the median with the mean leaves ResNet-50 at epoch 61 and moves v7 from epoch 19 to 24, so the median itself provides only a small additional gain. **Section 5 note.** Section 5 used one seed to diagnose whether VRT's early advantage came from transforming to $\hat c$ or the final statistic, with both detecting at epoch 61. Table 4's multi-seed analysis gives onsets of 75 and 61, confirming that the transformation provides most of the gain and $T$ the remaining 14 epochs. *** ### W5. “Interpretation of the positive controls: ... what independent criterion suggests backbone divergence, rather than conditions under which VRT is particularly sensitive?” **Answer. A separate class-conditional test independently confirms backbone divergence in all 15 positive-control settings. It detects 13 before VRT and the remaining two at the earliest available checkpoint. Thus, none is designated divergent from VRT alone.** At each checkpoint, let $Z_{\mathrm{tr},c}$ and $Z_{\mathrm{te},c}$ be the normalized train and test embeddings from class $c$. We test $$H_0:\quad P(Z\mid Y=c,S=\mathrm{train}) =P(Z\mid Y=c,S=\mathrm{test}) \quad\text{for every }c.$$ For each class $c$, we compute $$M_c^2=MMD^2(Z_{c,tr},Z_{c,te})$$ and $$V_c=CvM(d_c(Z_{c,tr}),d_c(Z_{c,te}))$$ We average them equally over all $C$ classes, $$T_{\mathrm{mean}}=C^{-1}\sum_{c=1}^{C}M_c^2$$ and $$T_{\mathrm{spread}}=C^{-1}\sum_{c=1}^{C}V_c$$ Here $M_c^2$ is the unbiased linear-kernel MMD squared, $V_c$ is the two-sample CvM distance between angular-deviation distributions, $C=10$ or $100$, and $d_c(z)=1-u_c^\top z$, where $u_c$ is the pooled class direction. Under $H_0$, train and test identities are exchangeable within each class. We shuffle them within every class 9,999 times while preserving class sizes. Scaling both statistics by these permutation distributions and recomputing their maximum for every shuffle produces one corrected $p$-value. Rejection means that at least one class differs in mean or angular spread, not that every class differs. The test uses no VRT scores, neighbors, or spherical volumes. **Table 5. Independent confirmation of all positive-control settings.** | Setting | Class-conditional onset | VRT onset | |---|---:|---:| | ResNet-50 | 37 | 61 | | v7 | 12 | 19 | | CIFAR zoos, 10 models | 7 to 13 | 22 to 34 | | Phase Zoo bs8 | 125 | 150 | | Phase Zoo bs128 | $\leq100$ | $\leq100$ | | Phase Zoo bs1024 | $\leq100$ | $\leq100$ | At every endpoint, $p=0.0001$ with 9,999 shuffles. All 15 survive Holm correction, and the test rejects 0 of 30 true-null splits.