cs.CLMar 20, 2026

PoC: Performance-oriented Context Compression for Large Language Models via Performance Prediction

Authors: Runsong Zhao, Shilei Liu, Jiwei Tang, Langming Liu, Haibin Chen, Weidong Zhang, Yujin Yuan, Tong Xiao, 

Organizations: Northeastern University, China · Future Living Lab of Alibaba · Tsinghua University

Abstract

While context compression can mitigate the growing inference costs of Large Language Models (LLMs) by shortening contexts, existing methods that specify a target compression ratio or length suffer from unpredictable performance degradation, hindering their reliable deployment. We introduce a paradigm shift to Performance-oriented Context Compression (PoC), where developers specify an acceptable performance floor instead of a compression ratio. PoC employs a lightweight performance predictor to automatically find the most aggressive compression ratio that satisfies this constraint before steering an off-the-shelf compressor. We design and compare two predictor variants: a simple context-agnostic predictor and a more sophisticated context-aware one that considers the input's inherent compressibility. On both question-answering and summarization benchmarks, the context-aware predictor consistently achieves lower performance prediction error than the context-agnostic predictor, while the resulting context-aware PoC attains a superior overall performance. Our work paves the way for a more reliable, efficient, and performance-aware deployment of context compression for LLMs.

Figures & tables

Explore similar work

CardsList
  1. Thinking as Compression: Your Reasoning Model is Secretly a Context Compressor

    May 27, 2026Guoxin Ma, Yibing Liu, Chengzhengxu Li +7LLM CompressionLong-Context Inference

  2. BEAVER: A Training-Free Hierarchical Prompt Compression Method via Structure-Aware Page Selection

    Mar 20, 2026Zhengpei Hu, Kai Li, Dapeng Fu +4LLM Context CompressionPrompt Compression

  3. The Efficiency Frontier: A Unified Framework for Cost-Performance Optimization in LLM Context Management

    May 21, 2026Binqi Shen, Lier Jin, Hanyu Cai +2LLM EvaluationCost-Aware Inference