arXiv:2512.21720cs.LGcs.AI2025-12被引 5

用信息论方法评估语言模型压缩效率,提升本地化智能系统性能。

An Information Theoretic Perspective on Agentic System Design

  • 将压缩模型视为噪声信道,通过互信息量化压缩质量。
  • 大模型压缩器更高效:7B版比1.5B版多传5.5倍信息,且更简洁。
  • 本地小模型+云端大模型组合可降本90%仍保持高精度,适合边缘部署。

代理型语言模型系统广泛应用于「Deep Research」和「Claude Code」等场景,通过小型「压缩器」模型与大型「预测器」模型协同工作,突破上下文长度限制。尽管结构多样,其核心模式是小模型将原始上下文压缩为紧凑文本,再由大模型处理。然而,压缩器与预测器的设计多依赖经验,缺乏统一评估标准。本文提出从信息论视角看待该问题,将压缩器视为噪声信道,引入任务无关的互信息估计器来衡量压缩质量。实验覆盖五个数据集和三种模型族,结果表明:互信息能强预测下游表现;更大的压缩器不仅更准确(7B Qwen-2.5比1.5B准确率高1.6倍),且更高效(减少4.6倍令牌数,每令牌传递5.5倍互信息)。在不同数据集上,扩大压缩器比扩大预测器更有效,支持使用大本地压缩器搭配小云预测器。应用于「Deep Research」系统时,仅需3B本地压缩器即可实现前沿模型99%精度,同时降低至26%的API成本。

原文摘要 · Abstract (English)

Agentic language model (LM) systems power modern applications like "Deep Research" and "Claude Code," and leverage multi-LM architectures to overcome context limitations. Beneath their apparent diversity lies a recurring pattern: smaller "compressor" LMs (that can even run locally) distill raw context into compact text that is then consumed by larger "predictor" LMs. Despite their popularity, the design of compressor-predictor systems remains largely ad hoc, with little guidance on how compressor and predictor choices shape downstream performance. In practice, attributing gains to compression versus prediction requires costly, task-specific pairwise sweeps. We argue that these agentic system design questions are, at root, information-theoretic. Viewing the compressor LM as a noisy channel, we introduce a simple estimator of mutual information between the context and its compression to quantify compression quality in a task-independent way. We show that mutual information strongly predicts downstream performance, independent of any specific task. Through an information-theoretic framework, we perform a comprehensive empirical analysis across five datasets and three model families. Results reveal that larger compressors not only are more accurate, but also more token-efficient, conveying more bits of information per token. A 7B Qwen-2.5 compressor, for instance, is $1.6\times$ more accurate, $4.6\times$ more concise, and conveys $5.5\times$ more bits of mutual information per token than its 1.5B sibling. Across datasets, scaling compressors is substantially more effective than scaling predictors, enabling larger on-device compressors to pair with smaller cloud predictors. Applied to a Deep Research system, these principles enable local compressors as small as 3B parameters to recover $99\%$ of frontier-LM accuracy at $26\%$ of API costs.

信息论模型压缩代理系统本地推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。