Source-linked AI summary

Parcae: Scaling Laws For Stable Looped Language Models

Hayden Prairie, Zachary Novack, Taylor Berg-Kirkpatrick, Daniel Y. Fu

arXiv:2604.12946v1cs.LG

TL;DR

Looped architectures can scale compute without increasing parameter count, but prior training methods suffer instability. Parcae models looping as a dynamical system, constrains recurrent injection parameters for stability, and achieves stronger quality with predictable training and test-time scaling laws.

  • Problem

    Prior looped architectures offer parameter-efficient compute scaling but suffer residual explosion, loss spikes, and unstable training.

    Source: §1 · pp. 1–2
  • Method

    Parcae recasts looping as a nonlinear time-variant dynamical system, linearizes it for stability analysis, and constrains A through discretization of a negative diagonal parameterization.

    Source: §1 · p. 2, §3 · p. 5
  • Results

    Parcae reduces validation perplexity by up to 6.3% versus prior RDMs and improves Core and Core-Extended by 2.99 and 1.18 points versus parameter-matched Transformers.

    Source: §1 · p. 2
  • Takeaways & Limitations

    FLOP-optimal training increases looping and data together following predictable power laws, while test-time looping follows a saturating exponential decay law.

    Source: §1 · p. 3, §7 · p. 11

    The reported scaling-law observations are limited to small architectures, leaving their behavior at large FLOP budgets and parameterizations unresolved.

    Source: §6 · p. 11

Abstract

from arXiv · show

Traditional fixed-depth architectures scale quality by increasing training FLOPs, typically through increased parameterization, at the expense of a higher memory footprint, or data. A potential alternative is looped architectures, which instead increase FLOPs by sending activations through a block of layers in a loop. While promising, existing recipes for training looped architectures can be unstable, suffering from residual explosion and loss spikes. We address these challenges by recasting looping as a nonlinear time-variant dynamical system over the residual stream. Via a linear approximation to this system, we find that instability occurs in existing looped architectures as a result of large spectral norms in their injection parameters. To address these instability issues, we propose Parcae, a novel stable, looped architecture that constrains the spectral norm of the injection parameters via discretization of a negative diagonal parameterization. As a result, Parcae achieves up to 6.3% lower validation perplexity over prior large-scale looped models. Using our stable looped architecture, we investigate the scaling properties of looping as a medium to improve quality by increasing FLOPs in training and test-time. For training, we derive predictable power laws to scale FLOPs while keeping parameter count fixed. Our initial scaling laws suggest that looping and data should be increased in tandem, given a fixed FLOP budget. At test-time, we find that Parcae can use looping to scale compute, following a predictable, saturating exponential decay. When scaled up to 1.3B parameters, we find that Parcae improves CORE and Core-Extended quality by 2.99 and 1.18 points when compared to strong Transformer baselines under a fixed parameter and data budget, achieving a relative quality of up to 87.5% a Transformer twice the size.

1 Introduction

Looped models offer a way to scale compute without proportionally increasing parameters, but prior training recipes can be unstable. Parcae stabilizes looping and shows predictable training and test-time scaling behavior.

Motivation

  • Looped architectures increase FLOPs by repeatedly sending activations through a layer block, potentially matching larger fixed-depth models without increasing parameters.They also offer potential for latent reasoning and per-token adaptive compute.Source: §1 · p. 1
  • Prior looped models suffer residual-state explosion, loss spikes, and sensitivity to hyperparameter selection and residual normalization.Variable-depth training can produce additional late-training loss spikes.Source: §1 · pp. 1–2

Approach

  • Parcae recasts looping as a nonlinear time-variant dynamical system and uses a linear approximation to connect instability with injection-parameter spectral norms.The framework identifies unstable parameterizations of A as inducing residual-stream explosion.Source: §1 · p. 2
  • Parcae constrains A through a discretized negative diagonal parameterization, normalizes input injection, and uses per-sequence depth sampling to reduce training instability.These changes target residual explosion and loss spikes while preserving looped computation.Source: §1 · p. 2

Results

  • 6.3% lower validation perplexity is achieved against parameter- and data-matched RDMs, while 1.3B-parameter Parcae improves Core and Core-Extended by 2.99 and 1.18 points versus matched Transformers.The latter result matches Transformers up to twice the size.Source: §1 · p. 2
  • FLOP-optimal training increases looping and data together through empirical power laws, while test-time looping follows predictable exponential decay with an irreducible loss.The study evaluates end-to-end quality, training FLOP scaling, and test-time scaling.Source: §1 · pp. 2–3

2 Background

The paper situates looped models within recurrent and linear dynamical-system frameworks and reviews scaling-law methods for allocating parameters, data, and compute.

Looped Architectures

  • Prior looped architectures vary in loop placement, halting mechanism, topology, and differentiation; this work focuses on implicit-halting middle-looped models with explicit differentiation.The review distinguishes pre-, mid-, and post-looping, explicit routers and stochastic depth, and single-block and hierarchical topologies.Source: §2 · p. 3
  • A middle-looped architecture consists of a prelude P, recurrent unit R, and coda C, with the recurrent unit repeatedly transforming the embedded input.The formulation maps input s to e = P(s), iterates h, and produces output p = C(h_T).Source: §2.1 · p. 3
  • Training samples recurrence depth T from a distribution Λ, while truncated backpropagation limits the backward pass to a constant depth.Variable-depth training is intended to support stronger test-time scaling.Source: §2.1 · p. 3

Dynamical Systems

  • The paper uses an LTI dynamical system as a tractable linear surrogate for analyzing complex nonlinear looped models.The surrogate describes hidden-state evolution under input-driven dynamics.Source: §2.2 · pp. 3–4
  • Discrete LTI stability depends on the spectral radius of A: systems are stable when ρ(A) < 1 and unstable when ρ(A) > 1.The reviewed regimes are stable, marginally stable, and unstable.Source: §2.2 · p. 4

Scaling Laws

  • Scaling-law analysis fits loss as a function of model size and training tokens under fixed FLOP budgets using parabolic and parametric methods.The parametric form includes irreducible loss and power-law terms for parameters and data.Source: §2.3 · p. 4

3 Understanding Instability in Looped Architectures

The instability analysis models the residual stream as a dynamical system and identifies unconstrained recurrent-state dynamics, especially the spectral radius of A, as the critical stability issue.

Training Instability

  • Residual normalization can mitigate state explosion but requires sensitive hyperparameter tuning, and large-scale runs can still exhibit late-training loss spikes.The paper reports such spikes after 170k steps and addresses them by normalizing the input to B.Source: §3 · pp. 4–5

State Explosion from Unconstrained A and B

  • Table 1 compares prior loop update rules by their LTI stability properties, emphasizing whether their A parameterizations satisfy the spectral-radius condition.The comparison covers addition and concatenation injection within the same framework.Source: Table 1 · p. 5, §3 · p. 5

Dynamical System over Residual Stream

  • An exact nonlinear residual-stream update is linearized into a discrete LTI system, making stability conditions analytically tractable.The full recurrent update includes transformer operations through R, while the linearized form drops R.Source: §3 · p. 5

State Explosion from Unconstrained A and B

  • Prior looped architectures use A parameterizations with ρ(A) = 1 or unconstrained ρ(A), corresponding to marginally stable or unstable systems.These choices do not enforce the conditions required for bounded recurrent dynamics.Source: §3 · p. 5
  • Divergent runs learn ρ(A) ≥ 1, whereas convergent runs maintain ρ(A) < 1, empirically linking spectral-radius constraints to residual stability.The analysis identifies ρ(A) as the critical factor governing instability.Source: §3 · p. 5

4 Parcae: A Stable Looped Architecture

Parcae enforces stable recurrent dynamics through constrained continuous-to-discrete parameterizations and further reduces variance from variable-depth training with per-sequence sampling.

Architecture and Training

  • Parcae explicitly satisfies the dynamical-system stability constraints and adds per-sequence depth sampling to stabilize variable-depth training.The method targets both recurrent instability and variance introduced by sampled depth.Source: §4 · p. 6

Stable Recurrent Parameterization

  • Continuous A and B are discretized with a learned step size using ZOH or Euler schemes, yielding discrete recurrent parameters.The resulting update uses A and B in the loop recurrence.Source: §4.1 · p. 6
  • A is parameterized as a negative diagonal matrix before discretization, ensuring negative eigenvalues while keeping the stability mechanism simple and inexpensive.The learnable vector is transformed through Diag(−exp(·)); B remains unconstrained and the input e is normalized.Source: §4.1 · p. 6

Architecture and Training

  • Parcae normalizes the embedded input e before recurrence and computes outputs by applying the coda projection after T loops.Its recurrent update is ht+1 = Aht + Be + R(ht, e).Source: §4.1 · p. 6
  • Parcae matches prior RDM and Transformer setups while differing through residual normalization choices and dynamical-system parameters such as A, B, C, and ∆.Against Transformers, the middle third of layers is looped and a prelude norm is included.Source: §4.1 · p. 6

Stable Training Algorithm

  • Per-sequence depth sampling provides more depth samples within a micro-batch, and the training design is intended to reduce loss spikes and improve recurrence extrapolation.The method parameterizes Λ using µ_rec and sets µ_bwd = ⌈µ_rec^2⌉.Source: §4.2 · p. 6

5 Results

Parcae is evaluated against prior looped models and fixed-depth Transformers on end-to-end quality and stability. It improves perplexity and downstream scores under matched parameter and data settings.

  • Parcae is compared with parameter- and data-matched RDMs and Transformers using held-out perplexity and downstream benchmarks.Source: §5.1 · p. 7, Table 5 · p. 8

Comparison against RDMs

  • Parcae reduces perplexity by up to 6.2% and 9.1% on validation and WikiText, respectively, versus prior RDMs.Source: §5.1 · p. 7

Ablations

  • Each Parcae modification contributes to stability or quality: constrained A enables convergence at high T, sampling stabilizes lower depths, and prelude normalization improves quality.Source: §5.1 · p. 7

Comparison Against Transformers

  • Parcae reduces validation perplexity by 4.3–9.2% and improves Core and Core-Extended scores by up to 2.99 and 1.18 points versus Transformers.Source: §5.1 · p. 7
  • A 770M Parcae model achieves Core quality comparable to a 1.3B Transformer with roughly half the parameters.Source: §5.1 · p. 7

Parametric IsoLoss Contours for Looping IsoFLOP Curves for Looping

Looping provides an additional compute-scaling axis for both training and inference. Training benefits from increasing recurrence and data together, while test-time gains follow a predictable saturating exponential pattern.

Training FLOP Scaling

  • Compute-optimal training increases mean recurrence µrec and data in tandem, establishing looping as an orthogonal scaling axis.Source: §5.2 · p. 8, Figure 4 · p. 8
  • At 140M and 370M scales, increasing µrec while proportionally reducing tokens lowers validation loss under fixed FLOPs.Source: §5.2 · p. 8
  • Optimal recurrence and token budgets follow predictable power laws with exponents γµ ≈0.40 and γD ≈0.78.Source: §5.2 · p. 9, Figure 5 · p. 9
  • The scaling-law fit predicts held-out validation loss with 1.3% error at 140M and 0.8% error at 370M.Source: §5.2 · p. 9

IsoFLOP Comparison

Test-Time Scaling

  • Test-time looping follows a saturating exponential decay, with gains plateauing near the training recurrence µrec.Source: §5.3 · p. 10

Unified Scaling Law

  • A unified fit predicts held-out test-time loss within 0.85–1.31% average error, or 0.1–0.17% when using empirical loss at T = µrec.Source: §5.3 · p. 11

6 Discussion and Future Work

The paper’s scaling conclusions remain bounded by the scale and design choices studied. Larger architectures, deeper recurrence, alternative parameterizations, and efficient inference require further investigation.

Looped Architectures

  • Larger-scale investigation is needed for loop-unit placement, recurrent-unit composition, and extreme looping at deeper recurrence depths.Source: §6 · p. 11
  • Different discretizations, full-rank parameterizations, and recurrent update rules may enable recurrence at larger depths.Source: §6 · p. 11

Scaling

  • The study’s scaling observations are limited to small architectures, so performance at large FLOP budgets and parameterizations remains unresolved.Source: §6 · p. 11
  • As µrec increases, more test-time steps are required to achieve equivalent quality, motivating methods that reduce inference steps.Source: §6 · p. 11

7 Conclusion

The paper frames looped-model stability through dynamical systems and introduces Parcae to constrain residual dynamics. It also develops FLOP accounting and implementation procedures for recurrent computation.

Conclusion

  • Parcae prevents residual explosion by constraining the spectral norm of looped-model injection parameters.The paper presents this as the central stability mechanism for its looped architecture.Source: §7 · p. 11

Dynamical-systems formulation

  • Looped-model recurrence can be represented as a nonlinear time-variant dynamical system over the residual stream.The framework identifies A, B, and C as dynamical-system parameters and R as the nonlinear transformer update.Source: C Derivation of Instability Conditions… · p. 22
  • Linearizing the recurrence connects stability to the spectral properties of the residual-state transition matrix.For Pre-Norm additive injection, the linearized transition has A = I, making the system marginally stable.Source: C Derivation of Instability Conditions… · p. 22

FLOP estimation

  • Parcae’s effective training FLOPs account separately for parameters that are and are not backpropagated through recurrent depth.The formulation is C = (2 N̂1 + 6 N̂2)D, with embedding parameters excluded from N̂ and attention FLOPs additionally estimated.Source: D FLOP Estimate of Parcae · p. 22

Implementation

  • The implementation provides forward-pass and per-sequence stochastic-depth procedures for efficiently training variable recurrent depths.Batched sequences use the maximum sampled depth while avoiding initial state updates to preserve efficient gradient flow.Source: E Parcae Forward Pass and Training… · p. 23

F Additional Stability Ablations

Additional ablations examine learning-rate stability, sampling granularity, and truncated-recurrence sampling. They find that per-sequence sampling reduces loss spikes and that correcting distributional truncation improves recurrence extrapolation.

Stability across learning rates

Per-sequence sampling

Truncated recurrence sampling

  • The proposed recurrence-sampling method decouples the sampled recurrence distribution from the backpropagation-depth parameter.Prior sampling truncated recurrence based on µbwd, producing a shifted or compressed distribution relative to the desired pretraining distribution.Source: H Sampling of Truncated Recurrence · pp. 27–28, Figure 13 · p. 27, Figure 12 · p. 27
  • At T = µrec = 8, the ablated sampling methods have nearly identical training and validation trajectories, but the proposed method performs better at T ∈ [4, 16, 64].The reported difference is attributed to the prior method’s constricted effective recurrence range during pretraining.Source: H Sampling of Truncated Recurrence · p. 28

I Selecting µrec and µbwd

The ablations show that recurrent depth and backpropagation depth are coupled during pretraining. Increasing µrec alone can hurt validation performance, while increasing µbwd generally improves deeper-recurrence performance until gains become minimal.

Varying µrec

Varying µbwd

  • Increasing µbwd improves validation performance at T = 16 and T = 64 when µrec = 20.The improvement is observed across the tested lower and higher recurrence settings, although lower µbwd can perform better at lower validation recurrences.Source: I Selecting µrec and µbwd · p. 30, Figure 16 · p. 30

Open question

  • The authors leave FLOP-optimal choices of µrec and µbwd for future work.The reported experiments establish coupling between the two quantities but do not determine their jointly optimal settings.Source: I Selecting µrec and µbwd · p. 30

J Ablation of Prelude Normalization

The 1.3B Parcae run developed late-stage instability, but diagnostics localized the problem primarily to prelude-induced residual explosion. Normalizing the prelude output stabilized recurrent dynamics and enabled stable training, with clearer quality gains at smaller model sizes.

L Fitting Parametric Functions to Test-Time Looping

The paper fits parametric laws for test-time looping and finds that validation loss follows saturating exponential decay with a finite floor. A unified fit combines training scaling with test-time decay and generalizes to held-out models with low error.

O Expanded Setup For Training and Test-Time Scaling Laws

The scaling-law experiments vary recurrence under controlled FLOP, parameter, and data budgets, then evaluate test-time recurrence and unified-law generalization. The setup spans multiple model sizes, baselines, benchmarks, and training configurations.

Loading 2604.12946v1…