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

关于推理的推理:LLM中思维链令牌复杂度的BAPO界限

Reasoning about Reasoning: BAPO Bounds on Chain-of-Thought Token Complexity in LLMs

Microsoft Research, Redmond, WA(微软研究院,西雅图,华盛顿)

Kiran Tomlinson, Tobias Schnabel, Adith Swaminathan, Jennifer Neville

AI总结:

通过扩展BAPO模型,证明二元多数、三元组匹配和图可达性三个任务需要Ω(n)个思维链令牌,实验验证了线性缩放与理论下界一致。

摘要:

通过思维链(CoT)推理进行推理时扩展是当前最先进LLM性能的主要驱动力,但会带来显著的延迟和计算成本。我们解决了一个基本的理论问题:随着输入规模增长,需要多少推理令牌才能解决问题?通过扩展有界注意力前缀预言机(BAPO)模型——一种量化任务所需信息流的LLM抽象——我们证明了三个典型的BAPO困难任务所需的CoT令牌下界:二元多数、三元组匹配和图可达性。我们证明当输入规模为$n$时,每个任务需要$Ω(n)$个推理令牌。我们通过显式构造给出了匹配或接近匹配的上界。最后,我们在前沿推理模型上的实验显示,这些任务上的推理令牌数量近似线性缩放,且在推理预算受限时出现失败,这与我们的理论下界一致。总之,我们的结果识别了通过CoT进行推理时计算的基本瓶颈,并为分析最优推理长度提供了一种原则性工具。

英文摘要:

Inference-time scaling via chain-of-thought (CoT) reasoning is a major driver of state-of-the-art LLM performance, but it comes with substantial latency and compute costs. We address a fundamental theoretical question: how many reasoning tokens are required to solve a problem as input size grows? By extending the bounded attention prefix oracle (BAPO) model--an abstraction of LLMs that quantifies the information flow required to solve a task--we prove lower bounds on the CoT tokens required for three canonical BAPO-hard tasks: binary majority, triplet matching, and graph reachability. We show that each requires $Ω(n)$ reasoning tokens when the input size is $n$. We complement these results with matching or near-matching upper bounds via explicit constructions. Finally, our experiments with frontier reasoning models show approximately linear reasoning token scaling on these tasks and failures when constrained to smaller reasoning budgets, consistent with our theoretical lower bounds. Together, our results identify fundamental bottlenecks in inference-time compute through CoT and offer a principled tool for analyzing optimal reasoning length.

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

↑