Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Looped MoE: Definition and Applications

Updated 28 November 2026
  • Mixture-of-Experts (MoE) models use sparse expert routing for efficient computation, allowing a model to activate selective subsets (top-k) experts from a pool of available experts for each token's processing, thus drastically enhancing the activation-subset diversification across the loops operation flow—whilst keeping the parameters count constant. It boasts greater flexibility unlike non-loop designs.
  • Looped MoE models iterate upon the computation in a repeated sequence which allows for reusing experts and applying different computations without significantly increasing model parameters and memory overhead. Such an architecture shows utility for language models, diffusion models, and continual learning.
  • Applications include language modeling, continual learning, and streaming systems, where implementation techniques such as residual scaling, memory stabilizations, adaptive capacity allocation, and structured routing are employed.

Looped Mixture-of-Experts (MoE) is a class of neural architectures that combines sparse expert routing with recurrent or repeated application of parameterized layers. Unlike a conventional MoE, which generally routes each token once through a fixed layer stack, a looped MoE applies a shared block multiple times, recomputing routing as the hidden state evolves. This separates stored parameter capacity, active computation, and effective depth: MoE sparsity provides many conditional experts while looping increases the number of sequential transformations without storing an independent copy of every repeated layer. The term encompasses several substantially different designs, including token-level recurrent Transformers, sequential expert-path construction, streaming feedback systems, and diffusion models with noise-dependent loop counts.

1. Conceptual foundations and terminology

A conventional sparse MoE contains a pool of experts, usually feed-forward subnetworks, and a router that selects a small subset for each token. If EE experts are available and kk are activated, the token receives sparse computation while the model stores all EE expert parameter sets. The router commonly produces logits, selects the top-kk experts, normalizes their routing weights, and combines their outputs.

A looped architecture repeatedly applies a physical block. If a block containing LL layers is executed for RR passes, its effective depth is LRLR, whereas the number of physically distinct layers remains LL. In a looped MoE, the repeated block contains sparse MoE layers, so the same expert pool may be queried more than once at different effective depths. Because the hidden state changes after each pass, the router can select different experts on later visits even when routers and experts are shared.

This mechanism distinguishes three quantities:

  • Stored parameters: the physically retained weights, including inactive experts.
  • Active computation: the parameters executed for a token or sample during a forward pass.
  • Effective depth: the number of sequential layer applications after unrolling the loop.

These quantities need not coincide. In particular, repeated attention weights may be stored once but executed multiple times, while routed experts may be stored in large numbers but only a small subset may be active on each visit.

The phrase “looped MoE” does not identify a single routing granularity. MRE, or “Mixture of Raytraced Experts,” constructs sample-level expert activation sequences through a stochastic graph; it is recurrent in its active-set construction but is not a token-level recurrent Transformer (Perin et al., 16 Jul 2025). DriftMoE uses an online feedback loop in which labels update incremental experts and retrain a router, rather than repeatedly applying the same hidden-state transformation (Aspis et al., 24 Jul 2025). LLaVA-CMoE performs sequential task learning and adds experts over time, but each Transformer block still performs one-pass sparse routing; its temporal task sequence is not an inner recurrent MoE loop (Zhao et al., 27 Mar 2025).

For LLMs, looped MoE generally refers to repeated Transformer computation with sparse token routing. “LoopMoE” uses a shared attention-and-MoE body with iteration-conditioned modulation, whereas LOOM uses residual stabilization, input re-injection, loop-specific routers, and a recurrent residual memory (Chen et al., 3 Jun 2026, He et al., 1 Oct 2026). Other designs differ in whether attention, routers, experts, or normalization parameters are shared across visits.

2. Architectural organization and recurrent state

A common organization is a sandwich topology:

Prelude→Core×R→Coda.\text{Prelude} \rightarrow \text{Core}^{\times R} \rightarrow \text{Coda}.

The prelude and coda are executed once, while the middle Core is reused. If the prelude, Core, and coda contain LpreL_{\mathrm{pre}}, LcoreL_{\mathrm{core}}, and LcodaL_{\mathrm{coda}} physical layers, the unrolled depth is

Dtotal=Lpre+RLcore+Lcoda.D_{\mathrm{total}}=L_{\mathrm{pre}}+R L_{\mathrm{core}}+L_{\mathrm{coda}}.

The Core may contain attention, normalization, routers, and expert FFNs. In the LoopMoE construction, the main 3B configuration uses two prelude layers, two shared Core layers executed four times, and two coda layers, giving effective depth $12$ with only six unique layers (Chen et al., 3 Jun 2026). The architecture uses sparse MoE layers with top-k=6k=6 routing and two shared experts.

The recurrent state can be updated by pure recursion, as in LoopMoE:

hk=fbody(hk−1;ck,t),h_k=f_{\mathrm{body}}(h_{k-1};c_{k,t}),

where the condition depends on the iteration and token. Unlike sandwich-loop designs that repeatedly add the original prefix representation, pure recursion allows later iterations to rewrite the state generated by earlier iterations (Chen et al., 3 Jun 2026).

Other architectures explicitly preserve an early representation. The matched-budget looped MoE studied in (Bai et al., 25 Nov 2026) normalizes the Prelude output, uses it to initialize the first Core pass, and combines it with the normalized recurrent state on later passes through independently parameterized retention and injection gates. Before the Coda, it adds a direct Prelude-to-Coda residual:

z=C(e+hR).z=\mathcal{C}(e+h_R).

This bypasses the internal recurrent normalizations and supplies a direct information and gradient path from the early representation to the output stage.

LOOM instead stabilizes the recurrent state by scaling each attention and MoE residual branch:

γ=λHM,\gamma=\frac{\lambda}{H\sqrt{M}},

where HH is the loop count, MM is the physical layer count, and the reported value is λ=0.5\lambda=0.5. It also re-injects the original input embedding at the beginning of later loops:

h0t=(1−gt)hMt−1+gtx,gt=λtM.h_0^t=(1-g_t)h_M^{t-1}+g_t x, \qquad g_t=\frac{\lambda}{t\sqrt{M}}.

The method adds a Looping Residual comprising global and local exponential moving-average memories of attention outputs. With decay β=0.5\beta=0.5, these memories provide recurrent access to earlier attention computations without storing the complete history of intermediate states (He et al., 1 Oct 2026).

LoopMoE addresses the symmetry of shared blocks through IterAdaLN. A fixed shared block otherwise receives no explicit indication of whether it is being applied on the first or later iteration. IterAdaLN conditions normalization and residual modulation on both the iteration index and the current token state. Its attention and MoE conditions are generated from the current hidden state and an iteration embedding. The resulting modulation is token- and iteration-dependent, allowing physically shared layers to implement different effective transformations at different visits (Chen et al., 3 Jun 2026).

A different form of asymmetry is used by LatentLoop. The first visit compresses the sequence, computes a latent residual update, and writes the update back to the full-resolution sequence; the second visit operates at full resolution. MoE experts and routers are shared, while attention parameters are separate because the two visits process different sequence resolutions (He et al., 14 Oct 2026).

3. Routing across loop visits

Routing is recomputed after each loop visit in the principal looped language-model designs. Let St,d(ℓ)S_{t,d}^{(\ell)} denote the top-kk expert set for token tt, physical layer dd, and pass ℓ\ell. Because the hidden state changes, the sets

St,d(1),St,d(2),…,St,d(R)S_{t,d}^{(1)},S_{t,d}^{(2)},\ldots,S_{t,d}^{(R)}

may differ even when the expert pool and router parameters are shared.

The resulting diversity is central to the proposed role of MoE in looped models. A dense repeated FFN applies approximately the same token-wise transformation at each pass. A looped MoE can instead realize

xr+1=xr+∑i∈Tr(xr)pr,i(xr)Fi(xr),x_{r+1}=x_r+\sum_{i\in\mathcal{T}_r(x_r)} p_{r,i}(x_r)F_i(x_r),

where the selected expert set Tr(xr)\mathcal{T}_r(x_r) may vary with the loop index. This provides a mechanism for recovering depth-specific computation without storing a separate FFN bank for every effective layer (Lee et al., 9 May 2026).

Routing divergence has been measured directly. In a two-pass Looped-MoE model, approximately 25%25\%–53%53\% of tokens receive completely non-overlapping top-2 expert assignments across passes for most physical layers, while only approximately 4%4\%–14%14\% receive exactly the same expert set. Layer 7 is an exception, with approximately 37%37\% exact overlap and about 3%3\% zero overlap (Lee et al., 9 May 2026). These observations support the presence of pass-dependent computation, but they do not by themselves establish that routing divergence causes the observed quality gains.

Other experiments identify expert-selection collapse as a failure mode. If the same router is repeatedly applied to sufficiently similar representations, later visits may select nearly the same experts and add limited new computation. LOOM addresses this by assigning a distinct router to each loop while sharing the expert parameters. Loop-specific routers produce lower cross-loop cosine similarity and greater variation in expert loads across loops than shared routers (He et al., 1 Oct 2026).

DuoMI treats cross-round reuse and token-level switching as separate statistical objectives. For a shared expert pool, it defines round-level mutual information

G=I(R;E),G=I(R;E),

which measures aggregate dependence between expert identity and loop round, and conditional mutual information

D=I(R;E∣X),D=I(R;E\mid X),

which measures token-level routing change. The method constrains aggregate mismatch while encouraging token-level switching to remain within a target interval. It uses differentiable soft routing distributions during training but leaves hard top-kk routing unchanged at inference (Kang et al., 25 Nov 2026).

The distinction is important. Two rounds may have identical aggregate expert histograms while selecting different experts for every token, or they may select identical per-token expert sets while favoring different experts in aggregate. DuoMI therefore does not seek either complete routing identity or complete independence. It targets aggregate reuse with moderate token-level adaptation.

Foil, from “How to Loop MoE,” increases the number of experts per physical layer while increasing the number of passes and reducing the number of physical expert layers. Its transformation is

(E,D,L)↦(aE,D/a,aL),(E,D,L)\mapsto (aE,D/a,aL),

which preserves stored expert count, effective depth, and expert executions per token while increasing the number of experts available at each routing decision. Foil additionally unties attention across passes while retaining shared experts and routers (Wang et al., 28 Sep 2026).

4. Stability, capacity allocation, and optimization

Repeated residual updates can cause hidden-state variance to accumulate and representations to drift. If recurrent residuals are positively correlated, the covariance terms in the accumulated state can become substantial. Deep recurrence may therefore exhibit loss spikes, unstable signal propagation, or diminishing computational returns.

Residual scaling is one response. LOOM uses a scale proportional to 1/(HM)1/(H\sqrt{M}), while DyLoMo-DiT uses a $1/r$ factor when the middle block is executed rr times. The latter applies

h←h+1rg(c)⊙F(adaLN⁡(h,c)).h\leftarrow h+\frac{1}{r}g(c)\odot F(\operatorname{adaLN}(h,c)).

DyLoMo-DiT uses this scaling for repeated attention and MoE sublayers in diffusion models (Li et al., 23 Nov 2026).

LoopTitan disputes the interpretation that residual scaling necessarily provides a loop-specific representational advantage. It shows that, under AdamW, residual scaling can act approximately as a lower effective learning rate for the output projections of the scaled branch. In its matched non-revisit control, applying a residual scale of $1/2$ improves AdamW loss despite the absence of parameter sharing. Under Muon, which produces more uniform matrix-level step sizes, the same advantage largely disappears (Tian et al., 25 Nov 2026). This indicates that some reported looped-MoE gains can arise from optimizer interactions rather than parameter revisit itself.

Capacity allocation is a second central issue. Sharing a Core reduces unique parameters, but simply repeating the Core does not restore the independent representational capacity of a non-recurrent model. One response is to increase the number of routed experts while keeping the number of active experts and expert widths fixed. The matched-budget model of (Bai et al., 25 Nov 2026) uses this strategy, reallocating the parameters saved by Core sharing into additional dormant experts.

LoopMoE instead balances the active attention-to-FFN parameter ratio. Recurrent sparse routing can accumulate distinct expert parameters across passes, while attention parameters are repeatedly reused. LoopMoE increases attention capacity, reduces individual expert width, and then increases the number of experts to restore total parameter count while matching FLOPs and active sublayer ratios (Chen et al., 3 Jun 2026).

Foil’s flattening strategy follows a related principle: more experts per layer and more passes are treated as complementary. The experiments report that widening gains increase with the number of passes, while additional passes exhibit diminishing returns. The paper recommends monitoring routing confidence, not load balance alone, because lower aggregate balance can coexist with more confident and useful specialization (Wang et al., 28 Sep 2026).

LatentLoop allocates computation asymmetrically across visits. Learned residual coefficients are smaller for the first visit than for the second; at 1.3B parameters, the reported coefficients are approximately (0.27,0.87)(0.27,0.87), and at 3B approximately (0.36,1.09)(0.36,1.09). Fixed-coefficient experiments show that reducing the first-visit coefficient can preserve or improve NLL, whereas reducing the second-visit coefficient is harmful. The resulting architecture compresses only the first visit and reallocates the saved computation to hidden width (He et al., 14 Oct 2026).

The appropriate number of loops is therefore not universal. Under near-iso-FLOP conditions, LOOM’s 700M model performs best at four to five loops because increasing loop count requires reducing top-kk. At fixed top-kk, the 1.7B model improves through nine loops, with a small degradation at twelve loops (He et al., 1 Oct 2026). The scaling-law formulation in (Chen et al., 30 Sep 2026) models recurrence with a bounded effective-parameter mapping, predicting diminishing returns and a saturation point whose scale depends on sparsity.

A contrasting result comes from LoopTitan. Under matched stored parameters, training FLOPs, computed depth, and KV-cache size, a carefully constructed non-revisit control retains nearly all of the looped recipe’s improvement. Its conclusion is that parameter revisit itself contributes approximately zero within the tested regimes; deeper, narrower standard MoE architectures can capture most of the benefit. When additional compute is allowed at fixed parameters, one extra visit outperforms doubling experts, but a deeper independent MoE captures 90.2% of the extra-visit gain under Muon (Tian et al., 25 Nov 2026).

5. Training, inference, and adaptive computation

Looped MoE training requires differentiating through repeated applications of shared parameters and routing decisions. Standard top-kk routing is discrete, but language-model implementations commonly use differentiable router logits, auxiliary load-balancing losses, router zz-losses, or auxiliary-loss-free bias updates.

LOOM uses segmented backpropagation for long recurrence. The loops are divided into segments of at most three loops. At each boundary, the hidden state and global Looping Residual are passed forward while their gradients are detached. This reduces memory growth and, in the reported experiments, improves training stability at deep recurrence (He et al., 1 Oct 2026).

MRE uses a different sequence-level construction. It samples one expert node at a time, adds the node to a cumulative active mask, recomputes routing probabilities, and terminates when an output node is selected. Straight-through Gumbel-softmax provides a differentiable surrogate. The resulting computation graph has sample-dependent depth and width, and intermediate active sets can produce intermediate predictions (Perin et al., 16 Jul 2025).

MRE does not use a conventional load-balancing auxiliary loss. Its authors attribute expert utilization to stochastic firing-rate propagation through the routing graph, but the supplied results do not provide a formal guarantee against routing collapse or a large-scale utilization analysis.

DyLoMo-DiT introduces dynamic loop counts based on diffusion timestep rather than learned per-token halting. Its main schedule uses three middle-block passes at low noise and one at high noise:

r(t)={3,t<500,1,t≥500.r(t)= \begin{cases} 3,&t<500,\\ 1,&t\geq500. \end{cases}

Additional computation is therefore assigned to low-noise denoising steps, where detail refinement is more valuable. On ImageNet 256×256256\times256, this schedule improves FID over uniform two-pass execution, and the model uses a middle loop rather than looping the entire DiT (Li et al., 23 Nov 2026).

The schedule must generally be represented during training. A model trained only with a $3|1$ pass schedule suffers severe degradation if run with a different schedule. Mixed-pass training enables inference-time schedule variation but produces slightly worse peak quality than a model specialized to one fixed schedule.

Test-time scaling is another consequence of looped computation. The scaling-law work trains models with per-loop supervision so that recurrence depth can be varied at inference. In its trillion-token case study, a $0.3$B-active, $1.3$B-total LoopMoE reaches similar reasoning performance to a roughly twice-as-large non-looped MoE when evaluated at four or five recurrent passes. Its aggregate downstream score increases from $36.6$ at one pass to $46.9$ at five passes (Chen et al., 30 Sep 2026). This result depends on appropriate training and exhibits diminishing returns.

Early exit is naturally available at loop boundaries. “Sparse Layers are Critical to Scaling Looped LLMs” reports that loop boundaries produce better compute-quality trade-offs than arbitrary intermediate layers because the repeated terminal layers are trained in an output-facing role at every loop boundary (Lee et al., 9 May 2026). At 10% FLOPs saved, perplexity is $51.0$ for Looped-MoE compared with $55.4$ for Base and $75.7$ for standard MoE in the reported setting. These are theoretical FLOP savings rather than measured end-to-end latency improvements.

6. Empirical evidence and applications

The strongest language-model evidence concerns controlled pretraining comparisons. LoopMoE matches Vanilla MoE in total parameters, per-token FLOPs, and active attention-to-FFN parameter ratio. At 3B, it improves the average across nine benchmarks from $34.84$ to $35.89$ and wins on eight of nine tasks. At 9B, it improves the average from $35.02$ to $36.17$, again winning on eight of nine tasks (Chen et al., 3 Jun 2026).

The scaling study in (Lee et al., 9 May 2026) reports that Looped-MoE has better scaling than dense looping and slightly surpasses the dense Base model at matched training compute. Its scaling exponent is approximately $0.077$, compared with $0.076$ for Base, so the primary difference is an offset rather than a substantially different asymptotic slope. At 101810^{18} FLOPs, the reported Core 9 averages are $39.6$ for Looped-MoE, $38.7$ for Base, $37.4$ for dense Looped, and $36.4$ for standard MoE.

The matched-budget architecture of (Bai et al., 25 Nov 2026) reports average improvements of $1.16$ percentage points for a 69B MLA model and $2.29$ points for a 51B KDA model across four benchmarks after one trillion pretraining tokens. Its reproduction study at approximately 200B tokens obtains lower perplexity than both Parcae and SMELT under a common backbone.

Foil reports lower pretraining loss than its unflattened looped baseline at equal stored parameters and expert compute. At 100B tokens, the most flattened model is approximately $0.012$ nat below the baseline. The study recommends more experts per layer, more passes, and untied attention, while cautioning that router scoring overhead increases as the expert pool widens (Wang et al., 28 Sep 2026).

LOOM demonstrates stable recurrence from approximately 100M to 1.7B parameters. In a near-iso-FLOP 700M comparison, perplexity decreases from $18.36$ for the non-looped baseline to $16.54$ at five loops, while average zero-shot accuracy increases from 38.84%38.84\% to 39.53%39.53\%. At 1.7B, nine loops reduce perplexity from $9.62$ to $7.77$ and raise average zero-shot accuracy from 42.4%42.4\% to 47.7%47.7\% (He et al., 1 Oct 2026).

Diffusion models provide another application. DyLoMo-DiT reduces FID relative to DiT at matched parameter and compute budgets by 11%, 14%, and 24% for B, L, and XL tiers. Relative to DiT-MoE, reported reductions are 36%, 56%, and 56% for S, B, and L. Its scaled text-to-image model has 15.48B total denoiser parameters and 1.05B active parameters, achieving a GenEval score of $0.714$ compared with $0.673$ for FLUX.1-schnell (Li et al., 23 Nov 2026).

Looped MoE ideas also appear in continual and streaming systems, although their loops have different semantics. LLaVA-CMoE uses Probe-Guided Knowledge Extension to add experts only to layers where a new multimodal task requires capacity, and a Probabilistic Task Locator to select task-specific routers without task labels. It protects old knowledge through parameter isolation and router banks rather than replay data (Zhao et al., 27 Mar 2025). DriftMoE forms an online feedback loop from router selection to expert prediction, label arrival, incremental Hoeffding-tree updates, correctness-mask construction, and router optimization. Its MoE-Data variant reaches 70.33%70.33\% on Airlines, but both variants fail substantially on strongly imbalanced Electricity and CoverType streams (Aspis et al., 24 Jul 2025).

7. Limitations, controversies, and research directions

The central controversy concerns what produces the observed gains. Several studies attribute improvements to the interaction of recurrence and sparse routing: different loop visits can select different experts, sparse capacity can restore expressivity lost through weight sharing, and recurrence can support iterative refinement. Other evidence indicates that the apparent advantage may depend strongly on network shape, residual scaling, optimizer, and additional compute. LoopTitan’s matched non-revisit controls show that parameter revisit itself contributes little under its tested conditions, while deeper independent MoE layers reproduce most of the extra-visit gain (Tian et al., 25 Nov 2026).

Resource comparisons are also difficult. Theoretical FLOPs do not include all routing, dispatch, communication, synchronization, memory-bandwidth, or padding costs. Revisited layers require separate KV-cache slots for each autoregressive visit, so parameter sharing does not automatically reduce inference cache size. Dynamic sequence lengths, sample-dependent paths, or noise-dependent loop counts complicate batching and scheduling.

Scaling evidence remains limited relative to frontier models. The reported experiments include models up to approximately 1.7B parameters for LOOM, approximately 3B and 9B matched LoopMoE models, and a 69B or 51B model in the matched-budget study, but several results rely on limited seeds, restricted corpora, or early checkpoints. The scaling-law work fits active sizes from $0.3$B to $1.0$B in its primary sweep, with extrapolation to larger configurations. The applicability of fitted recurrence laws to substantially larger models, different routing algorithms, or different loop topologies remains unresolved.

Routing diversity is not intrinsically beneficial. Excessive reuse can prevent later visits from exploiting changed hidden states, while excessive switching can make shared experts behave like separate round-specific pools. DuoMI therefore constrains aggregate cross-round mismatch and token-level switching separately. Its thresholds are architecture-dependent, its soft routing statistics do not exactly equal hard top-kk behavior, and its gains are demonstrated primarily on a two-round OLMoE-derived architecture (Kang et al., 25 Nov 2026).

Deep recurrence introduces stability and optimization problems. Without residual scaling, input re-injection, normalization, or recurrent memory, LOOM reports severe degradation and loss spikes at larger loop counts. Segmented backpropagation changes gradient flow and may limit long-range credit assignment. The best loop count depends on whether FLOPs are matched, whether top-kk is reduced as loops increase, and whether additional computation is allowed.

The main open research directions include:

  • Matched non-revisit evaluation: comparisons should control stored parameters, FLOPs, computed depth, KV-cache size, width, expert layout, routing, residual scaling, optimizer, and training protocol.
  • Adaptive recurrence: loop counts could depend on tokens, sequences, examples, tasks, or diffusion noise levels rather than being fixed globally.
  • Routing objectives: aggregate balance, confidence, cross-round reuse, and token-level diversity should be measured jointly rather than reduced to a single load statistic.
  • Depth-aware capacity allocation: expert count, expert width, attention capacity, loop count, and physical Core depth should be optimized together.
  • Inference systems: actual latency, throughput, communication, dynamic batching, and memory behavior require direct measurement.
  • Transfer and adaptation: most studies train looped models from scratch; conversion from pretrained non-recurrent checkpoints, supervised fine-tuning, and post-training alignment remain comparatively underexplored.
  • Broader modalities: diffusion evidence suggests applicability beyond language, while continual multimodal and streaming systems show that temporal feedback loops can use related principles under different training assumptions.
  • Causal mechanism analysis: routing divergence, expert-path diversity, iterative refinement, and optimizer effects remain correlated in many experiments and require interventions that isolate their contributions.

Looped MoE is consequently best characterized not as a single architecture but as a design space organized around the interaction of recurrent depth, sparse conditional capacity, routing dynamics, residual information flow, and resource allocation. Its empirical promise is strongest when these components are co-designed and evaluated under carefully matched budgets. Its scientific status remains unsettled on the narrower question of whether parameter revisit itself constitutes an independent scaling axis beyond the alternatives already available to sparse MoE models.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Looped Mixture-of-Experts (MoE).