Manuscript Offprint

arXiv:2610.19975

LatentLoop: Scaling Looped MoE Models with Asymmetric Compute Allocation

Zefeng He, Yunkai Chai, Xiaoyang Chen, Tong Zhu, Zongliang Wu, Yun Luo, Yafu Li, Yu Cheng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Abstract | Looped Mixture-of-Experts (MoE) models combine parameter reuse with sparse computation to improve performance under matched budgets. Prior work demonstrates that different loop visits can play different roles even when they share parameters. To probe the contributions of different loop visits, we learn separate residual coefficients in a model that applies a shared block twice, observing a smaller scale in the first visit. Fixed coefficient experiments show that reducing the first visit's scale preserves or improves performance, whereas the same reductions to the second hurt it. This asymmetry motivates us to explore asymmetric compute allocation. We propose LatentLoop, which compresses the first visit's sequence, retains full resolution in the second, and reallocates saved computation to increase the hidden size. We further learn how strongly the first visit updates the full sequence, and share MoE weights across visits while using separate attention parameters to accommodate their different sequence resolutions. Across 15 configurations spanning 1.3B–7B parameters, with the largest budget exceeding 102110^{21} FLOPs, LatentLoop consistently lowers validation NLL. At a fitted NLL of 1.988, predicted compute savings are 19.0% and 7.9% relative to vanilla MoE and the looped baseline. It also improves average scores on nine benchmarks at all sizes in 0-shot and 5-shot settings. These results suggest asymmetric compute allocation is a promising direction for looped MoE models.

1. Introduction

Looped Transformers (Bai et al., 2019; Dehghani et al., 2018; Geiping et al., 2026; Prairie et al., 2026; Zhu et al., 2025) increase effective depth by repeatedly applying shared layers, offering a way to improve language modeling and reasoning without storing a separate set of weights for each visit. However, each visit still requires computation, so gains at a fixed parameter count do not establish an advantage under equal resource budgets. Recent work (Chen et al., 2026a,b; Lee et al., 2026; Wang et al., 2026b) combines looping with Mixture-of-Experts (MoE) (Fedus et al., 2022) architectures, allowing stored parameter capacity to be adjusted separately from active computation. In particular, SMELT (Wang et al., 2026b) shows that looping can improve performance under matched resource budgets. We study how to further improve looped MoE performance while matching parameter count, KV cache, FLOPs per step, and total training FLOPs within 1%.

We start from SMELT's looped MoE recipe, which applies the middle half of the layers twice using shared parameters. We first examine how the two visits update the model's representations. Prior work suggests that different visits can play different roles even when they share parameters (Blayney et al., 2026; Geiping et al., 2026; Wang et al., 2026b; Zhu et al., 2025). To probe this difference, we introduce a learnable residual coefficient for each visit and optimize both jointly with the model weights. At both model sizes we study, the first visit learns a substantially smaller coefficient, while the second remains close to one. Experiments with fixed coefficients reinforce this asymmetry: reducing the first visit's residual scale preserves or improves validation NLL, whereas the same reductions to the second visit increase it. This asymmetry in the two visits' preferred residual update scales motivates a further question: should we allocate different amounts of computation to the two visits?

Motivated by these findings, we explore asymmetric compute allocation: reducing computation in the first visit and reallocating the saved budget elsewhere. Among several initial approaches, sequence compression gives the lowest validation NLL. We therefore introduce LatentLoop, whose first visit processes a compressed latent sequence while its second operates at full resolution, and reallocate the saved computation to model width. This asymmetry raises two design questions: how to calibrate latent updates written back to full resolution states, and whether the different resolutions affect parameter sharing. Guided by the residual scaling observations, we pair mean aggregation with learnable writeback coefficients to calibrate latent increments with causal alignment. Different sequence resolutions may favor different attention and MoE computations. However, untying MoE blocks would forgo most parameter reuse because they contain most of the model's parameters. We therefore untie only attention blocks and offset the added parameters by slightly reducing the stored expert count, keeping the active count unchanged.

We evaluate LatentLoop across 15 matched budget configurations spanning 1.3B–7B parameters, with training compute exceeding 102110^{21} FLOPs. LatentLoop consistently achieves lower validation NLL than both MoE Base and MoE Loop at all 15 configurations. At a fitted NLL of approximately 1.988, the scaling curves predict that LatentLoop requires 19.0% less training computation than MoE Base and 7.9% less than MoE Loop, with all compared allocations lying within the observed ranges. We further evaluate nine downstream benchmarks at the largest token budget for each size, using both 0-shot and 5-shot settings. LatentLoop achieves the highest average score in all six size and shot settings, showing that its validation loss gains also carry over to downstream performance. Ablations at the 3B/40B reference budget show the benefits of writeback scale calibration and selective parameter sharing, while analyses of the learned writeback coefficients reveal update scales well below one, echoing the earlier residual scaling observations.

Our main contributions are:

• We identify an asymmetry in the two visits' preferred residual scales through learnable coefficients and fixed coefficient experiments. Reducing the first visit's scale can preserve or improve performance, whereas the same reductions to the second hurt performance.

• We propose LatentLoop, which compresses the first visit's sequence and reallocates saved computation to model width under matched resource budgets. We introduce learnable writeback coefficients to calibrate latent updates and selectively share MoE routers and experts while keeping attention blocks independent.

• We demonstrate lower validation NLL than MoE Base and MoE Loop across all 15 budget configurations, along with higher average downstream scores at all three model sizes in both 0-shot and 5-shot settings. Our experiments suggest that asymmetric compute allocation is a promising direction for improving looped MoE models.

References (64)