arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.23527cs.CL
收藏

压缩方法至关重要:在LLM提示压缩中的基准依赖性输出动态

Compression Method Matters: Benchmark-Dependent Output Dynamics in LLM Prompt Compression

Plexor Labs(Plexor实验室)

Warren Johnson

AI总结:

研究探讨了提示压缩对输出长度和推理成本的影响,提出指令生存概率指标,并揭示了不同基准下的压缩效果差异,强调提示结构对压缩安全性和效率的重要性。

摘要:

提示压缩通常通过输入令牌减少来评估,但其实际部署影响取决于压缩如何改变输出长度和总推理成本。本文通过控制复制和扩展研究,分析了在高强度压缩下的基准依赖性输出动态,覆盖三个基准和多个提供者共5400次API调用。为解释先前观察中的矛盾,我们正式化了指令生存概率(Psi)这一结构性指标,用于捕捉截断后任务关键提示段是否保留。结果显示了强烈的基准效应:在r=0.3时,DeepSeek在MBPP上表现出严重的输出膨胀(56倍,Psi约0.15),而在HumanEval上则显著较低(5倍,Psi约0.72),而GPT-4o-mini在不同基准上表现相对稳定。这解释了先前报告的极端膨胀与较低复制效应之间的明显差异,通过识别提示结构而非仅提供者身份作为主要调节因素。我们引入了压缩鲁棒性指数(CRI)用于跨基准评估,并展示了单基准评估可能产生关于压缩安全性和效率的误导性结论。为 contextualize 能源声明,我们纳入了从租用的RunPod GPU中获取的配套直接NVML测量,并显示令牌节省可能高估焦耳节省。这些发现推动了基准多样化的测试和结构意识的压缩策略,以实现可靠且能源意识的LLM部署。

英文摘要:

Prompt compression is often evaluated by input-token reduction, but its real deployment impact depends on how compression changes output length and total inference cost. We present a controlled replication and extension study of benchmark-dependent output dynamics under aggressive compression, covering 5,400 API calls across three benchmarks and multiple providers. To explain conflicting prior observations, we formalize instruction survival probability (Psi), a structural metric that captures whether task-critical prompt segments remain after truncation. Results show a strong benchmark effect: under r=0.3, DeepSeek exhibits severe output expansion on MBPP (56x, Psi approx 0.15) but substantially lower expansion on HumanEval (5x, Psi approx 0.72), while GPT-4o-mini is comparatively stable across benchmarks. This reconciles the apparent discrepancy between previously reported extreme explosion and lower replication effects by identifying prompt structure, not provider identity alone, as the primary moderator. We introduce the Compression Robustness Index (CRI) for cross-benchmark evaluation and show that single-benchmark assessments can produce misleading conclusions about compression safety and efficiency. To contextualize energy claims, we incorporate companion direct NVML measurements from rented RunPod GPUs and show that token savings can overstate joule savings. These findings motivate benchmark-diverse testing and structure-aware compression policies for reliable, energy-conscious LLM deployment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑