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

大语言模型推理中的压缩悖论:提示压缩的提供商依赖性能耗效应

The Compression Paradox in LLM Inference: Provider-Dependent Energy Effects of Prompt Compression

Plexor Labs(Plexor实验室)

Warren Johnson

AI总结:

研究通过28421次API试验,测试提示压缩对不同提供商、基准和压缩比下的推理能耗效率影响,发现压缩导致质量显著下降且能耗依赖于提供商。

摘要:

大语言模型的快速普及引发了环境悖论:本应解决气候挑战的技术本身已成为全球碳排放的重要贡献者。我们测试了提示压缩在28421次成功API试验(计划28428次)中,针对三个提供商(OpenAI GPT-4o-mini、Anthropic Claude-3.5-Sonnet和DeepSeek-Chat)、五个基准(HumanEval、MBPP、GSM8K、MATH、MMLU)和四个压缩比(r在{1.0, 0.7, 0.5, 0.3})的推理能耗效率。能耗通过基于标记的代理估算,校准于本地直接测量,质量通过基准通过率跟踪。压缩导致质量显著下降(基准通过率基础线26.0% vs. r=0.7时1.5%)且能耗强烈依赖于提供商。DeepSeek在压缩下表现出输出扩展(r=0.3时21到798个标记),对应能耗增加高达+2140%,而GPT-4o-mini表现出混合效应,包括r=0.5时的减少。这些结果表明,输入标记减少本身在生产推理中并非可靠的能耗优化策略。对于评估的设置,模型选择和输出长度控制比提示压缩提供了更一致的能耗-质量权衡。

英文摘要:

The rapid proliferation of Large Language Models has created an environmental paradox: the very technology that could help solve climate challenges is itself becoming a significant contributor to global carbon emissions. We test whether prompt compression improves inference energy efficiency in 28,421 successful API trials (28,428 planned) across three providers (OpenAI GPT-4o-mini, Anthropic Claude-3.5-Sonnet, and DeepSeek-Chat), five benchmarks (HumanEval, MBPP, GSM8K, MATH, MMLU), and four compression ratios (r in {1.0, 0.7, 0.5, 0.3}). Energy is estimated with a token-based proxy calibrated against local direct measurements, and quality is tracked with benchmark pass rates. Compression produced substantial quality loss (overall pass rate 26.0% at baseline vs. 1.5% at r=0.7) and strongly provider-dependent energy behavior. DeepSeek exhibited output expansion under compression (21 to 798 tokens at r=0.3), corresponding to energy increases up to +2,140%, while GPT-4o-mini showed mixed effects including a reduction at r=0.5. These results indicate that input-token reduction alone is not a reliable energy optimization strategy in production inference. For the evaluated settings, model selection and output-length control provided more consistent energy-quality tradeoffs than prompt compression.

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

↑