Long Context In-Context Compression by Getting to the Gist of Gisting
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Long context processing is critical for the adoption of LLMs, but existing methods often introduce architectural complexity that hinders their practical adoption. Gisting, an in-context compression method with no architectural modification to the decoder transformer, is a promising approach due to its simplicity and compatibility with existing frameworks. While effective for short instructions, we demonstrate that gisting struggles with longer contexts, with significant performance drops even at minimal compression rates. Surprisingly, a simple average pooling baseline consistently outperforms gisting. We analyze the limitations of gisting, including information flow interruptions, capacity limitations and the inability to restrict its attention to subsets of the context. Motivated by theoretical insights into the performance gap between gisting and average pooling, and supported by extensive experimentation, we propose GistPool, a new in-context compression method. GistPool preserves the simplicity of gisting, while significantly boosting its performance on long context compression tasks.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Placed in Prompt and context compression, one of 12 directions in Efficient LLM inference and serving. Builds on 34 of its 46 references that are in the map. First posted on arXiv 11 Apr 2025.
Builds on
34 of 46 references.
Closest ancestors · 6
Same direction, newest first
- 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compression23 Dec
- 2024Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMs4 Jun
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression19 Mar
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression10 Oct
- 2023Discrete Prompt Compression with Reinforcement Learning17 Aug
- 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models6 Oct
Other references · 28
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2017Deep Setscited by 1,421
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
16 more
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2023Learning to Compress Prompts with Gist Tokenscited by 390
- 2023Adapting Language Models to Compress Contextscited by 356
- 2016Towards a Neural Statisticiancited by 121
- 2024Transformers need glasses! Information over-squashing in language taskscited by 91
- 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 46
- 2023Compressed Context Memory For Online Language Model Interactioncited by 43
- 2023PRCA: Fitting Black-Box Large Language Models for Retrieval Question Answering via Pluggable Reward-Driven Contextual Adaptercited by 38
- 2024Prompting a Pretrained Transformer Can Be a Universal Approximatorcited by 25
- 2024LoCoCo: Dropping In Convolutions for Long Context Compressioncited by 19
- 2024Say More with Less: Understanding Prompt Learning Behaviors through Gist Compressioncited by 8
- 2024SelfCP: Compressing Over-Limit Prompt via the Frozen Large Language Model Itselfcited by 8
Built on by
Citing papers per year: 2025: 3; 2026: 10.
13 papers.
Sort:
By area:
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gaincited by 13
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimmingcited by 10
- 2026Simplified Sparse Attention via Gist Tokenscited by 6
- 2025CompLLM: Compression for Long Context Q&Acited by 5
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agentscited by 5
- 2026Compositional Steering of Large Language Models with Steering Tokenscited by 5
- 2025Towards Efficient Agents: A Co-Design of Inference Architecture and Systemcited by 4
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchorscited by 2
- 2026Cartridges++: KV Cache Compression without Off-Context Derailmentcited by 2
- 2026Safin-1: Safety from Within through Memory-Native State Evolutioncited by 1
- 2026ReSum: Synergizing LLM Reasoning and Summarization with Reinforcement Learningcited by 0
- 2026Repurposing Pre-trained LLMs as High Fidelity Continuous Text Autoencoderscited by 0
1 more
- 2026WIRE: Weight Space Implicit Representation Encoding of Frozen Video LLMs12 Oct 2026
- 2026Cartridges++: KV Cache Compression without Off-Context Derailment28 Sep 2026
- 2026Repurposing Pre-trained LLMs as High Fidelity Continuous Text Autoencoders23 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026ReSum: Synergizing LLM Reasoning and Summarization with Reinforcement Learning11 Jun 2026
- 2026Simplified Sparse Attention via Gist Tokens22 Apr 2026
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimming2 Feb 2026
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gain2 Feb 2026
- 2026Compositional Steering of Large Language Models with Steering Tokens8 Jan 2026
- 2025Towards Efficient Agents: A Co-Design of Inference Architecture and System20 Dec 2025
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agents22 Oct 2025
1 more
- 2025CompLLM: Compression for Long Context Q&A23 Sep 2025
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gaincited by 13
- 2026Simplified Sparse Attention via Gist Tokenscited by 6
- 2025CompLLM: Compression for Long Context Q&Acited by 5
- 2026Cartridges++: KV Cache Compression without Off-Context Derailmentcited by 2
- 2026WIRE: Weight Space Implicit Representation Encoding of Frozen Video LLMscited by 0
- 2026WIRE: Weight Space Implicit Representation Encoding of Frozen Video LLMs12 Oct 2026
- 2026Cartridges++: KV Cache Compression without Off-Context Derailment28 Sep 2026
- 2026Simplified Sparse Attention via Gist Tokens22 Apr 2026
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gain2 Feb 2026
- 2025CompLLM: Compression for Long Context Q&A23 Sep 2025
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimmingcited by 10
- 2026Compositional Steering of Large Language Models with Steering Tokenscited by 5
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchorscited by 2
- 2026Safin-1: Safety from Within through Memory-Native State Evolutioncited by 1
- 2026Repurposing Pre-trained LLMs as High Fidelity Continuous Text Autoencoderscited by 0
- 2026Repurposing Pre-trained LLMs as High Fidelity Continuous Text Autoencoders23 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimming2 Feb 2026
- 2026Compositional Steering of Large Language Models with Steering Tokens8 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Sentence-Anchored Gist Compression for Long-Context LLMs
- 2024Characterizing Prompt Compression Methods for Long Context Inference
- 2024Long Context Compression with Activation Beacon
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2026Jet-Long: Efficient Long-Context Extension with Dynamic Bifocal RoPE
- 2026Fix the Structural Bottleneck: Context Compression via Explicit Information Transmission