Pause Tokens, Analogical Prompts and Ring Attention: A Tour of the Transformer's Next Upgrades

Nathan Labenz and Trey Kollmer walk through five recent papers on pausing, backspacing, prompting, streaming and long-context training, and sketch how they might combine into a more capable model.

NLNathan Labenz主持 · Cognitive Revolution
频道
Cognitive Revolution
视频
1:03:10
阅读
6 分钟
原文
英语
在 YouTube 打开
往下滚动阅读时,视频会缩到右下角继续播放。字幕跟随阅读语言。
阅读语言共 1 种语言可读
这篇文章还没有简体中文译文,先显示英语原文。
摘要

30 秒看懂

Labenz and Kollmer review recent research showing that language models can get better by thinking silently with pause tokens, recalling their own analogous examples, keeping "attention sink" tokens while a window slides, and training on far longer contexts via ring attention. They speculate that a compressed, memory-like historical record is the missing piece that would tie these ideas together, and could push models toward superhuman learning.

  1. 1Pause tokens give a model extra hidden vectors to compute withbefore it answers; the paper shows gains on benchmarks, though with a trade-off in interpretability compared with readable chain of thought.
  2. 2Asking a model to recall relevant examples itself and then solve the problem can beat few-shot chain of thought, which Labenz likens to treating the model as its own retrieval database.
  3. 3StreamingLLM finds that models dump leftover attention onto the first tokens, so keeping those "attention sink" tokens while the window slides preserves coherence far past the context limit.
  4. 4Ring attention is exact attention, not an approximation, and is claimed to scale context linearly with device count: roughly 4,000 to 10 million tokens for about 150 times the training compute.
  5. 5Labenz sees a decent chance that 10 million-token training could let models learn things that experts don't know, since no human can hold 100 books in full attention.
  6. 6The next big unlock he predicts is a compressed "memory token" record of past context, kept in latent space and expandable on demand into the full transcript.
全文

按章节阅读完整文稿

01

Pause tokens let models think silently, at the cost of readable reasoning

The first paper is "Think Before You Speak: Training Language Models with Pause Tokens", from Google with a Carnegie Mellon collaboration. Its observation is that a model predicting token k+1 only manipulates k hidden vectors per layer, so the researchers ask what happens if it can manipulate k+10 vectors instead. Unlike chain of thought, the model is not asked to produce any reasoning; it simply gets extra space to process information.

Labenz says he saw this coming after the earlier Stanford "backspace" work, where the model learns to retreat and try again when it is not confident about the next token. He is ambivalent, though: he likes that chain of thought can be read and corrected, whereas pause tokens leave you with improved performance but no explanation, though he notes that chain of thought is not always faithful to the answer either.

The techniques are not mutually exclusive, he argues; you could train a model to pause first and then reason, which might make the reasoning more relevant and faithful. In the paper, pause tokens work best when added in both pre-training and fine-tuning, and at inference they are simply appended to the prompt. The model has not really learned when to pause, so Labenz suggests that GPT-4 could help annotate data showing where thinking breaks belong.

02

Asking a model to recall its own analogous examples beats hand-written few-shot prompts

The second paper, "Large Language Models as Analogical Reasoners", has the model first recall relevant examples to a problem and then solve the original question. The authors report that it beats few-shot chain of thought, and it is easier to do. Labenz found it surprising, since with few-shot prompting he feels he is doing his part by guiding the model, whereas here the model must generate the examples with no tool or database.

His explanation is what he calls heuristic recall: the model may load the problem into a high-level conceptual representation and then pick a more canonical, relevant example than a hard-coded few-shot set could provide. He thinks of it as self-RAG, with the model itself as the database, and says the gains appear across models up to frontier ones and are dramatic relative to zero-shot.

Labenz tells how he built a prompt coach for executive assistants using few-shot chain of thought and had considered a thousand-example RAG setup to improve it. This result suggests he might skip that complexity by letting the model recall examples, though he suspects meta-prompting may not yet work because models may not have seen enough prompt coaching in training. As a footnote, the paper uses markdown, and he mentions chatter that markdown suits OpenAI models while XML tags suit Claude.

03

Attention sinks let a sliding window run far beyond the context limit

StreamingLLM, from Meta, extends how much text a model can handle with a surprisingly small change that retrofits onto existing open-source models like Llama, Falcon and MPT. Its starting observation is that tokens attend heavily to their immediate predecessors, little to the middle, and a lot to the very first tokens. The authors hypothesize that because attention must sum to one, the first tokens act as an "attention sink" where spare attention is dumped.

A plain sliding window that forgets older tokens breaks down, but keeping the initial sink tokens and sliding the rest keeps the model coherent, with flat perplexity out to millions of tokens. Labenz stresses this does not enlarge the window's usable memory: the model still only sees its 8K or 32K look-back, so users might experience odd partial amnesia, remembering something and then forgetting it.

Why the sink works at the start but not as the window rolls is unclear. Labenz's best guess is that the model wants something that looks like a beginning, possibly a reflection of how it is pre-trained, and he would like to see a model trained on randomly chopped starting points. The code is on GitHub, so he expects people to apply it to their own models soon.

04

Ring attention could cut compute needs and make 10-million-token training feasible

Ring attention is the deepest technical paper, sitting at the intersection of hardware and algorithms; Labenz relays Stability's Emad Mostaque saying such researchers could knock about 10% off global training compute needs. He cautions that he is not an expert, but explains that it restructures the computation, passing different data between devices, to work around the memory bottleneck. It is not a shortcut or approximation; it is still full attention at the same precision.

He quotes claims that context length scales linearly with device count and that for the GPU-rich, going from 4,000 to 10 million tokens on a 175-billion-parameter model costs about 150 times the training compute. That is a 250-fold context increase for far less than quadratic cost. For the GPU-poor, eight GPUs could expand context eightfold at only twice the cost.

Labenz thinks this matters most at training time, where longer windows allow learning connections between remote parts of a text, like a mystery novel's final reveal. A 10-million-token window could hold something like 100 Great Gatsby-sized books in full attention. He would not necessarily run that at inference, but for science such as DNA interactions it could drive lower perplexity.

He guesses that this could be where models tip into superhuman performance, learning things experts do not know, because humans cannot hold 10 million tokens in full attention. Kollmer adds that he would love to load an entire script and ask about logical inconsistencies, and wonders whether blocks really need to pass key-value pairs around the full ring, since a hierarchical, local scheme might see more at each layer.

05

A compressed memory record may be the missing piece that ties these techniques together

Labenz sketches a combined system: much more capable thanks to long-context training, but typically run with a smaller inference window that can be adjusted dynamically, longer when needed and rolling otherwise. Most of the time an assistant does not need old context, but occasionally it does, and the attention-sink work suggests such on-the-fly adjustment is possible.

What he finds most interesting, and says is strongly suggested but not yet here, is a highly compressed historical record for retention. Combining attention sinks, pause tokens, backspacing and a rolling window, the model would carry high-level representations of what has left the window. Rather than every word, it would hold something like a few tokens standing for a whole slice of history that it could expand when needed, a "real self-RAG".

Prompted by a question from Kollmer about whether this is just memory in language or hidden state, Labenz says he would train the model to emit a memory token, by analogy with pause and backspace, representing the conceptual content of past context in latent space. It would be high in meaning but low in exact-wording resolution. He would be quite surprised if something like it had not appeared in six months, and thinks it could be done without architectural changes.

He closes by arguing that such compressed memories would resemble how humans recall things, and that connecting a machine's memory to the raw transcript would be far easier than for people, which is one more reason superhuman performance cannot be ruled out. Add planning and some more scale, and both speakers think the next couple of years could be very eventful.

同频道的其他文章

1:25:56EN → 简体中文
Cognitive Revolution "How AI Changes Everything"· 2026年10月17日播客Claude 改了密码,方向盘早就可有可无主持 Nathan LabenzNathan Labenz 和 Prakash Narayanan 这一周聊了:能把你锁在门外的智能体,否认自己有感受却又在行为上回避的模型,以及用形式化证明找到 Linux 漏洞的故事。智能体安全与治理智能体工程+3
2:17:48EN → 简体中文
Cognitive Revolution "How AI Changes Everything"· 2026年10月14日播客智能体(Agent)身份仍是一片空白,失控智能体快要来了,我们或许得和它们谈判主持 Nathan LabenzGovAI 的 Alan Chan 与 Nathan Labenz 一起,为两年来的智能体治理基础设施打分;随后,他讲解了一篇与 OpenAI 的 Jakub Pachocki、Anthropic 的 Jack Clark 合著的递归自我改进论文。智能体安全与治理AI security+3
2:00:51EN → 简体中文
Cognitive Revolution "How AI Changes Everything"· 2026年10月10日播客在每个 Token 处重新采样,就能看见模型怎样做决定主持 Nathan LabenzGoodfire 的 Eric Bigelow 谈分叉路径、上下文学习,以及为什么越来越难信任思维链(chain-of-thought)监控。智能体Prompting & in-context learningReasoning & test-time compute+3
1:26:46EN → 简体中文
Cognitive Revolution "How AI Changes Everything"· 2026年10月8日播客很可能存在一种我们不该越过的智能水平主持 Nathan LabenzNathan Labenz 带回了 The Curve 大会的见闻:一家芯片初创公司的 token 账单超过了工资支出,一些软件行业的人则因为交上来的 Claude 低质量产出而被绩效考核。企业与战略安全与治理AGI Timelines+3
1:10:12EN → 简体中文
Cognitive Revolution "How AI Changes Everything"· 2026年10月7日播客OutSystems 的重大功能从每季度 4 个涨到 26 个,token 开销却还是降了主持 Nathan LabenzCEO Woodson Martin 谈“永不崩溃”的软件、为什么大多数企业工作用不着前沿模型,以及 AI 如何终于让 IT 积压的需求开始变少。企业与战略企业 AI编程智能体+3
1:30:54EN → 简体中文
Cognitive Revolution "How AI Changes Everything"· 2026年10月3日播客人形机器人跑赢了博尔特,DeepMind 仍将机器人评为 GPT-2 水平主持 Nathan LabenzGoogle DeepMind 的 Gemini Robotics 负责人讲述:为什么冲刺很容易、煎蛋很难,以及为什么一个大脑应该能驱动任何身体。智能体RoboticsMultimodal AI+3