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

生产任务编排中的提示压缩:一项预注册的随机对照试验

Prompt Compression in Production Task Orchestration: A Pre-Registered Randomized Trial

Plexor Labs(Plexor实验室);Project Autobots

Warren Johnson, Charles Lee

AI总结:

研究评估了提示压缩对生产多智能体任务编排的影响,发现适度压缩可降低成本,但过度压缩反而增加成本,强调输出token应作为首要考量。

摘要:

提示压缩的经济性不仅取决于减少输入token,还取决于压缩对输出长度的影响,后者通常价格更高。我们通过预注册的六臂随机对照试验评估了提示压缩在生产多智能体任务编排中的效果,分析了358次成功的Claude Sonnet 4.5运行(每组59-61次),来自1,199个真实编排指令的随机语料库。我们比较了未压缩的对照组与三种均匀保留率(r=0.8, 0.5, 0.2)和两种结构感知策略(熵适应和近期加权),测量了总推理成本(输入+输出)和基于嵌入的响应相似性。适度压缩(r=0.5)将平均总成本降低了27.9%,而激进压缩(r=0.2)尽管大幅减少输入,却使平均成本增加了1.8%,这与小幅度的输出扩展(1.03倍于对照)和重尾不确定性一致。近期加权压缩实现了23.5%的节省,与适度压缩一起占据了经验成本-相似性帕累托前沿,而激进压缩在成本和相似性上均被支配。这些结果表明,'压缩更多'不是可靠的生产启发式方法,设计压缩策略时必须将输出token视为首要结果。

英文摘要:

The economics of prompt compression depend not only on reducing input tokens but on how compression changes output length, which is typically priced several times higher. We evaluate this in a pre-registered six-arm randomized controlled trial of prompt compression on production multi-agent task-orchestration, analyzing 358 successful Claude Sonnet 4.5 runs (59-61 per arm) drawn from a randomized corpus of 1,199 real orchestration instructions. We compare an uncompressed control with three uniform retention rates (r=0.8, 0.5, 0.2) and two structure-aware strategies (entropy-adaptive and recency-weighted), measuring total inference cost (input+output) and embedding-based response similarity. Moderate compression (r=0.5) reduced mean total cost by 27.9%, while aggressive compression (r=0.2) increased mean cost by 1.8% despite substantial input reduction, consistent with small mean output expansion (1.03x vs. control) and heavy-tailed uncertainty. Recency-weighted compression achieved 23.5% savings and, together with moderate compression, occupied the empirical cost-similarity Pareto frontier, whereas aggressive compression was dominated on both cost and similarity. These results show that "compress more" is not a reliable production heuristic and that output tokens must be treated as a first-class outcome when designing compression policies.

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

↑