ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation

Tiansheng Wen, Yifei Wang, Zequn Zeng, Zhong Peng, Yudi Su, Xinyang Liu, Bo Chen, Hongwei Liu, Stefanie Jegelka, Chenyu You

ELVIA analysis

Independent review pending

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.

Problem 1. The cited identifiability guarantee does not transfer to CSR

Major
Evidence and reasoning

Problem statement

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

CSR Eq6 can invoke Wang et al. Theorem5 and theoretically guarantee identifiability/disentanglement and increased latent utilization.

CSR nonnegative TopK+ReLU features, at most kk active coordinates. Literal Eq6 is unnormalized; the normalized contrastive reading is checked with the paper's reconstruction equations, not the full released training pipeline. For normalized construction: d2,h=8,h=8,k=2k=2,4k8,batch2,k_aux1, zero biases, tied decoder; both encoders exact-reconstruct inputs e1,e_1,e2.e_2. Finite example does not claim to satisfy the original theorem's distinct spectral setting.

Proof

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.

In the cited paper [ncl], equation (5), p. 4, is a nonnegative spectral objective, −2Ex,x+f(x)⊤f(x+)+Ex,x−(f(x)⊤f(x−))2.-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.

For a batch of two samples, take z1=ae1,z_1=ae_1, z2=ae2,z_2=ae_2, a>0.a>0. These vectors are nonnegative and sparse. Equation (6) then reduces to Lcl(a)=log⁡(1+e−a2)>0,lim⁡a→∞Lcl(a)=0.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 272272–297,297, normalizes features and uses temperature 0.20.2 with a duplicated positive view. This removes the above scale escape. It does not, however, supply the missing identifiability theorem.

Take input embeddings v1=(1,0)⊤,v_1=(1,0)^\top, v2=(0,1)⊤,v_2=(0,1)^\top, hidden dimension h=8,h=8, and TopK parameter k=2.k=2. Set all biases to zero and tie the decoder to the encoder transpose, as in the released vision model. Choose kaux=1,k_{\rm aux}=1, an admissible auxiliary TopK size. Define WA=(1001000000000000),WB=12(1001100100000000).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⊤W=I2.W^\top W=I_2. Encoder A gives (e1,e2);(e_1,e_2); encoder B gives ((e1+e3)/2,(e2+e4)/2).((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 (22). Top-4k4k is Top −8-8 and likewise leaves both unchanged. Every embedding has unit norm and the two embeddings are orthogonal. Reconstruction is exact in both cases: W⊤Wvi=vi.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),\log(1+e^{-1}), attained by both encoders. With two identical views per sample and temperature 0.2,0.2, the inspected implementation’s corresponding loss is log⁡(1+2e−5),\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 I2,I_2, reconstruction errors at most 2.23×10−16,2.23\times10^{-16}, and matching contrastive values 0.31326168750.3132616875 and 0.013385901720.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.

□\square

Possible revision

Not available

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

By leveraging the non-negative nature of latent variables ziz_i in sparse autoencoders, Equation 6 can be viewed as a variant of the Non-negative Contrastive Loss (NCL) proposed in Wang et al. (20242024).

Published ICML2025 PMLR267 19-page PDF; repository b284898cc5c6ea6776772ca2c460a53badc6fe65; PDF p. 5

Actual review scope

The recorded inspection concerns these source locations: PDF p. 5 Section 3.2.2 Eq6/Theorem5 and surrounding text; p. 7 Section 4.4.

Submit an author revisionContribute a review