OctSum
00:00 / 14:55

Prompt Engineering · 14:55

thinking machine just released inkling 2 mini, which is their smallest model so far, and it's small enough that you can actually run on a laptop. but for me, the most interesting thing is how this model is built, because it is based on looped transformer, which had a lot of people worried when there were rumors that one of the frontier labs was using this loop mechanism. so it's really exciting that we have an open model. we can actually study how this looping mechanism works under the hood and what it brings to the table. a looped transformer is a model that runs part of itself more than once for every piece of text that it generates. now, the obvious question is what exactly these extra runs actually gives you compared to a normal autoregressive transformer model. so in this video, that's exactly what i want to look at. we're going to understand how exactly looped transformer work, what those extra loops improve, what are the things that it doesn't improve at all, and also a simple rule for when a model like this is the right choice. now, to put all of this into perspective, i'm going to first talk about how today's transformer works. if you're already familiar with that and the concept of thinking tokens, skip ahead to the chapter on Inkling 2 Mini. modern llms or large language models are built on top of transformers, which is a stack of layers, and you can think of each layer as one step of the computation. here is how it works. the model reads and writes text in small pieces called tokens, and to produce each new token, the data goes through every layer in the stack exactly once. this is basically what people call the forward pass. now, say if your model has 24 layers, it was going to take 24 steps before it can write the next token. now, the problem is that some questions need more steps than that. for example, say i tell you that march 1st is a tuesday, and i ask you what day of the week may 20th is. to answer that, you have to count the days in between, divide by 7, and count forward from... tuesday. a model cannot fit a chain like that into one trip through its layers, so it needs another way to get more steps. so what happens is that models today write those intermediate steps out as text, which we call thinking tokens or chain of thought. a good mental model is doing a long calculation on paper instead of in your head. that's essentially what these models are doing when they are thinking. but the thing is that every thinking token takes another full trip through the stack. so a hard question can cost thousands of extra tokens before you get the answer. now, once you hit that wall, there are two obvious ways to give model more steps. but before i describe that, i have a quick ask. most of you who are watching this video are not subscribed. if you like these deep dives, make sure to subscribe to the channel and hit that notification button. this helps a lot. now coming back to how you give more steps to a model. the first one is add more layers. that works, but every extra layer adds more weights, which are the numbers that the models learn during training. now adding more weight also means you will need extra memory in order to fit these models. so you need bigger and bigger gpus. and the second way is to let the model write more thinking tokens, which is what reasoning models do today. that also works because the model gets more space on paper, but every answer becomes slower and more expensive. Since it has to look back to all the tokens that it had generated in the past in order to produce the new one.

Thinking Machine 刚刚发布了 Inkling 2 Mini,这是他们迄今为止最小的模型,小到你可以直接在笔记本电脑上运行。 但对我来说,最有意思的是这个模型的构建方式,因为它基于循环 Transformer。此前有传闻称某家前沿实验室正在使用这种循环机制,让很多人感到担忧。 所以,现在有了一个开放模型,真的很令人兴奋。 我们可以真正研究这种循环机制在内部是如何运作的,以及它能带来什么。 循环 Transformer 是一种模型,每生成一段文本,都会多次运行自身的一部分。 显然,问题是:与普通的自回归 Transformer 模型相比,这些额外的运行究竟能带来什么? 所以,这正是我想在这个视频里探讨的。 我们将了解循环 Transformer 究竟是如何工作的,这些额外循环能改善什么,又有哪些方面完全得不到改善,以及判断何时适合选择这类模型的一条简单原则。 为了更好地理解这一切,我会先讲讲如今的 Transformer 是如何工作的。 如果你已经熟悉这些内容和思考 token 的概念,可以直接跳到 Inkling 2 Mini 的章节。 现代 LLM,也就是大型语言模型,是以 Transformer 为基础构建的。Transformer 由多层结构堆叠而成,你可以把每一层看作计算中的一个步骤。 它的工作原理是这样的。 模型以称为 token 的小单位读取和写入文本,而为了生成每一个新的 token,数据都会恰好经过堆叠中的每一层一次。 这基本上就是人们所说的前向传播。 假设你的模型有 24 层,那么它需要经过 24 个步骤才能写出下一个 token。 问题是,有些问题需要比这更多的步骤。 比如,我告诉你 3 月 1 日是星期二,然后问你 5 月 20 日是星期几。 要回答这个问题,你必须数出中间的天数,除以 7,然后从……星期二往后数。 模型无法在一次通过所有层的过程中完成这样的推理链,所以它需要用另一种方式获得更多步骤。 因此,现在的模型会把这些中间步骤以文本形式写出来,我们称之为思考 token 或思维链。 一个很好的理解方式是:在纸上进行长篇计算,而不是在脑海里算。 这些模型在思考时,本质上就是在做这样的事。 但问题是,每生成一个思考 token,都需要完整地再经过一次模型层堆栈。 所以,回答一个难题之前,可能要额外消耗数千个 token。 一旦碰到这个瓶颈,就有两种显而易见的方法可以让模型执行更多步骤。 但在介绍之前,我有个小小的请求。 正在看这个视频的各位,大多数都还没有订阅。 如果你喜欢这种深入解析,一定要订阅频道并点击通知按钮。 这会帮上很大的忙。 现在回到如何让模型执行更多步骤这个话题。 第一种方法是增加层数。 这确实有效,但每增加一层,就会增加更多权重,也就是模型在训练过程中学到的数值。 而增加权重也意味着需要更多内存才能装下这些模型。 所以你需要越来越大的 GPU。 第二种方法是让模型生成更多思考 token,这也是如今推理模型的做法。 这也有效,因为模型有了更多“纸面空间”,但每次回答都会变得更慢、成本更高。 因为它必须回顾之前生成的所有 token,才能生成下一个 token。

so this brings up the question of whether a model can get more steps per token without storing more weights. and that leads to the loop transformer concept. so the idea behind a loop transformer is that instead of adding new layers, you send the token through the same layers again inside a loop. that way, the model stores each layer once while using some of them more than once. now, the interesting thing at this is also where the worry from the start of the video comes from, because the work inside the loop is never written out as a output text, which makes a lot of people worried for interpretability of these models. more on that later in the video. now, the idea itself is not new, because it comes back to a 2018 paper called universal transformers. and a few smaller open models already use this same concept. there is a model called Ouro from bytedance or dory from nvidia. what makes this release different is the size of the model and how the loop is designed. so, inkling 2 mini has 24 layers and thinking machine splits them into 4 equal blocks where each block has its own job. the first block runs once to turn the incoming tokens into the number that the model works with, which is called the internal representation. and the last block runs once to turn the representation back into next token. the two blocks in the middle are the part that loops. so every single token goes through those middle layers three times before it moves on to the end. now let's do some mental math. you have six layers at the start and six layers at the end. and in between you have 12 middle layers that runs three times. when you put that together, the model does the work of 48 layers. while it only stores half of those layers in weights. now, this brings up the question of why they loop the middle instead of the end. according to thinking machines, they tried both and looping the middle gave bigger gains on 27 out of 28 evaluations. their explanation is that the first and the last layers mostly translate between words and the model's internal representation. while the middle layers carry the abstract reasoning. now, for that loop to help, the second and the third pass cannot start from scratch. so what happens is that each pass gets the results of the previous pass, which thinking machine calls the message. so every pass builds on what came before it. this is essentially this looping mechanism. the output is fed back into the input. now, that explains how it gets twice the steps.

这就引出了一个问题:模型能否在不存储更多权重的情况下,为每个 token 执行更多步骤? 这就引出了循环 Transformer 的概念。 循环 Transformer 背后的思路是:不添加新层,而是在循环中让 token 再次经过相同的层。 这样,模型只需存储每一层一次,同时可以多次使用其中一些层。 有意思的是,这也是视频开头提到的担忧的来源:循环内部的工作过程从未以文本形式输出,这让很多人担心这些模型的可解释性。 视频后面会详细讨论这一点。 这个想法本身并不新,它可以追溯到2018年一篇名为《Universal Transformers》的论文。 一些较小的开源模型已经采用了同样的概念。 比如字节跳动的 Ouro 和英伟达的 Dory。 这次发布的模型不同之处在于模型的规模和循环的设计方式。 Inkling 2 Mini 有24层,Thinking Machines 将它们平均分成4个区块,每个区块各有职责。 第一个区块运行一次,将输入的词元转换成模型处理的数字,也就是所谓的内部表示。 最后一个区块运行一次,将表示转换回下一个词元。 中间的两个区块是循环运行的部分。 因此,每个词元都会先经过中间这些层三次,然后才进入末尾部分。 现在我们来心算一下。 开头有6层,末尾也有6层。 中间有12层,运行三次。 加起来,模型完成了相当于48层的工作量。 而它的权重中只存储了其中一半的层。 这就带来了一个问题:为什么循环的是中间部分,而不是末尾部分? 据 Thinking Machines 称,他们两种方式都试过,而在28项评测中,循环中间部分在27项上带来了更大的提升。 他们的解释是,第一层和最后几层主要负责在词语和模型的内部表示之间进行转换。 而中间层负责抽象推理。 现在,要让这个循环发挥作用,第二遍和第三遍就不能从头开始。 因此,每一遍都会获得上一遍的结果,Thinking Machines 将其称为“消息”。 所以每一遍都是在之前的基础上继续处理。 这基本上就是这种循环机制。 输出会被反馈到输入端。 这就解释了它如何获得两倍的步骤数。

so you might wonder how it still fits on a laptop. inkling 2 mini is also a mixture of experts, where each layer holds many small networks called experts, and only a few of those are active for every token. so the model stores about 26 billion weights, which are basically the parameter count, while a single token only passes a small part on each pass. this is why the model is about 20 gigabytes and you can run it on a mac with enough memory. now, as far as i can tell from nvidia's own description, dory does not use experts or an moe. so i would say combining the loop with experts is what makes this implementation stand out. okay, so you can fit the model on a laptop and you also get twice the layer steps. so what exactly does this transfer into in terms of performance?

那么你可能会好奇,它是如何仍然能装进笔记本电脑的。 Inkling 2 Mini 也是一个混合专家模型,每一层都包含许多称为专家的小型网络,而对于每个 token,只有其中少数专家会被激活。 因此,模型存储了大约 260 亿个权重,这基本上就是参数量,而单个 token 在每一遍中只会经过其中的一小部分。 这就是为什么模型大小约为 20 GB,而且你可以在内存足够的 Mac 上运行它。 据我从英伟达自己的描述中所知,Dory 并没有使用专家或 MoE。 所以我认为,将循环与专家机制结合起来,正是这一实现的独特之处。 好了,所以你可以把模型装进笔记本电脑,同时获得两倍的层处理步数。 那么,这具体会带来怎样的性能表现呢?

so along with inkling 2 mini, thinking machine released a research version of the same model where you can pick the number of passes yourself from 1 to 5. and this is pretty neat. so the weights stay the same. the only thing that changes is how many times the middle blocks run. all of the numbers in this section comes from thinking machines on that research version. so let's start with agentic coding, where the model has to fix real issues in a software project code over many steps. with a single pass, the research model solves less than 1% of those tasks. now, if you take it to three passes, it solves about 47%. on long tasks, those extra passes decides whether it can do the work at all, which is kind of incredible. now, the interesting thing is that the extra passes also change the thinking tokens. so let's go back to march 1 and may 20th example. so with one pass, the model makes mistakes along the way and has to correct itself. with five passes, it reaches the same answer with less than half the thinking tokens. thinking machines saw the same thing across a set of hard science questions. so the model does more of the work inside the loop and it writes fewer steps out. but the thing is that looping does not help with everything. on tests of facts the model has to know from memory, the score barely moves at all, no matter how many passes it gets. the reason is that a fact has to be stored somewhere in the weights, and looping does not add any weights. so that is the first takeaway, which is that extra passes improve reasoning and does not add knowledge. now, more passes do not keep helping forever either. on most of the benchmarks, the gains flat out at three passes, which is the number they actually released in the checkpoint.

因此,Thinking Machines 在发布 Inkling 2 Mini 的同时,还发布了同一模型的研究版本,你可以自行选择运行 1 到 5 遍。 这相当不错。 权重保持不变。 唯一变化的是中间模块运行的次数。 本节中的所有数据都来自 Thinking Machines 对该研究版本的测试。 那么,让我们从智能体编程开始。在这项任务中,模型必须经过多个步骤,修复软件项目代码中的实际问题。 只运行一遍时,这个研究模型能解决的任务不到1%。 如果让它运行三遍,就能解决约47%的任务。 对于耗时较长的任务,这些额外的运行遍数决定了它能否完成工作,这相当惊人。 有趣的是,额外的运行遍数也会改变思考 token 的用量。 让我们回到3月1日和5月20日的例子。 运行一遍时,模型会在过程中犯错,不得不自行纠正。 运行五遍时,它得出相同答案所用的思考 token 不到原来的一半。 Thinking Machines 在一组高难度科学问题中也观察到了同样的现象。 也就是说,模型在循环内部完成了更多工作,写出来的步骤反而更少。 但问题是,循环并非对所有事情都有帮助。 在考查模型必须凭记忆掌握的事实时,无论运行多少遍,分数都几乎没有变化。 原因是,事实必须存储在模型权重的某个地方,而循环不会增加任何权重。 所以第一个要点是:增加运行遍数能提升推理能力,但不会增加知识。 不过,增加运行遍数也不会一直有帮助。 在大多数基准测试中,性能增益在运行三遍时就趋于平稳,而他们实际发布的检查点采用的也是三遍。

Okay, so with looping you get stronger reasoning, but there is no free lunch. So we need to talk about what exactly is the catch here. A looped model saves memory, but it doesn't save compute. because the model has to still work extra during those extra passes. and it has to use compute resources, which also means each token takes longer to produce. so if each token is slower, where does the saving comes from? it comes from shorter thinking, because if the model needs half as many thinking tokens, a slower token can still give you faster answers. according to thinking machines, a version of this model without the loop needed more than twice the compute to reach the same quality on long agent tasks. now, this work in your favor on long tasks where there's plenty of thinking to save. on a short chat question, there is very little thinking to cut. so we're going to be paying for extra passes and in return we don't really get anything back. but the thing is that the whole saving depends on more reasoning inside the loop and writing fewer steps out as text tokens. now that exact shift brings us back to worry from the start of the video and why this architecture made some people nervous.

好,循环能增强推理能力,但天下没有免费的午餐。 所以我们需要谈谈这里的代价究竟是什么。 循环模型能节省内存,但不能节省计算量。 因为模型在额外的每一遍中仍然需要做更多运算。 而且它必须使用计算资源,这也意味着生成每个词元所需的时间更长。 那么,如果生成每个词元都更慢,节省又从何而来呢? 节省来自更短的思考过程,因为如果模型需要的思考词元数量减半,即使生成单个词元更慢,也仍然能更快地给出答案。 据 Thinking Machines 称,在长时智能体任务中,该模型的无循环版本需要两倍以上的算力才能达到同等质量。 在有大量思考步骤可以省去的长任务中,这对你是有利的。 但对于简短的聊天问题,能省去的思考步骤非常少。 所以我们要为额外的处理轮次付出代价,却基本得不到任何回报。 但问题是,所有的节省都取决于在循环内部进行更多推理,并减少以文本词元形式写出的步骤。 而这一变化恰恰让我们回到了视频开头的担忧,也解释了为什么这种架构让一些人感到不安。

the thing is that when a model writes steps out as thinking tokens, a person or another model can read them and catch if it's doing something that it shouldn't be doing. this approach is called chain of thought monitoring. so moving more reasoning inside the loop leaves less chain of thought tokens as output, which also means it's hard to track what the model is actually doing. now, we have some encouraging results. thinking machines measured this, and while the thinking got shorter with more passes, it stayed just as readable, with the same sentence length and the same share of plain english words, according to thinking machine. now, checking the text on the outside only tells you part of the story. so they give early access to a research lab called goodfire to study the inside. of the loop. goodfire found one internal value that spikes at the end of the first and the second pass and clears after the third. and they believe it tells the next pass where to read from. now, i would take this with a grain of salt because these are early results on one model.

问题在于,当模型把步骤写成思考词元时,人或其他模型可以阅读它们,并发现它是否在做不该做的事。 这种方法叫作思维链监控。 因此,把更多推理移到循环内部,会减少输出的思维链词元,也就意味着更难追踪模型实际在做什么。 不过,我们得到了一些令人鼓舞的结果。 Thinking Machines 对此进行了测量。据该公司称,虽然处理轮次越多,思考过程就越短,但它的可读性并未下降,句子长度和普通英语单词的占比都保持不变。 不过,检查外部文本只能让你了解事情的一部分。 因此,他们让一家名为 Goodfire 的研究实验室提前使用该模型,以研究其内部情况。 也就是循环的内部。 Goodfire 发现了一个内部数值,它在第一轮和第二轮结束时会急剧升高,在第三轮后归零。 他们认为,这个数值会告诉下一轮从哪里开始读取。 不过,我会对此持保留态度,因为这些只是针对单一模型得出的初步结果。

if you want to try this model yourself, it's open weight under apache 2.0. you can run it with Ollama. according to thinking machine, it needs a mac with 32 gigabytes of memory or a single dgx spark is going to work as well. in their own demos, thinking machine has the model built a playable flight simulator on a macbook that is in the airplane mode. which is pretty neat. now, it's more important to know the limitations. so here are three things that i would keep in mind. the first one is that loops do not add knowledge. so when a task depends on facts, i would give this model search or some other tools that it can look at your own documents. the second one is long conversations because thinking machine says this is not the strongest small model for chat with many turns. or for instructions with a lot of constraints. and the last one is that according to their documentation, the model can get stuck checking its own work again and again. so i would set a limit on the output tokens it can write and the number of agent turns that it can take. so coming back to the question we started with, what do you get when a model runs the same layers more than once? the answer is that you get more steps of reasoning for every token without storing more weights, and you pay for it with more compute per token. that makes a looped model a good choice when memory is your limit and your tasks are long and need more steps. but if your task needs facts, i would pair it with a search tool. but this is a really great and open implementation of loop transformers, and it kind of gives us a hint of what these frontier labs might be doing. if you have tried a loop model on your own tasks, please share what you found in the comment section below. i'm also putting together a video on how they train these models with four-bit numbers. so if you're interested in that, make sure to subscribe to the channel. and if you want to see what happens when a model only gets a single pass and no thinking at all, watch this video. anyways, i hope you found this video useful. thanks for watching. and as always, see you in the next one.

如果你想亲自试试这个模型,它的权重是开放的,采用 Apache 2.0 许可证。 你可以用 Ollama 运行它。 据 Thinking Machine 称,它需要一台拥有 32 GB 内存的 Mac,或者一台 DGX Spark 也可以。 在 Thinking Machine 自己的演示中,他们让模型在一台处于飞行模式的 MacBook 上构建了一个可玩的飞行模拟器。 这相当酷。 现在,更重要的是了解它的局限性。 所以有三点我认为需要牢记。 第一,循环不会增加知识。 所以,当任务依赖事实时,我会给这个模型配备搜索工具,或其他能让它查阅你自己文档的工具。 第二是长对话,因为 Thinking Machine 表示,它并不是多轮聊天方面最强的小模型。 对于有很多约束条件的指令也是如此。 最后,根据他们的文档,这个模型可能会陷入反复检查自己工作的循环。 所以我会限制它能输出的 token 数量,以及它可以执行的智能体轮次数。 回到我们最初的问题:当一个模型多次运行相同的层时,会得到什么? 答案是,你无需存储更多权重,就能让每个 token 获得更多推理步骤,代价是每个 token 需要更多计算量。 因此,当内存是你的瓶颈,而任务又很长、需要更多步骤时,循环模型就是一个不错的选择。 但如果你的任务需要事实信息,我会给它配一个搜索工具。 不过,这是循环 Transformer 的一个非常出色的开放实现,也让我们得以窥见这些前沿实验室可能正在做什么。 如果你已经在自己的任务中试过循环模型,请在下方评论区分享你的发现。 我也正在制作一个视频,介绍他们如何用四位数字来训练这些模型。 所以如果你对此感兴趣,一定要订阅这个频道。 如果你想看看模型只运行一次、完全不进行思考会发生什么,就看看这个视频。 总之,希望你觉得这个视频有用。 感谢观看。 一如既往,我们下个视频再见。

Overview

Inkling 2 Mini 是可在笔记本电脑上运行的开放权重模型,其循环 Transformer 通过重复使用中间层,在不增加权重的情况下为每个 token 提供更多计算步骤。模型结合混合专家架构,以 24 层权重执行相当于 48 层的计算。Thinking Machines 的研究模型测试显示,增加循环次数能显著提升部分复杂推理任务表现,并缩短思考文本,但对事实记忆帮助有限。循环会增加单个 token 的计算成本,也让更多推理发生在难以直接观察的内部。笔记梳理了架构、性能取舍、安全顾虑和本地使用限制,帮助判断何时适合采用循环模型。

Chapters

00:00 普通 Transformer 与额外推理步骤

普通自回归 Transformer 生成每个 token 时,数据通常依次经过每一层一次;24 层模型因此有 24 个层计算步骤。复杂问题可能需要更多步骤,推理模型常把中间过程写成思考 token,但每个 token 都要再次通过整个层堆栈。增加层数会增加权重和内存需求,增加思考 token 则可能使回答更慢、更昂贵。

循环 Transformer 的基本机制
普通 Transformer 的单次前向传播
24 层模型的计算步骤示例
以思考 token 输出中间步骤
增加思考 token 的代价

04:03 循环机制与 Inkling 2 Mini 的层结构

循环 Transformer 将数据多次送过同一组层,权重只存储一次,但每个 token 获得更多计算步骤。这一思路可追溯至 2018 年的 Universal Transformers,Ouro 和 Dory 等模型也使用类似概念。Inkling 2 Mini 将 24 层分为四个等大小的块:首尾各 6 层运行一次,中间 12 层运行三次,总计执行 48 个层步骤。每次循环接收前一次的结果并在其基础上继续计算。Thinking Machines 称,中间层循环在 28 项评测中的 27 项优于末端层循环。

循环复用同一组层
24层划分为4个模块
循环计算相当于48层
中间层循环的评估结果
循环中前一轮结果传递给下一轮

06:55 混合专家与本地运行规模

Inkling 2 Mini 同时采用混合专家架构:每层有多个小型专家网络,每个 token 只激活其中一部分。模型存储约 260 亿个权重,大小约 20 GB,可在内存足够的 Mac 上运行。循环提供更多层步骤,而专家机制使每次处理 token 时不必使用全部专家。

模型参数规模与单次处理路径

07:57 循环次数对推理与知识的影响

Thinking Machines 的研究版本允许在相同权重下选择 1 至 5 次中间层运行。其自测中,模型在多步骤软件问题修复任务上的解决率从单次运行的不足 1% 升至三次运行的约 47%。日期计算例子中,五次运行得到相同答案所需的思考 token 不到单次运行的一半;困难科学问题也出现类似趋势。事实记忆测试的分数几乎不变,多数基准的收益在三次运行后趋于平缓。

三次循环下的软件任务解决率
五次循环的思考 token 对比
事实记忆测试分数随循环次数的变化
多数基准测试的收益在三次循环后趋于平稳

10:02 计算成本与适用任务

循环节省权重存储,但额外运行仍消耗计算资源,使单个 token 的生成变慢。如果内部循环减少了足够多的思考 token,整体回答仍可能更快。Thinking Machines 称,在长期智能体任务中,达到相同质量的无循环版本需要超过两倍的计算量;短聊天问题可削减的思考内容较少,额外循环则可能得不偿失。

无循环模型在长程任务中达到同等质量所需的计算量

11:23 思维链监控与内部可解释性

思维链监控依赖人或其他模型检查写出的推理文本;更多推理转移到内部循环后,可供检查的文本减少,模型行为也更难追踪。Thinking Machines 测得思考文本虽变短,但句长和普通英语词汇占比保持相近。Goodfire 发现一个内部数值在前两次运行结束时升高、第三次后清除,并推测它可能指示下一轮从哪里读取;这仍是单个模型上的早期结果。

多次计算后思维链缩短,但可读性保持不变
内部数值在前两轮结束时上升,第三轮后消失

12:37 本地部署、局限与使用建议

模型以 Apache 2.0 开放权重,可通过 Ollama 运行;Thinking Machines 称,32 GB 内存的 Mac 或一台 DGX Spark 可以运行。循环不增加事实知识,知识密集型任务可搭配搜索或文档工具。该模型在多轮聊天和约束繁多的指令上并非最强的小模型,还可能反复检查自己的工作,因此适合限制输出 token 和智能体轮数。内存受限、任务较长且需要多步推理时,循环模型更值得考虑。

MacBook 离线运行的飞行模拟器演示

Conclusions

13:54 循环复用已有层,能在不增加权重的情况下为每个 token 提供更多推理步骤,但会增加单 token 的计算成本。

08:29 在 Thinking Machines 的研究模型测试中,三次运行相较一次运行大幅提升了多步骤软件问题修复任务的解决率。

09:30 额外循环可以改善推理,但不会增加模型权重中储存的事实知识。

10:30 更短的思考文本可能抵消额外循环的计算开销,但这种收益主要适用于需要大量推理的长任务。

11:38 更多推理发生在内部循环时,可供思维链监控检查的输出减少,追踪模型行为会更困难。

14:03 内存受限且任务较长、需要多步推理时,循环模型是值得考虑的选择。