按年被提到
20252026 · 9 次2026
大模型与语言模型›长上下文与测试时计算·arXiv:2512.24601 · cs.AI

Recursive Language Models

递归语言模型(Recursive Language Models)
Alex L. Zhang, Tim Kraska, Omar Khattab · 2025

让 LLM 以代码递归调用自身,处理超长提示

开始阅读 ↗PDFalphaXiv 讨论
被推荐 · 6 人首次 2026-01-03 · 最近 2026-07-30
6不同的人
6活跃月份
9讨论串
28被引(OpenAlex)

提出递归语言模型(RLM)这一推理范式:把长提示当作外部环境,让 LLM 通过编程方式检查、拆分并递归调用自身来处理其中的片段。作者报告 RLM 能处理超出上下文窗口约两个数量级的输入,在四类长上下文任务上明显优于直接调用的前沿模型和常见长上下文与编程脚手架,成本相当;并在小规模上后训练出 RLM-Qwen3-8B。

HN 为什么提它

评论者把它当作处理超长上下文的一种更有说服力的思路:让模型像子 agent 一样在可检索的环境里递归拆解,并有人据此做原型。

方法难度 3 / 5约 45 分钟有时效性
读之前最好知道
1大语言模型与上下文窗口
2推理时扩展(inference-time scaling)
3LLM agent 与工具调用
4长上下文评测基准

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
推荐bob1029 · 2026-01

“I think the recently posted Recursive Language Models paper approaches this in a far more compelling way.”

推荐它,认为它处理这个问题的方式远更有说服力
Memchunk – SIMD-accelerated text chunking at 1 TB/s原评论 ↗
推荐bob1029 · 2026-03

“I think the Recursive Language Model paper has a very good take on how this might go.”

推荐它,认为它对未来怎么走有很好的见解
1M context is now generally available for Opus 4.6 and Sonnet 4.6原评论 ↗
推荐andai · 2026-06

“Very interesting. Haven't heard of RLMs before.”

表示很有趣,之前没听说过 RLM
推荐andai · 2026-07

“The most interesting thing I saw here is the Recursive Language Models paper.”

称这是这里看到的最有意思的东西
Advancing the price-performance frontier with GPT‑5.6原评论 ↗
引用bob1029 · 2026-01

“Building some prototypes around the Recursive Language Model paper.”

围绕这篇论文做原型
Ask HN: What Are You Working On? (January 2026)原评论 ↗
引用jared_stewart · 2026-02

“The Recursive Language Models paper from Zhang, Kraska, and Khattab at MIT CSAIL introduced a cleaner framing.”

介绍它提出了更清晰的框架
Show HN: CodeRLM – Tree-sitter-backed code indexing for LLM agents原评论 ↗
看全部 8 条 →
引用jameslk · 2026-02

“That method is suited to break down a huge amount of context into smaller subagents recursively, each working on a symbolic subset of the prompt.”

指出该方法可递归地把巨量上下文拆给子智能体处理
The path to ubiquitous AI (17k tokens/sec)原评论 ↗
引用ihrimech · 2026-04

“research paper: Recursive Language Models”

贴出这篇研究论文
RLM: LLMs to process arbitrarily long prompts with inference-time scaling (2025)原评论 ↗
被提交为 story · 1 次