Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation
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
MajorEvidence and reasoning
Problem statement
CSR maps an embedding into a nonnegative vector of dimension by a linear encoder followed by TopK and ReLU. Formula () permits at most positive coordinates: selected nonpositive coordinates can become zero. Reconstruction uses a linear decoder; formula () combines reconstruction at and with an auxiliary residual loss. Formula () uses a self-positive exponential contrastive loss, and formula () 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 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,,4k8,batch2,k_aux1, zero biases, tied decoder; both encoders exact-reconstruct inputs 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, 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 These vectors are nonnegative and sparse. Equation (6) then reduces to 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 – normalizes features and uses temperature with a duplicated positive view. This removes the above scale escape. It does not, however, supply the missing identifiability theorem.
Take input embeddings hidden dimension and TopK parameter Set all biases to zero and tie the decoder to the encoder transpose, as in the released vision model. Choose an admissible auxiliary TopK size. Define Both obey Encoder A gives encoder B gives TopK followed by ReLU leaves them unchanged. A has one positive coordinate per sample, B has two; both are valid under formula (). Top- is Top and likewise leaves both unchanged. Every embedding has unit norm and the two embeddings are orthogonal. Reconstruction is exact in both cases: 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 attained by both encoders. With two identical views per sample and temperature the inspected implementation’s corresponding loss is 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 reconstruction errors at most and matching contrastive values and 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.
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 in sparse autoencoders, Equation 6 can be viewed as a variant of the Non-negative Contrastive Loss (NCL) proposed in Wang et al. ().
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.