500xCompressor: Generalized Prompt Compression for Large Language Models
Zongqian Li, Yixuan Su, Nigel Collier
Abstract
Prompt compression is crucial for enhancing inference speed, reducing costs, and improving user experience. However, current methods face challenges such as low compression ratios and potential data leakage during evaluation. To address these issues, we propose 500xCompressor, a method that compresses extensive natural language contexts into a minimum of one single special token. The 500xCompressor introduces approximately 0.3% additional parameters and achieves compression ratios ranging from 6x to 480x. It is designed to compress any text, answer various types of questions, and could be utilized by the original large language model (LLM) without requiring fine-tuning. Initially, 500xCompressor was pretrained on the Arxiv Corpus, followed by fine-tuning on the ArxivQA dataset, and subsequently evaluated on strictly unseen and classical question answering (QA) datasets. The results demonstrate that the LLM retained 62.26-72.89% of its capabilities compared to using non-compressed prompts. This study also shows that not all the compressed tokens are equally utilized and that K V values have significant advantages over embeddings in preserving information at high compression ratios. The highly compressive nature of natural language prompts, even for fine-grained complex information, suggests promising potential for future applications and further research into developing a new LLM language.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
14 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors cites In-context Autoencoder for Context Compression in a Large Language Model
- Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors cites GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignment
- Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors cites COMI: Coarse-to-fine Context Compression via Marginal Information Gain
- COMI: Coarse-to-fine Context Compression via Marginal Information Gain cites Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors
- Prompt-MII: Meta-Learning Instruction Induction for LLMs cites The Power of Scale for Parameter-Efficient Prompt Tuning
- GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignment cites xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token
- GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignment cites In-context Autoencoder for Context Compression in a Large Language Model
- Tag-LLM: Repurposing General-Purpose LLMs for Specialized Domains cites The Power of Scale for Parameter-Efficient Prompt Tuning
- COMI: Coarse-to-fine Context Compression via Marginal Information Gain cites xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token
- COMI: Coarse-to-fine Context Compression via Marginal Information Gain cites In-context Autoencoder for Context Compression in a Large Language Model
- COMI: Coarse-to-fine Context Compression via Marginal Information Gain cites GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignment
Cited by top-tier papers14
- xRAG: Extreme Context Compression for Retrieval-augmented Generation with One TokenXin Cheng, Xun Wang, Xingxing Zhang, Tao Ge et al.NeurIPS 2024 · 156 citations
- GMSA: Enhancing Context Compression via Group Merging and Layer Semantic AlignmentJiwei Tang, Zhicheng Zhang, Shunlong Wu, Jingheng Ye et al.ACL 2026 · 24 citations
- COMI: Coarse-to-fine Context Compression via Marginal Information GainJiwei Tang, Shilei Liu, Zhicheng Zhang, Yujin Yuan et al.ICLR 2026 · 17 citations
- Autoencoding-Free Context Compression for LLMs via Contextual Semantic AnchorsXin Liu, Runsong Zhao, Pengcheng Huang, Xinyu Liu et al.ICLR 2026 · 16 citations
- Prompt-MII: Meta-Learning Instruction Induction for LLMsEmily Xiao, Yixiao Zeng, Ada Chen, Chin-Jou Li et al.ICLR 2026 · 9 citations
Builds on9
- Function Vectors in Large Language ModelsEric Todd, Millicent L. Li, Arnab Sen Sharma, Aaron Mueller et al.ICLR 2024 · 229 citations
- In-context Autoencoder for Context Compression in a Large Language ModelTao Ge, Jing Hu, Lei Wang, Xun Wang et al.ICLR 2024 · 158 citations
- xRAG: Extreme Context Compression for Retrieval-augmented Generation with One TokenXin Cheng, Xun Wang, Xingxing Zhang, Tao Ge et al.NeurIPS 2024 · 156 citations
- The Power of Scale for Parameter-Efficient Prompt TuningBrian Lester, Rami Al-Rfou, Noah ConstantEMNLP 2021 · 94 citations
- Tag-LLM: Repurposing General-Purpose LLMs for Specialized DomainsJunhong Shen, Neil A. Tenenholtz, James Brian Hall, David Alvarez-Melis et al.ICML 2024 · 60 citations
Related papers
- Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM InferenceBarys Liskavets, Maxim Ushakov, Shuvendu Roy, Mark Klibanov et al.AAAI 2025 · 41 citations
- LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt CompressionZhuoshi Pan, Qianhui Wu, Huiqiang Jiang, Menglin Xia et al.ACL Findings 2024 · 58 citations
- Selection-p: Self-Supervised Task-Agnostic Prompt Compression for Faithfulness and TransferabilityTsz Ting Chung, Leyang Cui, Lemao Liu, Xinting Huang et al.EMNLP Findings 2024 · 1 citation
- Style-Compress: An LLM-Based Prompt Compression Framework Considering Task-Specific StylesXiao Pu, Tianxing He, Xiaojun WanEMNLP Findings 2024
- Leveraging Attention to Effectively Compress Prompts for Long-Context LLMsYunlong Zhao, Haoran Wu, Bo XuAAAI 2025 · 10 citations
