betaFeedback

WorksComputer Science

SwiftLoop: Selective Refinement for Adaptive Implicit Reasoning in Looped Transformers

Abstract

Looped Transformers advance implicit chain-of-thought reasoning through recurrent latent refinement. However, existing looped reasoners typically employ fixed-depth recurrence, updating all latent positions at every iteration and incurring redundancy when further refinement is unnecessary. We introduce SwiftLoop, an inference-time framework for selective recurrent refinement through position-wise freezing, enabling adaptive computation allocation across both recurrent depth and active width. SwiftLoop learns lightweight freezing policies through hindsight-guided supervision derived from two complementary criteria: K/V reusability at the internal representation level and functional impact at the output level. At inference time, these policies guide adaptive freezing based on observed hidden states. Extensive experiments demonstrate that SwiftLoop achieves favorable accuracy–computation trade-offs over fixed-loop inference and adaptive baselines, with measured inference acceleration. Beyond implicit reasoning, we further demonstrate its applicability to recurrent prompt prefilling in general looped models.

Introduction

Implicit chain-of-thought (CoT) reasoning has emerged as an efficient alternative to explicit CoT, replacing token-by-token reasoning traces with continuous intermediate states [11, 10] (Wei et al. 2022). Representative approaches include Coconut (Hao et al., 2025), which employs curriculum learning to progressively replace explicit reasoning steps with latent states, and CODI (Shen et al., 2025), which learns a latent reasoning pathway through self-distillation from an explicit CoT pathway. Despite substantial effort, implicit reasoning methods have yet to match the performance of explicit CoT on challenging reasoning tasks (He et al., 2025; Wei et al., 2026).

One direction is to increase internal computation. Looped Transformers [9] (Geiping et al. 2025; Zhu et al. 2025; Saunshi et al. 2025) thus offer a natural mechanism by repeatedly applying shared modules for recurrent internal state refinement, increasing effective computational depth while reusing model parameters. Building on this framing, Fan et al. [13] introduce LOTUS, which iteratively refines a parallel workspace of latent slots, using token-level supervision from explicit CoT steps during training, and close much of the performance gap between implicit and explicit CoT reasoning. Despite effectiveness, it employs a fixed inference strategy: every instance executes the same number of loops, and every latent slot is updated at each iteration, regardless of whether further refinement is necessary, incurring redundant computation (Figure 1a,Figure 1b).

Figure 1. Analysis of recurrent computation dynamics. (a) The loop depth sufficient for final predictions varies with difficulty. (b) The loop depth required by individual latent slots varies. (c) locally stable K/V may exhibit substantial future drift. (d) Substantial K/V drift need not correspond to large effects on the prediction margin.

This motivates adaptive computation allocation [2] (Wang et al. 2026; Yang and Liu 2026; Fu et al. 2026), which remains challenging along both depth and width: neither the number of loops sufficient for each instance nor the latent slots that still benefit from further updates are known in advance at inference time. Position-wise freezing offers a unified strategy for adapting both dimensions: a latent slot can cease further updates while its cached keys and values (K/V) remain accessible to active positions through attention. The central challenge is thus determining when further refinements can be safely omitted. Addressing this challenge intuitively entails two perspectives: internal representation level and output function level. For the former, one straightforward way is to consider K/V reusability. Inter-iteration state variation provides a natural but retrospective convergence signal (Yang and Liu, 2026). However, stability observed thus far may precede future K/V drift (Figure 1c). For the latter, functional impact can be characterized by how a freezing decision affects the output, which also involves relating the current state to the future prediction outcome. Importantly, the two perspectives are distinct, as K/V drift need not imply a large functional impact on the prediction (Figure 1d). Together, they motivate hindsight-guided freezing decisions for adaptive looping that spans both levels.

To this end, we propose SwiftLoop, an adaptive looping policy that enables position-wise selective freezing for adaptive computation at inference. After each loop, a lightweight predictor determines which active slots to freeze based on their observed hidden states, thereby regulating per-position effective depth and per-loop active width. We investigate two alternative supervision objectives for learning this freezing policy: K/V reusability, which characterizes the future consistency of cached K/V; and functional impact, which estimates the effect of freezing a latent slot on the model’s final prediction. Beyond implicit reasoning, we further extend this selective freezing policy to recurrent prompt prefilling, broadening its scope from specialized latent slots to general context-token states. We evaluate SwiftLoop across four benchmarks using LOTUS (Fan et al., [13]), a looped model for implicit reasoning, at varying scales, and further examine its applicability to recurrent prompt prefilling on two general looped models, Ouro (Zhu et al., 2025) and Huginn (Geiping et al., 2025), across three datasets. Extensive experiments demonstrate that SwiftLoop improves computational adaptivity while maintaining competitive task performance relative to fixed-loop inference.

Problem Formulation

Looped Models. We consider a looped Transformer with LL layers operating over NN positions, represented by X=(x1,…,xN)\mathbf{X} = (x_1,\ldots,x_N). The model performs an initial pass (t=0t = 0) followed by RR recurrent iterations:

H(0)=I(X;c),H(t)=Fθ(H(t−1);X,c), t=1,…,R,(1)\begin{aligned} \mathbf{H}^{(0)} &= \mathcal{I}(\mathbf{X};\mathbf{c}),\\ \mathbf{H}^{(t)} &= F_{\theta}(\mathbf{H}^{(t-1)};\mathbf{X},\mathbf{c}),\ t = 1,\ldots,R, \tag*{(1)} \end{aligned}

where I\mathcal{I} denotes the model-specific initialization operator, FθF_{\theta} is the shared Transformer block and c\mathbf{c} denotes optional fixed conditioning information. Let hi(t)h_i^{(t)} denote the hidden state of position ii after pass tt, and ki,ℓ(t)=[Ki,ℓ(t),Vi,ℓ(t)]\mathbf{k}_{i,\ell}^{(t)} = [\mathbf{K}_{i,\ell}^{(t)},\mathbf{V}_{i,\ell}^{(t)}] its concatenated key-value (K/V) vectors at layer ℓ\ell.

In looped models for implicit reasoning, X\mathbf{X} comprises latent slots, recurrently refined under the conditioning of the input prompt, as in LOTUS (Fan et al., [13]). In general looped models, such as Ouro (Zhu et al., 2025) and Huginn (Geiping et al., 2025), X\mathbf{X} can represent context-token inputs whose hidden states are iteratively refined during recurrent prompt prefilling to support subsequent decoding.

Adaptive Recurrent Computation. We study adaptive computation at the granularity of individual positions, allowing different positions to receive different numbers of recurrent updates. Specifically, we consider position-wise freezing, formally defined as follows.

Definition 2.1 (Position-wise Freezing). Freezing position ii after pass τi∈{0,…,R}\tau_i \in\{0,\ldots,R\} halts its subsequent state updates while preserving its layer-wise K/V cache. For every u>τiu > \tau_i,

h~i(u)=h~i(τi),k~i,ℓ(u)=k~i,ℓ(τi),∀ℓ,(2)\widetilde{h}_i^{(u)} = \widetilde{h}_i^{(\tau_i)},\qquad\widetilde{\mathbf{k}}_{i,\ell}^{(u)} = \widetilde{\mathbf{k}}_{i,\ell}^{(\tau_i)},\qquad\forall\ell, \tag*{(2)}

where ⋅~\widetilde{\cdot} denotes quantities under freezing. Active positions continue attending to the preserved K/V throughout subsequent iterations.

A freezing schedule τ=(τ1,…,τN)\boldsymbol{\tau} = (\tau_1,\ldots,\tau_N) determines each position’s effective recurrent depth di=τid_i = \tau_i and the active width wt=∣At∣w_t = |\mathcal{A}_t| at iteration tt, where At={i:τi≥t}\mathcal{A}_t = \{i : \tau_i \ge t\}. The total number of recurrent position updates is

U(τ)=∑t=1R∣At∣=∑i=1Nτi.(3)U(\tau) = \sum_{t=1}^{R} |\mathcal{A}_t| = \sum_{i=1}^{N} \tau_i. \tag*{(3)}

The unfrozen schedule τfull=(R,…,R)\tau^{\mathrm{full}} = (R, \ldots, R) recovers fixed-loop inference. We aim to learn an online freezing policy that reduces recurrent computation while preserving predictive performance.

Freezing Criteria. We consider two criteria for adaptive freezing at different levels: K/V reusability at the internal representation level, and functional impact at the output level.

Definition 2.2 (K/V Reusability). For position ii after pass t<Rt < R, its maximum future K/V deviation along the unfrozen trajectory is

EiKV(t)=max⁡t<u≤RDiKV(t,u),(4)E_i^{\mathrm{KV}}(t) = \max_{t<u\le R} D_i^{\mathrm{KV}}(t,u), \tag*{(4)}

where DiKVD_i^{\mathrm{KV}} denotes the layer-averaged relative K/V distance. Position ii is reusable if EiKV(t)<ϵE_i^{\mathrm{KV}}(t) < \epsilon.

Definition 2.3 (Functional Impact). Let τ(i,t)\tau^{(i,t)} denote the schedule that freezes only position ii after pass t<Rt < R. Its functional impact is

Ii(t)=∣m(τ(i,t))−m(τfull)∣∣m(τfull)∣,(5)I_i^{(t)} = \frac{\left|m\left(\tau^{(i,t)}\right) - m\left(\tau^{\mathrm{full}}\right)\right|}{\left|m\left(\tau^{\mathrm{full}}\right)\right|}, \tag*{(5)}

where aa and bb are the top-two tokens under τfull\tau^{\mathrm{full}} and m(τ)=zτ(a)−zτ(b)m(\tau) = z_\tau(a) - z_\tau(b) denotes the logit margin under schedule τ\tau.

Empirical Analysis of Recurrent Computation

Setup. We analyze the publicly released LOTUS-3B (Fan et al., [13]) checkpoint, a looped model for implicit reasoning fine-tuned on GSM8K-Aug (Deng et al., [11]). It refines 150 latent slots over six recurrent loops. From the GSM8K validation and test sets, we select 1,648 samples with complete gold reasoning traces to analyze loop requirements. We then use correctly solved validation samples for latent-level analyses.

Nonuniform Loop Requirements. We investigate computational requirements across both samples and latent positions. We group samples from the GSM8K validation and test sets by the number of gold reasoning steps kk and examine the loop depth sufficient for correct predictions. As shown in Figure 1a, easier samples, characterized by fewer gold reasoning steps, tend to require fewer loops. At the position level, we examine the earliest loop after which freezing each latent slot individually changes the final prediction margin by less than 1%. These freezing depths vary both across and within samples (Figure 1b). Together, they highlight the potential for adaptive computation allocation across loop depth and active positions.

Local Convergence and Future Reusability. From the internal representation perspective, a key consideration is whether cached K/V remain reusable throughout subsequent computation. We define a slot as reusable after loop tt if its cached K/V remain within a tolerance ϵ\epsilon along the remaining unfrozen trajectory. A natural proxy for reusability is local convergence over previous loops. However, local K/V stability does not necessarily imply future reusability: 58% of slot–loop observations exhibiting below-threshold inter-iteration K/V changes subsequently drift beyond ϵ=0.45\epsilon= 0.45 (Figure 1c). This motivates future-oriented criterion of reusability beyond observed convergence.

Representation Drift and Functional Impact. From the output perspective, we consider functional impact, which captures the predictive consequences of freezing. Using exact single-slot counterfactuals, we measure the relative change in the final prediction logit margin when the remaining loops are recomputed with only that slot frozen. Among slot–loop observations exhibiting substantial future K/V drift, 63% induce margin changes below 1% (Figure 1d). These findings highlight the distinction between input-level representational consistency and output-level functional impact as two alternative criteria for adaptive freezing.

Inferring Future Utility from Current States. Both criteria depend on future computation unavailable when freezing decisions are made. Current hidden states offer a natural source of predictive information, as they feed into subsequent loops. Yet their observed dynamics do not directly track predictive correctness: across 1,350 GSM8K validation and test instances, hidden-state norms follow similar trajectories regardless of when predictions first become settled, increasing sharply in later loops (Figure 2). We therefore examine two separately trained lightweight MLPs that estimate K/V reusability and functional impact from current hidden states. den states. Under five-fold cross-validation on 500 GSM8K validation samples, they achieve within-loop, out-of-fold AUCs of 0.96 and 0.78 on the 372 samples correctly solved after six loops. These results support learning hindsight-guided freezing decisions from current hidden states.

Figure 2. Hidden-state norm dynamics across recurrent loops.

SwiftLoop

SwiftLoop instantiates the online freezing policy through lightweight state-based predictors, each supervised by one of two hindsight-derived signals: K/V reusability at the internal representation level and functional impact at the output level. At inference time, the learned policy guides position-wise freezing based on observed hidden states.

Online Freezing Policy

After each eligible recurrent pass t<Rt < R, SwiftLoop selectively allocates further refinement by determining which active positions to freeze. For each i∈Ati \in\mathcal{A}_t, we combine its current hidden state and latest recurrent update as

zi(t)=[hi(t),hi(t)−hi(t−1)](6)z_i^{(t)} = \left[h_i^{(t)}, h_i^{(t)} - h_i^{(t-1)}\right] \tag*{(6)}

where hi(t)h_i^{(t)} is ii’s hidden state after pass tt. A lightweight predictor gϕg_\phi maps zi(t)z_i^{(t)} to a freezing score si(t)s_i^{(t)}, with higher scores favoring freezing over continued refinement. Given a threshold λ\lambda, the policy selects

Ft={i∈At:si(t)≥λ},At+1=At∖Ft.(7)\begin{aligned} \mathcal{F}_t &= \left\{i \in\mathcal{A}_t : s_i^{(t)} \ge\lambda\right\},\\ \mathcal{A}_{t+1} &= \mathcal{A}_t \setminus\mathcal{F}_t. \tag*{(7)} \end{aligned}

Each selected position is assigned τi=t\tau_i = t, skipping all subsequent state and K/V updates while reusing its cached K/V from pass tt for attention in later loops. The resulting schedule adaptively determines the effective depth of each position and the active width of each loop.

Hindsight-Guided Policy Learning

Both freezing criteria hinge on subsequent recurrent computation, beyond what an online policy can observe. SwiftLoop bridges this gap through hindsight-guided learning: supervision is derived offline from full recurrent computation trajectories on calibration sets, enabling online freezing decisions based solely on current hidden states at inference. We consider two alternative objectives, K/V reusability at the internal representation level and functional impact at the output level, each guiding a separate lightweight freezing predictor.

For each objective, we define a criterion-specific freezing measure ci(t)c_i^{(t)} and optimize the lightweight predictor gϕg_\phi on current hidden states:

Lreg(ϕ)=1∣Q∣∑(i,t)∈Q(gϕ(zi(t))+log⁡(ci(t)+δ))2,(8)\mathcal{L}_{\mathrm{reg}}(\phi) = \frac{1}{|Q|} \sum_{(i,t)\in Q} \left(g_\phi(z_i^{(t)}) + \log(c_i^{(t)} + \delta)\right)^2, \tag*{(8)}

where QQ denotes the calibration position–pass pairs and δ>0\delta> 0 ensures numerical stability. Higher freezing scores thus indicate smaller estimated criterion-specific measures and favor freezing over continued refinement.

K/V Reusability. We derive K/V reusability supervision from unfrozen RR-pass reference trajectories obtained on the calibration set. For each position ii and eligible pass tt, the freezing measure is defined as the maximum K/V deviation across subsequent passes:

ci(t)=EiKV(t)=max⁡t<u≤RDiKV(t,u).(9)c_i^{(t)} = E_i^{\mathrm{KV}}(t) = \max_{t<u\le R} D_i^{\mathrm{KV}}(t,u). \tag*{(9)}

Functional Impact. We alternatively characterize freezing through its effect on the model’s output. Let aa and bb denote the top two first-output tokens under the unfrozen reference run, and define the logit margin under a freezing schedule τ\tau as m(τ)=zτ(a)−zτ(b)m(\tau) = z_\tau(a) - z_\tau(b), with aa and bb held fixed. Single-position counterfactual. Let τfull\tau^{\mathrm{full}} denote the unfrozen schedule, and τ(i,t)\tau^{(i,t)} the schedule that freezes only position ii after pass tt. The exact margin change and corresponding freezing measure are

Δi(t)=m(τ(i,t))−m(τfull),ci,exact(t)=∣Δi(t)∣.(10)\begin{aligned} \Delta_i^{(t)} &= m\left(\tau^{(i,t)}\right) - m\left(\tau^{\mathrm{full}}\right),\\ c_{i,\mathrm{exact}}^{(t)} &= \left|\Delta_i^{(t)}\right|. \tag*{(10)} \end{aligned}

This directly captures the effect of an individual freezing decision, but requires a separate counterfactual rollout for each position–pass pair.

Joint-path IG attribution. To obtain scalable supervision, we attribute the output-level effect of joint freezing to individual positions using integrated gradients. For each position ii, we introduce a coefficient αi∈[0,1]\alpha_i \in[0,1] that interpolates its K/V across subsequent passes:

κ~i,ℓ(u)(α)=(1−αi)κi,ℓ(u)(α)+αiκi,ℓ(t),u>t,(11)\widetilde{\kappa}^{(u)}_{i,\ell}(\alpha) = (1-\alpha_i)\kappa^{(u)}_{i,\ell}(\alpha) + \alpha_i\kappa^{(t)}_{i,\ell}, \qquad u>t, \tag*{(11)}

where κi,ℓ(u)(α)\kappa^{(u)}_{i,\ell}(\alpha) is recomputed along the interpolated trajectory. Let μt(α)\mu_t(\alpha) denote the resulting output margin, with α=0\alpha=0 recovering the unfrozen computation. We estimate each position’s contribution by integrating its margin sensitivity along the joint interpolation path α=s1\alpha=s\mathbf{1}:

G^i(t)=1K∑k=1K∂μt∂αi∣α=2k−12K−11≈∫01∂μt∂αi∣α=s1 ds.(12)\begin{aligned} \widehat{G}^{(t)}_i &= \frac{1}{K}\sum_{k=1}^{K}\left.\frac{\partial\mu_t}{\partial\alpha_i}\right|_{\alpha=\frac{2k-1}{2K-1}\mathbf{1}}\\ &\approx\int_0^1\left.\frac{\partial\mu_t}{\partial\alpha_i}\right|_{\alpha=s\mathbf{1}}\,ds. \tag*{(12)} \end{aligned}

where KK denotes the number of midpoint quadrature steps. Each step computes gradients for all positions in a single backward pass, enabling efficient functional-impact estimation compared with position-wise counterfactual rollouts while capturing interactions along the joint freezing path. The resulting freezing measure is

ci,IG(t)=∣G^i(t)∣.(13)c^{(t)}_{i,\mathrm{IG}}=\left|\widehat{G}^{(t)}_i\right|. \tag*{(13)}

Both formulations provide alternative functional-impact targets for Eq. (8), measuring the magnitude of the induced logit-margin change.

Experiments

Experimental Setup

Models. We evaluate SwiftLoop on various looped models spanning two recurrent computation settings. For implicit reasoning, we consider three LOTUS configurations ([13]), each refining 150 latent positions over six recurrent loops. Alongside the released LOTUS-3B checkpoint, we train CODI-style LOTUS-1B and LOTUS-3B using self-distillation ((Shen et al., 2025)) on GSM8K-Aug ([11]), initialized from Llama-3.2-1B-Instruct and Llama-3.2-3B-Instruct, respectively ((Grattafiori et al., 2024)). For recurrent prompt prefilling, we evaluate Ouro-1.4B ((Zhu et al., 2025)), which executes four recurrent steps over 24 layers, and Huginn-0125 ((Geiping et al., 2025)), a 3.5B model with a four-layer recurrent block iterated 32 times.

Datasets. For implicit reasoning, we evaluate on the GSM8K test set ([8]) and three out-of-distribution benchmarks: SVAMP ((Patel et al., 2021)), MultiArith ((Roy and Roth, 2015)), and GSM-Hard ((Gao et al., 2023)). For recurrent prompt prefilling, we consider three benchmarks: WinoGrande ((Sakaguchi et al., 2021)), ARC-Challenge ([7]), and HellaSwag ((Zellers et al., 2019)).

Baselines. We compare against fixed-depth inference and a broad range of adaptive computation methods. Fixed-depth baselines execute a uniform number of recurrent steps. Adaptive baselines include FlashLoop ((Yang and Liu, 2026)), which allocates computation based on hidden-state changes; H2O ((Zhang et al., 2023)) and LazyLLM ((Fu et al., 2024)), which use attention-based importance; CALM ((Schuster et al., 2022)) and GCEE ((Gu et al., 2026)), which leverage hidden-state convergence; SureLock ((Oba et al., 2026)) and the Huginn KL exit ((Geiping et al., 2025)), which use output-distribution stability. More details in Appendix § 10.

SwiftLoop Variants. We evaluate three variants of SwiftLoop, sharing the same online freezing policy and predictor architecture but differing in their supervision: K/V reusability, exact counterfactual impact, and integrated-gradient impact.

Evaluation Metrics. We report prediction accuracy (%) and average recurrent computation. For implicit reasoning, computation is measured by the average number of loops per latent position, excluding the initialization pass. For recurrent prompt prefilling, we report the average number of recurrent steps per context token.

Implementation Details. We fit SwiftLoop predictors on 500 GSM8K validation problems for LOTUS, and on task-specific training splits for Ouro and Huginn, with separate predictors for each model and task. We consider linear predictors and one-hidden-layer MLPs with 256 GELU units, optimized using AdamW with a learning rate of 10−310^{-3} on standardized hidden-state features. Five-fold cross-validation selects the predictor architecture and training duration, up to six epochs. In Eq. (8), we set δ=3×10−5\delta= 3 \times10^{-5} for functional impact in recurrent prompt prefilling and 10−310^{-3} otherwise. Integrated-gradient supervision uses four midpoint quadrature steps. We select freezing thresholds to minimize recurrent computation subject to at most 0.5 percentage point degradation relative to dense inference. For LOTUS, thresholds are selected on the same 500 GSM8K validation problems used for predictor fitting. For Ouro and Huginn, we use disjoint task-specific selection sets. All thresholds are fixed before evaluation. Additional implementation and calibration details are provided in Appendix § 9.

Main Results on Implicit Reasoning

Selective refinement improves the accuracy–efficiency trade-off. Table 1 presents the accuracy–computation trade-offs across reasoning benchmarks, with the corresponding FLOPs comparisons shown in Figure 3. Uniformly halving recurrent depth reduces GSM8K accuracy by 2.7, 30.9, and 15.6 points across the three LOTUS models, highlighting the limitations of fixed computation budgets. In contrast, SwiftLoop achieves substantial savings through selective position-wise freezing. On CODI-style LOTUS-1B, SwiftLoop (impact, IG) achieves 58.83% accuracy with only 1.80 loops per latent, reducing recurrent computation by 70%. On the two 3B models, it preserves or slightly improves GSM8K accuracy while reducing recurrent computation. Across all 12 model–benchmark pairs, SwiftLoop requires fewer loops than every adaptive baseline, with accuracy remaining within 0.5 points of dense inference in 11 settings. At comparable FLOPs, it also outperforms fixed-loop inference by 9.1, 4.4, and 1.5 accuracy points on GSM8K across the three models, respectively.

ModelMethodGSM8K Acc. (%)GSM8K LoopsSVAMP Acc. (%)SVAMP LoopsMultiArith Acc. (%)MultiArith LoopsGSM-Hard Acc. (%)GSM-Hard Loops
LOTUS-1B (CODI-style)Fixed (6 loops)59.296.0061.106.0096.676.0013.576.00
Fixed (3 loops)56.63 (−2.7)3.0060.20 (−0.9)3.0097.78 (+1.1)3.0013.04 (−0.5)3.00
FlashLoop59.36 (+0.1)5.8661.20 (+0.1)5.8696.67 (0.0)5.8613.50 (−0.1)5.86
H2O58.61 (−0.7)2.7561.00 (−0.1)2.7597.22 (+0.6)2.7513.80 (+0.2)2.75
LazyLLM58.76 (−0.5)2.9560.80 (−0.3)2.9597.22 (+0.6)2.9513.50 (−0.1)2.95
CALM58.98 (−0.3)3.8160.40 (−0.7)3.0597.22 (+0.6)3.3113.27 (−0.3)3.88
GCEE58.76 (−0.5)3.7460.40 (−0.7)3.2797.22 (+0.6)3.3213.27 (−0.3)3.71
SureLock59.21 (−0.1)5.8961.20 (+0.1)5.9296.67 (0.0)5.8913.42 (−0.2)5.92
Huginn KL exit59.14 (−0.2)5.9661.10 (0.0)5.9896.67 (0.0)5.9613.42 (−0.2)5.96
SwiftLoop (reusability)58.98 (−0.3)3.5061.30 (+0.2)1.8497.78 (+1.1)1.8713.27 (−0.3)3.61
SwiftLoop (impact, IG)58.83 (−0.5)1.8060.10 (−1.0)0.7996.67 (0.0)0.9813.42 (−0.2)1.52
SwiftLoop (impact, exact)58.76 (−0.5)1.5459.70 (−1.4)0.7196.67 (0.0)0.7913.42 (−0.2)1.40
LOTUS-3B (CODI-style)Fixed (6 loops)70.746.0075.606.0099.446.0016.386.00
Fixed (3 loops)39.88 (−30.9)3.0071.80 (−3.8)3.0097.78 (−1.7)3.009.63 (−6.7)3.00
FlashLoop70.51 (−0.2)5.9575.70 (+0.1)5.9599.44 (0.0)5.9516.45 (+0.1)5.95
H2O71.27 (+0.5)5.4075.20 (−0.4)5.40100.00 (+0.6)5.4016.60 (+0.2)5.40
LazyLLM71.04 (+0.3)5.4475.30 (−0.3)5.44100.00 (+0.6)5.4416.76 (+0.4)5.44
CALM70.96 (+0.2)5.7375.40 (−0.2)5.2499.44 (0.0)5.4816.38 (0.0)5.79
GCEE70.66 (−0.1)5.6975.80 (+0.2)5.49100.00 (+0.6)5.6516.45 (+0.1)5.69
SureLock70.66 (−0.1)5.9875.50 (−0.1)5.9999.44 (0.0)5.9816.45 (+0.1)5.98
Huginn KL exit70.74 (0.0)6.0075.40 (−0.2)6.0099.44 (0.0)5.9916.45 (+0.1)6.00
SwiftLoop (reusability)71.04 (+0.3)5.6576.00 (+0.4)4.4499.44 (0.0)5.2616.60 (+0.2)5.77
SwiftLoop (impact, IG)71.11 (+0.4)5.0575.80 (+0.2)3.54100.00 (+0.6)3.9716.38 (0.0)5.20
SwiftLoop (impact, exact)70.74 (0.0)5.0575.70 (+0.1)3.4698.89 (−0.6)3.3716.53 (+0.2)5.46
LOTUS-3B (Coconut-style)Fixed (6 loops)70.206.0073.906.0099.446.0016.456.00
Fixed (3 loops)54.59 (−15.6)3.0071.40 (−2.5)3.0098.33 (−1.1)3.0013.19 (−3.3)3.00
FlashLoop70.20 (0.0)6.0073.90 (0.0)6.0099.44 (0.0)6.0016.45 (0.0)6.00
H2O69.14 (−1.1)5.7472.60 (−1.3)5.7498.89 (−0.6)5.7416.07 (−0.4)5.74
LazyLLM69.90 (−0.3)5.8073.90 (0.0)5.8099.44 (0.0)5.8016.60 (+0.2)5.80
CALM70.20 (0.0)5.8573.90 (0.0)5.4499.44 (0.0)5.6916.30 (−0.2)5.87
GCEE68.16 (−2.0)5.1773.10 (−0.8)4.9199.44 (0.0)4.9816.00 (−0.5)5.15
SureLock69.07 (−1.1)5.9473.00 (−0.9)5.9599.44 (0.0)5.9416.22 (−0.2)5.95
Huginn KL exit69.14 (−1.1)5.9773.60 (−0.3)5.9799.44 (0.0)5.9616.15 (−0.3)5.97
SwiftLoop (reusability)69.90 (−0.3)5.5073.70 (−0.2)5.0499.44 (0.0)5.0716.45 (0.0)5.65
SwiftLoop (impact, IG)70.20 (0.0)5.0473.70 (−0.2)3.6399.44 (0.0)3.0516.53 (+0.1)4.52
SwiftLoop (impact, exact)69.98 (−0.2)5.1773.00 (−0.9)3.9999.44 (0.0)3.8316.45 (0.0)5.45

Table 1. Table 1: Main Results. Loops is the avg. number of loops computed per latent position.

Figure 3. Accuracy versus FLOPs relative to Fixed (6 loops).

Advantages across baselines and benchmarks. Existing adaptive methods generally offer less favorable trade-offs. FlashLoop, SureLock, and the Huginn KL exit retain nearly all recurrent computation, while CALM and GCEE achieve limited savings on the 3B models. Attention-based methods H2O and LazyLLM are more competitive on LOTUS-1B, requiring 2.75–2.95 loops, but still execute 5.40–5.80 loops on the 3B models. SwiftLoop’s advantages extend to out-of-distribution benchmarks. On LOTUS-1B, K/V reusability achieves 61.30% accuracy on SVAMP and 97.78% on MultiArith with fewer than two loops. On CODI-style LOTUS-3B, SwiftLoop (impact, IG) achieves 75.80% accuracy on SVAMP with 3.54 loops and 100% on MultiArith with 3.97 loops. These results demonstrate effective computation reduction across model scales, training recipes, and reasoning benchmarks.

Generalization to Recurrent Prompt Prefilling

We further evaluate SwiftLoop on recurrent prompt prefilling, applying position-wise freezing to context tokens in Ouro and Huginn. Table 2 shows that SwiftLoop substantially reduces recurrent computation across Ouro and Huginn while largely preserving prediction accuracy.

MethodOuro-1.4BHuginn-3.5B
Acc.StepsAcc.Steps
ARC-C
Fixed (all steps)59.984.0044.3732.00
FlashLoop60.24 (+0.26)2.3542.92 (−1.45)19.41
Huginn KL exit59.13 (−0.85)3.8142.92 (−1.45)18.13
SwiftLoop (reusability)59.64 (−0.34)2.3044.20 (−0.17)14.07
SwiftLoop (impact, IG)60.49 (+0.51)2.2343.34 (−1.02)19.56
HellaSwag
Fixed (all steps)74.374.0067.9732.00
FlashLoop74.37 (0.00)2.3567.58 (−0.40)19.42
Huginn KL exit74.41 (+0.04)3.9867.90 (−0.07)19.79
SwiftLoop (reusability)74.65 (+0.28)2.4767.84 (−0.14)12.36
SwiftLoop (impact, IG)74.44 (+0.07)2.0167.62 (−0.36)19.27
WinoGrande
Fixed (all steps)70.884.0063.2232.00
FlashLoop70.72 (−0.16)2.3662.98 (−0.24)19.50
Huginn KL exit70.88 (0.00)3.9962.12 (−1.10)20.23
SwiftLoop (reusability)69.69 (−1.18)3.3463.14 (−0.08)13.99
SwiftLoop (impact, IG)70.40 (−0.47)2.0562.90 (−0.32)18.95

Table 2. Generalization to Recurrent Prompt Prefilling.

On Ouro-1.4B, integrated-gradient supervision achieves the most favorable accuracy–computation trade-off, requiring only 2.01–2.23 steps per context token. In comparison, FlashLoop requires 2.35–2.36 steps at similar accuracy, while the Huginn KL exit retains 3.81–3.99 of the four steps. K/V reusability is less effective on Ouro, particularly on WinoGrande, where it incurs a 1.18-point accuracy drop while using 3.34 steps. On Huginn-3.5B, K/V reusability provides stronger accuracy–computation trade-offs, reducing the average recurrent steps from 32 to 12.36–14.07, a 56–61% reduction. Across all three benchmarks, accuracy remains within 0.17 percentage points of full recurrence. FlashLoop and the Huginn KL exit require 18.13–20.23 steps, with accuracy losses reaching 1.45 points. Integrated-gradient supervision requires 18.95–19.56 steps, yielding savings comparable to FlashLoop. These results demonstrate SwiftLoop’s applicability across recurrent architectures, with representation-level K/V reusability and output-level functional impact offering complementary perspectives on selective refinement.

Inference-Time Adaptive Computation

SwiftLoop enables fine-grained adaptive computation by dynamically adjusting the effective depth of individual positions and the active width of each recurrent loop. Figure 4 reveals heterogeneous computation allocation across models and benchmarks. LOTUS-1B freezes 51–76% of latent positions immediately after initialization, while the two 3B models exhibit distinct freezing patterns across recurrent loops. This adaptivity further emerges at the problem level. Figure 5 shows that average loops per latent increase consistently with reference reasoning length across all three models on GSM8K and GSM-Hard. Notably, these patterns emerge without explicit difficulty supervision, while variations within each difficulty group indicate instance-specific computation allocation. Together, these findings demonstrate how local freezing decisions enable adaptive computation across both positions and samples.

Figure 4. Share of latent slots frozen after each loop under SwiftLoop (impact, IG).

Figure 5. Adaptive Loop Allocation across Problems.

Wall-Clock Speedup

We evaluate the practical inference efficiency of SwiftLoop through end-to-end wall-clock measurements (Table 3). For implicit reasoning, IG-supervised SwiftLoop achieves 1.76×, 2.26×, and 2.48× speedups on LOTUS-1B across GSM8K, SVAMP, and MultiArith, respectively. On the two LOTUS-3B models, it delivers 1.07–1.50× speedups across these benchmarks. SwiftLoop

Implicit ReasoningGSM8KSVAMPMultiArith
Reus.IGReus.IGReus.IG
LOTUS-1B (CODI)1.33×\times1.76×\times1.93×\times2.26×\times1.93×\times2.48×\times
LOTUS-3B (CODI)1.01×\times1.09×\times1.20×\times1.38×\times1.07×\times1.29×\times
LOTUS-3B (Coconut)1.01×\times1.07×\times1.08×\times1.33×\times1.08×\times1.50×\times
Prompt PrefillingWinoGrandeARC-CHellaSwag
Reus.IGReus.IGReus.IG
Ouro-1.4B1.12×\times1.43×\times1.56×\times1.62×\times1.52×\times1.86×\times
Huginn-3.5B1.82×\times1.48×\times1.46×\times1.26×\times1.47×\times1.26×\times

Table 3. Measured Speedup. Wall-clock speedup of SwiftLoop relative to dense inference.

also accelerates recurrent prompt prefilling, achieving 1.43–1.86× speedups with functional-impact supervision on Ouro and 1.46–1.82× with K/V reusability on Huginn. Notably, Huginn achieves 1.46× and 1.47× speedups on ARC-Challenge and HellaSwag, respectively, under single-context prefilling. These results demonstrate SwiftLoop’s practical inference efficiency across implicit reasoning and recurrent prompt prefilling.

Related Work

Implicit Reasoning. Implicit chain-of-thought reasoning replaces explicit reasoning traces with continuous latent-state computation [11, 10]. Prior work advances implicit reasoning through diverse strategies, including pause tokens (Goyal et al., 2024), curriculum-based latent reasoning (Hao et al., 2025), self-distillation (Shen et al., 2025), reasoning compression [5] (Xu et al. 2025), and semantic or step-level supervision (He et al., 2025; Wei et al., 2026). PCCoT (Wu et al., 2025b) explores parallel latent reasoning, while LOTUS [13] builds on a looped Transformer architecture to iteratively refine latent slots for implicit reasoning.

Looped Transformers and Adaptive Computation. Looped Transformers increase effective computational depth through repeated application of shared modules [9]. Their capabilities for algorithmic and multi-step reasoning have been extensively studied (Giannou et al., 2023; Yang et al., 2024; Saunshi et al., 2025). Recent recurrent-depth language models, including Huginn (Geiping et al., 2025) and Ouro (Zhu et al., 2025), further demonstrate the potential of iterative latent computation. The computational demands of recurrence have inspired efficient inference through K/V cache optimization (Wu et al., 2025a; Vendrell et al., 2026), efficient prefilling [12] (Wan and Chen 2026), and accelerated decoding [6] (Yu et al. 2026; Liu et al. 2026). Adaptive computation further improves recurrent efficiency by allocating computation across inputs and positions. Existing approaches learn adaptive depth through dynamic halting and token-wise routing [3, 2] (Graves 2016; Fu et al. 2026; Wang et al. 2026), while inference-time methods guide selective updates through attention importance, hidden-state dynamics, and output-distribution stability (Zhang et al., 2023; Fu et al., 2024; Schuster et al., 2022; Gu et al., 2026; Yang and Liu, 2026; Oba et al., 2026; Geiping et al., 2025). SwiftLoop learns position-wise freezing decisions through hindsight-guided supervision, considering future K/V reusability at the internal representation level and functional impact at the output level.

Conclusion

We present SWIFTLOOP, a hindsight-guided framework for selective refinement in looped Transformers. Through position-wise freezing and K/V reuse, SwiftLoop adaptively allocates computation across recurrent depth and active width. Lightweight predictors learn from hindsight supervision based on representation-level K/V reusability or output-level functional impact, and guide adaptive freezing using only current hidden states at inference time. Extensive experiments demonstrate favorable accuracy–computation trade-offs and practical inference acceleration in implicit reasoning, with further generalization to recurrent prompt prefilling.

K/V Distance Definition

For position ii, let ki(ℓ)(t)\mathbf{k}_i^{(\ell)}(t) and vi(ℓ)(t)\mathbf{v}_i^{(\ell)}(t) denote the key and value vectors at layer ℓ\ell and pass tt, with all K/V heads concatenated. We define zi(ℓ)(t)=[ki(ℓ)(t);vi(ℓ)(t)]\mathbf{z}_i^{(\ell)}(t) = [\mathbf{k}_i^{(\ell)}(t); \mathbf{v}_i^{(\ell)}(t)] and compute the layer-averaged relative distance as

DiKV(t,u)=1L∑ℓ=1L∥zi(ℓ)(t)−zi(ℓ)(u)∥2max⁡(∥zi(ℓ)(u)∥2,10−6).(14)D_i^{\mathrm{KV}}(t,u)=\frac{1}{L}\sum_{\ell=1}^{L}\frac{\left\|\mathbf{z}_i^{(\ell)}(t)-\mathbf{z}_i^{(\ell)}(u)\right\|_2}{\max(\left\|\mathbf{z}_i^{(\ell)}(u)\right\|_2,10^{-6})}. \tag*{(14)}

Here, LL denotes the recurrent layers. The normalization uses the K/V norm at the later pass uu. Distances are measured at the K/V projection outputs; rotary position embeddings preserve these distances across passes. The reusability target EiKV(t)=max⁡u>tDiKV(t,u)E_i^{\mathrm{KV}}(t)=\max_{u>t}D_i^{\mathrm{KV}}(t,u) is computed from unfrozen calibration trajectories.

Experimental Details

This section provides additional details on the model configurations, evaluation benchmarks, predictor fitting, and experimental protocols used in § 5.

Models and Benchmarks

LOTUS Models. We evaluate three LOTUS configurations ([13]), covering different model scales and implicit-reasoning training recipes. All three models use a recurrent workspace of 150 latent positions and perform six recurrent refinement loops following an initialization pass. The first configuration is the released LOTUS-3B checkpoint, which follows the Coconut-style post training adaptation. To assess SwiftLoop across different training recipes, we additionally train two CODI-style LOTUS models using the self-distillation approach of CODI ((Shen et al., 2025)) on GSM8K-Aug ([11]). The 1B and 3B configurations are initialized from Llama-3.2-1B-Instruct and Llama-3.2-3B-Instruct, respectively (Grattafiori et al., 2024). All three configurations share the same recurrent workspace structure and freezing interface. Under full six-loop inference, CODI-style LOTUS-1B, CODI-style LOTUS-3B, and Coconut-style LOTUS-3B achieve 59.29%, 70.74%, and 70.20% accuracy on GSM8K test, respectively.

General Looped Models. We further evaluate SwiftLoop on Ouro-1.4B (Zhu et al., 2025) and Huginn-0125 (Geiping et al., 2025), which perform recurrent computation over prompt-token representations. Ouro-1.4B has 24 layers and executes four recurrent steps. Huginn-0125 contains approximately 3.5B parameters and applies a four-layer recurrent block for 32 steps, preceded by a two-layer prelude and followed by a two-layer coda. Unlike LOTUS, where recurrence refines latent reasoning positions, these models recurrently process context-token states. SwiftLoop applies the same position-wise freezing rule to eligible context positions, preserving their cached K/V for attention in subsequent steps. We enable adaptive freezing after two recurrent steps for Ouro and four for Huginn, following the warm-up convention of FlashLoop (Yang and Liu, 2026). Huginn’s stochastic initial state is generated using a fixed seed, ensuring identical initialization across evaluated methods.

Implicit-Reasoning Benchmarks. We evaluate mathematical reasoning on four benchmarks:

  • GSM8K [8]: 1,319 test problems involving multi-step grade-school arithmetic and mathematical reasoning.

  • SVAMP (Patel et al., 2021): 1,000 mathematical word problems designed to evaluate robustness to variations in problem structure and linguistic formulation.

  • MultiArith (Roy and Roth, 2015): 180 multi-step arithmetic word problems.

  • GSM-Hard (Gao et al., 2023): 1,319 challenging numerical variations of GSM8K problems.

GSM8K serves as the primary in-distribution benchmark, while SVAMP, MultiArith, and GSM-Hard evaluate out-of-distribution generalization. All models produce answers through greedy decoding after recurrent computation. We extract the numerical answer and compare it with the reference answer for correctness.

Prompt-Prefilling Benchmarks. We evaluate recurrent prompt prefilling on three benchmarks:

  • WinoGrande (Sakaguchi et al., 2021): a commonsense reasoning benchmark requiring resolution of ambiguous references. We use five-shot evaluation on 1,267 validation instances.

  • ARC-Challenge [7]: multiple-choice science questions requiring nontrivial reasoning and background knowledge. We use 25-shot evaluation on 1,172 test instances.

  • HellaSwag (Zellers et al., 2019): a commonsense inference benchmark requiring selection of plausible event continuations. We use ten-shot evaluation on 10,042 validation instances.

Following the evaluation protocol of lm-evaluation-harness [4], we score each candidate continuation by its conditional log-likelihood and select the highest-scoring candidate. For ARC-Challenge and HellaSwag, candidate scores are normalized by continuation length. The same prompting and scoring protocol is used across methods for each backbone and benchmark.

Implementation Details

Freezing and Feature Extraction. SwiftLoop applies irreversible position-wise freezing while retaining cached K/V for attention by active positions. For LOTUS, the initialization pass is indexed by t=0t = 0 and the six recurrent loops by t=1,…,6t = 1,\ldots,6. Freezing decisions may be made after passes t=0,…,5t = 0,\ldots,5. The predictor input concatenates the current hidden state with its most recent update, as defined in Eq. (6). For the initial pass, where no preceding recurrent state is available, we set the update component to zero. For recurrent prompt prefilling, freezing operates on context-token positions. Frozen positions retain their hidden states and cached K/V. The active-position set decreases monotonically over recurrent steps.

Hindsight Supervision. For each backbone, we collect reference recurrent trajectories to construct the supervision targets described in § 4.2. For K/V reusability, we use the maximum K/V deviation across subsequent recurrent passes:

ci(t)=EiKV(t)=max⁡t<u≤RDiKV(t,u).(15)c_i^{(t)} = E_i^{\mathrm{KV}}(t) = \max_{t<u\le R} D_i^{\mathrm{KV}}(t,u). \tag*{(15)}

These targets are obtained from unfrozen reference trajectories. For exact functional impact, we freeze one position after pass tt, retain full recurrence at all other positions, and recompute the resulting output margin. The freezing measure is the absolute change relative to the unfrozen reference margin:

ci,exact(t)=∣m(τ(i,t))−m(τfull)∣.(16)c_{i,\mathrm{exact}}^{(t)} = \left|m\left(\tau^{(i,t)}\right) - m\left(\tau^{\mathrm{full}}\right)\right|. \tag*{(16)}

For integrated-gradient supervision, we interpolate recurrent K/V along the joint freezing path introduced in § 4.2. We approximate the path integral using midpoint quadrature, with four integration points for LOTUS and two for Huginn. Each point provides gradient attributions for all eligible positions through a shared forward–backward computation. For output-level supervision, the reference margin uses the top two first-output tokens of the unfrozen computation, with their identities held fixed during evaluation.

Predictor Fitting. We fit separate freezing predictors for each backbone and supervision objective. For recurrent prompt prefilling, predictors are additionally fitted separately for each task. Each predictor receives the concatenated hidden-state features defined in Eq. (6). We consider a linear predictor and a one-hidden-layer MLP with 256 GELU units. Input features are standardized, and both architectures are optimized using AdamW with learning rate 10−310^{-3}. We select the predictor architecture and training duration using five-fold cross-validation, partitioned by problem or document to keep observations from the same input within a single fold. Training is limited to six epochs. The selected configuration is subsequently fitted for online use. Both supervision objectives use the log-scale regression loss in Eq. (8). We set δ=3×10−5\delta= 3 \times10^{-5} for functional impact in recurrent prompt prefilling, and 10−310^{-3} otherwise. Higher predicted freezing scores correspond to smaller estimated freezing measures.

For LOTUS, predictors are fitted using 500 GSM8K validation problems. For Ouro and Huginn, supervision is constructed from the training split of the corresponding task, with separate predictors fitted for each model–task combination.

Threshold Selection. We select the online freezing threshold from a candidate grid by evaluating the resulting freezing schedules. For each configuration, we choose the threshold minimizing average recurrent computation subject to a prescribed accuracy tolerance relative to dense inference. We consider 0.5-point loss, where a validation accuracy degradation of at most 0.5 percentage point is permitted. When no candidate satisfies the constraint, we retain the highest-accuracy configuration.

For LOTUS, threshold selection uses the same 500 GSM8K validation problems used for predictor fitting. The selected threshold is applied unchanged to GSM8K test, SVAMP, MultiArith, and GSM-Hard. For recurrent prompt prefilling, we use task-specific selection instances disjoint from the predictor-fitting inputs. The selection sets contain 600 WinoGrande, 719 ARC-Challenge, and 600 HellaSwag training-split instances, respectively. No selection uses the final evaluation instances.

All thresholds are fixed before evaluation. The chosen operating points are determined from full-policy executions, thereby reflecting the joint effect of freezing multiple positions.

Computational Resources. All methods use the same checkpoint and evaluation protocol within each model configuration. Experiments were conducted using NVIDIA A100 GPUs.

Training Recipe of CODI-Style LOTUS Models

Architecture. We train CODI-style LOTUS-1B and LOTUS-3B from Llama-3.2-1B-Instruct and Llama-3.2-3B-Instruct, respectively, following the LOTUS architecture. Both models refine 150 latent slots, organized into six blocks of 25, over six recurrent loops. Each loop incorporates the preceding hidden states into the slot embeddings, while reusing the question’s K/V cache. Training backpropagates through all seven passes (initialization and six loops), without a recurrent-depth curriculum. The added token embeddings remain fixed, and only LoRA adapters are optimized.

Training Objective. Following CODI, a shared-parameter model serves as both the latent student and the explicit-CoT teacher. We optimize

L=Lans+λdistLdist+Lteacher+λreadLread,(17)\mathcal{L} = \mathcal{L}_{\mathrm{ans}} + \lambda_{\mathrm{dist}}\mathcal{L}_{\mathrm{dist}} + \mathcal{L}_{\mathrm{teacher}} + \lambda_{\mathrm{read}}\mathcal{L}_{\mathrm{read}}, \tag*{(17)}

where λdist=20\lambda_{\mathrm{dist}} = 20 and λread=0.05\lambda_{\mathrm{read}} = 0.05. The student predicts the final answer after recurrent refinement, while the teacher receives explicit CoT supervision. We align their hidden states at the answer-prediction position using teacher-normalized SmoothL1 loss across embedding, Transformer, and final-normalization layers, with teacher representations detached. To integrate CODI self-distillation with parallel latent reasoning, we additionally apply LOTUS’s token-level supervision: the final-pass slots in block bb predict the tokens of reasoning step bb.

Data and Optimization. We train on 383,820 GSM8K-Aug problems after CODI-style filtering. Table 4 summarizes the LoRA configuration, optimization hyperparameters, and training schedules. Both models use AdamW with cosine decay, a global batch size of 128, and bfloat16 precision. Training uses two NVIDIA A100 80GB GPUs, taking approximately 45 hours for LOTUS-1B and 96 hours for LOTUS-3B. The final checkpoints achieve 59.3% and 70.7% GSM8K accuracy, respectively, under full recurrence.

ConfigurationLOTUS-1B (CODI)LOTUS-3B (CODI)
InitializationLlama-3.2-1B-InstructLlama-3.2-3B-Instruct
LoRA rank / α\alpha / dropout128 / 32 / 0.1128 / 32 / 0.1
Trainable parameters90.2M194.5M
Learning rate8×10−48 \times10^{-4}3×10−43 \times10^{-4}
Epochs (steps)10 (29,990)10 (23,992)
Batch / GPU168
Gradient accumulation48
Global batch size128128
Optimizer / scheduleAdamW / cosine (3% warm-up)AdamW / cosine (3% warm-up)
Weight decay / grad. clipping0.1 / 2.00.1 / 2.0
Training time∼45 h∼96 h

Table 4. Training configurations of CODI-style LOTUS models. Training uses two A100 80GB GPUs with bfloat16 precision.

Baselines

We describe the baseline methods used in our experiments, including their original decision criteria, adaptations to recurrent computation, and configuration procedures.

Common Protocol. For adaptive baselines originally designed for other inference settings, we adapt their selection criteria to position-wise recurrent computation. In LOTUS, freezing operates on latent reasoning positions. In Ouro and Huginn, it operates on context-token positions. Frozen positions retain their cached K/V for attention by subsequently updated positions. Unless otherwise specified, baseline configurations are fixed before evaluation. H2O and LazyLLM use the same accuracy-constrained selection rule as SwiftLoop, while methods with established calibration procedures or published defaults retain their respective settings. Detailed baseline configurations and calibration procedures are described below.

Fixed-Depth Baselines

We consider uniform recurrent computation with a fixed number of loops KK across positions. For LOTUS, K=6K = 6 corresponds to full recurrence. For Ouro and Huginn, full recurrence comprises 4 and 32 steps, respectively, and reduced-step inference uses smaller recurrent budgets.

Adaptive Baselines

FlashLoop. FlashLoop (Yang and Liu, 2026) reduces recurrent computation by prioritizing positions with the largest hidden-state changes. Its retention schedules are calibrated against the hidden-state reconstruction error of dense recurrence. For LOTUS, we measure the normalized recurrent update of each active latent:

qi(t)=∥hi(t)−hi(t−1)∥2∥hi(t)∥2+10−6.(18)q_i^{(t)} = \frac{\left\lVert h_i^{(t)} - h_i^{(t-1)} \right\rVert_2}{\left\lVert h_i^{(t)} \right\rVert_2 + 10^{-6}}. \tag*{(18)}

At each eligible pass, we retain the prescribed number of positions with the largest updates and freeze the remaining positions. The retained sets are nested across subsequent loops. The relative reconstruction error is

et=∥Hadaptive(t)−Hdense(t)∥F∥Hdense(t)∥F.(19)e_t = \frac{\left\lVert H_{\mathrm{adaptive}}^{(t)} - H_{\mathrm{dense}}^{(t)} \right\rVert_F}{\left\lVert H_{\mathrm{dense}}^{(t)} \right\rVert_F}. \tag*{(19)}

We search retention shares on a grid with 5% increments, selecting the smallest shares that maintain an average reconstruction error below 5%, subject to non-increasing retention across loops. For recurrent prompt prefilling, we use FlashLoop’s reported backbone-specific retention schedules.

H2O. H2O (Zhang et al., 2023) was originally proposed for efficient generative inference through KV-cache management. It prioritizes heavy-hitter tokens receiving high accumulated attention while retaining recent tokens. We adapt its attention-based ranking to recurrent positions, replacing cache eviction with position-wise freezing. For LOTUS, a latent’s importance score accumulates the attention received from active latent queries across recurrent passes, averaged over heads and layers. To account for causal attention asymmetry, we normalize by the number of active queries that can attend to each position. After a selected pass ss, a fraction rr of positions remains active. Half are selected by accumulated attention scores and half by recency, while the remaining positions are frozen. For LOTUS, we search 23 candidate configurations with 0.2≤r≤0.950.2 \le r \le0.95 and s≤3s \le3. Attention scores are obtained through an auxiliary eager-attention evaluation, whose overhead is excluded from the reported recurrent-loop count.

LazyLLM. LazyLLM ((Fu et al., 2024)) performs dynamic token pruning during long-context inference, using attention-based importance to identify positions requiring further computation. We adapt its selection rule to recurrent positions while preserving cached K/V after freezing. For LOTUS, latent importance is measured by the attention received from the final token of the answer prompt, averaged over heads and layers. After each eligible pass t≥st \ge s, we freeze the fraction pp of active latents with the lowest attention scores. We search 25 candidate (p,s)(p, s) configurations, with 0.02≤p≤0.60.02 \le p \le0.6 and s≤3s \le3, selecting the operating point on GSM8K validation. The auxiliary answer-prompt evaluation incurs 0.06–0.24 loop-equivalents per pass on GSM8K, depending on the backbone.

CALM. CALM ((Schuster et al., 2022)) enables adaptive early exit through hidden-state convergence. We adopt its saturation criterion, which measures the cosine similarity between consecutive representations. For LOTUS, latent ii is frozen after pass tt when

cos⁡(hi(t),hi(t−1))≥λ.(20)\cos\left(h_i^{(t)}, h_i^{(t-1)}\right) \ge\lambda. \tag*{(20)}

The frozen position retains its cached K/V for subsequent attention. We calibrate λ\lambda using CALM’s Learn-then-Test procedure ([1]) on GSM8K validation, with risk tolerance δ=0.02\delta= 0.02 and significance level ϵ=0.05\epsilon= 0.05. The risk indicator is one when dense inference answers correctly but the adaptive configuration does not, and zero otherwise. Candidate thresholds are obtained from quantiles of reference cosine similarities. We apply fixed-sequence testing with Hoeffding–Bentkus pp-values to select the most aggressive threshold accepted by the calibration procedure.

GCEE. GCEE ((Gu et al., 2026)) detects convergence in hidden-state trajectories using both update magnitude and directional stability. We apply its criteria to individual LOTUS latent positions across recurrent passes. Let ui(t)=hi(t)−hi(t−1)u_i^{(t)} = h_i^{(t)} - h_i^{(t-1)}. A position is frozen when

∥ui(t)∥2∥hi(t)∥2≤τs,\frac{\left\lVert u_i^{(t)}\right\rVert_2}{\left\lVert h_i^{(t)}\right\rVert_2} \le\tau_s,
cos⁡(ui(t),ui(t−1))≥τc(21)\cos\left(u_i^{(t)}, u_i^{(t-1)}\right) \ge\tau_c \tag*{(21)}

hold for two consecutive passes. The earliest possible freezing decision is therefore after pass t=3t = 3. Following GCEE’s calibration approach, we search τc∈{0,0.5,0.9}\tau_c \in\{0, 0.5, 0.9\} and τs\tau_s values derived from quantiles of the reference update magnitudes. We select the configuration with the fewest recurrent updates that retains at least 99% of dense validation accuracy.

SureLock. SureLock ((Oba et al., 2026)) identifies converged token representations in masked diffusion language models through changes in their output distributions. For LOTUS, we apply the LM head to each latent hidden state:

pi(t)=softmax⁡(LMHead⁡(hi(t))).(22)p_i^{(t)} = \operatorname{softmax}\left(\operatorname{LMHead}\left(h_i^{(t)}\right)\right). \tag*{(22)}

A latent is frozen when

DKL(pi(t)∥pi(t−1))≤ϵ(23)D_{\mathrm{KL}}\left(p_i^{(t)} \mathbin\Vert p_i^{(t-1)}\right) \le\epsilon \tag*{(23)}

and its prediction uncertainty lies within the lowest 20% among active positions. We use the published configuration with ϵ=5×10−3\epsilon= 5 \times10^{-3} and the 20% confidence gate. The auxiliary LM-head readouts incur approximately 0.27 loop-equivalents per pass on CODI-style LOTUS-1B and 0.14 on the 3B models. This overhead is excluded from the reported loop count.

Huginn KL Exit. Huginn ((Geiping et al., 2025)) supports adaptive recurrent computation using the KL divergence between successive output distributions. We apply its early-exit criterion to recurrent positions:

DKL(pi(t−1)∥pi(t))<ϵ.(24)D_{\mathrm{KL}}\left(p_i^{(t-1)} \mathbin\Vert p_i^{(t)}\right) < \epsilon. \tag*{(24)}

For LOTUS, we obtain the distributions through latent-level LM-head readouts and use the published threshold ϵ=5×10−4\epsilon= 5 \times10^{-4}. The same distributional-stability criterion is evaluated in recurrent prompt prefilling where applicable. As with SureLock, auxiliary LM-head readouts are excluded from the reported recurrent computation metric.

Inactive Default Exits. We additionally evaluate the state-convergence exit of Geiping et al. (2026), which freezes a position when its normalized update falls below ϵ=0.03\epsilon= 0.03, as well as GCEE under its published defaults and validation-free configuration. These rules do not trigger freezing on the evaluated LOTUS configurations, yielding the same predictions and recurrent computation as dense inference. We therefore report the calibrated GCEE variant in the main comparison.

Additional Analyses

Predictor Fit on Held-Out Samples

We evaluate SwiftLoop’s predictors using five-fold out-of-fold predictions on 500 GSM8K validation problems. We report Spearman correlation with regression targets and within-pass AUC for identifying reusable positions (EiKV(t)<0.45E_i^{\mathrm{KV}}(t) < 0.45) or positions with negligible functional impact (Ii(t)<1%I_i^{(t)} < 1\%). AUC is averaged across passes, with t=0t = 0 excluded when comparing against last-step change signals. Table 5 demonstrates the advantages of hindsight-guided learning over retrospective state-change signals. Learned reusability predictors achieve AUCs of 0.91–0.97, compared with 0.69–0.84 for local K/V and hidden-state changes. Likewise, learned impact predictors achieve AUCs of 0.70–0.80, compared with 0.55–0.64. These results demonstrate the value of learning future-oriented freezing criteria from current hidden states. Table 6 further demonstrates the effectiveness of learned freezing signals across LOTUS models. Reusability predictors achieve pooled Spearman correlations of 0.89–0.98 and within-pass AUCs of 0.91–0.97. For output-level supervision, IG-based joint-freezing attribution provides an informative training signal, achieving AUCs of 0.68–0.75 against exact single-position impact labels without requiring individual counterfactual rollouts.

SignalLOTUS-1B (CODI) Reus.LOTUS-1B (CODI) ImpactLOTUS-3B (CODI) Reus.LOTUS-3B (CODI) ImpactLOTUS-3B (Coconut) Reus.LOTUS-3B (Coconut) Impact
Last-step K/V change0.770.620.690.600.820.64
Last-step hidden-state change0.770.580.750.550.840.60
SwiftLoop (reusability)0.970.650.910.650.940.70
SwiftLoop (impact, IG)0.820.760.710.700.830.76
SwiftLoop (impact, exact)0.820.760.750.780.820.80

Table 5. Learned versus retrospective freezing signals. Within-pass AUC for identifying reusable positions (EiKV(t)<0.45E_i^{\mathrm{KV}}(t) < 0.45) and positions with negligible functional impact (Ii(t)<1%I_i^{(t)} < 1\%), averaged over t=1,…,5t = 1,\ldots,5. Learned predictors are evaluated out of fold, with functional impact assessed against exact counterfactual labels.

ModelReusability ρ\rhoReusability AUCImpact (IG) ρ\rhoImpact (IG) AUCImpact (exact) ρ\rhoImpact (exact) AUC
LOTUS-1B (CODI)0.980.970.770.750.690.76
LOTUS-3B (CODI)0.940.910.630.680.770.75
LOTUS-3B (Coconut)0.890.940.650.750.700.80

Table 6. Out-of-fold predictor evaluation. Results on 500 GSM8K validation problems. ρ\rho denotes Spearman correlation with regression targets across all position–pass pairs. AUC measures within-pass identification of reusable positions (EiKV(t)<0.45E_i^{\mathrm{KV}}(t) < 0.45) or negligible exact functional impact (Ii(t)<1%I_i^{(t)} < 1\%), averaged over t=0,…,5t = 0,\ldots,5.

Ablation on IG Quadrature Steps

We approximate the integrated-gradient path integral in Eq. (12) using KK midpoint nodes. Each node requires one forward–backward pass per recurrent step, jointly attributing all positions. Table 7 examines K∈{2,3,4}K \in\{2,3,4\} on LOTUS, with predictors refitted and freezing thresholds recalibrated for each setting. The resulting attribution labels exhibit consistent rankings across quadrature resolutions, with within-pass Spearman correlations of 0.71–0.99 relative to K=4K = 4. The learned policies also maintain comparable accuracy–computation trade-offs across benchmarks.

ModelKKρK=4\rho_{K=4}GSM8K Acc. (%)GSM8K LoopsSVAMP Acc. (%)SVAMP LoopsMultiArith Acc. (%)MultiArith LoopsGSM-Hard Acc. (%)GSM-Hard Loops
LOTUS-1B (CODI)4–58.83 (−0.5-0.5)1.8060.10 (−1.0-1.0)0.7996.67 (0.0)0.9813.42 (−0.2-0.2)1.52
30.9958.53 (−0.8-0.8)1.5659.10 (−2.0-2.0)0.7096.11 (−0.6-0.6)0.8713.34 (−0.2-0.2)1.36
20.9758.98 (−0.3-0.3)1.8860.30 (−0.8-0.8)0.8396.67 (0.0)1.0213.34 (−0.2-0.2)1.58
LOTUS-3B (CODI)4–71.11 (+0.4+0.4)5.0575.80 (+0.2+0.2)3.54100.00 (+0.6+0.6)3.9716.38 (0.0)5.20
30.7670.74 (0.0)5.3775.50 (−0.1-0.1)3.75100.00 (+0.6+0.6)4.3916.30 (−0.1-0.1)5.56
20.7170.89 (+0.2+0.2)5.0875.60 (0.0)3.64100.00 (+0.6+0.6)4.0716.45 (+0.1+0.1)5.20
LOTUS-3B (Coconut)4–70.20 (0.0)5.0473.70 (−0.2-0.2)3.6399.44 (0.0)3.0516.53 (+0.1+0.1)4.52
30.8570.43 (+0.2+0.2)5.2073.70 (−0.2-0.2)3.9398.89 (−0.6-0.6)3.9116.53 (+0.1+0.1)5.29
20.7670.20 (0.0)4.8773.30 (−0.6-0.6)3.4998.89 (−0.6-0.6)3.5616.68 (+0.2+0.2)4.94

Table 7. Ablation on IG quadrature steps. ρK=4\rho_{K=4} denotes the within-pass Spearman correlation of attribution labels with those obtained using K=4K = 4, evaluated on 500 GSM8K validation problems. We report test accuracy (with changes relative to fixed six-loop inference) and average loops per latent position.

Computation Accounting

Recurrent Steps. For LOTUS, Loops denotes the average number of recurrent updates per position across 150 latent slots and the start token, excluding the initialization pass. For recurrent prompt prefilling, Steps denotes the average recurrent-block applications per context token.

FLOPs. Figure 3 reports analytical FLOPs per problem, normalized to fixed six-loop inference, with two FLOPs per multiply–accumulate. The accounting includes question prefilling, latent initialization, recurrent refinement, and eight answer decoding steps, including the LM head. Recurrent FLOPs account for projections and MLPs at active positions, as well as attention to all visible K/V, including frozen positions. Policy-specific overhead is excluded from the analytical FLOP estimates. Recurrent refinement accounts for approximately 80% of dense inference FLOPs across the LOTUS models.

Wall-Clock Latency. Table 3 reports measured end-to-end inference speedups, including predictor evaluation and freezing decisions. Further measurement details are provided in Appendix § 11.§ 4.

Latency Measurement

Setup. All experiments run on a single NVIDIA A100 80GB PCIe GPU with PyTorch 2.7.1, CUDA 12.6, and bfloat16 computation. We compare each model’s native dense Hugging Face forward against a sparse executor that updates only active positions while preserving frozen K/V for attention. Without freezing, the sparse executor achieves 0.96–1.00× dense inference speed, with predictor evaluation adding at most 3% overhead.

Timing Protocol. For LOTUS, timing covers the full inference pipeline, from question tokenization through prefill, latent initialization, recurrent refinement, and answer decoding. For Ouro and Huginn, timing covers end-to-end answer-choice scoring, excluding tokenization. Huginn reuses the prefilling cache of shared contexts across answer choices. We synchronize CUDA at timing boundaries and report median wall-clock latency over three rounds following warm-up. Speedups are computed from median latencies for LOTUS and median per-round ratios for prompt prefilling. Table 8 summarizes the timing configurations.

ModelData setBatch sizeTimedInput tokensChoices
LOTUS (all)GSM8K25625659–60 / 133–
SVAMP25625640 / 65–
MultiArith25618040 / 54–
Ouro-1.4BWinoGrande16128138 / 1632
ARC-C432992 / 12074
HellaSwag1664830 / 10534
Huginn-3.5BWinoGrande1664134 / 1582
ARC-Cshared context32978 / 11914
HellaSwagshared context32805 / 9754

Table 8. Latency measurement configurations. Batch sizes, numbers of timed test instances, and input lengths (mean / maximum, in tokens). Input lengths refer to questions for LOTUS and few-shot contexts per answer choice for recurrent prefilling. Shared context denotes single-context prefilling with K/V reuse across choices.

Latency Breakdown. Table 9 reports recurrent and end-to-end latency for implicit reasoning. On LOTUS-1B, SwiftLoop (impact, IG) accelerates recurrent refinement by 4.7–5.5× on SVAMP and MultiArith, yielding 2.26–2.48× end-to-end speedups. Table 10 further reports absolute latencies for recurrent prompt prefilling. On Huginn, selective refinement achieves 1.46–1.47× acceleration on ARC-Challenge and HellaSwag even with single-context prefilling, demonstrating effective sparse execution on long contexts.

ModelSettingSVAMP RecurrentSVAMP End-to-endMultiArith RecurrentMultiArith End-to-end
LOTUS-1B (CODI)Fixed (dense)–25.1–24.5
LOTUS-1B (CODI)Fixed (sparse)19.325.719.325.1
LOTUS-1B (CODI)SwiftLoop (reusability)6.813.06.912.7
LOTUS-1B (CODI)SwiftLoop (impact, IG)3.511.14.19.9
LOTUS-3B (CODI)Fixed (dense)–62.8–61.6
LOTUS-3B (CODI)Fixed (sparse)49.164.449.163.2
LOTUS-3B (CODI)SwiftLoop (reusability)37.252.543.657.7
LOTUS-3B (CODI)SwiftLoop (impact, IG)30.345.633.747.8
LOTUS-3B (Coconut)Fixed (dense)–45.6–44.6
LOTUS-3B (Coconut)Fixed (sparse)36.347.236.346.1
LOTUS-3B (Coconut)SwiftLoop (reusability)31.442.331.441.3
LOTUS-3B (Coconut)SwiftLoop (impact, IG)23.434.319.929.7

Table 9. Latency breakdown for implicit reasoning (ms per problem; batch size 256). Recurrent denotes the six-loop computation, including freezing decisions; end-to-end includes question prefilling, latent initialization, and answer decoding. Dense inference is timed end to end.

ModelTaskDenseReus.IG
Ouro-1.4BWinoGrande27.824.919.4
Ouro-1.4BARC-C402.1257.1247.7
Ouro-1.4BHellaSwag322.4212.1173.3
Huginn-3.5BWinoGrande204.0111.8138.0
Huginn-3.5BARC-C922.6630.9732.1
Huginn-3.5BHellaSwag811.9552.1646.6

Table 10. Absolute latency of recurrent prompt prefilling (ms per document). Measurements cover scoring all answer choices at the batch sizes in Table 8. Shared contexts are prefixed once per document on Huginn.

Additional Baselines Comparison

Unified Baseline Calibration

Table 1 follows the published calibration procedures or default settings of adaptive baselines, except H2O and LazyLLM, which use SwiftLoop’s validation criterion. For a controlled comparison, we recalibrate FlashLoop, CALM, GCEE, SureLock, and the Huginn KL exit on the same validation samples. For each model, we select the setting that minimizes recurrent computation while preserving fixed-loop validation accuracy (η≤0.5\eta\le0.5), or the highest-accuracy setting if none qualifies. We search the original CALM and GCEE parameter grids, FlashLoop reconstruction bounds of 5–80%, and twelve thresholds for SureLock and the KL exit. Selected settings remain fixed across test benchmarks.

Selected settings. For LOTUS-1B (CODI), LOTUS-3B (CODI), and LOTUS-3B (Coconut), respectively: FlashLoop bounds are (20, 5, 5)%; CALM thresholds are (0.937, 0.969, 0.974); GCEE parameters are (0.726, 0.5), (0.566, 0), and (0.250, 0); SureLock thresholds are (10−210^{-2}, 2×10−22 \times10^{-2}, 2×10−32 \times10^{-3}); and KL-exit thresholds are (10−210^{-2}, 10−310^{-3}, 5×10−45 \times10^{-4}).

Results. Table 11 demonstrates that SwiftLoop maintains its advantage under unified baseline calibration. Across all 12 model–benchmark settings, SwiftLoop achieves greater recurrent computation savings than the recalibrated adaptive baselines, while preserving competitive accuracy. These results further validate the effectiveness of hindsight-guided selective refinement.

ModelMethodGSM8K Acc. (%)GSM8K LoopsSVAMP Acc. (%)SVAMP LoopsMultiArith Acc. (%)MultiArith LoopsGSM-Hard Acc. (%)GSM-Hard Loops
LOTUS-1B (CODI)Fixed (6 loops)59.296.0061.106.0096.676.0013.576.00
FlashLoop59.36 (+0.1)4.7761.30 (+0.2)4.7797.22 (+0.6)4.7713.57 (0.0)4.77
CALM59.51 (+0.2)3.2560.60 (−0.5)2.6897.22 (+0.6)2.9113.65 (+0.1)3.33
GCEE58.76 (−0.5)3.7460.40 (−0.7)3.2797.22 (+0.6)3.3213.27 (−0.3)3.71
SureLock59.06 (−0.2)5.8661.20 (+0.1)5.9096.67 (0.0)5.8613.50 (−0.1)5.90
Huginn KL exit‡59.29 (0.0)5.8461.00 (−0.1)5.8996.67 (0.0)5.8713.57 (0.0)5.88
LOTUS-3B (CODI)Fixed (6 loops)70.746.0075.606.0099.446.0016.386.00
FlashLoop70.51 (−0.2)5.9575.70 (+0.1)5.9599.44 (0.0)5.9516.45 (+0.1)5.95
CALM70.58 (−0.2)5.9075.50 (−0.1)5.5899.44 (0.0)5.7816.38 (0.0)5.93
GCEE70.66 (−0.1)5.7975.90 (+0.3)5.4599.44 (0.0)5.6616.45 (+0.1)5.80
SureLock70.74 (0.0)5.9675.50 (−0.1)5.9699.44 (0.0)5.9416.38 (0.0)5.97
Huginn KL exit70.66 (−0.1)5.9975.60 (0.0)6.0099.44 (0.0)5.9916.45 (+0.1)5.99
LOTUS-3B (Coconut)Fixed (6 loops)70.206.0073.906.0099.446.0016.456.00
FlashLoop70.20 (0.0)6.0073.90 (0.0)6.0099.44 (0.0)6.0016.45 (0.0)6.00
CALM‡70.20 (0.0)5.8573.90 (0.0)5.4499.44 (0.0)5.6916.30 (−0.2)5.87
GCEE70.20 (0.0)5.9573.90 (0.0)5.7899.44 (0.0)5.8916.45 (0.0)5.96
SureLock69.07 (−1.1)5.9673.30 (−0.6)5.9799.44 (0.0)5.9616.22 (−0.2)5.96
Huginn KL exit69.14 (−1.1)5.9773.60 (−0.3)5.9799.44 (0.0)5.9616.15 (−0.3)5.97

Table 11. Adaptive baselines under unified calibration. Test accuracy (change relative to fixed six-loop inference) and average loops per latent position. Each method is calibrated on validation set to minimize recurrent computation with at most a 0.5 percentage point accuracy drop. ‡ denotes the highest-accuracy setting when no candidate satisfies the constraint. SwiftLoop, H2O, and LazyLLM results under the same criterion appear in Table 1.

Comparison with Random Freezing

We evaluate the effectiveness of SwiftLoop’s adaptive freezing decisions against budget-matched random freezing. For each variant, we compare against a budget-matched random baseline that selects active positions uniformly at random.

Table 12 shows that SwiftLoop improves accuracy over random freezing by 3.6–20.0 percentage points on LOTUS-1B across reasoning benchmarks. Consistent advantages are also observed on both LOTUS-3B configurations. These results highlight the effectiveness of learned freezing decisions in allocating recurrent computation across samples and positions.

ModelMethodGSM8K Acc. (%)GSM8K LoopsSVAMP Acc. (%)SVAMP LoopsMultiArith Acc. (%)MultiArith LoopsGSM-Hard Acc. (%)GSM-Hard Loops
LOTUS-1B (CODI)Fixed (6 loops)59.296.0061.106.0096.676.0013.576.00
Random (IG budget)46.40*1.7955.20*0.7983.89*0.989.40*1.52
Random (exact budget)45.41*1.5456.10*0.6876.67*0.799.78*1.40
LOTUS-3B (CODI)Fixed (6 loops)70.746.0075.606.0099.446.0016.386.00
Random (IG budget)69.14*5.0775.003.52100.003.9816.075.21
Random (exact budget)68.76*5.0374.10*3.46100.003.3816.385.45
LOTUS-3B (Coconut)Fixed (6 loops)70.206.0073.906.0099.446.0016.456.00
Random (IG budget)67.55*5.0469.90*3.6397.223.0514.56*4.52
Random (exact budget)67.55*5.2169.90*3.9998.893.8516.155.47

Table 12. Random freezing at matched computation budgets. Test accuracy and average loops per latent position. Random baselines match the per-pass freezing counts of SwiftLoop, while selecting positions uniformly at random.

References

  1. [1]Anastasios N Angelopoulos, Stephen Bates, Emmanuel J Candès, Michael I Jordan, and Lihua Lei. 2025. Learn then test: Calibrating predictive algorithms to achieve risk control. The Annals of Applied Statistics, 19(2):1641–1662.arxiv.org/abs/2110.01052
  2. [2]Sangmin Bae, Yujin Kim, Reza Bayat, Sungyun Kim, Jiyoun Ha, Tal Schuster, Adam Fisch, Hrayr Harutyunyan, Ziwei Ji, Aaron Courville, and Se-Young Yun. 2025. Mixture-of-recursions: Learning dynamic recursive depths for adaptive token-level computation. In The Thirty-ninth Annual Conference on Neural Information Processing Systems.
  3. [3]Andrea Banino, Jan Balaguer, and Charles Blundell. 2021. PonderNet: Learning to ponder. arXiv preprint arXiv:2107.05407.arxiv.org/abs/2107.05407
  4. [4]Stella Biderman, Hailey Schoelkopf, Lintang Sutawika, Leo Gao, Jonathan Tow, Baber Abbasi, Alham Fikri Aji, Pawan Sasanka Amanamananchi, Sidney Black, Jordan Clive, et al. 2024. Lessons from the trenches on reproducible evaluation of language models. arXiv preprint arXiv:2405.14782.arxiv.org/abs/2405.14782
  5. [5]Jeffrey Cheng and Benjamin Van Durme. 2024. Compressed chain of thought: Efficient reasoning through dense representations. arXiv preprint arXiv:2412.13171.arxiv.org/abs/2412.13171
  6. [6]SangLyul Cho, Langqing Cui, Sehoon Kim, Dongsu Han, and Insu Han. 2026. Loopspec: Pipelined self-speculative decoding for looped transformers. arXiv preprint arXiv:2609.17184.arxiv.org/abs/2609.17184
  7. [7]Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. 2018. Think you have solved question answering? try arc, the ai2 reasoning challenge. arXiv preprint arXiv:1803.05457.arxiv.org/abs/1803.05457
  8. [8]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.arxiv.org/abs/2110.14168
  9. [9]Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Lukasz Kaiser. 2019. Universal transformers. In International Conference on Learning Representations.arxiv.org/abs/1807.03819
  10. [10]Yuntian Deng, Yejin Choi, and Stuart Shieber. 2024. From explicit cot to implicit cot: Learning to internalize cot step by step. arXiv preprint arXiv:2405.14838.arxiv.org/abs/2405.14838
  11. [11]Yuntian Deng, Kiran Prasad, Roland Fernandez, Paul Smolensky, Vishrav Chaudhary, and Stuart Shieber. 2023. Implicit chain of thought reasoning via knowledge distillation. arXiv preprint arXiv:2311.01460.arxiv.org/abs/2311.01460
  12. [12]Zhixu Du, Yuhan Cheng, Hai Li, Yiran Chen, et al. 2026. Not all loops cost the same: Phase-dependent depth for serving looped transformers. arXiv preprint arXiv:2611.07211.arxiv.org/abs/2611.07211
  13. [13]Ying Fan, Anej Svete, and Kangwook Lee. 2026. Bridging the gap between latent and explicit reasoning with looped transformers. arXiv preprint arXiv:2606.31779.arxiv.org/abs/2606.31779

Paper details

vlnc:W_fmvkaupm
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents