Dodo: Dynamic Contextual Compression for Decoder-only LMs
Not on the map. Why?
Abstract (arXiv)
Transformer-based language models (LMs) are inefficient in long contexts. We propose Dodo, a solution for context compression. Instead of one vector per token in a standard transformer model, Dodo represents text with a dynamic number of hidden states at each layer, reducing the cost of self-attention to a fraction of typical time and space. Moreover, off-the-shelf models such as LLaMA can be adapted to Dodo by efficient parameter tuning methods such as LoRA. In use, Dodo can act as either an autoregressive LM or a context compressor for downstream tasks. We demonstrate through experiments in language modeling, question answering, and summarization that Dodo retains capabilities in these tasks, while drastically reducing the overhead during decoding. For example, in the autoencoding task, Dodo shrinks context at a 20x compression ratio with a BLEU score of 98% for reconstruction, achieving nearly lossless encoding.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 40 of its 55 references that are in the map. First posted on arXiv 3 Oct 2023.
Builds on
40 of 55 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
28 more
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023Effective Long-Context Scaling of Foundation Modelscited by 301
- 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 201
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2023Unlimiformer: Long-Range Transformers with Unlimited Length Inputcited by 127
- 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Modelscited by 96
- 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
- 2023Why Does ChatGPT Fall Short in Providing Truthful Answers?cited by 54
- 2022Multi-View Document Representation Learning for Open-Domain Dense Retrievalcited by 41
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
- 2020Differentiable Top-k Operator with Optimal Transportcited by 17
- 2022ChordMixer: A Scalable Neural Attention Model for Sequences with Different Lengthscited by 9
- 2023Vcc: Scaling Transformers to 128K Tokens or More by Prioritizing Important Tokenscited by 6
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 12; 2026: 3.
23 papers.
Sort:
By area:
- 2024Compressed Chain of Thought: Efficient Reasoning Through Dense Representationscited by 192
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoningcited by 96
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2025Efficient Reasoning with Hidden Thinkingcited by 72
- 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 27
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2024Attention Entropy is a Key Factor: An Analysis of Parallel Context Encoding with Full-attention-based Pre-trained Language Modelscited by 26
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 22
- 2025KV-Distill: Nearly Lossless Learnable Context Compression for LLMscited by 19
- 2024CLERC: A Dataset for Legal Case Retrieval and Retrieval-Augmented Analysis Generationcited by 18
11 more
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocationcited by 16
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compressioncited by 15
- 2025No Mean Feat: Simple, Strong Baselines for Context Compressioncited by 6
- 2025Beyond RAG: Task-Aware KV Cache Compression for Comprehensive Knowledge Reasoningcited by 4
- 2025OSCAR: Online Soft Compression And Rerankingcited by 4
- 2025Learning to Compress: Unlocking the Potential of Large Language Models for Text Representationcited by 3
- 2025Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"cited by 2
- 2025Efficient Large Language Models with Zero-Shot Adjustable Accelerationcited by 0
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Codingcited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAGcited by 0
- 2026Where Should a Document Live: Context, Representations, or Parameters?cited by 0
- 2026Where Should a Document Live: Context, Representations, or Parameters?15 Sep 2026
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG4 Sep 2026
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Coding6 Jun 2026
- 2025Learning to Compress: Unlocking the Potential of Large Language Models for Text Representation21 Nov 2025
- 2025No Mean Feat: Simple, Strong Baselines for Context Compression23 Oct 2025
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation11 Sep 2025
- 2025Efficient Large Language Models with Zero-Shot Adjustable Acceleration1 Sep 2025
- 2025Cartridges: Lightweight and general-purpose long context representations via self-study6 Jun 2025
- 2025OSCAR: Online Soft Compression And Reranking17 Mar 2025
- 2025KV-Distill: Nearly Lossless Learnable Context Compression for LLMs13 Mar 2025
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillation11 Mar 2025
- 2025Beyond RAG: Task-Aware KV Cache Compression for Comprehensive Knowledge Reasoning6 Mar 2025
11 more
- 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacity18 Feb 2025
- 2025Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"15 Feb 2025
- 2025Efficient Reasoning with Hidden Thinking31 Jan 2025
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compression23 Dec 2024
- 2024Attention Entropy is a Key Factor: An Analysis of Parallel Context Encoding with Full-attention-based Pre-trained Language Models21 Dec 2024
- 2024Compressed Chain of Thought: Efficient Reasoning Through Dense Representations17 Dec 2024
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass8 Nov 2024
- 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct 2024
- 2024CLERC: A Dataset for Legal Case Retrieval and Retrieval-Augmented Analysis Generation24 Jun 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2023Efficient Large Language Models: A Survey6 Dec 2023
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 27
- 2025KV-Distill: Nearly Lossless Learnable Context Compression for LLMscited by 19
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocationcited by 16
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compressioncited by 15
- 2025No Mean Feat: Simple, Strong Baselines for Context Compressioncited by 6
- 2025No Mean Feat: Simple, Strong Baselines for Context Compression23 Oct 2025
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation11 Sep 2025
- 2025Cartridges: Lightweight and general-purpose long context representations via self-study6 Jun 2025
- 2025KV-Distill: Nearly Lossless Learnable Context Compression for LLMs13 Mar 2025
- 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacity18 Feb 2025
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compression23 Dec 2024
- 2024Compressed Chain of Thought: Efficient Reasoning Through Dense Representationscited by 192
- 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoningcited by 96
- 2025Efficient Reasoning with Hidden Thinkingcited by 72
- 2025Beyond RAG: Task-Aware KV Cache Compression for Comprehensive Knowledge Reasoningcited by 4
- 2025Beyond RAG: Task-Aware KV Cache Compression for Comprehensive Knowledge Reasoning6 Mar 2025
- 2025Efficient Reasoning with Hidden Thinking31 Jan 2025
- 2024Compressed Chain of Thought: Efficient Reasoning Through Dense Representations17 Dec 2024
- 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct 2024
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2024Attention Entropy is a Key Factor: An Analysis of Parallel Context Encoding with Full-attention-based Pre-trained Language Modelscited by 26
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 22
- 2025Learning to Compress: Unlocking the Potential of Large Language Models for Text Representationcited by 3
- 2025Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"cited by 2
- 2025Efficient Large Language Models with Zero-Shot Adjustable Accelerationcited by 0
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Codingcited by 0
- 2026Where Should a Document Live: Context, Representations, or Parameters?cited by 0
- 2026Where Should a Document Live: Context, Representations, or Parameters?15 Sep 2026
- 2026TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Coding6 Jun 2026
- 2025Learning to Compress: Unlocking the Potential of Large Language Models for Text Representation21 Nov 2025
- 2025Efficient Large Language Models with Zero-Shot Adjustable Acceleration1 Sep 2025
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillation11 Mar 2025
- 2025Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"15 Feb 2025
- 2024Attention Entropy is a Key Factor: An Analysis of Parallel Context Encoding with Full-attention-based Pre-trained Language Models21 Dec 2024
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass8 Nov 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2023Efficient Large Language Models: A Survey6 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2026Diffuse to Compress: Leveraging Diffusion LMs for Lossless Compression
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention
- 2023In-context Autoencoder for Context Compression in a Large Language Model
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
- 2025DaMoC: Efficiently Selecting the Optimal Large Language Model for Fine-tuning Domain Tasks Based on Data and Model Compression
- 2026Density-aware Soft Context Compression with Semi-Dynamic Compression Ratio
- 2025FLRC: Fine-grained Low-Rank Compressor for Efficient LLM Inference