> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# 同一组层运行三次：循环 Transformer 如何工作？
- URL: https://globalfeed.ai/zh/tong-yi-zu-ceng-yun-xing-san-ci-xun-huan-transformer-ru-he-gong-zuo/
- Published: 2026-11-27T01:04:43.000Z
- Updated: 2026-11-27T01:04:43.000Z
- Description: 通过 Inkling 2 Mini、GLM-5.4 与 Mixture-of-Loops 论文了解循环 Transformer 的原理、训练与局限。
- Author: GlobalFeed Editor
- Tags: 循环 Transformer, Inkling, dil-zh, elle

上周三项工作都用到了同一个思路：循环 Transformer。Thinking Machines Lab 的开源模型 [Inkling 2 Mini](https://thinkingmachines.ai/news/inkling-2-mini/?ref=globalfeed.ai) 把 24 个物理层当作 48 层使用；智谱 Z.ai 的 [GLM-5.4](https://docs.z.ai/guides/llm/glm-5.4?ref=globalfeed.ai) 让 28 层运行两次；[Mixture-of-Loops Transformer](https://arxiv.org/abs/2611.34923?ref=globalfeed.ai) 论文则在循环之间传递 KV 记忆。核心想法是：用同一组参数对每个 token 多计算几轮，存储的参数不变，思考深度增加。

## 如何训练

Inkling 2 Mini 中间 12 层运行三次（6 + 3×12 + 6 = 48），循环中间层比循环最后几层的计算等效收益更高（1.51 至 1.91 倍对 1.24 至 1.36 倍）。训练包括专家剪枝（384 个保留 128 个）、1 万亿 token 蒸馏、监督微调和 2.2 万亿 token 的强化学习。GLM-5.4 则通过继续训练把已预训练的 GLM-5 基座改造成循环模型，在 30B 对照实验中只多用约 10% 算力，数学和长上下文收益最大。

## 局限与试用

循环增加的是推理深度而非知识储量：闭卷问答几乎不变，且两家公司都提到模型有时“想得太久”。Inkling 2 Mini 以 Apache 2.0 开源，32 GB 内存即可运行：`llama serve -hf ggml-org/Inkling-2-Mini-GGUF:IQ4_NL`。

来源： [Inkling 2 Mini](https://thinkingmachines.ai/news/inkling-2-mini/?ref=globalfeed.ai), [GLM-5.4](https://docs.z.ai/guides/llm/glm-5.4?ref=globalfeed.ai), [MoLT 论文](https://arxiv.org/abs/2611.34923?ref=globalfeed.ai)