2025-07-23 · 专家 · 机器学习 · 自然语言处理

Beyond Context Limits: Subconscious Threads for Long-Horizon Reasoning

这篇论文提出了Thread Inference Model (TIM),一种基于Transformer的LLM,以及TIMRUN,一个支持长距离推理的推理运行时,以解决大型语言模型在推理准确性和效率方面的瓶颈。

更新于 2025-08-04。作者:Hongyin Luo、Nathaniel Morgan、Tina Li、Derek Zhao、Ai Vy Ngo、Philip Schroeder、Lijie Yang、Assaf Ben-Kish、Jack O'Brien、James Glass。

中文摘要

为了打破大型语言模型(LLMs)在推理准确性和效率方面的上下文限制,我们提出了线程推理模型(TIM),这是一系列专门用于递归和分解问题解决的LLMs,以及TIMRUN,这是一个推理运行时,它使得超出上下文限制的长期结构化推理成为可能。共同而言,托管在TIMRUN上的TIM支持几乎无限的工怍内存和多跳工具调用,在单个语言模型推理中克服了输出限制、位置嵌入约束和GPU内存瓶颈。通过将自然语言建模为既按长度又按深度衡量的推理树,而不是线性序列,实现了性能的提升。推理树由基于我们2025年提出的概念的任务、递归子任务和结论组成。在生成过程中,我们维持一个工作内存,仅保留与最相关上下文标记的关键值状态,这些标记通过基于规则的子任务剪枝机制进行选择,从而在整个推理过程中实现位置嵌入和GPU内存页面的重用。实验结果表明,即使操纵高达90%的KV缓存,我们的系统仍能保持高推理吞吐量。它还能在数学任务上提供准确的推理,并处理需要长期推理和多跳工具使用的信

英文摘要

To break the context limits of large language models (LLMs) that bottleneck reasoning accuracy and efficiency, we propose the Thread Inference Model (TIM), a family of LLMs trained for recursive and decompositional problem solving, and TIMRUN, an inference runtime enabling long-horizon structured reasoning beyond context limits. Together, TIM hosted on TIMRUN supports virtually unlimited working memory and multi-hop tool calls within a single language model inference, overcoming output limits, positional-embedding constraints, and GPU-memory bottlenecks. Performance is achieved by modeling natural language as reasoning trees measured by both length and depth instead of linear sequences. The reasoning trees consist of tasks with thoughts, recursive subtasks, and conclusions based on the concept we proposed in Schroeder et al, 2025. During generation, we maintain a working memory that retains only the key-value states of the most relevant context tokens, selected by a rule-based subtask-pruning mechanism, enabling reuse of positional embeddings and GPU memory pages throughout reasoning. Experimental results show that our system sustains high inference throughput, even when manipulating up to 90% of the KV cache in GPU memory. It also delivers accurate reasoning on mathematical tasks and handles information retrieval challenges that require long-horizon reasoning and multi-hop tool use.

解读

一句话总结

这篇论文提出了Thread Inference Model (TIM),一种基于Transformer的LLM,以及TIMRUN,一个支持长距离推理的推理运行时,以解决大型语言模型在推理准确性和效率方面的瓶颈。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt