atlas

Research map / Architectures and efficiency / RNNs and normalization

Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Distributed LLM inference systems · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Contrastive Sparse Representation (CSR), a lightweight TopK sparse autoencoder with a non-negative contrastive loss placed on frozen pretrained embeddings to yield adaptive, sparse embeddings that beat Matryoshka Representation Learning in accuracy, retrieval speed, and training cost.

Problem

Matryoshka Representation Learning (MRL) for adaptive-length embeddings requires full backbone retraining and degrades noticeably at short embedding lengths, while retrieval cost and training cost remain high.

Approach

Instead of truncating dense embeddings, sparsify frozen pretrained embeddings into a wider (h=4d) latent space keeping only the top-k activations, trained with a TopK sparse autoencoder reconstruction loss plus a non-negative contrastive loss; retrieval uses sparse matrix multiplication.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the sparse contrastive loss to SAE (ablation)CSR with NV-Embed-V2 · Banking77Top-1 accuracy (%): 88.11 -> 91.02Helped
Add the sparse contrastive loss to SAE (ablation)CSR with NV-Embed-V2 · MTOPIntentTop-1 accuracy (%): 87.43 -> 89.86Helped
Add the sparse contrastive loss to SAE (ablation)CSR with NV-Embed-V2 · TweetSentimentTop-1 accuracy (%): 75.19 -> 78.55Helped
Add the sparse contrastive loss to SAE (ablation)CSR with ResNet50 · ImageNet-1K1-NN accuracy: 68.91 -> 70.15Helped
Add the sparse contrastive loss to SAE (ablation)CSR with ResNet50 · ImageNet-1KTop-1 accuracy: 75.28 -> 75.44Helped
Use CSR rather than MRL at active dim 32ImageNet-1K classification · ImageNet-1K1-NN accuracy: 69.46 -> 70.15Helped
Use CSR rather than MRL at active dim 32ImageNet-1K classification · ImageNet-1KTop-1 accuracy: 75.03 -> 75.44Helped
Use CSR rather than MRL at active dim 64ViT-B-16 multimodal retrieval · MS COCO and Flickr30K, in-distribution and zero-shotRecall@5 (%): 62.61 -> 62.75; 72.43 -> 78.10; 74.22 -> 76.44; 84.79 -> 88.50; 47.47 -> 48.61; 54.42 -> 61.90; 71.16 -> 73.04; 79.00 ->Helped
Increase hidden dimension up to h=4d (ablation)CSR image representations · ImageNet1-NN accuracyHelped
Increase hidden dimension beyond h=4d (ablation)CSR image representations · ImageNet1-NN accuracyHurt
Increase input embedding dimension at equal sparsity (ablation)CSR image representations · ImageNet1-NN accuracyHelped
Use non-negative contrastive loss instead of only auxiliary and multi-TopK losses (ablation)CSR sparse autoencoder · ImageNet, especially k=8, 16, 32active latent dimensionsHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K MTOPIntent Banking77 TweetSentimentExtraction BiorxivClusteringS2S BiorxivClusteringP2P TwentyNewsgroupsClustering FiQA2018 NFCorpus SciFACT MS COCO Flickr30K

Benchmarks: ImageNet-1K 1-NN ImageNet-1K Top-1 linear probe MTEB classification/clustering/retrieval subsets MS COCO retrieval Flickr30K retrieval

Metrics: 1-NN accuracy Top-1 accuracy NDCG@10 Recall@5 retrieval time

Baselines: MRL MRL-E SVD Rand-LP Rand-FS Stella-1.5B-v5 Jina-V3 Nomic-Embed-V1.5 Gecko-Embed-004 Text-Embed-3-L Arctic-Embed-L-V2 Potion-Base-2M

Builds on: Matryoshka Representation Learning TopK sparse autoencoder non-negative contrastive learning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy