Abstract: The sparse autoencoder, contrastive objective, cited identifiability guarantee, and selected released implementation were inspected. The cited spectral-contrastive theorem does not establish the guarantee claimed for CSR’s different objective. The literal unnormalized contrastive term has a scale degeneracy, and under a normalized reading of the contrastive term combined with the paper’s reconstruction equations, an explicit pair of equally optimal, perfectly reconstructing sparse encoders is not equivalent under coordinate permutation and invertible scaling. This is a Major defect in the theoretical support for the core contrastive component. Retrieval and accuracy measurements were not reproduced or refuted. Scientific adjudication remains pending.

Author: AI-assisted technical review

Title: Technical Verification of
Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation

# Identity and scope

Tiansheng Wen, Yifei Wang, Zequn Zeng, Zhong Peng, Yudi Su, Xinyang Liu, Bo Chen, Hongwei Liu, Stefanie Jegelka, and Chenyu You, Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation, ICML 2025, PMLR 267, 66520–66538; I25-43502 (0133), OpenReview `z19u9B2fCZ`. The reviewed proceedings PDF has 19 pages. References below use one-based PDF pages, matching internal printed numbers. Although the acquisition heuristic did not detect an appendix, the PDF actually contains lettered supplementary sections; the scope is determined by the PDF, not that heuristic.

The source snapshot is `neilwen987/CSR_Adaptive_Rep`, commit

Inspection focused on Sections 3–4, equations (2)–(7), the theoretical attribution on p. 5, Figure 6’s interpretation, the retrieval timing definition in E.3–E.4, and the relevant vision encoder/loss implementation. The main modality comparisons were read selectively. The full text and multimodal pipelines, all reported tables, and benchmark execution were not audited. Wang et al.’s cited ICLR 2024 paper was acquired as a necessary reference and checked for the actual objective and theorem conditions.

# Definitions and the claimed dependency

CSR maps an embedding \(v\in\mathbb R^d\) into a nonnegative vector of dimension \(h\), by a linear encoder followed by TopK and ReLU. Formula (2) permits at most \(k\) positive coordinates: selected nonpositive coordinates can become zero. Reconstruction uses a linear decoder; formula (5) combines reconstruction at \(k\) and \(4k\) with an auxiliary residual loss. Formula (6) uses a self-positive exponential contrastive loss, and formula (7) adds it to reconstruction.

On p. 5 the paper states that regarding (6) as an NCL variant allows it to draw on the cited guarantees; it presents Wang et al.’s Theorem 5 and then calls the use of more latent dimensions theoretically guaranteed. Section 4.4, p. 7, again presents the dead-latent experiment as validation of that theorem. Thus the issue concerns the theoretical justification of the proposed contrastive component, not an incidental citation.

# Substantive finding

Problem 1 (The cited identifiability guarantee does not transfer to CSR).  Assessment: Major. Theorem 5 on p. 5 and its surrounding argument transfer a uniqueness result to a different loss and an unconstrained overcomplete sparse representation without establishing the requisite assumptions or an equivalence of objectives.

## What the original result actually concerns

In the cited paper [ncl], equation (5), p. 4, is a nonnegative spectral objective, \[-2\mathbb E_{x,x^+} f(x)^\top f(x^+)
 +\mathbb E_{x,x^-}\bigl(f(x)^\top f(x^-)\bigr)^2.\] Its Theorem 5, p. 6, invokes a latent-class positive-pair model and unique samples per class. The described solution is a scaled class-posterior vector; identifiability is defined up to coordinate permutation and scaling. Nonnegativity is not the sole hypothesis. The same source calls nonnegative InfoNCE a variant, but does not thereby identify its finite-batch optimizer with that of the spectral objective.

CSR equation (6) instead contains a logarithm of exponentials and uses each sample as its own positive. It also adds reconstruction and auxiliary losses and expands to a chosen hidden dimension. The published text supplies no reduction proving that this modified problem inherits the cited solution or the asserted latent-utilization guarantee.

## First diagnostic: the literal equation (6)

For a batch of two samples, take \(z_1=ae_1\), \(z_2=ae_2\), \(a>0\). These vectors are nonnegative and sparse. Equation (6) then reduces to \[L_{\rm cl}(a)=\log(1+e^{-a^2})>0,\qquad
 \lim_{a\to\infty}L_{\rm cl}(a)=0.\] Every finite log-softmax loss is positive, so the unconstrained term has no finite global minimizer along this admissible family. It cannot have the specific finite unique optimizer claimed by importing the spectral theorem. This observation concerns the unnormalized contrastive term alone; reconstruction or weight regularization can change the full optimization problem.

There is material counterevidence to taking this literal form as the complete implementation: `Vision/main_visual.py`, lines 272–297, normalizes features and uses temperature \(0.2\) with a duplicated positive view. This removes the above scale escape. It does not, however, supply the missing identifiability theorem.

## Second diagnostic: an admissible normalized ambiguity

Take input embeddings \(v_1=(1,0)^\top\), \(v_2=(0,1)^\top\), hidden dimension \(h=8\), and TopK parameter \(k=2\). Set all biases to zero and tie the decoder to the encoder transpose, as in the released vision model. Choose \(k_{\rm aux}=1\), an admissible auxiliary TopK size. Define \[W_A=\begin{pmatrix}1&0\\0&1\\0&0\\0&0\\0&0\\0&0\\0&0\\0&0\end{pmatrix},
 \qquad
 W_B=\frac1{\sqrt2}
 \begin{pmatrix}1&0\\0&1\\1&0\\0&1\\0&0\\0&0\\0&0\\0&0\end{pmatrix}.\] Both obey \(W^\top W=I_2\). Encoder A gives \((e_1,e_2)\); encoder B gives \(((e_1+e_3)/\sqrt2,(e_2+e_4)/\sqrt2)\). TopK followed by ReLU leaves them unchanged. A has one positive coordinate per sample, B has two; both are valid under formula (2). Top-\(4k\) is Top-8 and likewise leaves both unchanged. Every embedding has unit norm and the two embeddings are orthogonal. Reconstruction is exact in both cases: \[W^\top Wv_i=v_i.\] The reconstruction residual is zero and the remaining dead coordinates have zero activations, so the auxiliary residual reconstruction can also be zero. This checks the reconstruction and sparsity conditions rather than merely comparing unconstrained feature matrices.

For any two unit nonnegative vectors, the off-diagonal dot product is nonnegative. Hence the smallest possible normalized two-sample contrastive loss is \(\log(1+e^{-1})\), attained by both encoders. With two identical views per sample and temperature \(0.2\), the inspected implementation’s corresponding loss is \(\log(1+2e^{-5})\), again attained by both. The nonnegative reconstruction terms already attain their lower bound zero. Thus these are equally optimal constructions for the corresponding normalized contrastive-plus-reconstruction objective.

They are not related by an invertible diagonal scaling and coordinate permutation: such transformations preserve each vector’s number of nonzero coordinates, whereas the counts here are one and two. The same optimum therefore permits either six or four inactive latent coordinates. More latent utilization is not forced by the asserted uniqueness argument.

The independent script reports Gram matrices equal to \(I_2\), reconstruction errors at most \(2.23\times10^{-16}\), and matching contrastive values \(0.3132616875\) and \(0.01338590172\) for the two respective conventions. These finite values check the displayed algebra; the global lower-bound argument follows from nonnegativity and unit norms. No author code was executed.

## Boundaries and alternatives

The construction is not a refutation of Wang et al.’s theorem in its stated spectral setting, nor a statement about a fixed hidden dimension equal to a specified latent-class count. It shows why the extension to the CSR objective and its overcomplete dimension choice needs its own theorem. It also does not assert that this two-sample dataset reproduces the benchmark’s normalization/preprocessing or optimizer trajectory. The reconstruction construction instantiates the paper’s mathematical equations; the code inspection supplies the normalized contrastive reading and tied-decoder counterevidence. The release additionally divides the auxiliary squared error by residual variance, so this zero-residual construction is not asserted to attain a defined loss or a global minimum of the full executable pipeline.

A weaker empirical claim—that the added loss reduced dead latents in the reported runs—can survive. Figure 6 is relevant empirical evidence for that claim, but cannot prove the quoted uniqueness result for the changed objective. No corrected identifiability theorem is proposed here.

# Other checked scope and overall impact

The paper’s measured retrieval time concerns similarity computation with stored representations, as specified in E.3. It is not automatically full end-to-end query latency including feature extraction, sparse encoding, conversion, and ranking. Index storage and integer-index work also need to be accounted for in any memory or total-work comparison. Those distinctions were not converted into a demonstrated defect in the reported measurements because the timing implementation and historical execution were not reproduced.

The supported outcome is Major for the invalid theoretical transfer attached to the core contrastive component. Empirical retrieval gains, the utility of sparse coding, and the measured dead-latent improvements are not disproved. Later revisions and global errata were not searched; the cited version and repository snapshot are exact as recorded. Historical experiment provenance remains unresolved.

Dimension | State

Issue assessment | Major: unjustified theoretical guarantee; explicit objective checks

Repair verification | No repaired theorem proposed or verified

Author adoption | Not requested

Scientific decision | Pending; human reviews empty

Remaining work | New theorem for the actual objective; benchmark and historical-code verification

3 T. Wen et al., Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation, PMLR 267 (2025), 66520–66538. https://proceedings.mlr.press/v267/wen25e.html. Y. Wang, Q. Zhang, Y. Guo, and Y. Wang, Non-negative Contrastive Learning, ICLR 2024, proceedings PDF, pp. 4–6, equations (5), (8), and Theorem 5. https://proceedings.iclr.cc/paper_files/paper/2024/hash/1a25185fe1b0d46241de7738ea320710-Abstract-Conference.html. CSR_Adaptive_Rep, released repository snapshot specified above; `Vision/model_zoo.py` and `Vision/main_visual.py`. https://github.com/neilwen987/CSR_Adaptive_Rep.

# Supporting checks

The independent NumPy script, successful result, and an initial syntax-failure log are retained. A one-character script repair preceded the successful run. Original p. 5 was visually checked to confirm the displayed objective and theoretical attribution. Source files were hash-checked against the frozen manifest and tree inventory. No human decision or author adoption is inferred.
