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

推理作为压缩:通过条件信息瓶颈统一预算强制

Reasoning as Compression: Unifying Budget Forcing via the Conditional Information Bottleneck

Qualcomm AI Research(高通人工智能研究)

Fabio Valerio Massoli, Andrey Kuzmin, Arash Behboodi

AI总结:

本文提出将高效推理视为信息瓶颈原则下的损失性压缩问题,通过引入条件信息瓶颈(CIB)原则,解决了传统预算强制方法在处理transformers时的理论缺陷,并通过语义先验实现了更高效的推理压缩,提升了准确率并减少了计算成本。

摘要:

\ac{CoT}提示方法提高了LLM在复杂任务上的准确性,但通常会增加token使用和推理成本。现有的"预算强制"方法通过使用启发式长度惩罚进行微调来减少成本,但会抑制必要的推理和冗余填充。我们重新将高效推理视为在\ac{IB}原则下的损失性压缩问题,并识别出在应用朴素\ac{IB}到transformers时的关键理论缺口:注意力违反了提示、推理轨迹和响应之间的马尔可夫性质。为了解决这个问题,我们模型\ac{CoT}生成在\ac{CIB}原则下,其中推理轨迹$Z$作为计算桥梁,只包含响应$Y$中无法直接从提示$X$获得的信息。这产生了一个通用的强化学习目标:在推理轨迹的先验分布下最大化任务奖励,同时压缩完成内容,将常见启发法(如长度惩罚)作为特殊情况(如均匀先验)包含在内。与传统的token计数方法不同,我们引入了一个语义先验,通过语言模型测量token成本的惊奇度。关键的是,该先验仅在token级log-概率上进行查询,对训练循环的开销可忽略不计。实证表明,我们的\ac{CIB}目标在保留流畅性和逻辑性的同时修剪推理冗余,提高准确率在中等压缩水平,并在最小的准确率下降下实现激进压缩。这些收益在不同模型家族和任务领域中得到验证,确认\ac{CIB}作为一种领域无关的CoT压缩框架。

英文摘要:

Chain-of-Thought (CoT) prompting improves LLM accuracy on complex tasks but often increases token usage and inference cost. Existing ``Budget Forcing'' methods reduce cost via fine-tuning with heuristic length penalties, suppressing both essential reasoning and redundant filler. We recast efficient reasoning as a lossy compression problem under the Information Bottleneck (IB) principle, and identify a key theoretical gap when applying naive IB to transformers: attention violates the Markov property between prompt, reasoning trace, and response. To resolve this issue, we model CoT generation under the Conditional Information Bottleneck (CIB) principle, where the reasoning trace $Z$ acts as a computational bridge that contains only the information about the response $Y$ that is not directly accessible from the prompt $X$. This yields a general Reinforcement Learning objective: maximize task reward while compressing completions under a prior over reasoning traces, subsuming common heuristics (e.g., length penalties) as special cases (e.g., uniform priors). In contrast to naive token-counting approaches, we introduce a semantic prior that measures token cost by surprisal under a language model. Crucially, the prior is queried only for token-level log-probabilities, adding negligible overhead to the training loop. Empirically, our CIB objective prunes reasoning redundancy while preserving fluency and logic, improving accuracy at moderate compression and enabling aggressive compression with minimal accuracy drop. These gains generalize across model families and task domains, confirming CIB as a domain-agnostic CoT compression framework.

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

↑