Selection-p: Self-Supervised Task-Agnostic Prompt Compression for Faithfulness and Transferability
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated impressive capabilities in a wide range of natural language processing tasks when leveraging in-context learning. To mitigate the additional computational and financial costs associated with in-context learning, several prompt compression methods have been proposed to compress the in-context learning prompts. Despite their success, these methods face challenges with transferability due to model-specific compression, or rely on external training data, such as GPT-4. In this paper, we investigate the ability of LLMs to develop a unified compression method that discretizes uninformative tokens, utilizing a self-supervised pre-training technique. By introducing a small number of parameters during the continual pre-training, the proposed Selection-p produces a probability for each input token, indicating whether to preserve or discard it. Experiments show Selection-p achieves state-of-the-art performance across numerous classification tasks, achieving compression rates of up to 10 times while experiencing only a marginal 0.8% decrease in performance. Moreover, it exhibits superior transferability to different models compared to prior work. Additionally, we further analyze how Selection-p helps maintain performance on in-context learning with long contexts.
Key facts. Cited by 9 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 16 of its 26 references that are in the map. First posted on arXiv 15 Oct 2024.
Builds on
16 of 26 references.
Closest ancestors · 2
Same direction, newest first
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression19 Mar
- 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models6 Oct
Other references · 14
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2022Token Merging: Your ViT But Fastercited by 995
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 419
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
2 more
Built on by
Citing papers per year: 2025: 3; 2026: 6.
9 papers.
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retentioncited by 7
- 2025ProCut: LLM Prompt Compression via Attribution Estimationcited by 5
- 2025CompLLM: Compression for Long Context Q&Acited by 5
- 2026Learning What Not to Forget: Long-Horizon Agent Memory from a Few Kilobytes of Learningcited by 4
- 2026Many-Shot CoT-ICL: Making In-Context Learning Truly Learncited by 3
- 2026A New Role for Relevance: Guiding Corpus Interaction in Agentic Searchcited by 3
- 2026Every Time I Hire a Linguist, Inference Costs Go Down: On Linguistic Rules as Effective Prompt Compressorscited by 0
- 2026InsightEmb: Learning Action-Intent Embeddings for Agentic Insight Retrievalcited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAGcited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG4 Sep 2026
- 2026InsightEmb: Learning Action-Intent Embeddings for Agentic Insight Retrieval5 Aug 2026
- 2026Every Time I Hire a Linguist, Inference Costs Go Down: On Linguistic Rules as Effective Prompt Compressors28 Jul 2026
- 2026A New Role for Relevance: Guiding Corpus Interaction in Agentic Search27 Jul 2026
- 2026Learning What Not to Forget: Long-Horizon Agent Memory from a Few Kilobytes of Learning18 Jun 2026
- 2026Many-Shot CoT-ICL: Making In-Context Learning Truly Learn13 May 2026
- 2025CompLLM: Compression for Long Context Q&A23 Sep 2025
- 2025ProCut: LLM Prompt Compression via Attribution Estimation4 Aug 2025
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention21 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
- 2026Lexical Prompt Compression for Large Language Models: A Training-Free, Deterministic Pipeline with Empirical Pareto Analysis Across Eleven Task Categories
- 2025Task-agnostic Prompt Compression with Context-aware Sentence Embedding and Reward-guided Task Descriptor
- 2024Prompt Compression for Large Language Models: A Survey
- 2025Cmprsr: Abstractive Token-Level Question-Agnostic Prompt Compressor
- 2025Understanding and Improving Information Preservation in Prompt Compression for LLMs
- 2026PC-SubMax: Efficient Prompt Compression via Regularized Submodular Maximization
- 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference