ICPC: In-context Prompt Compression with Faster Inference
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Despite the recent success of Large Language Models (LLMs), it remains challenging to feed LLMs with long prompts due to the fixed size of LLM inputs. As a remedy, prompt compression becomes a promising solution by removing redundant tokens in the prompt. However, using LLM in the existing works requires additional computation resources and leads to memory overheads. To address it, we propose ICPC (In-context Prompt Compression), a novel and scalable prompt compression method that adaptively reduces the prompt length. The key idea of ICPC is to calculate the probability of each word appearing in the prompt using encoders and calculate information carried by each word through the information function, which effectively reduces the information loss during prompt compression and increases the speed of compression. Empirically, we demonstrate that ICPC can effectively compress long texts of different categories and thus achieve better performance and speed on different types of NLP tasks.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Prompt and context compression, one of 12 directions in Efficient LLM inference and serving. First posted on arXiv 3 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Prompt Compression for Large Language Models: A Survey
- 2025Understanding and Improving Information Preservation in Prompt Compression for LLMs
- 2026Lexical Prompt Compression for Large Language Models: A Training-Free, Deterministic Pipeline with Empirical Pareto Analysis Across Eleven Task Categories
- 2025EFPC: Towards Efficient and Flexible Prompt Compression
- 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
- 2025DSPC: Dual-Stage Progressive Compression Framework for Efficient Long-Context Reasoning
- 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference
- 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference