Loo-P

Loo-P beyond Language: Scaling Looped Transformers with Structured Residuals

Reusing a Transformer's middle blocks trades parameters for repeated computation. In three vision tasks the trade leaves training loss comparable or lower with 34.6–45% fewer parameters at matched compute. In language it still costs loss, and our recipe, Loo-P, recovers more than half of it.

让 Transformer 的中间几层反复使用,是拿重复计算换参数。在三个视觉任务上,同等算力下参数少 34.6–45%,训练损失持平或更低;在语言上这笔交易仍然要付出损失,我们的方案 Loo-P 追回了其中一半以上。

The paper in under two minutes: a loop that reuses 4 blocks, the three factors Loo-P puts on its residuals, and what sharing costs in four tasks.不到两分钟看完这篇论文:反复使用 4 个 block 的循环,Loo-P 加在残差上的三个因子,以及参数共享在四个任务上的代价。
TL;DR
  • Can shared layers be trained more effectively? A looped Transformer reuses the same layers, but each pass receives a representation that the previous pass has already changed. Loo-P adjusts how strongly attention and feed-forward layers update that representation on each pass.
  • Loo-P: One base learning rate is the best value in all models we swept. Across all nine language-model configurations, the learning rate chosen on a small model remained the best we tested as we increased the number of passes, the depth of the shared block, or both. The recipe adds no learned parameters.
  • In language, our Loo-P removes more than half of the naive loop's loss gap, not all of it. All three models ran 20 layers of computation. Validation loss fell from 2.614 with a naive loop to 2.568 with Loo-P, closing 56% of the gap to the independent-layer model at 2.532. Would sharing layers carry the same cost in vision?
  • Across three vision tasks, looped models reached similar or lower training loss with 35–45% fewer parameters at matched compute. The downstream results show where that translated into better performance.
    3D reconstruction · Better poses and novel views

    Even the naive loop estimated camera poses more accurately and reconstructed unseen views more faithfully than the independent-layer model. Loo-P improved both a little further.

    Text-to-image generation · Better prompt following, higher FID

    With 45% fewer denoiser parameters, Loo-P edged ahead on both prompt-following benchmarks after fine-tuning. The independent-layer model retained the better FID.

    Class-to-image generation · Similar training loss, higher gFID

    Training loss nearly matched the independent-layer baseline, but the looped model still had worse gFID at matched compute.

  • 共享层能训得更好吗?循环 Transformer 会反复调用同一组层,每次接收的却是上一轮更新过的表示。Loo-P 调整注意力层和前馈层在每一轮更新表示时的幅度。
  • 在我们测试的所有模型配置中,同一个基础学习率都表现最好。在九种语言模型配置中,无论是增加循环次数、加深共享层,还是同时增加两者,小模型上选出的学习率始终是所测值中最好的。这套方法不增加任何可学习参数。
  • 在语言预训练上,Loo-P 追回了朴素循环一半以上的损失差距,但仍有差距。三个模型都执行了 20 层计算。验证损失从朴素循环的 2.614 降到 Loo-P 的 2.568,较独立层模型的 2.532 追回了原差距的 56%。到了视觉任务里,共享层也要付出同样的代价吗?
  • 在三个视觉任务上,同等计算量下,循环模型以少 35–45% 的参数取得了相近或更低的训练损失。下游评测表明,这种优势在不同任务上有不同的表现。
    三维重建 · 相机姿态更准,新视角重建更逼真

    朴素循环已经比独立层模型更准确地估计了相机姿态,也更逼真地重建了未见视角。Loo-P 在两项上都略有提升。

    文生图 · 微调后更符合提示,FID 较高

    Loo-P 的去噪器少用 45% 的参数,微调后在两项提示遵循评测上都略胜。独立层模型的 FID 仍然更好。

    类别条件生图 · 训练损失接近,gFID 较高

    循环模型的训练损失接近独立层基线,但在同等计算量下,它的 gFID 仍然更差。

A looped Transformer reuses its middle循环 Transformer 重复使用中间的层

A looped Transformer applies the same blocks more than once. We use the sandwich layout from Huginn: a Prelude of P blocks, a Core of L blocks that is applied R times with shared weights, and a Coda of C blocks. The model stores P+L+C distinct blocks and runs at an effective depth of P+RL+C.

循环 Transformer 把同一组层用不止一次。我们沿用 Huginn 的 sandwich 结构:P 层 Prelude,L 层 Core 以共享权重重复执行 R 次,最后是 C 层 Coda。模型只存 P+L+C 个不同的层,有效深度却是 P+RL+C。

The appeal is the parameter count. Our language model has P=C=2 and L=4. At R=4 it runs 20 blocks deep and stores 8: 105.79M parameters, against 190.74M for a non-looped model of the same depth and width.

好处在参数量。我们的语言模型取 P=C=2、L=4。R=4 时它跑 20 层深,只存 8 层:105.79M 参数,而同样深度和宽度的非循环模型是 190.74M。

More visits add depth, not parameters访问次数增加,深度变大,参数不变

The language model used throughout: Prelude 2, Core 4, Coda 2, width 768. Choose the number of Core visits.全文使用的语言模型:Prelude 2 层、Core 4 层、Coda 2 层,宽度 768。选择 Core 被访问的次数。

Core visitsCore 访问次数
Top row: the blocks a token passes through, in order. Bottom row: the blocks whose weights are stored. Orange blocks are the Core, shared across visits. The non-looped size at R = 4 is a trained baseline; at R = 2 and R = 8 it is our arithmetic from the per-block size, not a trained model.上排:一个 token 依次经过的层。下排:实际存储权重的层。橙色是 Core,各次访问共享。R = 4 时的非循环模型大小来自训练过的基线;R = 2 和 R = 8 的数字是我们按每层参数量算出来的,没有训练过对应的模型。

Two questions follow. How should hyperparameters move when R or L grows? And how much of a non-looped model's performance survives the sharing at matched compute? Loo-P is a pretraining recipe built for the first, and we use it to measure the second in four tasks. Results come first; the recipe is further down.

随之而来两个问题。R 或 L 变大时,超参数该怎么跟着变?同等算力下,共享之后还能保住非循环模型多少性能?Loo-P 是为第一个问题设计的预训练方案,我们再用它在四个任务上测第二个问题。下面先讲结果,方案本身放在后面。

One learning rate survives every shape we tried一个学习率通吃我们试过的所有形状

If a recipe transfers, the learning rate that is best for a small model is still best after the model is made deeper. We test this in language pretraining on Climb Mix, with a fixed budget of 15.27B training tokens and five seeds per setting.

如果一套方案能迁移,小模型上最好的学习率在模型加深之后应该还是最好的。我们在 Climb Mix 语言预训练上检验这一点:训练预算固定为 15.27B token,每组设置五个随机种子。

The best tested learning rate does not move as the loop count grows循环次数增加,测试过的最优学习率不动

Climb Mix validation cross-entropy after 15.27B tokens; Core depth L = 4, width 768. Dots are five seeds, lines their mean, bars ±1 standard error.训练 15.27B token 后的 Climb Mix 验证交叉熵;Core 深度 L = 4,宽度 768。小点是五个种子,折线是均值,误差棒为 ±1 个标准误。

Highlight高亮
Loo-P, mean of 5 seedsLoo-P,5 个种子的均值 lowest mean on the curve曲线上的最低均值 best mean of our Loop-μP reproduction at the same R我们复现的 Loop-μP 在同一 R 下的最好均值
Filled markers show each curve's lowest mean; all four sit at a base learning rate of 0.0133. Each dashed line is the best of a separate learning-rate sweep for our reproduction of Loop-μP, an earlier scaling rule for looped Transformers. The horizontal axis is logarithmic. Hover or tap for values.实心标记是每条曲线的最低均值,四条都落在基础学习率 0.0133。每条虚线是我们复现的 Loop-μP(一套更早的循环 Transformer 缩放规则)单独扫学习率后的最好结果。横轴为对数刻度。悬停或点按查看数值。

All four curves reach their lowest mean at 0.0133. The dashed lines are the baseline: Loop-μP, an earlier scaling rule for looped Transformers, which we reproduced and swept over its own learning rates at each R. The Loo-P minimum is below that best value at every R; at R=8, 2.548 against 2.566.

四条曲线的最低均值都在 0.0133。虚线是基线 Loop-μP,一套更早的循环 Transformer 缩放规则:我们复现了它,并在每个 R 上单独扫了一遍学习率。在每个 R 上,Loo-P 的最低值都低于它的最好值;R=8 时是 2.548 对 2.566。

Two limits on this reading. “Best” means best on an 8-point grid, and the curves are shallow near the minimum: at R=1 the two right-most points differ by 0.0016, less than the standard error of 0.0025 at the minimum. The claim is that the minimum does not drift, not that 0.0133 is sharply optimal. And the baseline is our own reproduction of Loop-μP, adapted to the sandwich layout.

这个结论有两处限定。“最优”指的是 8 个网格点里的最优,而且曲线在最低点附近很平:R=1 时最右边两个点只差 0.0016,小于最低点处 0.0025 的标准误。我们说的是最低点没有漂移,不是说 0.0133 是一个尖锐的最优值。另外,基线是我们自己复现并改成 sandwich 结构的 Loop-μP。

The same holds when the Core gets deeper. Here Loo-P and Loop-μP differ in kind: Loop-μP scales Core residuals by 1/\sqrt{L}, Loo-P by 1/L (the section Why divide by L and not √L gives the reason). We hold R=4 and grow L from 2 to 12; from the (R, L) = (4, 4) reference we then grow both together to (8, 8) and (8, 12). The Loo-P minimum stays at 0.0133 on this sweep's 5-point grid.

Core 加深时结论也一样。这里 Loo-P 和 Loop-μP 有本质区别:Loop-μP 把 Core 残差按 1/\sqrt{L} 缩放,Loo-P 按 1/L(原因见后面的“为什么除以 L 而不是 √L”一节)。固定 R=4、把 L 从 2 增大到 12;另外以 (R, L) = (4, 4) 为参照,把两者一起增大到 (8, 8) 和 (8, 12)。Loo-P 的最低点在这一轮扫描的 5 点网格上始终是 0.0133。

Loo-P at one learning rate stays below Loop-μP retuned for each shape只用一个学习率的 Loo-P,低于逐个形状重新调参的 Loop-μP

RL Effective depth有效深度 Loo-P, LR 0.0133Loo-P,学习率 0.0133 Loop-μP, best tested LRLoop-μP,所测最优学习率 Difference差值
42122.64472.67200.0273
44202.56802.58900.0210
48362.49062.50700.0164
412522.44352.45770.0142
88682.47022.48700.0168
8121002.42502.43950.0145
Mean Climb Mix validation cross-entropy over five seeds. Loo-P uses base learning rate 0.0133 in every row; our Loop-μP reproduction uses its best tested learning rate separately for each shape. Effective depth is 4 + RL. The difference column is our subtraction, Loop-μP minus Loo-P, so a positive value means Loo-P is lower.五个种子的 Climb Mix 验证交叉熵均值。Loo-P 每一行都用基础学习率 0.0133;我们复现的 Loop-μP 每个形状单独取测试过的最优学习率。有效深度为 4 + RL。差值一列是我们自己相减得到的:Loop-μP 减 Loo-P,正数表示 Loo-P 更低。

Loo-P minima stay put as the Core deepens; Loop-μP minima moveCore 加深时,Loo-P 的最低点不动,Loop-μP 的最低点在移动

(a, b) R = 4 with L from 2 to 12. (c, d) R and L grown together. Stars mark the lowest tested mean.(a、b) R = 4,L 从 2 到 12。(c、d) R 和 L 一起增大。星号是测试过的最低均值。

(a) Loo-P, R = 4(a) Loo-P,R = 4

Loo-P validation cross-entropy against base learning rate at R = 4 for L = 2, 4, 8, 12; all minima at 0.0133

(b) Loop-μP (our reproduction), R = 4(b) Loop-μP(我们的复现),R = 4

Loop-μP validation cross-entropy against base learning rate at R = 4 for L = 2, 4, 8, 12; minima at different learning rates

(c) Loo-P, R and L together(c) Loo-P,R 和 L 一起增大

Loo-P validation cross-entropy against base learning rate for (R, L) = (4, 4), (8, 8), (8, 12); all minima at 0.0133

(d) Loop-μP (our reproduction), R and L together(d) Loop-μP(我们的复现),R 和 L 一起增大

Loop-μP validation cross-entropy against base learning rate for (R, L) = (4, 4), (8, 8), (8, 12); minima shift to larger learning rates
Plots from the paper. Dashed lines in (a) and (c) are the lowest means from the matching curves in (b) and (d), so the Loo-P curves sit below a baseline that was retuned for each shape. In (b) the L = 2 minimum and in (d) the R = 8, L = 8 minimum sit on the edge of the grid, so those two sweeps do not locate their optima.论文原图。(a)、(c) 里的虚线是 (b)、(d) 中对应曲线的最低均值,也就是说 Loo-P 的曲线低于一个为每种形状重新调过参的基线。(b) 中 L = 2 和 (d) 中 R = 8、L = 8 的最低点都落在网格边缘,这两次扫描并没有找到它们真正的最优值。

What this buys: a learning rate tuned on a small, cheap shape can be reused on a deeper one. We tested this transfer in language pretraining only.

这意味着:在便宜的小形状上调好的学习率,可以直接用到更深的模型上。这种迁移我们只在语言预训练上验证过。

In language, the loop still costs loss在语言上,循环仍然要付出损失

Beating another looped recipe is not the same as matching a model with independent layers. At effective depth 20 we trained all three: a non-looped model, a naive loop that shares the same weights without our residual coefficients, and Loo-P.

比另一种循环方案好,不等于追平各层独立的模型。在有效深度 20 上我们把三种都训了:非循环模型、共享同样权重但不加我们残差系数的朴素循环,以及 Loo-P。

Loo-P closes more than half of the naive loop's gap and leaves the restLoo-P 补上了朴素循环一半以上的差距,剩下的还在

Model模型 Parameters参数量 Effective depth有效深度 Val. CE ↓验证 CE ↓ Gap to non-looped与非循环的差距
Non-looped非循环190.74M202.53166–
Naive loop朴素循环 (R = 4, L = 4)105.79M202.61374+0.0821
Loo-P (R = 4, L = 4)105.79M202.56796+0.0363
Climb Mix validation cross-entropy after 15.27B training tokens. All three models have effective depth 20 at width 768 and use the same tokenizer and validation inputs. The gap column is our subtraction.训练 15.27B token 后的 Climb Mix 验证交叉熵。三个模型有效深度都是 20、宽度 768,分词器和验证输入相同。差距一列是我们自己相减得到的。

Sharing removes 44.5% of the parameters. The naive loop pays 0.082 in validation cross-entropy for that, and Loo-P pays 0.036. More than half of the gap is gone; the rest is not.

共享省掉了 44.5% 的参数。朴素循环为此付出 0.082 的验证交叉熵,Loo-P 付出 0.036。一半以上的差距没了,剩下的还在。

More visits do not buy the loss back in our runs at Core depth L=4. In the learning-rate sweep above, the best Loo-P mean at R=8 is 2.548. That model runs 36 blocks deep, and it is still above the 20-block non-looped model's 2.532.

在我们的实验里,Core 深度 L=4 时,多访问几次也补不回这段损失。上面的学习率扫描中,R=8 时 Loo-P 最好的均值是 2.548。这个模型跑 36 层深,仍然高于 20 层非循环模型的 2.532。

In three vision tasks, the same trade costs little or no training loss在三个视觉任务上,同样的交易几乎不抬高训练损失

We ran the same comparison in three vision tasks: 3D reconstruction with E-RayZer, text-to-image generation with MiniT2I, and class-to-image generation with PixelDiT. Each keeps its own backbone, and we loop its middle blocks. The chart puts all four tasks on one axis: training loss relative to that task's non-looped model at matched compute.

同样的对比我们在三个视觉任务上各做了一遍:E-RayZer 的 3D 重建、MiniT2I 的文生图、PixelDiT 的类别条件生图。每个任务保留自己的主干网络,我们只把中间的层改成循环。下图把四个任务放到同一根轴上:同等算力下,训练损失相对该任务非循环模型的变化。

Sharing costs loss in language and little or none in the three vision tasks参数共享在语言上损失更高,在三个视觉任务上几乎没有代价

Training loss over the final 20% of training, as a change relative to each task's non-looped model at matched compute. Left of zero is lower loss.训练最后 20% 区间的训练损失,相对各任务算力对齐的非循环模型的变化。零线左边表示损失更低。

Loo-P Naive loop朴素循环 Non-looped (zero line)非循环模型(零线)
Each row is normalized by its own non-looped model, so rows are not comparable in absolute terms. Compute is matched per task: encoder forward operations in 3D, nominal denoiser compute in text-to-image, nominal training compute in class-to-image, and effective depth in language. Loo-P values are the labels printed in the paper; naive-loop values are read from the paper's vector figure. Percentages on the right are the parameters saved by sharing; for text-to-image that is denoiser parameters against the compute-matched 473M model.每一行用自己任务的非循环模型归一化,行与行之间不能比绝对值。算力按任务各自对齐:3D 是编码器前向运算量,文生图是去噪网络的名义算力,类别条件生图是名义训练算力,语言是有效深度。Loo-P 的数值是论文图上标注的数字;朴素循环的数值是从论文矢量图里读出来的。右侧百分比是共享省下的参数;文生图一行指去噪网络参数,对比的是算力对齐的 473M 模型。

With Loo-P, training loss ends 1.35% below the non-looped model in 3D reconstruction and 0.79% below in text-to-image. In class-to-image it ends 0.21% above, and in language 1.53% above. Loo-P is ahead of the naive loop in language, text-to-image and 3D reconstruction; in class-to-image the two looped variants sit within 0.1 percentage points of each other.

用 Loo-P 时,3D 重建的训练损失比非循环模型低 1.35%,文生图低 0.79%;类别条件生图高 0.21%,语言高 1.53%。在语言、文生图和 3D 重建上 Loo-P 好于朴素循环;在类别条件生图上,两种循环之间的差别不到 0.1 个百分点。

Training loss is not what gets evaluated downstream, so each task's own metrics follow. Those tables give one number per model and metric, without error bars; in text-to-image, GenEval and DPG are reported both before and after fine-tuning.

训练损失不是下游真正评测的指标,所以下面给出每个任务自己的指标。这些表里每个模型的每项指标只有一个数字,没有误差棒;文生图的 GenEval 和 DPG 在微调前后各报一个数。

3D reconstruction: looping alone already helps3D 重建:光是循环就已经有帮助

We put the sandwich in both the pose encoder and the geometry encoder of E-RayZer, with P=C=4 and L=2, and keep its prediction heads and renderer. Models are trained on the DL3DV training split and evaluated on its held-out 140-scene benchmark.

我们把 sandwich 结构放进 E-RayZer 的位姿编码器和几何编码器(P=C=4、L=2),预测头和渲染器保持原样。模型在 DL3DV 训练集上训练,在留出的 140 个场景的基准上评测。

The naive loop already beats the non-looped model; Loo-P adds a little more朴素循环已经超过非循环模型,Loo-P 再多一点

Model模型R Parameters参数量 Encoder TFLOPs编码器 TFLOPs RPA@5 ↑RPA@15 ↑PSNR (dB) ↑
Non-looped非循环1245.83M1.11474.6089.9020.407
Naive loop朴素循环4160.88M1.11477.4690.4820.519
Loo-P4160.88M1.11477.7090.5220.525
Loo-P8160.88M1.67079.1690.7920.684
E-RayZer on the held-out DL3DV benchmark. RPA is relative-pose accuracy in percent, and the @5 and @15 columns are that accuracy at two error thresholds; PSNR is for novel-view synthesis. TFLOPs count encoder forward matrix operations for one scene window of ten 256×256 views. The last row uses 1.5× the encoder compute.E-RayZer 在留出的 DL3DV 基准上的结果。RPA 是相对位姿准确率(%),@5 和 @15 两列是它在两个误差阈值下的取值;PSNR 是新视角合成的指标。TFLOPs 统计一个场景窗口(10 张 256×256 视图)上编码器前向的矩阵运算量。最后一行的编码器算力是 1.5 倍。

With 34.6% fewer parameters and the same encoder compute, the naive loop is already ahead of the non-looped model on all three metrics. Loo-P adds a smaller gain on top: RPA@5 goes from 77.46 to 77.70. Most of the improvement here comes from looping itself, not from our coefficients.

参数少 34.6%、编码器算力相同,朴素循环在三个指标上就已经超过非循环模型。Loo-P 在此之上的增益更小:RPA@5 从 77.46 到 77.70。这里大部分提升来自循环本身,而不是我们的系数。

Eight visits raise all three metrics again without adding parameters. That costs 1.5× the encoder compute, so it is a second operating point, not a gain at the original budget.

访问八次时三个指标继续上涨,参数不变。但编码器算力变成 1.5 倍,所以它是另一个工作点,而不是原预算下的增益。

One scene, same input views: the looped model repairs the floor同一个场景、同样的输入视图:循环模型修好了地板

Five input views of a diner, then the non-looped render (PSNR 18.55 dB), the looped render (PSNR 20.03 dB) and the ground-truth view
Novel-view synthesis for one target view, from the paper. The non-looped render scores 18.55 dB PSNR and the looped render 20.03 dB. This is a single example; the table carries the evidence.论文中的一个新视角合成例子。非循环模型的渲染结果 PSNR 为 18.55 dB,循环模型为 20.03 dB。这只是一个例子,证据在上面的表里。

Text-to-image: only the Loo-P recipe puts the loop ahead on both GenEval and DPG文生图:用上 Loo-P 的方案,循环才在 GenEval 和 DPG 上都领先

MiniT2I-B/32 is a pixel-space denoiser conditioned on frozen FLAN-T5-Large text features, generating 512×512 images. The looped models use P=C=6, L=5 and R=4: 17 distinct blocks at an effective depth of 32. Training is 250K pretraining updates on CC12M, then 40K updates of supervised fine-tuning (SFT).

MiniT2I-B/32 是像素空间的去噪网络,以冻结的 FLAN-T5-Large 文本特征为条件,生成 512×512 的图像。循环模型取 P=C=6、L=5、R=4:17 个不同的层,有效深度 32。先在 CC12M 上预训练 25 万步,再做 4 万步监督微调(SFT)。

There are two non-looped baselines. The 17-block one matches the looped models' 260M parameters and uses about half their compute. The 32-block one matches their compute and has 473M parameters.

这里有两个非循环基线。17 层的那个和循环模型一样是 260M 参数,算力大约只有一半;32 层的那个算力对齐,参数是 473M。

One difference besides the coefficients: Loo-P pretrains at a learning rate of 1.6\times10^{-3}, while the naive loop and both non-looped baselines use 4\times10^{-4}. The comparison below is therefore between whole training recipes, not between coefficients alone.

除了系数之外还有一处不同:Loo-P 预训练用的学习率是 1.6\times10^{-3},朴素循环和两个非循环基线用 4\times10^{-4}。所以下面比较的是整套训练方案,而不只是系数。

Loo-P at 260M edges past the compute-matched 473M model on GenEval and DPG; the naive loop does not260M 的 Loo-P 在 GenEval 和 DPG 上略高于算力对齐的 473M 模型,朴素循环做不到

Model模型R Parameters参数量 TFLOPs GenEval ↑
pretrain → SFT预训练 → SFT
DPG ↑
pretrain → SFT预训练 → SFT
FID ↓FD-DINOv2 ↓CMMD ↓
Non-looped非循环1260M0.43853.34 → 84.4678.07 → 82.6327.63281.7401.0301
Naive loop朴素循环4260M0.80651.39 → 82.3878.56 → 83.3327.28296.5251.0223
Loo-P4260M0.80655.21 → 85.8380.63 → 84.6727.62274.8190.9596
Non-looped非循环1473M0.80653.58 → 85.2980.53 → 83.8626.32278.7510.9722
MiniT2I-B/32 before and after SFT. GenEval (%) and DPG-Bench measure compositional prompt following. FID, FD-DINOv2 and CMMD are all measured after SFT: FID on 30K COCO samples, and FD-DINOv2 and CMMD by comparing 30K generated images with the matching COCO reference set. TFLOPs are nominal denoiser compute.MiniT2I-B/32 在 SFT 前后的结果。GenEval(%)和 DPG-Bench 衡量对组合式提示词的遵循程度。FID、FD-DINOv2 和 CMMD 都在 SFT 之后测:FID 用 3 万个 COCO 样本,FD-DINOv2 和 CMMD 用 3 万张生成图对比对应的 COCO 参考集。TFLOPs 为去噪网络的名义算力。

After SFT the naive loop finishes behind the compute-matched 473M model on both benchmarks: 82.38 against 85.29 on GenEval, 83.33 against 83.86 on DPG. On GenEval it is also behind the 260M non-looped model, which uses about half the compute.

SFT 之后,朴素循环在两个基准上都落后于算力对齐的 473M 模型:GenEval 82.38 对 85.29,DPG 83.33 对 83.86。在 GenEval 上它甚至落后于只用一半左右算力的 260M 非循环模型。

Loo-P reaches 85.83 on GenEval and 84.67 on DPG, with 45% fewer denoiser parameters than the 473M model. FD-DINOv2 and CMMD also favor Loo-P. The larger model keeps the lower FID, 26.32 against 27.62.

Loo-P 在 GenEval 上做到 85.83、DPG 上做到 84.67,去噪网络参数比 473M 模型少 45%。FD-DINOv2 和 CMMD 也是 Loo-P 更好。FID 仍然是大模型更低:26.32 对 27.62。

Same prompts, same initial noise: the looped model follows the spatial relation more closely同样的提示词、同样的初始噪声:循环模型把空间关系画得更准

Prompt: purple scissors. Non-looped image on the left, looped on the rightPrompt: a couch below a cup. Non-looped image on the left, looped on the rightPrompt: a frisbee right of a motorcycle. Non-looped image on the left, looped on the right
Three prompts from the paper, non-looped on the left of each pair and looped on the right. In the two spatial prompts the looped model places the objects more clearly: the cup sits above the couch rather than on its seat, and the frisbee lies to the right of the motorcycle rather than in front of its wheel. The scissors pair is less clear-cut: the non-looped render has a single blade, and the looped one has a stray purple wedge between the handles. Selected examples; the benchmark numbers are in the table above.论文里的三条提示词,每组左边是非循环模型,右边是循环模型。在两条空间关系的提示词上,循环模型把物体的位置画得更明确:杯子在沙发上方而不是坐垫上,飞盘在摩托车右边而不是前轮跟前。剪刀这一组没那么分明:非循环模型只画出一片刀刃,循环模型在两个把手之间多出一块紫色。例子是挑选过的,基准数字见上表。

Class-to-image: at four visits the loop gives something up类别条件生图:访问四次时,循环要让出一些质量

PixelDiT-XL generates ImageNet-1K images at 256×256. We loop its patch-level Transformer (P=8, L=4, C=2) and leave its four pixel-level blocks as they are. All rows are evaluated after 400,320 updates, using 50K samples from the exponential-moving-average (EMA) weights.

PixelDiT-XL 生成 256×256 的 ImageNet-1K 图像。我们把它的 patch 级 Transformer 改成循环(P=8、L=4、C=2),四个像素级的层保持不变。所有行都在 400,320 步之后评测,用权重的指数移动平均(EMA)模型生成 5 万张样本。

At matched compute gFID goes from 2.26 to 2.75; eight visits bring it back at 1.4× compute同等算力下 gFID 从 2.26 变成 2.75;访问八次能追回来,代价是 1.4 倍算力

Model模型R Parameters参数量 TFLOPs gFID ↓sFID ↓IS ↑ Precision ↑精确率 ↑ Recall ↑召回率 ↑
Non-looped非循环1797.38M0.9892.25834.945964.46510.78980.5990
Naive loop朴素循环4510.60M0.9892.83485.158559.39020.77450.5904
Loo-P4510.60M0.9892.75115.254159.81680.77760.5999
Loo-P8510.60M1.3982.24234.931263.63850.77130.6057
PixelDiT-XL on ImageNet-1K 256×256, evaluated with the ADM suite. gFID is the Fréchet Inception Distance of generated samples, sFID its spatial variant, and IS the Inception Score. The first three rows have matched nominal training compute; the last row uses 1.413× as much.PixelDiT-XL 在 ImageNet-1K 256×256 上的结果,用 ADM 评测套件。gFID 是生成样本的 Fréchet Inception Distance,sFID 是它的空间版本,IS 是 Inception Score。前三行的名义训练算力相同,最后一行是 1.413 倍。

Class-to-image is the vision task where sharing costs the most quality at matched compute. With 36.0% fewer parameters, training loss is within 0.21% of the non-looped model, but gFID is 2.75 against 2.26. Loo-P is ahead of the naive loop on gFID, IS, precision and recall, and slightly behind on sFID.

类别条件生图是同等算力下共享代价最大的视觉任务。参数少 36.0%,训练损失只比非循环模型高 0.21%,但 gFID 是 2.75 对 2.26。Loo-P 在 gFID、IS、精确率和召回率上好于朴素循环,sFID 略差。

Going to eight visits brings gFID to 2.24 and sFID to 4.93, level with the non-looped model, and recall slightly above it. IS and precision stay lower, and the model now uses 1.413× the compute.

访问八次时 gFID 到 2.24、sFID 到 4.93,和非循环模型持平,召回率略高。IS 和精确率仍然更低,而且算力变成了 1.413 倍。

Same class labels and initial noise: at four visits the looped samples look cleaner while gFID is worse同样的类别标签和初始噪声:访问四次时,循环模型的样本更干净,但 gFID 更差

Eight ImageNet classes; top row from the non-looped PixelDiT, bottom row from the looped model
ImageNet classes 1 to 4; top row from the non-looped PixelDiT, bottom row from the looped modelImageNet classes 5 to 8; top row non-looped, bottom row looped
Rows labelled Non-loop come from the non-looped model; rows labelled Loop come from the looped model at R = 4, with the same inference FLOPs, class labels and initial noise, so each image sits directly below its non-looped counterpart. In these eight samples the looped model produces cleaner object structure, while its gFID over 50K samples is worse. A few selected images cannot settle what the distribution-level metrics measure.标着 Non-loop 的一排来自非循环模型,标着 Loop 的一排来自循环模型(R = 4),两者的推理 FLOPs、类别标签和初始噪声都相同,所以每张循环模型的图就在对应的非循环图正下方。在这八张样本里循环模型的物体结构更干净,但它在 5 万张样本上的 gFID 更差。几张挑出来的图回答不了分布层面的指标要回答的问题。
Training-loss curves for all four tasks四个任务的训练损失曲线

Language语言

Language training cross-entropy, full run and final 20%

3D reconstruction (E-RayZer)3D 重建(E-RayZer)

E-RayZer training loss, full run and final 20%

Class-to-image (PixelDiT)类别条件生图(PixelDiT)

PixelDiT training loss, full run and final 20%

Text-to-image (MiniT2I)文生图(MiniT2I)

MiniT2I training loss, full run and final 20%

Plots from the paper. Orange: Loo-P. Gray: naive loop. Blue: non-looped, compute-matched. In each panel the top plot is the full run and the bottom plot is the final 20%, the window the chart above summarizes.论文原图。橙色:Loo-P;灰色:朴素循环;蓝色:算力对齐的非循环模型。每格上图是完整训练过程,下图是最后 20%,也就是上面那张图汇总的区间。

More samples from the looped models循环模型的更多样本
Novel-view synthesis results from the looped E-RayZer on DL3DV test scenes

Looped E-RayZer on the DL3DV test split. Each scene shows five input views (left), five predicted novel views (upper right) and the ground truth (lower right).循环版 E-RayZer 在 DL3DV 测试集上的结果。每个场景:五张输入视图(左)、五张预测的新视角(右上)和对应的真值(右下)。

Images generated by the looped MiniT2I

Images generated by the looped MiniT2I.循环版 MiniT2I 生成的图像。

ImageNet 256×256 images generated by the looped PixelDiT

Images generated by the looped PixelDiT, ImageNet 256×256.循环版 PixelDiT 生成的图像,ImageNet 256×256。

Why vision and not language? A hypothesis, not a result为什么是视觉而不是语言?这是假说,不是结论

We did not isolate the cause. The four tasks differ in architecture, data and objective all at once, so nothing here separates “vision” from “this particular backbone”.

我们没有把原因分离出来。四个任务的架构、数据和训练目标同时都不一样,所以这里没有任何证据能把“视觉”和“这个具体的主干网络”区分开。

Our working hypothesis is that looping suits tasks whose input already carries rich structure to refine step by step, and suits less well tasks that expand a sparse condition or lean on many distinct layers.

我们目前的假说是:如果输入本身已经带有丰富的结构,可以一步步细化,循环就合适;如果任务要从很稀疏的条件展开,或者更依赖许多各不相同的层,循环就没那么合适。

In 3D reconstruction, multi-view observations supply dense geometric constraints. Text-to-image receives a compositional prompt through a frozen text encoder. Class-to-image starts from a single class label, and it is the vision task where the loop gave up the most.

3D 重建里,多视图观测提供了稠密的几何约束。文生图通过冻结的文本编码器拿到组合式的提示词。类别条件生图只从一个类别标签出发,而它正是循环让出质量最多的视觉任务。

Each vision task predicts far more values than it reads tokens; language predicts one target per token视觉任务要预测的值远多于读入的 token;语言是每个 token 预测一个目标

Bar chart of input tokens and final predictions per training example for E-RayZer, PixelDiT, MiniT2I and language
Counts per training example, from the paper. E-RayZer: 3,890 input tokens and 327,680 pixel positions. PixelDiT: 256 and 65,536. MiniT2I: 512 (256 image and 256 text) and 262,144. Language: 4,096 tokens and 4,095 next-token targets, each over a 32,000-token vocabulary. Both rows use the same logarithmic scale, starting at 100.每个训练样本的数量,论文原图。E-RayZer:3,890 个输入 token,327,680 个像素位置。PixelDiT:256 和 65,536。MiniT2I:512(256 图像 + 256 文本)和 262,144。语言:4,096 个 token,4,095 个下一 token 目标,每个目标在 32,000 的词表上预测。上下两行用同一个对数刻度,从 100 起。

Language pretraining has no spatial decoding stage: 4,096 tokens go in and 4,095 next-token predictions come out. We suspect this puts more weight on independent layer capacity, which is exactly what sharing removes. That is a reading of four data points. Whether looped language models pay off in reasoning, post-training or test-time compute is outside what we measured.

语言预训练没有空间解码这一步:进去 4,096 个 token,出来 4,095 个下一 token 预测。我们猜这让模型更依赖各层独立的容量,而共享拿掉的恰恰是这个。这只是对四个数据点的解读。循环语言模型在推理、后训练或测试时计算上是否划算,不在我们测量的范围内。

The recipe: three multipliers on the Core's residual branches方案:Core 残差分支上的三个乘子

Inside the Core, at visit r, each pre-norm block computes

在 Core 内部,第 r 次访问时,每个 pre-norm 层计算

z = x + \gamma_{A,r}\,\mathrm{Attn}(\mathrm{Norm}(x)),
x^{+} = z + \gamma_{F,r}\,\mathrm{FFN}(\mathrm{Norm}(z))

The Prelude and Coda keep both coefficients at 1. In the Core, each coefficient is a product of three factors:

Prelude 和 Coda 的两个系数保持为 1。在 Core 里,每个系数是三个因子的乘积:

\gamma_{A,r} = g_{R,L}\; w_A\; v_r,
\gamma_{F,r} = g_{R,L}\; w_F\; v_r
  • Module-wise, set by \rho. w_A = \rho\sqrt{2/(1+\rho^2)} and w_F = \sqrt{2/(1+\rho^2)}. Their ratio is \rho and w_A^2 + w_F^2 = 2, so \rho moves weight between attention and the FFN without changing the total.
  • Visit-wise, set by \beta. v_r = 1 + \beta\cos\!\big(\pi (r+\tfrac12)/R\big) for r = 0,\dots,R-1, with |\beta| < 1. It averages to 1 over the visits. Its mean square is 1+\beta^2/2 for R \ge 2, 12.5% above 1 at |\beta| = 0.5, so the visit weights are normalized in the mean, not in the square. A positive \beta makes early visits larger and late visits smaller; a negative one does the reverse.
  • Global, g_{R,L} = (R_0/R)(L_0/L). Relative to a base shape (R_0, L_0), every Core branch shrinks in proportion as the Core is visited more often or made deeper.
  • 按模块分配,由 \rho 决定。w_A = \rho\sqrt{2/(1+\rho^2)},w_F = \sqrt{2/(1+\rho^2)}。两者之比是 \rho,且 w_A^2 + w_F^2 = 2,所以 \rho 只是在注意力和 FFN 之间挪动权重,总量不变。
  • 按访问分配,由 \beta 决定。v_r = 1 + \beta\cos\!\big(\pi (r+\tfrac12)/R\big),r = 0,\dots,R-1,|\beta| < 1。它在各次访问上的平均值是 1。它的平方均值在 R \ge 2 时是 1+\beta^2/2,|\beta| = 0.5 时比 1 高 12.5%,所以访问权重只在均值上归一,不在平方上归一。\beta 为正时前几次访问更大、后几次更小;为负时反过来。
  • 全局因子 g_{R,L} = (R_0/R)(L_0/L)。相对基准形状 (R_0, L_0),Core 被访问得越多或者越深,每个残差分支就按比例缩小。

The module split keeps its squared sum at 2 and the visit schedule keeps its mean at 1模块权重的平方和保持为 2,访问权重的均值保持为 1

Multipliers on the Core's attention and FFN branches at each visit, before the global factor g. The dashed line is a unit residual.每次访问时 Core 的注意力分支和 FFN 分支上的乘子,不含全局因子 g。虚线是单位残差。

Setting设置
Core visitsCore 访问次数
attention, wA·vr注意力,wA·vr FFN, wF·vr
The first three presets are the values used in the paper's four tasks; “Unit” sets every multiplier to 1. Whatever the sliders say, the squared module weights sum to 2 and the visit weights average to 1; the readout also shows the visit weights' mean square, which a nonzero β raises above 1 once R ≥ 2.前三个预设是论文四个任务实际使用的取值;“单位残差”把所有乘子都设为 1。不管滑块怎么拖,两个模块权重的平方和都是 2,各次访问权重的平均值都是 1;读数里还给出访问权重的平方均值,R ≥ 2 时只要 β 不为 0 它就高于 1。

We pick \rho and \beta with a small proxy scan per task and then hold them fixed as the model changes shape. They are constants: no learned parameters and no visit-specific weight copies.

\rho 和 \beta 在每个任务上用一次小规模的代理扫描选定,之后模型形状怎么变都不再动。它们是常数:不增加可学习参数,也不为每次访问复制一份权重。

The values are not universal. Language uses \rho=2, \beta=0.5; E-RayZer and PixelDiT use \rho=2, \beta=-0.5; MiniT2I uses \rho=1, \beta=0.5. Even the sign of \beta differs between tasks, so a new task needs its own scan.

这些取值并不通用。语言用 \rho=2, \beta=0.5;E-RayZer 和 PixelDiT 用 \rho=2, \beta=-0.5;MiniT2I 用 \rho=1, \beta=0.5。连 \beta 的符号在不同任务上都不一样,所以新任务需要自己扫一遍。

The other half of the recipe is the optimizer. Loo-P starts from the Loop-μP parameterization and changes how things scale with Core depth: the residual exponent goes from ½ to 1, the learning rates lose their depth factor, and AdamW's \epsilon in the blocks takes a full 1/L.

方案的另一半在优化器。Loo-P 从 Loop-μP 的参数化出发,改掉了随 Core 深度缩放的方式:残差的指数从 ½ 变成 1,学习率不再带深度因子,各层 AdamW 的 \epsilon 按完整的 1/L 缩放。

Loo-P moves the Core-depth factor out of the learning rates and into the residuals and εLoo-P 把 Core 深度因子从学习率里拿掉,放进残差和 ε

Loop-μPLoo-P
Core attention residualCore 注意力残差x + m_R^{-1} m_L^{-1/2}\,\mathrm{Attn}x + m_R^{-1} m_L^{-1}\, w_A v_r\,\mathrm{Attn}
Core FFN residualCore FFN 残差z + m_R^{-1} m_L^{-1/2}\,\mathrm{FFN}z + m_R^{-1} m_L^{-1}\, w_F v_r\,\mathrm{FFN}
Hidden-weight learning rate隐藏层权重学习率\eta\, m_N^{-1} m_L^{-1/2}\eta\, m_N^{-1}
Pre-norm and hidden-bias learning ratepre-norm 与隐藏层偏置学习率\eta\, m_L^{-1/2}\eta
AdamW \epsilon in blocks各层 AdamW 的 \epsilon\epsilon\, m_N^{-1} m_L^{-1/2}\epsilon\, m_N^{-1} m_L^{-1}
From the paper's parameterization table; rows that are identical in both columns are omitted. m_R = R/R_0, m_L = L/L_0 and m_N are the recurrence, Core-depth and width multipliers relative to the base model, and L counts unique Core blocks. Our sweeps hold the width fixed.摘自论文的参数化表,两列相同的行已省略。m_R = R/R_0、m_L = L/L_0 和 m_N 分别是循环次数、Core 深度和宽度相对基准模型的倍数,L 只数 Core 里不同的层。我们的扫描里宽度是固定的。

Put together, using it looks like this:

合起来,用法是这样的:

  1. Arrange the model as Prelude, Core, Coda, and loop only the Core. Leave Prelude and Coda residuals at 1.
  2. Pick \rho and \beta with a small proxy scan on the task, then freeze them.
  3. Multiply each Core residual branch by (R_0/R)(L_0/L), by w_A or w_F, and by v_r for the current visit.
  4. Scale AdamW's \epsilon in the blocks by L_0/L, and do not rescale the learning rate with R or L.
  5. Tune the base learning rate once on a small shape and reuse it on larger ones. We checked this last step in language pretraining only.
  1. 把模型排成 Prelude、Core、Coda,只循环 Core。Prelude 和 Coda 的残差系数保持为 1。
  2. 在目标任务上用一次小规模代理扫描选出 \rho 和 \beta,然后固定。
  3. Core 的每个残差分支乘上 (R_0/R)(L_0/L)、w_A 或 w_F,以及当前这次访问的 v_r。
  4. 各层 AdamW 的 \epsilon 乘上 L_0/L;学习率不随 R 或 L 调整。
  5. 基础学习率在小形状上调一次,直接用到更大的形状上。最后这一步我们只在语言预训练上验证过。

Why divide by L and not √L为什么除以 L 而不是 √L

The one place Loo-P departs from Loop-μP on the global scale is the exponent on Core depth. Loop-μP divides the residual by \sqrt{L}, the Depth-μP rule. We divide by L, the choice CompleteP makes for non-looped depth. Along the loop axis both recipes divide by R.

在全局缩放上,Loo-P 和 Loop-μP 只有一处不同:Core 深度上的指数。Loop-μP 把残差除以 \sqrt{L},这是 Depth-μP 的规则;我们除以 L,这是 CompleteP 在非循环深度上的选择。在循环这个轴上,两种方案都除以 R。

A scalar toy shows what the exponent controls. Take a Core of L blocks visited R times, where each block multiplies its input by 1 + (ab-1)/(RL^{\alpha}). Both weights, a and b, start at 1, so the model starts as the identity. One Adam step with learning rate \eta L^{\alpha-1} moves each weight by \delta = \eta L^{\alpha-1}, and ab - 1 becomes 2\delta + \delta^2.

一个标量玩具模型可以说明这个指数管的是什么。设 Core 有 L 层、被访问 R 次,每层把输入乘上 1 + (ab-1)/(RL^{\alpha})。两个权重 a 和 b 都从 1 出发,所以模型一开始是恒等映射。用学习率 \eta L^{\alpha-1} 走一步 Adam,每个权重移动 \delta = \eta L^{\alpha-1},ab - 1 变成 2\delta + \delta^2。

The \delta^2 term is the interaction between the two weights inside one block. We compare the full output with one that drops only that term, and take the log-ratio D of the two:

\delta^2 这一项是同一层里两个权重之间的相互作用。我们把完整的输出和只去掉这一项之后的输出相比,取两者的对数比 D:

D = N \log\!\left(1 + \frac{\eta^2 L^{\alpha-1}}{N + 2\eta}\right),
N = RL

For large L, D/\eta^2 behaves like L^{\alpha-1}. With \alpha = \tfrac12 it decays to zero as the Core deepens. With \alpha = 1 it stays at 1.

L 很大时,D/\eta^2 大致按 L^{\alpha-1} 变化。\alpha = \tfrac12 时,它随着 Core 变深衰减到零;\alpha = 1 时,它保持在 1。

With 1/√L, the within-block interaction fades as the Core deepens; with 1/L it stays用 1/√L,层内相互作用随 Core 变深而消失;用 1/L,它保留下来

D/η² against Core depth L in the scalar toy, after one Adam step. Both axes are logarithmic.标量玩具模型走一步 Adam 之后,D/η² 随 Core 深度 L 的变化。两个坐标轴都是对数刻度。

Core visitsCore 访问次数
Base learning rate基础学习率
α = 1, residual / L (the exponent Loo-P uses)α = 1,残差 / L(Loo-P 用的指数) α = ½, residual / √L (the exponent Loop-μP uses)α = ½,残差 / √L(Loop-μP 用的指数)
Curves are drawn from the closed form above, at the paper's grid points L = 1, 2, 4, …, 1024. The paper also checks every point numerically with an explicit unrolled model. D/η² = 1 means an output ratio of exp(η²), not a unit gain in performance.曲线由上面的闭式在论文的网格点 L = 1, 2, 4, …, 1024 上画出;论文另外用显式展开的模型对每个点做了数值验证。D/η² = 1 表示输出之比为 exp(η²),并不是性能提升了一个单位。

This is an illustration of one mechanism, not evidence about Transformers. It concerns the interaction between parameters inside a block after a single update. It says nothing about whole-network linearity, multi-step optimization, or cross-entropy.

这只是对一种机制的示意,不是关于 Transformer 的证据。它讲的是单步更新之后同一层内参数之间的相互作用,对整个网络是否线性、多步优化的好坏、交叉熵的高低都没有说明。

The empirical case for 1/L is the depth sweep above: with it, one learning rate stays the best tested value from L=2 to L=12, and the loss is below our Loop-μP reproduction in all six shapes.

1/L 的实证依据是前面的深度扫描:用它之后,从 L=2 到 L=12,测试过的最优学习率始终是同一个,而且六种形状上的损失都低于我们复现的 Loop-μP。

Open questions还没回答的问题

  • Scale. Every model here is below a billion parameters. Whether one learning rate keeps transferring, and whether the vision results hold, further up the scaling ladder is untested.
  • A unified backbone. The four tasks use four different architectures, so task and architecture are confounded in the cross-task comparison. A more unified backbone would be the cleaner test.
  • Where language looping pays. Our language result is standard next-token pretraining. Looping may do comparatively better on multi-step reasoning, in post-training, or when compute is scaled at test time. We did not test any of these.
  • 规模。这里所有模型都在十亿参数以下。再往上走,一个学习率还能不能迁移、视觉上的结果还成不成立,都没有验证过。
  • 统一的主干网络。四个任务用的是四种不同的架构,所以跨任务比较里任务和架构是混在一起的。换成更统一的主干网络才是更干净的检验。
  • 语言上循环在哪里划算。我们的语言结果是标准的下一 token 预训练。在多步推理、后训练,或者测试时加算力的场景里,循环可能相对更有优势。这几种我们都没有测。

Looped language models. Adaptive Computation Time introduced learned halting for recurrent networks; Universal Transformers and ALBERT then shared weights across Transformer depth. Recent work scales looping up: Huginn pretrains a Prelude–Core–Coda model with variable test-time compute, Mixture-of-Recursions routes tokens to different recursion depths, and Ouro combines large-scale looped pretraining with learned depth allocation. Huang et al. separate the effects of recurrence placement, input injection and recurrent-state design, with evidence for sandwich layouts.

循环语言模型。Adaptive Computation Time 为 RNN 引入了可学习的停止机制;之后 Universal Transformers 和 ALBERT 在 Transformer 的深度方向上共享权重。近期的工作把循环做大:Huginn 预训练了 Prelude–Core–Coda 结构的模型,推理时算力可变;Mixture-of-Recursions 让不同 token 走不同的递归深度;Ouro 把大规模循环预训练和学习到的深度分配结合起来。Huang 等人把循环位置、输入注入和循环状态设计的影响分开研究,给出了支持 sandwich 结构的证据。

Beating non-looped language models at matched compute remains hard (Schwethelm et al.; Saunshi et al.), and reported gains depend on the task and on carefully designed architectures or training recipes (RINS; SMELT). Our language numbers are consistent with that.

在同等算力下胜过非循环语言模型仍然很难(Schwethelm 等;Saunshi 等),已报告的收益取决于任务,也取决于精心设计的架构或训练方案(RINS;SMELT)。我们的语言结果与此一致。

Looping in vision. HRM, TRM and LoopViT study recurrence on puzzles and ARC. For image generation, ELT uses intra-loop self-distillation to support several inference depths, Looped-DiT adds intermediate-loop supervision, LiFT supervises a continuous depth trajectory, and Dooop distills a pretrained non-looped diffusion Transformer into a looped one. We add 3D reconstruction and compare the sharing trade-off with language under task-specific compute matching.

视觉里的循环。HRM、TRM 和 LoopViT 在谜题和 ARC 上研究循环计算。在图像生成上,ELT 用循环内自蒸馏来支持多种推理深度,Looped-DiT 加入了中间循环的监督,LiFT 监督一条连续的深度轨迹,Dooop 则把预训练好的非循环扩散 Transformer 蒸馏成循环模型。我们加入了 3D 重建,并在各任务各自匹配算力的条件下,把参数共享的取舍和语言上的情况做了对比。

Hyperparameter transfer. μP showed that a suitable parameterization keeps good hyperparameters stable as width grows, and Depth-μP extended the question to residual depth. CompleteP argued that transfer alone is not enough: each block should also keep learning nonlinear features, which motivates its inverse-depth residual scaling. Loop-μP analyses weight-tied recurrence and pairs 1/R loop scaling with 1/\sqrt{L} depth scaling. Loo-P keeps the 1/R rule, takes 1/L from CompleteP, and adds the normalized module-wise and visit-wise allocation.

超参数迁移。μP 表明,合适的参数化能让好的超参数在宽度增大时保持稳定;Depth-μP 把这个问题推广到残差深度。CompleteP 指出只有迁移还不够:每一层还应该保持非线性的特征学习,这就是它采用反比于深度的残差缩放的理由。Loop-μP 分析了权重共享的循环,把 1/R 的循环缩放和 1/\sqrt{L} 的深度缩放配在一起。Loo-P 保留 1/R 规则,从 CompleteP 取来 1/L,再加上按模块和按访问的归一化分配。

Acknowledgements致谢

We thank Matthew Fisher and Kalyan Sunkavalli for supporting compute resources. We thank Qitao Zhao for his help with E-RayZer training and data processing. We thank Nanxuan (Cherry) Zhao, Hao Tan, Yao-Chih Lee, Michael Fischer, Sam Sartor and Nathan Carr for helpful discussions.

感谢 Matthew Fisher 和 Kalyan Sunkavalli 提供计算资源支持;感谢 Qitao Zhao 在 E-RayZer 训练和数据处理上的帮助;感谢 Nanxuan (Cherry) Zhao、Hao Tan、Yao-Chih Lee、Michael Fischer、Sam Sartor 和 Nathan Carr 的有益讨论。

References参考文献

  1. Geiping et al. Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach. arXiv:2502.05171, 2025.
  2. Diao et al. Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training. arXiv:2504.13161, 2025.
  3. Wang, Li, Zhu, Zhang, Huang, Yan, Li. Loop-μP: Residual Scaling and Hyperparameter Transfer in Looped Transformers. arXiv:2606.18524, 2026.
  4. Zhao et al. E-RayZer: Self-supervised 3D Reconstruction as Spatial Visual Pre-training. CVPR 2026.
  5. Wang, Zhao, Lu, Zhou, Ma, He. MiniT2I: A Minimalist Baseline for Text-to-Image Generation. Blog post, 2026.
  6. Yu, Xiong, Nie, Sheng, Liu, Luo. PixelDiT: Pixel Diffusion Transformers for Image Generation. CVPR 2026.
  7. Ling et al. DL3DV-10K: A Large-Scale Scene Dataset for Deep Learning-based 3D Vision. CVPR 2024.
  8. Changpinyo, Sharma, Ding, Soricut. Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Concepts. CVPR 2021.
  9. Ghosh, Hajishirzi, Schmidt. GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignment. NeurIPS 2023.
  10. Hu et al. ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignment. arXiv:2403.05135, 2024.
  11. Yang, Yu, Zhu, Hayou. Tensor Programs VI: Feature Learning in Infinite Depth Neural Networks. ICLR 2024.
  12. Dey et al. Don't Be Lazy: CompleteP Enables Compute-Efficient Deep Transformers. arXiv:2505.01618, 2025.
  13. Graves. Adaptive Computation Time for Recurrent Neural Networks. arXiv:1603.08983, 2016.
  14. Dehghani, Gouws, Vinyals, Uszkoreit, Kaiser. Universal Transformers. arXiv:1807.03819, 2018.
  15. Lan et al. ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. arXiv:1909.11942, 2019.
  16. Bae et al. Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation. arXiv:2507.10524, 2025.
  17. Zhu et al. Scaling Latent Reasoning via Looped Language Models. arXiv:2510.25741, 2025.
  18. Huang et al. Towards Looped Models Done Right, Part I: Topology, Input Injection, Recurrent-State Design. arXiv:2610.23036, 2026.
  19. Schwethelm, Rueckert, Kaissis. How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models. NeurIPS 2026.
  20. Saunshi, Dikkala, Li, Kumar, Reddi. Reasoning with Latent Thoughts: On the Power of Looped Transformers. ICLR 2025.
  21. Alabdulmohsin, Zhai. Recursive Inference Scaling: A Winning Path to Scalable Inference in Language and Multimodal Systems. NeurIPS 2025.
  22. Wang et al. SMELT: Scaling Laws for Compute-Matched MoE Looped Transformers. arXiv:2609.01343, 2026.
  23. Wang et al. Hierarchical Reasoning Model. arXiv:2506.21734, 2025.
  24. Jolicoeur-Martineau. Less is More: Recursive Reasoning with Tiny Networks. arXiv:2510.04871, 2025.
  25. Shu et al. LoopViT: Scaling Visual ARC with Looped Transformers. arXiv:2602.02156, 2026.
  26. Goyal et al. ELT: Elastic Looped Transformers for Visual Generation. arXiv:2604.09168, 2026.
  27. Chng et al. Looped Diffusion Transformer. arXiv:2609.40305, 2026.
  28. Derakhshani, Curvo, Burghouts, van de Meent, Snoek. LiFT: Loop Flow Transformers. arXiv:2610.05538, 2026.
  29. Wang, An. Distill to Loop: Turning Pretrained Diffusion Transformers into Looped Models with Adjustable Depth. 2026.
  30. Yang et al. Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer. arXiv:2203.03466, 2022.

Citation引用

@misc{xu2026loop,
  title  = {Loo-P beyond Language: Scaling Looped Transformers with Structured Residuals},
  author = {Xu, Yiran and Luo, Yawen and Jiang, Hanwen and Ge, Chongjian and Cai, Zefan},
  year   = {2026}
}
Interactive charts are redrawn from the paper's data; static plots and image comparisons are the paper's own figures.交互图表按论文数据重绘;静态图和图像对比是论文原图。