Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representation
Not on the map. Why?
Abstract (arXiv)
Many large-scale systems rely on high-quality deep representations (embeddings) to facilitate tasks like retrieval, search, and generative modeling. Matryoshka Representation Learning (MRL) recently emerged as a solution for adaptive embedding lengths, but it requires full model retraining and suffers from noticeable performance degradations at short lengths. In this paper, we show that sparse coding offers a compelling alternative for achieving adaptive representation with minimal overhead and higher fidelity. We propose Contrastive Sparse Representation (CSR), a method that sparsifies pre-trained embeddings into a high-dimensional but selectively activated feature space. By leveraging lightweight autoencoding and task-aware contrastive objectives, CSR preserves semantic quality while allowing flexible, cost-effective inference at different sparsity levels. Extensive experiments on image, text, and multimodal benchmarks demonstrate that CSR consistently outperforms MRL in terms of both accuracy and retrieval speed-often by large margins-while also cutting training time to a fraction of that required by MRL. Our results establish sparse coding as a powerful paradigm for adaptive representation learning in real-world applications where efficiency and fidelity are both paramount. Code is available at https://github.com/neilwen987/CSR_Adaptive_Rep
Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). Builds on 47 of its 75 references that are in the map. First posted on arXiv 3 Mar 2025.
Builds on
47 of 75 references.
References · 47
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,216
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
- 2020Concept Bottleneck Modelscited by 1,032
- 2017Channel Pruning for Accelerating Very Deep Neural Networkscited by 702
35 more
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2020Fact or Fiction: Verifying Scientific Claimscited by 554
- 2024Scaling and evaluating sparse autoencoderscited by 553
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2022Matryoshka Representation Learningcited by 282
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 251
- 2013k-Sparse Autoencoderscited by 215
- 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 158
- 2019Adaptively Sparse Transformerscited by 155
- 2022MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languagescited by 146
- 2024jina-embeddings-v3: Multilingual Embeddings With Task LoRAcited by 141
- 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 94
- 2024Matryoshka Multimodal Modelscited by 84
- 2024Gecko: Versatile Text Embeddings Distilled from Large Language Modelscited by 83
- 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
- 2023Matryoshka Diffusion Modelscited by 72
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 67
- 2016A survey of sparse representation: algorithms and applicationscited by 58
- 2024Arctic-Embed 2.0: Multilingual Retrieval Without Compromisecited by 58
- 2024Matryoshka Query Transformer for Large Vision-Language Modelscited by 50
- 2023FFCV: Accelerating Training by Removing Data Bottleneckscited by 49
- 2024ElasticTok: Adaptive Tokenization for Image and Videocited by 46
- 2024Adaptive Length Image Tokenization via Recurrent Allocationcited by 43
- 2021TWEAC: Transformer with Extendable QA Agent Classifierscited by 37
- 2018Accelerating Convolutional Neural Networks via Activation Map Compressioncited by 34
- 2024Calibrating Multi-modal Representations: A Pursuit of Group Robustness without Annotationscited by 30
- 2025Uncovering Memorization Effect in the Presence of Spurious Correlationscited by 20
- 2024Non-negative Contrastive Learningcited by 19
- 2024Piccolo2: General Text Embedding with Multi-task Hybrid Loss Trainingcited by 10
- 2024Matryoshka Representation Learning for Recommendationcited by 5
- 2024A Non-negative VAE:the Generalized Gamma Belief Networkcited by 4
- 2024Beyond Spectral Decomposition: Bayesian Contrastive Learning and its Non-negative Formulation via Factor Analysiscited by 2
Built on by
Citing papers per year: 2025: 11; 2026: 15.
26 papers.
Sort:
By area:
- 2025Why Prompt Design Matters and Works: A Complexity Analysis of Prompt Search Space in LLMscited by 31
- 2025Discovering Fine-Grained Visual-Concept Relations by Disentangled Optimal Transport Concept Bottleneck Modelscited by 12
- 2026Rectified LpJEPA: Joint-Embedding Predictive Architectures with Sparse and Maximum-Entropy Representationscited by 10
- 2025Milco: Learned Sparse Retrieval Across Languages via a Multilingual Connectorcited by 9
- 2026Unlocking Multimodal Document Intelligence: From Current Triumphs to Future Frontiers of Visual Document Retrievalcited by 8
- 2025Route Experts by Sequence, not by Tokencited by 6
- 2026CSRv2: Unlocking Ultra-Sparse Embeddingscited by 6
- 2026Learning Retrieval Models with Sparse Autoencoderscited by 6
- 2026When to Think, When to Speak: Learning Disclosure Policies for LLM Reasoningcited by 5
- 2025The Future is Sparse: Embedding Compression for Scalable Retrieval in Recommender Systemscited by 4
- 2026The End of Reward Engineering: How LLMs Are Redefining Multi-Agent Coordinationcited by 3
- 2025Explaining Domain Shifts in Language: Concept erasing for Interpretable Image Classificationcited by 2
14 more
- 2025Simple Projection Variants Improve ColBERT Performancecited by 2
- 2025Supervise Less, See More: Training-free Nuclear Instance Segmentation with Prototype-Guided Promptingcited by 2
- 2026Scaling Attention via Feature Sparsitycited by 2
- 2025Together, Then Apart: Balancing Alignment and Distinctiveness for Multimodal Survival Analysiscited by 1
- 2026No More K-means: Single-Stage Sparse Coding for Efficient Multi-Vector Retrievalcited by 1
- 20263D-MRL: Nested Multimodal 3D Representations via Matryoshka Representation Learningcited by 1
- 2025Eigenfunction Extraction for Ordered Representation Learningcited by 0
- 2025Reflection Pretraining Enables Token-Level Self-Correction in Biological Sequence Modelscited by 0
- 2026Cross-lingual Matryoshka Representation Learning across Speech and Textcited by 0
- 2026From Tokens to Concepts: Leveraging SAE for SPLADEcited by 0
- 2026Test-Time Registers as Global Priors for Tokenized Image Generationcited by 0
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Modelscited by 0
- 2026FLAT: Resampling Image and Text into 1D Flexible-Length Aligned Transmodal Tokens for Retrieval and Generationcited by 0
- 2026Training-Adaptive Convolutional Sparse Coding via Information Bottleneck for Robust Visual Representationcited by 0
- 2026Training-Adaptive Convolutional Sparse Coding via Information Bottleneck for Robust Visual Representation16 Sep 2026
- 2026FLAT: Resampling Image and Text into 1D Flexible-Length Aligned Transmodal Tokens for Retrieval and Generation15 Sep 2026
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Models31 Aug 2026
- 20263D-MRL: Nested Multimodal 3D Representations via Matryoshka Representation Learning29 Aug 2026
- 2026Test-Time Registers as Global Priors for Tokenized Image Generation18 Jul 2026
- 2026No More K-means: Single-Stage Sparse Coding for Efficient Multi-Vector Retrieval28 May 2026
- 2026When to Think, When to Speak: Learning Disclosure Policies for LLM Reasoning5 May 2026
- 2026From Tokens to Concepts: Leveraging SAE for SPLADE23 Apr 2026
- 2026Scaling Attention via Feature Sparsity17 Mar 2026
- 2026Learning Retrieval Models with Sparse Autoencoders27 Feb 2026
- 2026Cross-lingual Matryoshka Representation Learning across Speech and Text23 Feb 2026
- 2026Unlocking Multimodal Document Intelligence: From Current Triumphs to Future Frontiers of Visual Document Retrieval23 Feb 2026
14 more
- 2026CSRv2: Unlocking Ultra-Sparse Embeddings5 Feb 2026
- 2026Rectified LpJEPA: Joint-Embedding Predictive Architectures with Sparse and Maximum-Entropy Representations1 Feb 2026
- 2026The End of Reward Engineering: How LLMs Are Redefining Multi-Agent Coordination13 Jan 2026
- 2025Reflection Pretraining Enables Token-Level Self-Correction in Biological Sequence Models24 Dec 2025
- 2025Supervise Less, See More: Training-free Nuclear Instance Segmentation with Prototype-Guided Prompting25 Nov 2025
- 2025Together, Then Apart: Balancing Alignment and Distinctiveness for Multimodal Survival Analysis22 Nov 2025
- 2025Route Experts by Sequence, not by Token9 Nov 2025
- 2025Eigenfunction Extraction for Ordered Representation Learning28 Oct 2025
- 2025Simple Projection Variants Improve ColBERT Performance14 Oct 2025
- 2025Milco: Learned Sparse Retrieval Across Languages via a Multilingual Connector1 Oct 2025
- 2025The Future is Sparse: Embedding Compression for Scalable Retrieval in Recommender Systems16 May 2025
- 2025Discovering Fine-Grained Visual-Concept Relations by Disentangled Optimal Transport Concept Bottleneck Models12 May 2025
- 2025Explaining Domain Shifts in Language: Concept erasing for Interpretable Image Classification24 Mar 2025
- 2025Why Prompt Design Matters and Works: A Complexity Analysis of Prompt Search Space in LLMs13 Mar 2025
- 2026When LLM Meets Tree Search: A Systematic View of Inference as Search in Large Language Models31 Aug 2026
- 2026When to Think, When to Speak: Learning Disclosure Policies for LLM Reasoning5 May 2026
- 2025Reflection Pretraining Enables Token-Level Self-Correction in Biological Sequence Models24 Dec 2025
- 2026Learning Retrieval Models with Sparse Autoencoderscited by 6
- 2026Learning Retrieval Models with Sparse Autoencoders27 Feb 2026
- 2025Route Experts by Sequence, not by Tokencited by 6
- 2025Route Experts by Sequence, not by Token9 Nov 2025
- 2025Why Prompt Design Matters and Works: A Complexity Analysis of Prompt Search Space in LLMscited by 31
- 2025Discovering Fine-Grained Visual-Concept Relations by Disentangled Optimal Transport Concept Bottleneck Modelscited by 12
- 2026Rectified LpJEPA: Joint-Embedding Predictive Architectures with Sparse and Maximum-Entropy Representationscited by 10
- 2025Milco: Learned Sparse Retrieval Across Languages via a Multilingual Connectorcited by 9
- 2026Unlocking Multimodal Document Intelligence: From Current Triumphs to Future Frontiers of Visual Document Retrievalcited by 8
- 2026CSRv2: Unlocking Ultra-Sparse Embeddingscited by 6
- 2025The Future is Sparse: Embedding Compression for Scalable Retrieval in Recommender Systemscited by 4
- 2025Explaining Domain Shifts in Language: Concept erasing for Interpretable Image Classificationcited by 2
- 2025Simple Projection Variants Improve ColBERT Performancecited by 2
- 2025Supervise Less, See More: Training-free Nuclear Instance Segmentation with Prototype-Guided Promptingcited by 2
- 2026Scaling Attention via Feature Sparsitycited by 2
- 2025Together, Then Apart: Balancing Alignment and Distinctiveness for Multimodal Survival Analysiscited by 1
12 most cited of 19 All 19 (JSON)
- 2026Training-Adaptive Convolutional Sparse Coding via Information Bottleneck for Robust Visual Representation16 Sep 2026
- 2026FLAT: Resampling Image and Text into 1D Flexible-Length Aligned Transmodal Tokens for Retrieval and Generation15 Sep 2026
- 2026Test-Time Registers as Global Priors for Tokenized Image Generation18 Jul 2026
- 2026No More K-means: Single-Stage Sparse Coding for Efficient Multi-Vector Retrieval28 May 2026
- 2026From Tokens to Concepts: Leveraging SAE for SPLADE23 Apr 2026
- 2026Scaling Attention via Feature Sparsity17 Mar 2026
- 2026Cross-lingual Matryoshka Representation Learning across Speech and Text23 Feb 2026
- 2026Unlocking Multimodal Document Intelligence: From Current Triumphs to Future Frontiers of Visual Document Retrieval23 Feb 2026
- 2026CSRv2: Unlocking Ultra-Sparse Embeddings5 Feb 2026
- 2026Rectified LpJEPA: Joint-Embedding Predictive Architectures with Sparse and Maximum-Entropy Representations1 Feb 2026
- 2025Supervise Less, See More: Training-free Nuclear Instance Segmentation with Prototype-Guided Prompting25 Nov 2025
- 2025Together, Then Apart: Balancing Alignment and Distinctiveness for Multimodal Survival Analysis22 Nov 2025
12 newest of 19 All 19 (JSON)