mlsanityData to 14 Oct 2026

Style-Compress: An LLM-Based Prompt Compression Framework Considering Task-Specific Styles

arXiv 2410.14042 ↗First posted 17 Oct 2024cs.CLcited by 9

On the map: Efficient LLM inference and serving → Prompt and context compression

Abstract (arXiv)

Prompt compression condenses contexts while maintaining their informativeness for different usage scenarios. It not only shortens the inference time and reduces computational costs during the usage of large language models, but also lowers expenses when using closed-source models. In a preliminary study, we discover that when instructing language models to compress prompts, different compression styles (e.g., extractive or abstractive) impact performance of compressed prompts on downstream tasks. Building on this insight, we propose Style-Compress, a lightweight framework that adapts a smaller language model to compress prompts for a larger model on a new task without additional training. Our approach iteratively generates and selects effective compressed prompts as task-specific demonstrations through style variation and in-context learning, enabling smaller models to act as efficient compressors with task-specific examples. Style-Compress outperforms two baseline compression models in four tasks: original prompt reconstruction, text summarization, multi-hop QA, and CoT reasoning. In addition, with only 10 samples and 100 queries for adaptation, prompts compressed by Style-Compress achieve performance on par with or better than original prompts at a compression ratio of 0.25 or 0.5.

Key facts. Cited by 9 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 13 of its 22 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

13 of 22 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Discrete Prompt Compression with Reinforcement Learning17 Aug
  2. 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models6 Oct

Other references · 11

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  4. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
  5. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
  6. 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 411
  7. 2023Adapting Language Models to Compress Contextscited by 356
  8. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 256
  9. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
  10. 2023Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learningcited by 41
  11. 2023Efficient Prompting via Dynamic In-Context Learningcited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 2.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
  2. 2024Fundamental Limits of Prompt Compression: A Rate-Distortion Framework for Black-Box Language Models
  3. 2025Understanding and Improving Information Preservation in Prompt Compression for LLMs
  4. 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression
  5. 2025Task-agnostic Prompt Compression with Context-aware Sentence Embedding and Reward-guided Task Descriptor
  6. 2024Prompt Compression for Large Language Models: A Survey
  7. 2026Prompt Compression via Activation Aggregation
  8. 2026Lexical Prompt Compression for Large Language Models: A Training-Free, Deterministic Pipeline with Empirical Pareto Analysis Across Eleven Task Categories