Better Prompt Compression Without Multi-Layer Perceptrons
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Prompt compression is a promising approach to speeding up language model inference without altering the generative model. Prior works compress prompts into smaller sequences of learned tokens using an encoder that is trained as a LowRank Adaptation (LoRA) of the inference language model. However, we show that the encoder does not need to keep the original language model's architecture to achieve useful compression. We introduce the Attention-Only Compressor (AOC), which learns a prompt compression encoder after removing the multilayer perceptron (MLP) layers in the Transformer blocks of a language model, resulting in an encoder with roughly 67% less parameters compared to the original model. Intriguingly we find that, across a range of compression ratios up to 480x, AOC can better regenerate prompts and outperform a baseline compression encoder that is a LoRA of the inference language model without removing MLP layers. These results demonstrate that the architecture of prompt compression encoders does not need to be identical to that of the original decoder language model, paving the way for further research into architectures and approaches for prompt compression.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Prompt and context compression, one of 12 directions in Efficient LLM inference and serving. Builds on 15 of its 23 references that are in the map. First posted on arXiv 12 Jan 2025.
Builds on
15 of 23 references.
Closest ancestors · 4
Same direction, newest first
- 2024500xCompressor: Generalized Prompt Compression for Large Language Models6 Aug
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression10 Oct
- 2023In-context Autoencoder for Context Compression in a Large Language Model13 Jul
- 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models6 Oct
Other references · 11
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2016Layer Normalizationcited by 5,579
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
- 2024Many-Shot In-Context Learningcited by 203
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 185
- 2021Pretrained Transformers as Universal Computation Enginescited by 162
- 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026AquiLLM: An Architecture for Supporting Tacit Knowledge Capture in Research Groupscited by 1
- 2025Efficient Modular Learning through Naive LoRA Summation: Leveraging Orthogonality in High-Dimensional Modelscited by 0
- 2026Mapping Text to Multiplex Graph: Prompt Compression as L'evy Walk-Guided Graph Pruningcited by 0
- 2026Learning from Research: Toward Lifelong Agent Harness Evolutioncited by 0
- 2026Learning from Research: Toward Lifelong Agent Harness Evolution30 Sep 2026
- 2026AquiLLM: An Architecture for Supporting Tacit Knowledge Capture in Research Groups9 Aug 2026
- 2026Mapping Text to Multiplex Graph: Prompt Compression as L'evy Walk-Guided Graph Pruning4 May 2026
- 2025Efficient Modular Learning through Naive LoRA Summation: Leveraging Orthogonality in High-Dimensional Models16 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2024Prompt Compression for Large Language Models: A Survey
- 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference
- 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
- 2026End-to-End Context Compression at Scale
- 2026Lexical Prompt Compression for Large Language Models: A Training-Free, Deterministic Pipeline with Empirical Pareto Analysis Across Eleven Task Categories
- 2026Prompt Compression in the Wild: Measuring Latency, Rate Adherence, and Quality for Faster LLM Inference
- 2024Fundamental Limits of Prompt Compression: A Rate-Distortion Framework for Black-Box Language Models
- 2026Prompt Compression via Activation Aggregation