mlsanityData to 7 Oct 2026

CompactPrompt: A Unified Pipeline for Prompt Data Compression in LLM Workflows

arXiv 2510.18043 ↗First posted 20 Oct 2025cs.AIcited by 2

On the map: LLM reasoning → Test-time compute and efficient thinking

also in 1 more
Abstract (arXiv)

Large Language Models (LLMs) deliver powerful reasoning and generation capabilities but incur substantial run-time costs when operating in agentic workflows that chain together lengthy prompts and process rich data streams. We introduce CompactPrompt, an end-to-end pipeline that merges hard prompt compression with lightweight file-level data compression. CompactPrompt first prunes low-information tokens from prompts using self-information scoring and dependency-based phrase grouping. In parallel, it applies n-gram abbreviation to recurrent textual patterns in attached documents and uniform quantization to numerical columns, yielding compact yet semantically faithful representations. Integrated into standard LLM agents, CompactPrompt reduces total token usage and inference cost by up to 60% on benchmark dataset like TAT-QA and FinQA, while preserving output quality (Results in less than 5% accuracy drop for Claude-3.5-Sonnet, and GPT-4.1-Mini) CompactPrompt helps visualize real-time compression decisions and quantify cost-performance trade-offs, laying the groundwork for leaner generative AI pipelines.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 8 of its 19 references that are in the map. First posted on arXiv 20 Oct 2025.

Builds on

8 of 19 references.

References · 8

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  3. 2021TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Financecited by 402
  4. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
  5. 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
  6. 2024Learning to Compress Prompt in Natural Language Formatscited by 54
  7. 2025An Empirical Study on Prompt Compression for Large Language Modelscited by 8
  8. 2025SCOPE: A Generative Approach for LLM Prompt Compressioncited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression
  2. 2026AgentCompress: Task-Aware Compression for Affordable Large Language Model Agents
  3. 2026AGORA: Adapter-Grounded Observation-Action Retention for Inference-Free Prompt Compression in LLM Agents
  4. 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression
  5. 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
  6. 2026Prompt Compression in the Wild: Measuring Latency, Rate Adherence, and Quality for Faster LLM Inference
  7. 2024Fundamental Limits of Prompt Compression: A Rate-Distortion Framework for Black-Box Language Models
  8. 2026Lost in Compression: A Controlled Cross-Lingual Audit of Extractive Prompt Compressors