ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Mahalanobis++: Improving OOD Detection via Feature Normalization — Problem 2: Gaussian variance expansion omits the rotated mean

Original paper: Maximilian Müller; Matthias Hein. Mahalanobis++: Improving OOD Detection via Feature Normalization. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/muller25a.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: p. 4 Lemma 3.1; Appendix B pp. 13–14

Question: What does the recorded analysis establish about “Gaussian variance expansion omits the rotated mean”?
Bounded finding:
The displayed expansion requires eigenbasis mean coordinates. Local mathematical statement/notation defect; no empirical dependency or probability-threshold violation claimed.

Recorded check:
The printed variance numerator uses eigenvalues \(\lambda_i\) of \(\Sigma\) paired with coordinates \(\mu_i\), without specifying that the mean is expressed in the covariance eigenbasis.
For \(X\sim\mathcal N(\mu,\Sigma)\), the coordinate-invariant formulas are \[\begin{aligned}
 \mathbb E\|X\|_2^{2}&=\operatorname{tr}\Sigma+\|\mu\|_2^{2},\\
 \operatorname{Var}(\|X\|_2^{2})
 &=2\operatorname{tr}(\Sigma^{2})+4\mu^\top\Sigma\mu\\
 &=\sum_i\{2\lambda_i^{2}+4\lambda_i(U^\top\mu)_i^{2}\},
 \quad \Sigma=U\operatorname{diag}(\lambda_i)U^\top .\end{aligned}\] These follow by expanding independent Gaussian coordinates after orthogonal rotation. The lemma instead prints \(\sum_i(2\lambda_i^{2}+4\lambda_i\mu_i^{2})\). For \[\Sigma=\begin{pmatrix}2&1\\1&2\end{pmatrix},\qquad \mu=(1,0),\] the actual variance is \(28\). Pairing the original mean coordinates with eigenvalues \(1,3\) gives \(24\), or \(32\) after reversing their order. An invariant variance cannot depend on that ordering.
Appendix B explicitly states the correct rotated mean \(U^\top\mu\) before later writing \(\mu_i\). This is decisive counterevidence: reading those later coordinates in the eigenbasis restores the moment calculation and Chebyshev argument. The supported defect is a local mathematical statement/notation omission, not a failure of Gaussian norm analysis or a demonstrated violation of the claimed probability bound for a particular threshold. Replacing the numerator by the invariant expression above is analytically verified. No empirical result was shown to depend on the erroneous coordinate reading.

Case-wide limitations:
- Limitations: No author-code execution, model evaluation, dataset download, or software installation.
- Limitations: Historical experimental source version, training-feature caches, and cache generation order are unknown.
- Limitations: Reported performance was checked arithmetically; benchmark FPR/AUC was not reproduced.
- Limitations: Optional OpenReview attachments could not be fully discovered because the staged lookup recorded HTTP 403.
- Limitations: Pretraining-data overlap, covariance conditioning, zero-vector incidence, and all repository members were not exhaustively audited.
- Limitations: Original-source visual inspection was selective; all final report pages are checked separately.
- P1 — Cache-dependent normalized-relative score mixes feature coordinates — Counterevidence: Relative-first empty-cache execution and correct existing global caches avoid the defect; primary Maha++ and OpenOOD CIFAR relative code are unaffected by this branch. Historical table impact is unknown.
- P2 — Gaussian variance expansion omits the rotated mean — Counterevidence: Appendix B explicitly states rotated mean Uᵀmu, restoring the valid argument when subsequent mu_i means those coordinates.
- P3 — Universal comparator wording and model-win count exceed displayed results — Counterevidence: Appendix explicitly discloses exceptions; 41/44 counterpart improvements and average advantage remain supported.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p2
Source report index: 2

Original source excerpts (verbatim):
We show below that Mahalanobis++ outperforms KNN and cosine similarity in all considered cases and, in particular, improves OOD detection consistently across tasks, architectures, training methods and OOD datasets as post-hoc method.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 6
Source PDF SHA-256: 3b739c3c30667dddc1abc7d0d22ec6492aaa007089486ca8e6a888e0fe357420

Review status: Independent review pending
Case: icml2025-0280-mahalanobis-improving-ood-detection-via-feature-normalization
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0280-mahalanobis-improving-ood-detection-via-feature-normalization.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0280-mahalanobis-improving-ood-detection-via-feature-normalization/records/icml2025-0280-mahalanobis-improving-ood-detection-via-feature-normalization.r1.json
Canonical record SHA-256: fd44ad3042af4182a02b340cbf7e0d9513a7f01065c1ae43cea2957240e544ed
The page follows the latest revision; the versioned record identifies this snapshot.