betaFeedback

WorksComputer Science

Spherical Fixed-Point Reasoners: Adaptive Loop Halting on the Hypersphere

Abstract

Looped (weight-tied) transformers enable adaptive computation by allocating more iterations to harder inputs. Fixed-Point Reasoners (FPRM) achieve this with a damped fixed-point solver, but operate in an unbounded Euclidean residual space with coupled rescaling and relative-norm halting. We introduce Spherical Fixed-Point Reasoners (SFPRM), which perform the same computation on the unit hypersphere of normalized transformers (nGPT). Input injection, damping, and halting become geodesic operations, yielding boundedness by construction and eliminating coefficient coupling. We prove fixed-point existence, local convergence under an explicit step-size condition, and global convergence under strong injection. On Sudoku-Extreme, Maze-Hard, and Mini-ARC, SFPRM achieves 96.6%, 87.9%, and 59.1% test accuracy, respectively, outperforming FPRM and other baselines while allocating test-time compute more effectively. Its converged geometry is also interpretable: token-input angles capture puzzle structure and predict correctness.

Introduction

Scaling test-time computation has become the main lever for improving the reasoning ability of sequence models, most visibly through chain-of-thought traces ([46, 45, 12, 49, 39]). Looped transformers offer a latent alternative ([14, 3, 20]): a single weight-tied block is applied repeatedly, so depth becomes an iteration count chosen at inference time, and compute can be allocated per input according to its difficulty. On algorithmic puzzles such as Sudoku, mazes, and ARC, this recipe lets small recursive reasoners compete with far larger models ([43, 24, 31]).

A looped transformer raises two questions: when should it stop, and will it stay well-behaved as it runs? The fixed-point view ([3]), answers the first by treating the loop as a solver for z⋆=Fθ(z⋆;x)z^\star= F_\theta(z^\star; x) and halting once the iterate stops moving. Fixed-Point Reasoners (FPRM) ([31]) turn this into a practical recipe: a damped iteration whose step size decays on a patience rule, a relative-norm residual as the halting test, and a boundedness theorem that keeps the recurrent state from diverging. The second question is where the Euclidean formulation shows its cost. Because the residual stream is free to grow, a boundedness theorem must couple four residual-rescaling coefficients, and the halting residual needs a normalization factor to be scale-invariant.

We introduce Spherical Fixed-Point Reasoning Models (SFPRM), which run FPRM’s damped solver on nGPT’s ((Loschchilov et al., 2025)) unit sphere (Figure 1). The normalized Transformer (nGPT) obtains stable dynamics by changing the geometry rather than adding control: every hidden state lives on the unit hypersphere Sd−1\mathbb{S}^{d-1} and each sub-layer is a learned angular move followed by renormalization, so the divergence FPRM must guard against cannot occur. Every control quantity of the loop becomes an angle: the input is re-injected by moving a fraction λ\lambda of the great-circle arc toward it, the damped update is a spherical linear interpolation (Slerp) whose coefficient ηi\eta_i is an angular step size that FPRM’s patience-based decay literally shrinks, and the halting residual is the worst-token angle between an iterate and its proposal. Our contributions are:

SFPRM overview showing the outer fixed-point loop, spherical block, and halting on the sphere

Figure 1. SFPRM overview. (a) Each iteration interpolates the current state toward the normalized input (Slerpλ_\lambda), applies the weight-tied spherical nGPT block to obtain the proposal z~i\tilde{z}_i, and rotates a fraction ηi\eta_i of the way toward it (Slerpηi_{\eta_i}); the loop halts once the worst-token chordal residual rc,ir_{c,i} falls below τc\tau_c. The eigen-learning-rate retractions RαR_\alpha inside the block keep every token state on unit sphere Sd−1\mathbb{S}^{d-1}. (b) One token’s iterates rotate along a great circle by shrinking angles ηiΩi,t\eta_i\Omega_{i,t}; the halting test compares each proposal with the current iterate, so it never needs the fixed point zt∗z_t^*.

  1. Simplicity: because the state cannot leave the sphere, boundedness is structural, and FPRM’s coupled residual-rescaling coefficients, its boundedness theorem, and its relative-norm residual disappear rather than being re-proved;

  2. guarantees: a fixed point exists from continuity and input injection alone, with no contraction or Lipschitz assumption; angular damping stabilizes any fixed point whose tangent Jacobian has real parts below one, with an explicit step-size window; and sufficiently strong injection makes it a unique global attractor;

  3. performance: on Sudoku-Extreme and Maze-Hard, SFPRM halts up to 2.7× earlier than FPRM at equal or higher accuracy; and

  4. interpretability: the angle between each token state and its input anchor separates token classes during the recursion, converges to a readable encoding of the task’s structure, and, on Sudoku, predicts whether the answer is correct.

Related Work

Looped and weight-tied transformers. Tying the weights of a transformer block (Vaswani et al. [41]) and applying it repeatedly turns depth into an iteration count at inference time (Dehghani et al. [14]; Lan et al. [27]). Looped models match much deeper non-looped ones on synthetic reasoning tasks and can simulate chain-of-thought in latent space (Saunshi et al. [36]), learn in-context algorithms more sample-efficiently (Yang et al. [48]; Gatmiry et al. [19]), emulate programmable computation (Giannou et al. [21]), generalize in length when the loop matches the algorithm’s recursion (Fan et al. [16]), scale to billions of parameters (Geiping et al. [20]; Prairie et al. [34]), and supply a scaling axis for masked diffusion models (Carballo-Castroc et al. (2026); Miele et al. [29]). SFPRM is a looped transformer whose loop is run as a fixed-point solve on the sphere.

Equilibrium models, adaptive computation, and halting. Adaptive Computation Time (Graves [22]) and PonderNet (Banino et al. [6]) learn a halting distribution through an auxiliary loss, so halting is a learned head rather than a property of the dynamics. Recent methods such as HRM (Wang et al. [43]), URM (Gao et al. [18]), TRM (Jolicoeur-Martineau [24]), and PTRM (Sghair et al. (2026)) inherit this design. Deep equilibrium models (Bai et al. [3, 4]; Winston & Kolter [47]; Bai et al. [5]) replace the unrolled iteration by the fixed point of a weight-tied layer and differentiate implicitly through it. Attractor models (Fein-Ashley & Rashidinejad [17]) and equilibrium reasoners (Huang et al. [23]) make the loop’s attractor explicit and halt on a solver tolerance or a residual-based selection, and FPRM (Movahedi et al. [31]) halts on a scale-invariant residual of the tied block itself, at the cost of coupled residual-rescaling coefficients that keep its Euclidean residual stream bounded; iterating past the point where the answer has settled is itself harmful [7, 37]. Table 1 sorts these reasoners by whether a numerical fixed-point solve is performed and what governs halting; SFPRM alone combines a genuine solve with an intrinsic, scale-free halting criterion on a curved state space.

MethodRecurrenceFix. pt.State update and inputHalting / output
HRMFast LL-loop + slow HH-loopAppr.Euclidean (zL,zH)(z_L,z_H); input drives LLACT head; read zHz_H
TRMShared net refines zz, answer yyNoEuclidean; input re-read each stepACT head; read yy
URMUT; fixed inner + ACT outer loopNoEuclidean; short conv in MLPACT head, ≤16\leq16 steps
EqRTied loop; BB stochastic restartsAppr.Euclidean; random init, path noiseACT; lowest-residual run
AttractorBackbone + equilibrium loopYesBackbone y~0\tilde{y}_0 seeds each stepSolver tol.; read y~\tilde{y}
FPRMTied Transformer loopYes(α1,β1)(\alpha_1,\beta_1) mix; (α2,β2)(\alpha_2,\beta_2) injectionRel.-ℓ∞\ell_\infty residual
SFPRMTied nGPT spherical loopYesEigen-LR motion; λ\lambda geodesic injectionChordal residual

Table 1. Recent recurrent reasoners: HRM [43], TRM [24], URM [18], Attractor [17], EqR [23] and FPRM [31]. “Appr.” means no numerical fixed-point solve is performed.

Normalized and hyperspherical representations. Constraining representations to a sphere is a long-standing stabilization device, for parameters [35, 30], latent variables [13], contrastive representations [44], and flow language models that rotate tokens on Sd−1S^{d-1} [15]. nGPT [28] carries the constraint through an entire transformer, with every hidden state and weight vector on Sd−1S^{d-1} and each sub-layer a normalized retraction toward a learned target. SFPRM adopts that block, hence every optimizer and solver step becomes an angular update.

Spherical Fixed-Point Reasoning Models

Preliminaries

Notation. For a sequence of TT tokens with hidden dimension dd, the recurrent state at loop iteration ii is zi=(zi,1,…,zi,T)z_i=(z_{i,1},\ldots,z_{i,T}) with token states zi,t∈Rdz_{i,t}\in\mathbb{R}^d. We use ii for loop iterations, tt for token positions, and ℓ\ell for sub-layers. Sd−1:={z∈Rd:∥z∥=1}S^{d-1}:=\{z\in\mathbb{R}^d:\lVert z\rVert=1\} denotes the unit hypersphere in Rd\mathbb{R}^d. The embedded input is x=(x1,…,xT)\mathbf{x}=(x_1,\ldots,x_T). Tuples carry the product inner product ⟨u,v⟩:=∑t=1T⟨ut,vt⟩\langle\mathbf{u},\mathbf{v}\rangle:=\sum_{t=1}^{T}\langle u_t,v_t\rangle and norm ∥u∥2:=∑t=1T∥ut∥2\lVert\mathbf{u}\rVert^2:=\sum_{t=1}^{T}\lVert u_t\rVert^2. Lowercase fθf_\theta always denotes the weight-tied network, uppercase Fθ(⋅ ;x)F_\theta(\cdot\,;\mathbf{x}) the complete input-dependent recurrent map, and hϕh_\phi the readout.

Looped transformers and fixed-point reasoning. A looped Transformer applies a weight-tied network repeatedly to a state that is re-exposed to the same input x\mathbf{x} at every application: zi+1=Fθ(zi;x)z_{i+1}=F_\theta(z_i;\mathbf{x}), for i=0,1,…i=0,1,\ldots, and predicts with a readout hϕ(zi)h_\phi(z_i). A convergent iteration has a fixed point z⋆=Fθ(z⋆;x)z^\star=F_\theta(z^\star;\mathbf{x}), the equilibrium view of Bai et al. [3]. The prediction is determined by the fixed point, while the number of iterations needed to reach it is chosen per input. FPRM [31] uses a pre-norm block of depth DD (2D2D attention and MLP sub-layers). Because the residual stream is free to grow indefinitely, FPRM uses tied residual coefficients (α1,β1)(\alpha_1,\beta_1) and iteration-level coefficients (α2,β2)(\alpha_2,\beta_2):

ziℓ=α1ziℓ−1+β1fθℓ(Norm⁡pre(ziℓ−1)),ℓ=1,…,2D,zi+10=α2zi2D+β2x.(1)z_i^\ell=\alpha_1z_i^{\ell-1}+\beta_1f_\theta^\ell\left(\operatorname{Norm}_{\mathrm{pre}}(z_i^{\ell-1})\right),\quad\ell=1,\ldots,2D,\qquad z_{i+1}^{0}=\alpha_2z_i^{2D}+\beta_2\mathbf{x}. \tag*{(1)}

Via a boundedness theorem that couples the four coefficients:

β2=1−α2α12D,β1=β2(1−α1)1−α12D,0≤α1,α2<1,(2)\beta_2=1-\alpha_2\alpha_1^{2D},\qquad\beta_1=\frac{\beta_2(1-\alpha_1)}{1-\alpha_1^{2D}},\qquad0\leq\alpha_1,\alpha_2<1, \tag*{(2)}

ensures that the recurrent carry path (gain α2α12D\alpha_2\alpha_1^{2D}) is balanced against the injected input. Given a proposal z~i=Fθ(zi;x)\tilde{z}_i=F_\theta(z_i;\mathbf{x}), FPRM damps linearly:

zi+1=(1−ηi)zi+ηiz~i,(3)z_{i+1}=(1-\eta_i)z_i+\eta_i\tilde{z}_i, \tag*{(3)}

with a per-sample ηi∈(0,1]\eta_i\in(0,1] that is decayed on a patience rule whenever the residual stalls, and halts on the relative residual:

rE,i=∥zi−z~i∥∞∥zi∥∞+ϵ,∥u∥∞:=max⁡1≤t≤T,  1≤j≤d∣(ut)j∣.(4)r_{\mathrm{E},i}=\frac{\lVert z_i-\tilde{z}_i\rVert_\infty}{\lVert z_i\rVert_\infty+\epsilon},\qquad\lVert\mathbf{u}\rVert_\infty:=\max_{1\leq t\leq T,\;1\leq j\leq d}|(u_t)_j|. \tag*{(4)}

once rE,i<τEr_{E,i} < \tau_E or the budget is exhausted. The coefficient coupling and the denominator of the residual exist to contain a Euclidean residual stream whose scale is not fixed. Rather than differentiate implicitly through the equilibrium as in Bai et al. [3], FPRM trains with truncated BPTT over windows of KK iterations, deep supervision, and state detachment between windows.

nGPT and spherical geometry. nGPT (Loshchilov et al., [28]) constrains every hidden state to the unit sphere Sd−1\mathbb{S}^{d-1} via Norm⁡(u)=u/∥u∥2\operatorname{Norm}(u)=u/\lVert u\rVert_2 for a nonzero token vector and folds each sub-layer output into the state through learned, per-coordinate eigen learning rates αA,αM∈Rd\alpha_A,\alpha_M\in\mathbb{R}^d:

z←Norm⁡(z+αA⊙(Norm⁡(Attn⁡(z))−z)),z←Norm⁡(z+αM⊙(Norm⁡(MLP⁡(z))−z)).(5)\begin{aligned} \mathbf{z} &\leftarrow\operatorname{Norm}\left(\mathbf{z}+\alpha_A\odot\left(\operatorname{Norm}(\operatorname{Attn}(\mathbf{z}))-\mathbf{z}\right)\right),\\ \mathbf{z} &\leftarrow\operatorname{Norm}\left(\mathbf{z}+\alpha_M\odot\left(\operatorname{Norm}(\operatorname{MLP}(\mathbf{z}))-\mathbf{z}\right)\right). \tag*{(5)} \end{aligned}

Norm acts token-wise on tuples, and αA,αM\alpha_A,\alpha_M are shared across tokens. Each sub-layer is a normalized retraction toward a learned target, so unit norm is preserved by construction rather than enforced by a constraint (Absil et al. [1]). For unit vectors u,vu,v write ∠(u,v):=arccos⁡(⟨u,v⟩)\angle(u,v):=\arccos(\langle u,v\rangle). For Ω=∠(u,v)∈(0,π)\Omega=\angle(u,v)\in(0,\pi), the spherical linear interpolation:

Slerp⁡η(u,v)=sin⁡((1−η)Ω)sin⁡Ωu+sin⁡(ηΩ)sin⁡Ωv,η∈[0,1],(6)\operatorname{Slerp}_{\eta}(u,v)=\frac{\sin((1-\eta)\Omega)}{\sin\Omega}u+\frac{\sin(\eta\Omega)}{\sin\Omega}v,\qquad\eta\in[0,1], \tag*{(6)}

moves a fraction η\eta along the shortest great-circle arc from uu to $v and stays on the sphere. For coincident endpoints we set Slerp⁡η(u,u):=u\operatorname{Slerp}_{\eta}(u,u):=u, the limit of eq. (6) as v→uv\to u; at an antipodal pair (v=−uv=-u) the shortest arc is not unique, so we use eq. (12) (Section A.2). For small Ω\Omega, Slerp agrees with normalized linear interpolation Norm⁡((1−η)u+ηv)\operatorname{Norm}((1-\eta)u+\eta v) up to O(Ω3)O(\Omega^3) (Lemma 2).

SFPRM: the recurrent map and its solver

SFPRM is a looped Transformer model whose recurrent state lives on the unit hypersphere and whose loop is run as a damped fixed-point solver. Algorithm 1 places it next to FPRM (Movahedi et al., [31]), its Euclidean predecessor. Every difference is a Euclidean operation replaced by its spherical one: the state is confined to S\mathcal{S} by a weight-tied nGPT block (line 5, eq. (5)), affine injection becomes a geodesic move a fraction λ\lambda of the arc toward the input (line 4, eq. (8)), the relative residual becomes the chordal one (line 6, eq. (9)), and linear damping becomes a rotation a fraction ηi\eta_i of the way toward the proposal (line 9, eq. (10)).

State space and spherical block

SFPRM’s recurrent state is a tuple of unit token vectors, zi=(zi,1,…,zi,T)∈S:=(Sd−1)T\mathbf{z}_i=(\mathbf{z}_{i,1},\ldots,\mathbf{z}_{i,T})\in\mathcal{S}:=(\mathbb{S}^{d-1})^T, where ∥zi,t∥2=1\lVert\mathbf{z}_{i,t}\rVert_2=1 and the input x=(x1,…,xT)∈S\mathbf{x}=(\mathbf{x}_1,\ldots,\mathbf{x}_T)\in\mathcal{S} is the embedded sequence normalized token-wise. The weight-tied network fθ:S→Sf_\theta:\mathcal{S}\to\mathcal{S} is a stack of DD nGPT layers, each attention retraction followed by an MLP retraction as in eq. (5), with QK-normalization and eigen learning rates shared across iterations. Attention couples tokens, so fθf_\theta acts on the product S\mathcal{S} rather than token by token; it is the block applied at every iteration in eq. (8). Following nGPT’s logit scaling, predictions are read out as szhϕ(z)s_zh_\phi(\mathbf{z}), where, given the vocabulary V\mathcal{V}, hϕh_\phi is a linear map Rd→R∣V∣\mathbb{R}^d\to\mathbb{R}^{|\mathcal{V}|} and szs_z is a learned scalar. nGPT would normalize the rows of ϕ\phi like every other weight vector, however we keep them unnormalized so the head can set its own per-class scale while the state stays on the sphere.

Geodesic input injection. We lift Slerp from tokens to sequences by applying it position-wise. Given two unit token vectors u\mathbf{u} and v\mathbf{v}, we write:

Slerp⁡η(u,v):=(Slerp⁡η(ut,vt))t=1T,η∈[0,1].(7)\operatorname{Slerp}_{\eta}(\mathbf{u},\mathbf{v}):=\left(\operatorname{Slerp}_{\eta}(u_t,v_t)\right)_{t=1}^{T},\qquad\eta\in[0,1]. \tag*{(7)}

At every iteration ii, the current state is first pulled toward the input along the shortest arc using Slerp⁡λ\operatorname{Slerp}_{\lambda} of eq. (7), and the result is then passed through the nGPT block of eq. (5).

Fθ(z;x):=fθ(Slerp⁡λ(z,x)),0<λ<1.(8)F_\theta(\mathbf{z};\mathbf{x}):=f_\theta(\operatorname{Slerp}_{\lambda}(\mathbf{z},\mathbf{x})),\qquad0<\lambda<1. \tag*{(8)}

Algorithm 1 FPRM (left) and SFPRM (right) in one skeleton. Black=shared control flow; orange=FPRM-specific; blue=SFPRM-specific. Both start from a random state z0z_0 and re-inject the input before every application of fθf_\theta; the coloured lines are the only differences.

FPRM (Euclidean fixed point)

Require: Euclidean block fθf_\theta (Transformer), head hϕh_\phi; tol. τE\tau_E; decay γ\gamma; patience PP; cap Nmax⁡N_{\max}

  1. z←z0z \leftarrow z_0 ▷ random init

  2. η←1\eta\leftarrow1; p←Pp \leftarrow P; rbest←∞r_{\mathrm{best}} \leftarrow\infty

  3. repeat

  4. z~←α2z+β2x\tilde{z} \leftarrow\alpha_2 z + \beta_2 x ▷ affine input injection

  5. z~←fθ(z~)\tilde{z} \leftarrow f_\theta(\tilde{z}) ▷ 2D sub-layers, (α1,β1)(\alpha_1,\beta_1)

  6. r←∥z−z~∥∞/(∥z~∥∞+ϵ)r \leftarrow\lVert z-\tilde{z}\rVert_\infty/(\lVert\tilde{z}\rVert_\infty+\epsilon) ▷ relative-ℓ∞\ell_\infty

  7. if r<rbestr<r_{\mathrm{best}} then rbest←rr_{\mathrm{best}}\leftarrow r; p←Pp\leftarrow P else p←p−1p\leftarrow p-1

  8. if p≤0p\le0 and r>τEr>\tau_E then η←γη\eta\leftarrow\gamma\eta; p←Pp\leftarrow P

  9. z←(1−η)z+ηz~z\leftarrow(1-\eta)z+\eta\tilde{z} ▷ linear damping

  10. (train) every KK: backprop CEhϕ(z),y\mathrm{CE}_{h_\phi(z),y}; detach zz

  11. until r<τEr<\tau_E or Nmax⁡N_{\max} steps

  12. return hϕ(z)h_\phi(z)

SFPRM (spherical fixed point)

Require: spherical block fθf_\theta (nGPT), head hϕh_\phi; tol. τc\tau_c; decay γ\gamma; patience PP; cap Nmax⁡N_{\max}

  1. z←z0∈Sz\leftarrow z_0\in\mathcal{S} ▷ random unit-norm init

  2. η←1\eta\leftarrow1; p←Pp\leftarrow P; rbest←∞r_{\mathrm{best}}\leftarrow\infty

  3. repeat

  4. z~←Slerp⁡λ(z,x)\tilde{z}\leftarrow\operatorname{Slerp}_{\lambda}(z,x) ▷ geodesic injection

  5. z~←fθ(z~)\tilde{z}\leftarrow f_\theta(\tilde{z}) ▷ tied spherical block

  6. r←max⁡t(1−⟨zt,z~t⟩)r\leftarrow\max_t(1-\langle z_t,\tilde{z}_t\rangle) ▷ chordal residual

  7. if r<rbestr<r_{\mathrm{best}} then rbest←rr_{\mathrm{best}}\leftarrow r; p←Pp\leftarrow P else p←p−1p\leftarrow p-1

  8. if p≤0p\le0 and r>τcr>\tau_c then η←γη\eta\leftarrow\gamma\eta; p←Pp\leftarrow P

  9. z←Slerp⁡η(z,z~)z\leftarrow\operatorname{Slerp}_{\eta}(z,\tilde{z}) ▷ geodesic damping

  10. (train) every KK: backprop CEszhϕ(z),y\mathrm{CE}_{s_z h_\phi(z),y}; detach zz

  11. until r<τcr<\tau_c or Nmax⁡N_{\max} steps

  12. return szhϕ(z)s_z h_\phi(z) ▷ scaled readout

The injection strength λ\lambda is a model parameter, fixed or learned, with the same reading in either case: it is the fraction of the arc from each token state to its input token that is traversed before the block is applied. Geodesic injection is the intrinsic form of FPRM’s additive mixing α2z+β2x\alpha_2z+\beta_2x (eq. (1)): normalizing any positive combination αu+βv\alpha u+\beta v lands on the same shortest arc from u^\hat{u} to v^\hat{v}, at a fraction set by the coefficients, the norms, and the angle (Lemma 3 in Section A.3). FPRM’s coefficients therefore do two jobs at once: they place the state along this arc, and, through the coupling (eq. (2)), they keep its norm from drifting. On the unit sphere the second part is given by construction, and the first is done by λ\lambda alone. SFPRM thus replaces the implicit, state-dependent fraction by a single parameter and drops (α1,β1,α2,β2)(\alpha_1,\beta_1,\alpha_2,\beta_2) together with their coupling.

Scale-free halting residual. Given the same proposal z~i=Fθ(zi;x)\tilde{z}_i=F_\theta(z_i;x) of eq. (8), geodesic distance on S\mathcal{S} is the angle between unit vectors, so SFPRM halts on the worst-token chordal residual, which is smooth where the angle itself is not:

rc,i=max⁡1≤t≤Tρi,t,ρi,t:=1−⟨zi,t,z~i,t⟩=12∥zi,t−z~i,t∥22,(9)r_{c,i}=\max_{1\le t\le T}\rho_{i,t},\qquad\rho_{i,t}:=1-\langle z_{i,t},\tilde{z}_{i,t}\rangle=\frac{1}{2}\lVert z_{i,t}-\tilde{z}_{i,t}\rVert_2^2, \tag*{(9)}

and halts once rc,i<τcr_{c,i}<\tau_c, where τc=1−cos⁡τang\tau_c=1-\cos\tau_{\mathrm{ang}} for an angular tolerance τang\tau_{\mathrm{ang}}, so the test fires exactly when every token’s residual lies within τang\tau_{\mathrm{ang}} of its iterate. The worst token max is the spherical analogue of the maximum over tokens and coordinates in rE,ir_{E,i} (eq. (4)): a few unconverged but decisive tokens should keep the iteration running. What FPRM’s denominator and ϵ\epsilon provide is scale invariance, and on the unit sphere that is automatic, so neither is needed. The two tests remain inequivalent: ρi,t\rho_{i,t} sees only the geodesic angle and so accepts a disk of radius τang\tau_{\mathrm{ang}} around the iterate, whereas rE,ir_{E,i} sees the largest-magnitude coordinate and so accepts an axis-aligned ℓ∞\ell_\infty region whose angular extent depends on the direction of the update, and two proposals at the same angle can get opposite verdicts (Figure 2). We adopt the chordal form for its simplicity and frame-independence.

Proposals accepted by each halting test around a token state

Figure 2. Proposals accepted by each halting test around a token state zi,t\mathbf{z}_{i,t}. The chordal test accepts a disk; FPRM’s accepts an axis-aligned ℓ∞\ell_\infty section, so two proposals at the same angle can be judged differently.

Geodesic damping. If the residual is above tolerance, the state is advanced by a rotation toward the proposal, in place of FPRM’s linear interpolation (eq. (3)):

zi+1:=Slerp⁡ηi(zi,z~i),0<ηi≤1.(10)z_{i+1}:=\operatorname{Slerp}_{\eta_i}(z_i,\tilde{z}_i),\qquad0<\eta_i\le1. \tag*{(10)}

By Lemma 1, token tt turns by exactly ηi∠(zi,t,z~i,t)\eta_i\angle(z_{i,t},\tilde{z}_{i,t}), so ηi\eta_i is an angular step size: ηi=1\eta_i=1 applies the raw map and smaller values shrink the rotation without leaving the sphere, so the block is always evaluated on the geometry it was trained on. The update never changes the equilibria: for ηi>0\eta_i>0 the step returns ziz_i if and only if z~i=zi\tilde{z}_i=z_i, so the damped iteration and FθF_\theta have exactly the same fixed points wherever the arcs are defined. As in FPRM (eq. (3)), ηi\eta_i is per sample, starts at 11, and is multiplied by γ<1\gamma<1 whenever the residual has not improved for PP iterations. On the sphere this patience rule is literally a shrinking of the per-iteration rotation angle, a derivative-free search for a step inside the stability window of Theorem 1.

Training. Training follows FPRM: deep supervision with truncated BPTT, i.e., each optimizer step backpropagating through one segment of KK geodesic steps with the state detached between segments. The residual, patience counter and step-size schedule are computed from detached states, so they steer the solver without entering the gradient; differentiating Norm projects state cotangents onto the tangent space, parameters stay Euclidean, and weight vectors are renormalized after every optimizer step. In practice, we use a guarded Slerp (eq. (12)), which replaces the sine formula by normalized linear interpolation near coincident endpoints and by an explicit arc near antipodes.

Theoretical guarantees

We now investigate what the geometry buys analytically. All statements concern the exact recurrence eqs. (8) to (10) with shortest-arc interpolation. Full proofs are in Appendix § 6.

Boundedness by construction. Because injection and damping return unit token vectors (Lemma 1), the block does so by construction (eq. (5)), and so does every branch of the guarded step (Lemma 2), the state stays on SS for every ii and every θ\theta: recurrent magnitudes can neither explode nor vanish, which is what FPRM’s boundedness theorem secures through the coefficient constraints in eq. (2). However, boundedness alone says nothing about whether a fixed point exists or is reached, which is what we address next.

Input injection guarantees a fixed point. On a sphere, continuity alone does not guarantee a fixed point since rotating a circle moves every point. Input injection repairs this by moving each token a fraction λ\lambda of the way to its input, keeping every injected state in the cap Cx:={y∈S:∠(yt,xt)≤(1−λ)π for every token t}C_{\mathbf{x}} := \{y \in S : \angle(y_t, x_t) \le(1-\lambda)\pi\ \text{for every token }t\}, which, unlike the sphere, can be flattened into a closed ball, where every continuous self-map has a fixed point.

Proposition 1 (Fixed-point existence). Fix x\mathbf{x} and 0<λ<10 < \lambda< 1. Assume fθf_\theta is continuous on CxC_{\mathbf{x}} and fθ(y)t≠−xtf_\theta(\mathbf{y})_t \ne-x_t for every y∈Cx\mathbf{y} \in C_{\mathbf{x}} and token tt. Then the recurrent map Fθ(⋅ ;x)F_\theta(\cdot\,;\mathbf{x}) in eq. (8) has at least one fixed point z⋆=Fθ(z⋆;x)\mathbf{z}^{\star} = F_\theta(\mathbf{z}^{\star};\mathbf{x}) in SS.

The full proof (Appendix § 6.§ 4) applies Brouwer’s theorem ([8, 32]) to the reversed composition H(y):=Slerp⁡λ(fθ(y),x)H(\mathbf{y}) := \operatorname{Slerp}_{\lambda}(f_\theta(\mathbf{y}),\mathbf{x}). Unlike FθF_\theta, which injects before the block, HH ends with the injection, so it maps the cap into itself, and the antipode assumption keeps it well defined and continuous; its fixed point y⋆\mathbf{y}^{\star} gives the fixed point z⋆:=fθ(y⋆)\mathbf{z}^{\star} := f_\theta(\mathbf{y}^{\star}) of FθF_\theta. No Lipschitz constant, contraction modulus, or spectral bound on fθf_\theta is needed. FPRM proves existence only via global convergence, hence under contraction ([31 Theorem 2]); Brouwer alone would need the coefficient coupling that keeps a ball invariant. On the sphere compactness is structural and injection supplies the missing ball-shaped domain. Only y⋆\mathbf{y}^{\star}, however, provably lies in CxC_{\mathbf{x}}, and existence implies neither uniqueness nor attraction, which the next two results address.

Angular damping stabilizes a fixed point. Let z⋆\mathbf{z}^{\star} be a fixed point of Fθ(⋅ ;x)F_\theta(\cdot\,;\mathbf{x}) and let J:=DzFθ(z⋆;x)J := D_{\mathbf{z}}F_\theta(\mathbf{z}^{\star};\mathbf{x}) be its Jacobian in the recurrent state at z⋆\mathbf{z}^{\star}, with θ\theta and x\mathbf{x} held fixed. Since FθF_\theta maps SS to itself, JJ sends tangent perturbations u=(ut)t=1T\mathbf{u} = (u_t)_{t=1}^{T} with ⟨ut,zt⋆⟩=0\langle u_t,z_t^{\star}\rangle= 0 to tangent perturbations, and we regard it as an endomorphism of that T(d−1)T(d-1)-dimensional tangent space. It contains all coupling between tokens through attention and need be neither orthogonal nor diagonalizable.

Theorem 1 (Local convergence of angular damping). Suppose Fθ(⋅ ;x)F_\theta(\cdot\,;\mathbf{x}) is differentiable at a fixed point z⋆\mathbf{z}^{\star} and every ζ∈σ(J)\zeta\in\sigma(J), where σ(J)\sigma(J) is the Jacobian’s set of eigenvalues, satisfies Re⁡(ζ)<1\operatorname{Re}(\zeta) < 1. Then for every fixed 0<η≤10 < \eta\le1

η<ηmax⁡:=min⁡ζ∈σ(J)2(1−Re⁡(ζ))∣ζ−1∣2(11)\eta< \eta_{\max} := \min_{\zeta\in\sigma(J)} \frac{2(1-\operatorname{Re}(\zeta))}{|\zeta-1|^2} \tag*{(11)}

the damped iteration zi+1=Slerp⁡η(zi,Fθ(zi;x))\mathbf{z}_{i+1} = \operatorname{Slerp}_{\eta}(\mathbf{z}_i,F_\theta(\mathbf{z}_i;\mathbf{x})) converges to z⋆\mathbf{z}^{\star} from every sufficiently close initial state, with ∥zi−z⋆∥≤Cqi∥z0−z⋆∥\|\mathbf{z}_i-\mathbf{z}^{\star}\| \le Cq^i\|\mathbf{z}_0-\mathbf{z}^{\star}\| for some C>0C > 0 and q∈(0,1)q \in(0,1). Moreover, wherever the shortest arcs are defined, the damped map and FθF_\theta have exactly the same fixed points.

This is the spherical counterpart of FPRM’s stabilization result ([31 Theorem 3]), with an explicit window and with unit norm and fixed points preserved. The window is certified for a fixed η\eta; the patience rule (lines 7–8 of Algorithm 1) searches for one heuristically, without guarantee. The proof (Appendix § 6.6) linearizes the damped step at z⋆\mathbf{z}^{\star} to (1−η)I+ηJ(1-\eta)I+\eta J (Lemma 4), which moves each eigenvalue ζ\zeta of JJ a fraction η\eta from 11 toward ζ\zeta; the window of eq. (11) is exactly what keeps them all inside the unit disk. A spectral radius below one then gives geometric convergence in tangent coordinates, which the coordinate map transfers to the state. Such an η\eta exists only if Re⁡(ζ)<1\operatorname{Re}(\zeta)<1 for every ζ\zeta: damping tames modes that oscillate or spiral away under the raw map, not expansive ones with Re⁡(ζ)≥1\operatorname{Re}(\zeta)\ge1, which training must remove (Remark 1).

Global convergence under strong injection. Finally, we identify a regime where the raw recurrence (η=1\eta= 1) converges from every admissible initialization. x\mathbf{x} and fθf_\theta are held fixed while λ\lambda varies.

Theorem 2 (Global convergence under strong input injection). Suppose fθ:S→Sf_\theta: \mathcal{S} \to\mathcal{S} is continuously differentiable in a neighborhood of x\mathbf{x} and fθ(x)t≠−xtf_\theta(\mathbf{x})_t \ne-\mathbf{x}_t for every token tt. Then there exists a λ0∈(0,1)\lambda_0 \in(0,1), depending on fθf_\theta and x\mathbf{x}, such that for every λ∈(λ0,1)\lambda\in(\lambda_0,1) the map Fθ(⋅ ;x)F_\theta(\cdot\,;\mathbf{x}) has a fixed point z⋆\mathbf{z}^\star, unique among all states at which the input interpolation is defined. For each such λ\lambda and every z0∈S\mathbf{z}_0 \in\mathcal{S} with z0,t≠−xt\mathbf{z}_{0,t} \ne-\mathbf{x}_t for all tt, the iterates zi+1=Fθ(zi;x)\mathbf{z}_{i+1} = F_\theta(\mathbf{z}_i;\mathbf{x}) are well defined and satisfy ∥zi−z⋆∥≤Cqi−1\lVert\mathbf{z}_i - \mathbf{z}^\star\rVert\le Cq^{i-1} for all i≥1i \ge1, with C>0C > 0 and q∈(0,1)q \in(0,1) independent of z0\mathbf{z}_0.

The proof (Appendix § 6.7, with an explicit λ0\lambda_0) uses logarithmic coordinates at x\mathbf{x}, where injection multiplies by 1−λ1-\lambda: for λ\lambda near one, the first injection pulls every admissible state into a small ball around x\mathbf{x} on which the map is a Banach contraction, so only that ball matters. FPRM’s global result (Movahedi et al., [31], Theorem 2) instead rests on a global Lipschitz bound and a small residual coefficient, which the sphere lacks: injection does not contract near the input’s antipode. Together the three results cover every injection strength: a fixed point exists for all λ\lambda, strong injection makes it a unique global attractor, and damping gives local convergence under weaker injection.

Empirical Evaluation

With the following experiments we answer three research questions:

(RQ1) Accuracy. How does SFPRM compare to FPRM and other recurrent reasoner baselines? Does constraining the recurrence on the sphere cost accuracy? (§ 4.1)

(RQ2) Convergence and halting. How effectively does SFPRM utilize the learned recurrence under the angular halting criterion and is the fixed-point unique? (§ 4.2)

(RQ3) Geometry of the computation. What does the fixed-point iteration write into the state, and does the spherical parametrization make it readable? (§ 4.3)

Setup. We evaluate SFPRM on puzzle benchmarks: Maze-Hard, Sudoku-Extreme (Wang et al., [43]), Mini-ARC (Kim et al., [26]) and ARC-1 (Chollet et al., [11]), used to assess generalization when trained with a limited number of examples. SFPRM and FPRM share a 6.83M-parameter Transformer backbone and follow the hyperparameters of Movahedi et al. [31] (details in Appendix B). SFPRM trains its weight matrices with Muon (Jordan et al., [25]) and its embeddings,

normalization scales, and scalars with AdamW, regularizes with variational and weight dropout, and learns the injection fraction λ\lambda, except on Sudoku (λ\lambda fixed at 0.1). It halts once rc,i<τc=0.01r_{c,i}<\tau_c=0.01 (eq. (9)), i.e. once every token’s proposal lies within 8.1∘8.1^\circ of its iterate.

RQ1: accuracy on puzzle benchmarks

Table 2 compares SFPRM with published recurrent reasoners. On Sudoku-Extreme, SFPRM reaches 96.6% exact accuracy, 2.4 points above FPRM published results. Since we cannot resample the same 1k base puzzles augmented 1000×1000\times from FPRM, we train it on 5k puzzles augmented 200×200\times instead: the same number of training examples, but five times as many distinct puzzles. On Maze-Hard, SFPRM reaches 87.9% on the 1,000 test mazes, above TRM’s and FPRM’s published results and behind only the 27M-parameter Attractor model (Fein-Ashley & Rashidinejad [17]). On Mini-ARC, SFPRM reaches 59.1% Pass@1, above both the best published result in its size group (EqR, 55.3% (Huang et al. [23])) and all baselines retrained under our protocol (FPRM 55.0%, HRM 51.7%, EqR 40.3%, TRM 36.9%). On ARC-1, it matches FPRM.

Answer to RQ1. Confining the state to the sphere improves accuracy: SFPRM outperforms FPRM and other baselines on Sudoku-Extreme (96.6% vs. 94.2%), Maze-Hard (87.9% vs. 87.0%) and Mini-ARC (59.1% vs. 55.0%), and matches it on ARC-1 (47.4% vs. 47.5%).

RQ2: convergence and halting

Loop utilization and halting. To see how the two solvers converge and when they stop, we run each trained model with halting disabled for Nmax⁡N_{\max} iterations, decode every iterate ziz_i, and record the residual its solver tests. Halting is counted per sequence, i.e., a sequence halts once its residual stays below the threshold (Appendix § 8.§ 4). Figure 3 shows the result on Maze and Figure 10 on Sudoku. Both residuals fall quickly, and both models saturate their accuracy within 20–35 iterations, so every later loop is spent after the answer stops changing. SFPRM converges faster and stops sooner: it halts on 992/1000 mazes against FPRM’s 950, and on average 22 iterations earlier (108 vs. 130).

Figure 3. Exact accuracy and halting on Maze-Hard (Sudoku: Figure 10). SFPRM vs. FPRM evaluation on 1000 test puzzles. Top: exact accuracy; mean halt and number of examples halting. Bottom: per-sequence residual (thin), median (heavy).

Figure 10. Accuracy and halting on Sudoku-Extreme and Mini-ARC. Open-loop rollouts of FPRM (amber) and SFPRM (blue). (a) 512 Sudoku test sequences of the released FPRM checkpoint and of SFPRM with the learned λ=0.47\lambda= 0.47 (left) and with λ\lambda fixed at 0.1 (right, the run in Table 2). (b) All 14,447 Mini-ARC test rows (149 tasks, 100 augmentations each) over 1000 iterations, for the runs in Table 2. Top: exact accuracy of the decoded state (a) and task-level Pass@1 (b). Dotted lines and stars mark each model’s mean halt iteration, labelled with how many sequences halt. Bottom: every sequence’s halting residual (thin) and its median (heavy) against its own threshold (τC=0.01\tau_{\mathrm{C}}=0.01 chordal for SFPRM, τE=0.1\tau_{\mathrm{E}}=0.1 for FPRM).

Fixed-point uniqueness. Theorem 2 predicts that for λ>λ0\lambda>\lambda_0 the raw recurrence zi+1=Fθ(zi;x)z_{i+1}=F_\theta(z_i;x) contracts to one fixed point from every initialization. We test this by overriding λ\lambda at inference in the trained model (learned λ=0.47\lambda=0.47) and running the raw map, without damping, in fp32 for 400 steps on 32 evenly spaced test puzzles, from eight initializations each: six random states, the input xx, and its antipode −x-x, which the theorem excludes. The largest geodesic angle between the eight end states measures uniqueness without a reference point (Figure 4a). For λ≥0.8\lambda\ge0.8 all eight end states coincide on every puzzle. At the trained λ=0.47\lambda=0.47 the raw map reaches an attracting fixed point on 91% of the puzzles, and on the puzzle of Figure 4b all eight paths end inside the exact-match region. At λ=0.1\lambda=0.1 the raw iteration does not converge, while for λ≥0.7\lambda\ge0.7 it converges within a few steps to a unique fixed point that no longer solves the puzzle.

Global convergence under input injection (SFPRM, Sudoku)

Figure 4. Global convergence under input injection (SFPRM, Sudoku). (a) Largest angle between the end states of eight initializations, over 32 puzzles, against λ\lambda (teal: all coincide, coral: ≥2\ge2 end states); indigo, right axis: token accuracy. (b) Trajectories from the eight z0z_0 (squares) to z⋆z^\star (star), coloured by the token accuracy of the decoded state; circles mark the first iteration with rc,i<τcr_{c,i}<\tau_c, dashed red the exact-match region.

Varying the fixed-point solver. At inference we replace the damped step of Algorithm 1 by two standard solvers, keeping the model and the halting rule: Anderson acceleration (Anderson [2];

Walker & Ni, 2011) and limited-memory Broyden [9], the solver of deep equilibrium models [3]. Both cost one evaluation of FθF_\theta per iteration, like the damped step (details in Appendix C.5). For both models Anderson halts earlier than the default solver, on every Maze example, while staying within one point of its accuracy (Table 5 and Figure 5). Broyden halts about as early on Maze but diverges afterwards, so it relies on stopping in time. Without damping (η=1\eta= 1), 37–100% of examples never reach τ\tau, and on Sudoku accuracy drops as well. We leave training with these solvers, rather than swapping them in at inference, for future work.

Fixed-point solver accuracy and path-token trajectories

Figure 5. Fixed-point solvers (SFPRM, Maze). (a) Accuracy, halting disabled. (b) Radius is the geodesic angle (log-scaled) to z⋆z^\star, rings at 0.1/1/10/100∘0.1/1/10/100^\circ.

Table 5: Inference-time fixed-point solvers on the trained models. Every example runs 1000 steps from its own random start, shared by the four solvers; each step is one evaluation of FθF_\theta, and an example halts at the first iterate with residual below τ\tau. Halting: share of examples that halt (%), median and mean halting step over those, and mean FF evaluations over all examples. Exact at halt: accuracy over all examples, exact binomial test against the default solver (pp), and accuracy among halted examples. Open loop: accuracy with halting disabled, at its best step and at t=1000t = 1000. Maze: all 1000 test mazes; Sudoku: 1000 puzzles evenly spaced over the test set. Best within each block: exact accuracy, share halted, fewest halting steps.

Solver%med. ttmean ttFF evalsallpphaltedpeak (tt)t=1000t=1000
SFPRM, Maze (λ=0.575\lambda=0.575, τc=0.01\tau_c=0.01)
Adaptive (default)99.22796.3104.587.8–87.987.8 (20)87.8
Fixed, η=1\eta=163.12325.8386.387.81.0087.387.8 (20)87.8
Anderson, m=3m=3100.01313.814.886.80.0486.887.4 (19)86.7
Broyden, m=5m=599.41414.020.987.40.3987.987.9 (16)51.5
SFPRM, Sudoku (λ=0.1\lambda=0.1, τc=0.01\tau_c=0.01)
Adaptive (default)75.0435469.9603.595.9–100.095.9 (933)95.9
Fixed, η=1\eta=10.0––1001.093.2<0.001–93.2 (973)93.2
Anderson, m=3m=395.43771.3115.195.30.3499.995.3 (909)95.3
Broyden, m=5m=589.82449.9147.890.0<0.00199.769.6 (27)1.5
FPRM, Maze (τE=0.1\tau_E=0.1)
Adaptive (default)95.955129.3166.086.0–86.886.1 (102)86.0
Fixed, η=1\eta=151.43251.9513.785.40.0792.085.8 (24)85.4
Anderson, m=3m=3100.01718.019.086.11.0086.186.0 (64)86.0
Broyden, m=5m=598.61621.135.886.01.0087.186.1 (19)32.8
FPRM, Sudoku (τE=0.1\tau_E=0.1)
Adaptive (default)91.550125.0200.388.0–96.288.1 (972)88.1
Fixed, η=1\eta=143.83982.6599.280.9<0.001100.080.9 (932)80.9
Anderson, m=3m=389.23491.1190.288.80.3899.689.0 (984)89.0
Broyden, m=5m=518.3344389.7889.314.7<0.00179.213.6 (8)0.6

Table 5.

Answer to RQ2. SFPRM uses its loop iterations more effectively than FPRM: its angular criterion halts earlier on Sudoku-Extreme and Maze-Hard at equal or higher accuracy. Under strong input injection the raw iteration converges to a unique fixed point, as Theorem 2 predicts.

RQ3: the geometry of the computation

The state reveals the task structure. On the sphere a token state’s only free quantity is its direction, so we probe the computation through the anchor angle ∠(zi,t,xt)\angle(z_{i,t}, x_t) between each cell’s iterate and its unit-normalized input embedding, the quantity that injection acts on (eq. (8)).

Figure 7 shows four frames of one rollout per task (FPRM and more puzzles in Figure 21 and Figure 22), and Figure 6 and Figure 15 show the angle over loops for every cell of a test puzzle, clustered by cell class. On Sudoku, we can see that, for SFPRM, the clue tokens rotate toward their anchors while the blanks end near orthogonal. By i=39i=39 the anchor map is a binary image of the clue mask. Each loop iteration writes the cell class information into the direction of the state. On the other hand, FPRM encodes the mask mainly in the norm of its state (Figure 9), a scale set by training rather than by the geometry. Its anchor map shows only small differences between clues and blanks. Similarly, on Maze, SFPRM settles walls at ≈90∘\approx90^\circ, empty cells at ≈113∘\approx113^\circ, and path cells at ≈102∘\approx102^\circ. Empty and path cells receive the same input token but still end at different angles, so the looping itself decides which cells lie on the path instead of reading it off the input. FPRM separates walls from free cells but not path from empty cells. On Mini-ARC (Figure 8, Figure 23 and Figure 24), the cells a task rewrites end furthest from their anchors under SFPRM (mean AUC 0.81), while FPRM’s ordering varies across tasks (AUC 0.51).

Figure 6. Anchor angles by cell class on Maze: cells (thin lines), class means (heavy), the halt iteration (vertical line), and the final distribution (margin).

Figure 7. SFPRM rollout frames (FPRM in Figures 21 and 22). Top row: the board decoded from ziz_i; bottom row: each cell’s angle to its own input anchor. Left: Sudoku-Extreme; right: Maze-Hard.

Rollout frames on Mini-ARC for FPRM and SFPRM

Figure 8. Rollout frames on Mini-ARC for FPRM (left) and SFPRM (right). Input (top) and target (bottom), then iterations t=0t = 0 to 199: decoded grid (×\times: wrong cell) and angle to the input anchor, ∠(zt,x^)\angle(z_t, \hat{x}). Only SFPRM solves this puzzle, and its angle map singles out the cells the task rewrites.

Figure 9. Final anchor angle vs. correctness on 512 Sudoku puzzles: angle (SFPRM) and state norm (FPRM) of clue and blank cells, for solved (filled) and unsolved (hatched) puzzles.

Figure 15. Anchor angles by cell class on Sudoku-Extreme. Four test puzzles (Maze in Figure 6 and Figure 16). In each pair FPRM is above and SFPRM below. Thin lines are individual cells, thick lines class means, the vertical line the halt iteration, and the margin the distribution at the end of the rollout. SFPRM rotates the clues to ≈52∘\approx52^\circ from their anchors within about 20 iterations and leaves the blanks near orthogonal, whereas FPRM’s normalized states settle within the first few iterations with clues and blanks only ≈6∘\approx6^\circ apart.

Figure 21. Filmstrip gallery on Sudoku-Extreme. Test puzzles 0–4. One test puzzle per row, rolled open-loop for 40 iterations and rendered at i=0,2,11,39i = 0, 2, 11, 39 (protocol in Appendix § 8.§ 4), for FPRM (left) and SFPRM (right): decoded board on top, each cell’s angle to its input anchor below.

Figure 22. Filmstrip gallery on Maze-Hard. Test puzzles 0–4. One 30×30 test maze per row, rolled open-loop for 40 iterations and rendered at i=0,2,11,39i = 0, 2, 11, 39 (protocol in Appendix § 8.§ 4), for FPRM (left) and SFPRM (right): decoded path on top, each cell’s angle to its input anchor below.

Figure 23. Filmstrip gallery on Mini-ARC. One test task per row, rolled out open-loop for 200 iterations. Left: FPRM; right: SFPRM. Each row starts with the test input (top) and its target (bottom), followed by five iterations from t=0t = 0 to t=199t = 199. At each iteration the decoded grid is shown on top, with × marking cells that differ from the target, and each cell’s angle to its input anchor, ∠(zt,x^)\angle(z_t,\hat{x}), below.

Figure 24. Filmstrip gallery on Mini-ARC (continued). Same caption as in Figure 23.

The final angle predicts correctness. On unsolved Sudoku puzzles both SFPRM cell classes end farther from their anchors (Figure 9): the clues at ≈65∘\approx65^\circ instead of ≈52∘\approx52^\circ, almost disjoint from the solved ones, and the blanks at ≈92∘\approx92^\circ instead of ≈88∘\approx88^\circ. The converged angle thus flags a wrong answer without labels, shared by every cell and puzzle. FPRM’s final norms separate the two outcomes far less: its clue and blank norms overlap widely.

Answer to RQ3. SFPRM’s loop writes task structure into the state, and on the sphere it is legible as an angle to the input: the clue mask on Sudoku, the path on Maze, and, on Sudoku, whether the answer is correct. FPRM’s angles and state norm carry this structure only faintly or partially.

Conclusion

We introduced SFPRM, which runs FPRM’s damped fixed-point loop on nGPT’s hypersphere. This change of geometry assures norm boundedness by construction and eliminates the need for FPRM’s coupled residual-rescaling coefficients. We provide theoretical guarantees under weaker assumptions than its Euclidean counterpart. Empirically, on puzzle and reasoning tasks, SFPRM halts more effectively at equal or higher accuracy than FPRM. Finally, we showed that the angle each token keeps to its input turns out to be a readable encoding of the task’s structure and, on Sudoku, a label-free predictor of correctness. Natural next steps are to scale SFPRM to language modeling and train with better solvers, which we have so far used only at inference.

Reproducibility. We provide the experimental protocol in Appendix B and in Table 3 a list of the used hyperparameters in our experiments. The inference-time solver description and comparison from Section 4.2 is provided in Appendix C.5. We implemented SFPRM on top of the public FPRM code base ([31]). The code is provided at https://github.com/arberzela/sfprm.git. All runs were trained using Nvidia A100 GPUs for a single seed each.

LLM Usage. Running FPRM’s damped fixed-point solver on nGPT’s unit hypersphere, with geodesic injection, angular damping, and a chordal halting residual, was the authors’ idea. For the theory, the authors provided proof strategies and guidance, while AI tools helped develop, write, and check parts of the proofs. The SFPRM implementation on the FPRM code base was assisted by Claude and verified by the authors, who also produced the experimental design, analyses, and figures with LLM assistance. Claude helped restructure and edit the manuscript for length and readability.

Acknowledgments. This work was supported by EPFL AI Center & Swiss AI Initiative Postdoctoral Fellowship Programme. This work was supported as part of the Swiss AI Initiative, through a grant from the ETH Domain and computational resources provided by the Swiss National Supercomputing Centre (CSCS) under the Alps infrastructure.

Proofs for the SFPRM guarantees

Throughout this appendix, the already token-wise normalized input x∈S\mathbf{x} \in\mathcal{S} is fixed and

S=(Sd−1)T,∠(u,v):=arccos⁡(⟨u,v⟩),u,v∈Sd−1.\mathcal{S} = \left(\mathbb{S}^{d-1}\right)^T,\qquad\angle(u,v) := \arccos\left(\langle u,v\rangle\right),\qquad u,v \in\mathbb{S}^{d-1}.

The integer TT is the number of tokens. Every spherical operation is applied independently to the TT token vectors. In particular, we use the sequence-level convention from eq. (7). All operands passed to Norm are assumed nonzero. Exact Slerp means interpolation along the unique shortest arc, so its endpoints are assumed non-antipodal. Numerical guards require separate care because an arbitrary antipodal fallback need not be continuous.

Basic geometry of spherical interpolation

Lemma 1 (Geometry of SLERP). Let u,v∈Sd−1u,v \in\mathbb{S}^{d-1} with v≠−uv \ne-u, and let s∈[0,1]s \in[0,1]. Then

∥Slerp⁡s(u,v)∥2=1,∠(u,Slerp⁡s(u,v))=s∠(u,v),∠(Slerp⁡s(u,v),v)=(1−s)∠(u,v).\begin{aligned} \left\|\operatorname{Slerp}_{s}(u,v)\right\|_2 &= 1,\\ \angle\left(u,\operatorname{Slerp}_{s}(u,v)\right) &= s\angle(u,v),\\ \angle\left(\operatorname{Slerp}_{s}(u,v),v\right) &= (1-s)\angle(u,v). \end{aligned}

Moreover, if Ω:=∠(u,v)>0\Omega:= \angle(u,v) > 0, then

Slerp⁡s(u,v)=cos⁡(sΩ)u+sin⁡(sΩ)e,e:=v−cos⁡Ωusin⁡Ω,\operatorname{Slerp}_{s}(u,v) = \cos(s\Omega)u + \sin(s\Omega)e,\qquad e := \frac{v-\cos\Omega u}{\sin\Omega},

where ee is a unit vector orthogonal to uu.

Proof. Set Ω=∠(u,v)\Omega= \angle(u,v). If Ω=0\Omega= 0, then v=uv = u and Slerp⁡s(u,u)=u\operatorname{Slerp}_{s}(u,u) = u by definition. Its norm is one and both angles are zero, proving all three claims in this case. For 0<Ω<π0 < \Omega< \pi, define

e:=v−cos⁡Ωusin⁡Ω.e := \frac{v-\cos\Omega u}{\sin\Omega}.

Then ⟨u,e⟩=0\langle u,e\rangle= 0, ∥e∥2=1\|e\|_2 = 1, and v=cos⁡Ωu+sin⁡Ωev = \cos\Omega u + \sin\Omega e. Substituting this identity into the SLERP formula and using the sine addition rule gives

Slerp⁡s(u,v)=cos⁡(sΩ)u+sin⁡(sΩ)e.\operatorname{Slerp}_{s}(u,v) = \cos(s\Omega)u + \sin(s\Omega)e.

The two terms are orthogonal, so the result has unit norm. The same expression places it at angle sΩs\Omega from uu and (1−s)Ω(1-s)\Omega from vv.

Guarded interpolation

The implementation replaces exact SLERP by a guarded step. The sine formula of eq. (6) gives 0/00/0 at Ω=0\Omega= 0 and is ill conditioned nearby, especially in bf16, although Slerp⁡η(u,u)=u\operatorname{Slerp}_{\eta}(u,u) = u; at Ω=π\Omega= \pi the shortest arc is not unique. Write c=⟨u,v⟩c = \langle u,v\rangle and nlerp⁡η(u,v):=Norm⁡((1−η)u+ηv)\operatorname{nlerp}_{\eta}(u,v) := \operatorname{Norm}((1-\eta)u+\eta v), and near an antipode fix an explicit arc through a unit vector e(u,v)⊥ue(u,v) \perp u, namely e(u,v)=Norm⁡(Puv)e(u,v) = \operatorname{Norm}(P_uv) with Pu=I−uu⊤P_u = I-uu^\top when ∥Puv∥2>ϵv\|P_uv\|_2 > \epsilon_v and a fixed unit vector e0(u)⊥ue_0(u) \perp u otherwise. The guarded interpolation is

gSlerp⁡η(u,v)={nlerp⁡η(u,v),c>1−ϵΩ,Arc⁡η(u,v):=cos⁡(ηΩ)u+sin⁡(ηΩ)e(u,v),c<−1+ϵΩ,Slerp⁡η(u,v),otherwise.(12)\operatorname{gSlerp}_{\eta}(u,v) = \begin{cases} \operatorname{nlerp}_{\eta}(u,v), & c > 1-\epsilon_{\Omega},\\ \operatorname{Arc}_{\eta}(u,v) := \cos(\eta\Omega)u+\sin(\eta\Omega)e(u,v), & c < -1+\epsilon_{\Omega},\\ \operatorname{Slerp}_{\eta}(u,v), & \text{otherwise}. \end{cases} \tag*{(12)}

The last branch is the exact step, and the middle one makes the unavoidable choice of arc near an antipode explicit. The first branch is what the solver executes in the convergence regime, and the following lemma is what the boundedness argument of § 3.3.1 needs from it.

Lemma 2 (The guarded step stays on the sphere and on the arc). Let u,v∈Sd−1u,v \in\mathbb{S}^{d-1} and η∈[0,1]\eta\in[0,1]. Every branch of eq. (12) returns a unit vector. On the first branch, nlerp⁡η(u,v)\operatorname{nlerp}_{\eta}(u,v) lies on the same great circle as Slerp⁡η(u,v)\operatorname{Slerp}_{\eta}(u,v), at angle θ=ηΩ+O(Ω3)\theta= \eta\Omega+ O(\Omega^3) from uu, where Ω=∠(u,v)\Omega= \angle(u,v).

Proof. The first branch normalizes explicitly, the third has unit norm by Lemma 1, and the middle branch is cos⁡(ηΩ)u+sin⁡(ηΩ)e\cos(\eta\Omega)u+\sin(\eta\Omega)e with e⊥ue\perp u of unit norm. For the first branch, (1−η)u+ηv(1-\eta)u+\eta v lies in span⁡{u,v}\operatorname{span}\{u,v\}, so normalizing it lands on the great circle through uu and vv: the guard can change the position along the arc, not the arc. Its angle θ\theta from uu satisfies

cos⁡θ=(1−η)+ηcos⁡Ω∥(1−η)u+ηv∥2=1−ηΩ2/2+O(Ω4)1−η(1−η)Ω2/2+O(Ω4)=1−η2Ω22+O(Ω4),\cos\theta=\frac{(1-\eta)+\eta\cos\Omega}{\lVert(1-\eta)u+\eta v\rVert_{2}}=\frac{1-\eta\Omega^{2}/2+O(\Omega^{4})}{1-\eta(1-\eta)\Omega^{2}/2+O(\Omega^{4})}=1-\frac{\eta^{2}\Omega^{2}}{2}+O(\Omega^{4}),

using cos⁡Ω=1−Ω2/2+O(Ω4)\cos\Omega=1-\Omega^{2}/2+O(\Omega^{4}) and ∥(1−η)u+ηv∥22=1−2η(1−η)(1−cos⁡Ω)\lVert(1-\eta)u+\eta v\rVert_{2}^{2}=1-2\eta(1-\eta)(1-\cos\Omega). Hence θ=ηΩ+O(Ω3)\theta=\eta\Omega+O(\Omega^{3}): the guard’s error is a third-order timing error along the correct arc. The guard fires for Ω≲2ϵΩ\Omega\lesssim\sqrt{2\epsilon_{\Omega}}, where this discrepancy is of order ϵΩ3/2\epsilon_{\Omega}^{3/2}, while the 0/00/0 is removed.

Euclidean mixing follows the same geodesic

This is the identity behind the geodesic injection of eq. (8): FPRM’s affine input mixing, once normalized, moves along the same arc with a state-dependent fraction.

Lemma 3 (Normalized Euclidean mixing follows the same geodesic). Let u,v∈Rd∖{0}u,v\in\mathbb{R}^{d}\setminus\{0\}, write u^=u/∥u∥2\hat{u}=u/\lVert u\rVert_{2} and v^=v/∥v∥2\hat{v}=v/\lVert v\rVert_{2}, and assume v^≠−u^\hat{v}\ne-\hat{u}. For any α,β>0\alpha,\beta>0, if Ω=∠(u^,v^)∈(0,π)\Omega=\angle(\hat{u},\hat{v})\in(0,\pi), then

Norm⁡(αu+βv)=Slerp⁡λeff(u^,v^),\operatorname{Norm}(\alpha u+\beta v)=\operatorname{Slerp}_{\lambda_{\mathrm{eff}}}(\hat{u},\hat{v}),
λeff=1Ωatan2⁡(β∥v∥2sin⁡Ω,α∥u∥2+β∥v∥2cos⁡Ω)∈(0,1).(13)\lambda_{\mathrm{eff}}=\frac{1}{\Omega}\operatorname{atan2}\left(\beta\lVert v\rVert_{2}\sin\Omega,\alpha\lVert u\rVert_{2}+\beta\lVert v\rVert_{2}\cos\Omega\right)\in(0,1). \tag*{(13)}

If Ω=0\Omega=0, then Norm⁡(αu+βv)=u^=v^\operatorname{Norm}(\alpha u+\beta v)=\hat{u}=\hat{v}.

Proof. If Ω=0\Omega=0, then u^=v^\hat{u}=\hat{v} and the positive mixture αu+βv=(α∥u∥2+β∥v∥2)u^\alpha u+\beta v=(\alpha\lVert u\rVert_{2}+\beta\lVert v\rVert_{2})\hat{u} normalizes to u^\hat{u}. This is also Slerp⁡s(u^,u^)\operatorname{Slerp}_{s}(\hat{u},\hat{u}) for every s∈[0,1]s\in[0,1].

For 0<Ω<π0<\Omega<\pi, define

e:=v^−cos⁡Ωu^sin⁡Ω.e:=\frac{\hat{v}-\cos\Omega\hat{u}}{\sin\Omega}.

As in Lemma 1, u^\hat{u} and ee are orthonormal and v^=cos⁡Ωu^+sin⁡Ωe\hat{v}=\cos\Omega\hat{u}+\sin\Omega e. Hence

αu+βv=(α∥u∥2+β∥v∥2cos⁡Ω)u^+β∥v∥2sin⁡Ωe.\alpha u+\beta v=(\alpha\lVert u\rVert_{2}+\beta\lVert v\rVert_{2}\cos\Omega)\hat{u}+\beta\lVert v\rVert_{2}\sin\Omega e.

By the definition of atan2⁡\operatorname{atan2} and λeff\lambda_{\mathrm{eff}} in the lemma, the normalized mixture is therefore

Norm⁡(αu+βv)=cos⁡(λeffΩ)u^+sin⁡(λeffΩ)e.\operatorname{Norm}(\alpha u+\beta v)=\cos(\lambda_{\mathrm{eff}}\Omega)\hat{u}+\sin(\lambda_{\mathrm{eff}}\Omega)e.

The first argument of atan2⁡\operatorname{atan2} is positive, so 0<λeffΩ<π0<\lambda_{\mathrm{eff}}\Omega<\pi. Moreover,

sin⁡(Ω−λeffΩ)=α∥u∥2sin⁡Ω∥αu+βv∥2>0.\sin(\Omega-\lambda_{\mathrm{eff}}\Omega)=\frac{\alpha\lVert u\rVert_{2}\sin\Omega}{\lVert\alpha u+\beta v\rVert_{2}}>0.

Since Ω−λeffΩ∈(−π,π)\Omega-\lambda_{\mathrm{eff}}\Omega\in(-\pi,\pi), this implies 0<λeffΩ<Ω0<\lambda_{\mathrm{eff}}\Omega<\Omega, or 0<λeff<10<\lambda_{\mathrm{eff}}<1. The representation in Lemma 1 now gives

Norm⁡(αu+βv)=Slerp⁡λeff(u^,v^),\operatorname{Norm}(\alpha u+\beta v)=\operatorname{Slerp}_{\lambda_{\mathrm{eff}}}(\hat{u},\hat{v}),

which is exactly eq. (13).

At Ω=π\Omega=\pi, the shortest great-circle direction is not unique. If the two opposing weighted vectors also have equal magnitudes, their Euclidean mixture is zero and cannot be normalized. This explains why antipodal directions are excluded.

Detailed proof of fixed-point existence

Proof of Proposition 1. Set R:=(1−λ)πR:=(1-\lambda)\pi. Since 0<λ<10<\lambda<1, we have 0<R<π0<R<\pi. Recall the cap

Cx={y∈S:∠(yt,xt)≤R for every t}.C_{x}=\{y\in S:\angle(y_{t},x_{t})\le R\text{ for every }t\}.

The exact recurrent map FθF_{\theta} does not generally map this cap into itself, because the network is applied after the token-wise interpolation in eq. (8). The proof therefore uses the reversed order only in an auxiliary map:

H(y):=Slerp⁡λ(fθ(y),x).H(y):=\operatorname{Slerp}_{\lambda}(f_{\theta}(y),x).

For every y∈Cxy \in C_x, the assumptions ensure that fθ(y)tf_\theta(y)_t is a unit vector different from −xt-x_t. By Lemma 1,

∠(H(y)t,xt)=(1−λ)∠(fθ(y)t,xt)<(1−λ)π=R.\begin{aligned} \angle(H(y)_t,x_t)=(1-\lambda)\angle(f_\theta(y)_t,x_t) \\ &< (1-\lambda)\pi=R. \end{aligned}

Thus H(Cx)⊆CxH(C_x) \subseteq C_x. Continuity of fθf_\theta and exclusion of the antipode make HH continuous throughout this cap.

We next give the Euclidean coordinates needed for Brouwer’s theorem. The spherical logarithm below is a vector-valued coordinate map, not a scalar logarithm. Given unit vectors uu and v≠−uv \ne-u, let Ω=∠(u,v)<π\Omega=\angle(u,v)<\pi and define

Log⁡u(v):={0,v=u,Ωsin⁡Ω(v−cos⁡Ωu),v≠u.\operatorname{Log}_u(v):= \begin{cases} 0, & v=u,\\ \frac{\Omega}{\sin\Omega}(v-\cos\Omega u), & v\ne u. \end{cases}

The vector in parentheses is orthogonal to uu and has norm sin⁡Ω\sin\Omega. Therefore

⟨Log⁡u(v),u⟩=0,∥Log⁡u(v)∥2=Ω.\langle\operatorname{Log}_u(v),u\rangle=0,\qquad\|\operatorname{Log}_u(v)\|_2=\Omega.

In words, Log⁡u(v)\operatorname{Log}_u(v) points in the tangent direction of the shortest arc from uu to vv, and its length equals that arc’s angle. Its inverse is

Exp⁡u(w):={u,w=0,cos⁡(∥w∥2)u+sin⁡(∥w∥2)w∥w∥2,w≠0,\operatorname{Exp}_u(w):= \begin{cases} u, & w=0,\\ \cos(\|w\|_2)u+\sin(\|w\|_2)\frac{w}{\|w\|_2}, & w\ne0, \end{cases}

for ⟨w,u⟩=0\langle w,u\rangle=0 and ∥w∥2<π\|w\|_2<\pi. The two maps are continuous inverses on every closed cap of radius strictly smaller than π\pi.

Applying the spherical logarithm token by token identifies CxC_x continuously and bijectively with

B:=∏t=1T{ut∈Rd:⟨ut,xt⟩=0, ∥ut∥2≤R}.\mathcal{B}:=\prod_{t=1}^{T}\left\{u_t\in\mathbb{R}^{d}:\langle u_t,x_t\rangle=0,\ \|u_t\|_2\le R\right\}.

Each factor is an ordinary closed Euclidean ball inside the hyperplane perpendicular to xtx_t. Consequently, B\mathcal{B} is nonempty, compact, and convex and can be identified with a subset of RT(d−1)\mathbb{R}^{T(d-1)}.

We now apply Brouwer’s fixed-point theorem [8], in the following standard form: if KK is a nonempty, compact, convex subset of a finite-dimensional Euclidean space and G:K→KG:K\to K is continuous, then

there exists y⋆∈K such that G(y⋆)=y⋆.\text{there exists }y^\star\in K\text{ such that }G(y^\star)=y^\star.

For a textbook statement, see Ortega & Rheinboldt [32]. Transforming HH into the logarithmic coordinates above produces just such a continuous self-map of B\mathcal{B}. Therefore there exists y⋆∈Cxy^\star\in C_x such that

y⋆=H(y⋆)=Slerp⁡λ(fθ(y⋆),x).y^\star=H(y^\star)=\operatorname{Slerp}_{\lambda}(f_\theta(y^\star),x).

Now define

z⋆:=fθ(y⋆).z^\star:=f_\theta(y^\star).

The preceding fixed-point identity gives y⋆=Slerp⁡λ(z⋆,x)y^\star=\operatorname{Slerp}_{\lambda}(z^\star,x), and hence

Fθ(z⋆;x)=fθ(Slerp⁡λ(z⋆,x))=fθ(y⋆)=z⋆.\begin{aligned} F_\theta(z^\star;x)=f_\theta(\operatorname{Slerp}_{\lambda}(z^\star,x)) \\ &=f_\theta(y^\star)=z^\star. \end{aligned}

Thus z⋆z^\star is a fixed point of the exact injection-first recurrent map. Notice that the proof places y⋆y^\star, not necessarily z⋆z^\star, in the input-centered cap.

The first derivative of slerp at coincident endpoints

Lemma 4 (First-order interpolation rule). Fix 0≤η≤10 \le\eta\le1 and a∈Sd−1a \in\mathbb{S}^{d-1}. As unit vectors u,vu,v approach aa,

Slerp⁡η(u,v)=(1−η)u+ηv+O(∥u−v∥22).\operatorname{Slerp}_{\eta}(u,v)=(1-\eta)u+\eta v+O(\lVert u-v\rVert_2^2).

with the exact value Slerp⁡η(u,u)=u\operatorname{Slerp}_{\eta}(u,u)=u at coincidence. In particular, the interpolation is jointly differentiable at (a,a)(a,a), with tangent derivative

DSlerp⁡η(a,a)[h,k]=(1−η)h+ηk,⟨a,h⟩=⟨a,k⟩=0.D\operatorname{Slerp}_{\eta}(a,a)[h,k]=(1-\eta)h+\eta k,\qquad\langle a,h\rangle=\langle a,k\rangle=0.

Proof. For Ω=∠(u,v)>0\Omega=\angle(u,v)>0 small, the elementary estimate sin⁡(cΩ)=cΩ+O(Ω3)\sin(c\Omega)=c\Omega+O(\Omega^3), for fixed cc, gives

sin⁡((1−η)Ω)sin⁡Ω=(1−η)+O(Ω2),sin⁡(ηΩ)sin⁡Ω=η+O(Ω2).\frac{\sin((1-\eta)\Omega)}{\sin\Omega}=(1-\eta)+O(\Omega^2),\qquad\frac{\sin(\eta\Omega)}{\sin\Omega}=\eta+O(\Omega^2).

Substituting into the interpolation formula gives an error of order Ω2\Omega^2, since both endpoints have unit norm. The chord identity ∥u−v∥22=2sin⁡(Ω/2)\lVert u-v\rVert_2^2=2\sin(\Omega/2) implies Ω=O(∥u−v∥22)\Omega=O(\lVert u-v\rVert_2^2), proving the stated estimate. If u=vu=v, the error is exactly zero because Slerp⁡η(u,u)=u\operatorname{Slerp}_{\eta}(u,u)=u.

To obtain the joint derivative, express nearby endpoints using tangent coordinates h,k⊥ah,k\perp a:

u=a+h∥a+h∥2=a+h+O(∥h∥22),v=a+k∥a+k∥2=a+k+O(∥k∥22).u=\frac{a+h}{\lVert a+h\rVert_2}=a+h+O(\lVert h\rVert_2^2),\qquad v=\frac{a+k}{\lVert a+k\rVert_2}=a+k+O(\lVert k\rVert_2^2).

Here ∥a+h∥22=1+∥h∥22\lVert a+h\rVert_2^2=1+\lVert h\rVert_2^2, so normalization has no first-order effect. The uniform interpolation estimate now yields

Slerp⁡η(u,v)=a+(1−η)h+ηk+O(∥h∥22+∥k∥22).\operatorname{Slerp}_{\eta}(u,v)=a+(1-\eta)h+\eta k+O(\lVert h\rVert_2^2+\lVert k\rVert_2^2).

Thus the linear response to arbitrary simultaneous endpoint perturbations is (1−η)h+ηk(1-\eta)h+\eta k, as claimed. □\square

Proof of local convergence under angular damping

Proof of Theorem 1. Tangent directions and fixed points. Let J=DzFθ(z⋆;x)J=D_zF_\theta(z^\star;x). Consider a differentiable spherical curve z(ε)z(\varepsilon) with z(0)=z⋆z(0)=z^\star and z′(0)=uz'(0)=u. Both its input and output tokens have unit norm, so differentiation gives

0=ddε∥zt(ε)∥22∣ε=0=2⟨zt⋆,ut⟩,0=\left.\frac{d}{d\varepsilon}\lVert z_t(\varepsilon)\rVert_2^2\right|_{\varepsilon=0}=2\langle z_t^\star,u_t\rangle,
0=ddε∥Fθ(z(ε);x)t∥22∣ε=0=2⟨zt⋆,(Ju)t⟩.0=\left.\frac{d}{d\varepsilon}\lVert F_\theta(z(\varepsilon);x)_t\rVert_2^2\right|_{\varepsilon=0}=2\langle z_t^\star,(Ju)_t\rangle.

The output derivative uses Fθ(z⋆;x)=z⋆F_\theta(z^\star;x)=z^\star. Hence JJ sends tangent perturbations to tangent perturbations at the same fixed point; it includes all coupling between tokens.

For η>0\eta>0, interpolation moves a positive fraction of the shortest arc, so it returns its first endpoint exactly when the endpoints coincide. The damped update therefore has exactly the fixed points of FθF_\theta, wherever these arcs are defined. At z⋆z^\star the endpoints coincide, and continuity ensures that nearby endpoint pairs are non-antipodal.

Linearization and the damping range. Represent a nearby state by tangent coordinates w=(wt)t=1T\mathbf{w}=(w_t)_{t=1}^{T}:

zt=zt⋆+wt∥zt⋆+wt∥2,⟨zt⋆,wt⟩=0.z_t=\frac{z_t^\star+w_t}{\lVert z_t^\star+w_t\rVert_2},\qquad\langle z_t^\star,w_t\rangle=0.

These coordinates measure displacement along the sphere to first order: z=z⋆+w+O(∥w∥2)\mathbf{z}=\mathbf{z}^\star+\mathbf{w}+O(\lVert\mathbf{w}\rVert^2). The inverse is wt=zt/⟨zt⋆,zt⟩−zt⋆w_t=z_t/\langle z_t^\star,z_t\rangle-z_t^\star, defined nearby, and also has identity tangent derivative. Differentiability of FθF_\theta gives

Fθ(z;x)=z⋆+Jw+o(∥w∥).F_\theta(\mathbf{z};x)=\mathbf{z}^\star+J\mathbf{w}+o(\lVert\mathbf{w}\rVert).

In particular, the two interpolation endpoints differ by O(∥w∥)O(\lVert w\rVert). By Lemma 4, replacing their spherical interpolation by their weighted average incurs only O(∥w∥2)O(\lVert w\rVert^2) error. Thus, writing Φη\Phi_\eta for the damped update in these coordinates,

Φη(w)=Aw+o(∥w∥),A:=(1−η)Id⁡+ηJ.\Phi_\eta(w) = Aw + o(\lVert w\rVert), \qquad A := (1-\eta)\operatorname{Id}+\eta J.

If Jv=ζvJv=\zeta v for a nonzero, possibly complex eigenvector vv, then Av=[1+η(ζ−1)]vAv=[1+\eta(\zeta-1)]v. Conversely, every eigenvector of AA is one of J=(A−(1−η)Id⁡)/ηJ=(A-(1-\eta)\operatorname{Id})/\eta. This identifies all eigenvalues without assuming diagonalizability. As in Euclidean damping [31 Appendix A.3],

∣1+η(ζ−1)∣2=1+2η(Re⁡(ζ)−1)+η2∣ζ−1∣2<1\lvert1+\eta(\zeta-1)\rvert^2=1+2\eta(\operatorname{Re}(\zeta)-1)+\eta^2\lvert\zeta-1\rvert^2<1

exactly when 0<η<2(1−Re⁡(ζ))/∣ζ−1∣20<\eta<2(1-\operatorname{Re}(\zeta))/\lvert\zeta-1\rvert^2. The theorem’s damping bound therefore places every eigenvalue of AA strictly inside the unit disk.

From the linearization to convergence. This eigenvalue condition need not make the Euclidean norm shrink at every step. A standard finite-dimensional stability result instead provides a vector norm ∥⋅∥∗\lVert\cdot\rVert_* with induced matrix norm a:=∥A∥∗<1a:=\lVert A\rVert_*<1 [32]. This norm is equivalent to the Euclidean norm: positive constants c1,c2c_1,c_2 satisfy

c1∥w∥≤∥w∥∗≤c2∥w∥.c_1\lVert w\rVert\leq\lVert w\rVert_*\leq c_2\lVert w\rVert.

It therefore measures the same notion of convergence, up to fixed factors.

Choose a<q<1a<q<1. The remainder o(∥w∥)o(\lVert w\rVert) means that its norm divided by ∥w∥\lVert w\rVert tends to zero. By norm equivalence, we may choose a sufficiently small neighborhood where

∥Φη(w)−Aw∥∗≤(q−a)∥w∥∗.\lVert\Phi_\eta(w)-Aw\rVert_*\leq(q-a)\lVert w\rVert_*.

The triangle inequality then gives the full one-step error bound:

∥Φη(w)∥∗≤∥Aw∥∗+∥Φη(w)−Aw∥∗≤a∥w∥∗+(q−a)∥w∥∗=q∥w∥∗.\begin{aligned} \lVert\Phi_\eta(w)\rVert_*&\leq\lVert Aw\rVert_*+\lVert\Phi_\eta(w)-Aw\rVert_*\\ &\leq a\lVert w\rVert_*+(q-a)\lVert w\rVert_*=q\lVert w\rVert_*. \end{aligned}

Because q<1q<1, a sufficiently small ball in this norm stays within itself after every update. Starting there, induction gives ∥wi∥∗≤qi∥w0∥∗\lVert w_i\rVert_*\leq q^i\lVert w_0\rVert_*. Finally, the coordinate map and its inverse are smooth nearby, so they bound coordinate error and state error by constant multiples of each other. Together with norm equivalence, this yields

∥zi−z∗∥≤Cqi∥z0−z∗∥\lVert z_i-z^*\rVert\leq Cq^i\lVert z_0-z^*\rVert

for some C>0C>0, proving the asserted local geometric convergence. □

The guarded step. Near z∗z^* the endpoints ziz_i and Fθ(zi;x)F_\theta(z_i;x) are O(∥w∥)O(\lVert w\rVert) apart, so on a neighborhood of z∗z^* the solver executes the first branch of eq. (12). By Lemma 2 that branch lies on the same arc as the exact step, at an angle from uu that differs by O(Ω3)O(\Omega^3), so it differs from Slerp⁡η(u,v)\operatorname{Slerp}_\eta(u,v) by O(∥u−v∥2)O(\lVert u-v\rVert^2) and shares the expansion (1−η)u+ηv+O(∥u−v∥2)(1-\eta)u+\eta v+O(\lVert u-v\rVert^2) of Lemma 4. It also returns uu only when v=uv=u, because for η>0\eta>0 a normalized nonnegative combination of two non-antipodal unit vectors equals uu only if v=uv=u. The proof above therefore applies verbatim, and Theorem 1 holds for the guarded step the solver runs.

Remark 1 (Optimal damping, and when the window is narrow). Write ζ=a+bi\zeta=a+bi. The squared modulus ∣1+η(ζ−1)∣2=1−2η(1−a)+η2∣ζ−1∣2\lvert1+\eta(\zeta-1)\rvert^2=1-2\eta(1-a)+\eta^2\lvert\zeta-1\rvert^2 is an upward parabola in η\eta with value 11 at η=0\eta=0, so for a<1a<1 the window 0<η<2(1−a)/∣ζ−1∣20<\eta<2(1-a)/\lvert\zeta-1\rvert^2 of eq. (11) is exactly the interval on which it lies below one, the vertex η∗=(1−a)/∣ζ−1∣2\eta^*=(1-a)/\lvert\zeta-1\rvert^2 is the optimal damping for that mode, and the smallest attainable squared modulus is 1−(1−a)2/∣ζ−1∣21-(1-a)^2/\lvert\zeta-1\rvert^2, a contraction factor of 1−(1−a)2/∣ζ−1∣2\sqrt{1-(1-a)^2/\lvert\zeta-1\rvert^2} per step. Three consequences. (i) Damping handles rotation but not expansion: for a≥1a\geq1 every term is nonnegative, so no η>0\eta>0 contracts the mode and only training can remove it. (ii) The guarantee is weak when 1−a1-a is small compared with ∣b∣\lvert b\rvert, that is, when ζ−1\zeta-1 is nearly imaginary, whatever ∣ζ∣\lvert\zeta\rvert is: for ζ=−0.9+1.5i\zeta=-0.9+1.5i, the undamped mode grows by ∣ζ∣≈1.75\lvert\zeta\rvert\approx1.75 per step while rotating by about 59∘59^\circ, the window is 0<η<0.0890<\eta<0.089, and even the optimal damping contracts by only 0.22%0.22\% per step, so halving the error takes about 313 iterations. Bounding the rotation magnitude, not only the expansion, is therefore what makes halting fast. (iii) The patience rule of Algorithm 1, which starts at η=1\eta=1 and multiplies it by γ\gamma whenever the residual stalls, is a derivative-free descent into this window: well-conditioned modes (ζ=0.5\zeta= 0.5 admits every η<4\eta< 4) converge at once, and the geometric decay eventually drops η\eta below the threshold of the rotational modes, at which point their tangent error contracts geometrically and, whenever the residual then improves within PP iterations, the decay pauses, without any spectrum ever being estimated. Because the contraction is in an adapted norm, the residual need not fall monotonically, so the rule may keep shrinking η\eta; this slows convergence but cannot break it, since every smaller η\eta stays inside the window.

Global convergence under sufficiently strong input injection

Proof of Theorem 2. We use the token-wise logarithm and exponential from Appendix A.4. They satisfy

Slerp⁡λ(z,x)=Exp⁡x((1−λ)Log⁡x(z))\operatorname{Slerp}_{\lambda}(z,x)=\operatorname{Exp}_{x}((1-\lambda)\operatorname{Log}_{x}(z))

whenever zt≠−xtz_t \ne-x_t for every token tt. Indeed, eq. (6) gives Slerp⁡λ(zt,xt)=Slerp⁡1−λ(xt,zt)\operatorname{Slerp}_{\lambda}(z_t,x_t)=\operatorname{Slerp}_{1-\lambda}(x_t,z_t), which by the representation in Lemma 1 equals cos⁡((1−λ)Ω)xt+sin⁡((1−λ)Ω)e\cos((1-\lambda)\Omega)x_t+\sin((1-\lambda)\Omega)e with Ω=∠(xt,zt)\Omega=\angle(x_t,z_t) and Log⁡xt(zt)=Ωe\operatorname{Log}_{x_t}(z_t)=\Omega e, and this is Exp⁡xt((1−λ)Log⁡xt(zt))\operatorname{Exp}_{x_t}((1-\lambda)\operatorname{Log}_{x_t}(z_t)) by definition, also when Ω=0\Omega=0. Thus input injection multiplies the logarithmic coordinates by exactly 1−λ1-\lambda: it preserves the direction toward the current state while reducing its angular distance from the input.

The geometric difficulty is that shrinking angles to the input does not give a global contraction bound between states. Two states approaching an input antipode along different arcs can be arbitrarily close while their injected states remain separated for fixed 0<λ<10 < \lambda< 1. Thus the direct global Lipschitz argument for Euclidean input mixing in FPRM [31 Appendix A.2] does not apply here. Instead, every injected token has angle less than (1−λ)π(1-\lambda)\pi to its input. We use this uniform bound to place all injected states in one fixed neighborhood, prove contraction in its logarithmic coordinates, and then transfer convergence back to the original states.

These are smooth inverse coordinate maps for ∥wt∥2<π\lVert w_t\rVert_2 < \pi. The spherical exponential is smooth, and its differential has singular values 11 in the radial direction and sin⁡r/r\sin r/r in the transverse directions at radius 0<r<π0 < r < \pi, with identity differential at the origin. Its differential is therefore invertible throughout this domain, so the inverse function theorem gives smoothness of the logarithm.

A fixed neighborhood of the input. Since fθf_\theta is C1C^1 near xx and fθ(x)t≠−xtf_\theta(x)_t \ne-x_t for every tt, continuity allows us to choose 0<r<π/20 < r < \pi/2 such that fθ∘Exp⁡xf_\theta\circ\operatorname{Exp}_x is C1C^1 and none of its output tokens equals −xt-x_t on an open neighborhood of

Br:={w∈(Rd)T:⟨wt,xt⟩=0, ∥wt∥2≤r for every t}.B_r := \left\{ \mathbf{w} \in(\mathbb{R}^d)^T : \langle w_t,x_t\rangle= 0,\ \lVert w_t\rVert_2 \le r\ \text{for every }t \right\}.

Here BrB_r is a compact, convex product of ordinary tangent-space balls. Define, on this neighborhood,

A(w):=Log⁡x(fθ(Exp⁡x(w))).A(\mathbf{w}) := \operatorname{Log}_x(f_\theta(\operatorname{Exp}_x(\mathbf{w}))).

Here w\mathbf{w} represents an injected state, and A(w)A(\mathbf{w}) represents the network’s output in the same coordinates. Multiplication by 1−λ1-\lambda then performs the next input injection. Both AA and fθ∘Exp⁡xf_\theta\circ\operatorname{Exp}_x are C1C^1, so their derivatives are bounded on the compact set BrB_r. Integrating these derivatives along the line segment between any w,v∈Br\mathbf{w},\mathbf{v}\in B_r gives a common finite constant L≥1L\ge1 such that

∥A(w)−A(v)∥≤L∥w−v∥,∥fθ(Exp⁡x(w))−fθ(Exp⁡x(v))∥≤L∥w−v∥.\begin{aligned} \lVert A(\mathbf{w})-A(\mathbf{v})\rVert&\le L\lVert\mathbf{w}-\mathbf{v}\rVert,\\ \lVert f_\theta(\operatorname{Exp}_x(\mathbf{w}))-f_\theta(\operatorname{Exp}_x(\mathbf{v}))\rVert&\le L\lVert\mathbf{w}-\mathbf{v}\rVert. \end{aligned}

All norms here are the product Euclidean norm defined in the main text. Moreover, ∥A(w)t∥2<π\lVert A(\mathbf{w})_t\rVert_2 < \pi for every token, because the logarithm’s length is the angle to xtx_t and the antipode is excluded.

Strong injection gives a contraction. Choose

λ0:=1−min⁡{rπ,12L}∈(0,1).\lambda_0 := 1-\min\left\{\frac{r}{\pi},\frac{1}{2L}\right\}\in(0,1).

Fix any λ∈(λ0,1)\lambda\in(\lambda_0,1), and set a:=1−λa:=1-\lambda and q:=aLq:=aL. Then aπ<ra\pi<r and 0<q<1/20<q<1/2. The two terms in the threshold serve separate purposes: aπ<ra\pi<r keeps all injected states in the chosen neighborhood, while aL<1aL<1 makes their distances contract. The factor 1/21/2 simply leaves a strict margin below one. The map w↦aA(w)\mathbf{w}\mapsto aA(\mathbf{w}) sends BrB_r into itself, since

∥aA(w)t∥2<aπ<r.\lVert aA(\mathbf{w})_t\rVert_2 < a\pi< r.

It is also a contraction:

∥aA(w)−aA(v)∥≤q∥w−v∥.\lVert aA(\mathbf{w})-aA(\mathbf{v})\rVert\le q\lVert\mathbf{w}-\mathbf{v}\rVert.

The set BrB_r is closed in a finite-dimensional Euclidean space, hence complete. Banach’s contraction theorem therefore gives a unique w⋆∈Br\mathbf{w}^{\star}\in B_r satisfying w⋆=aA(w⋆)\mathbf{w}^{\star}=aA(\mathbf{w}^{\star}), and every iteration wi+1=aA(wi)\mathbf{w}_{i+1}=aA(\mathbf{w}_i) starting in BrB_r satisfies

∥wi−w⋆∥≤qi∥w0−w⋆∥.\lVert\mathbf{w}_i-\mathbf{w}^{\star}\rVert\le q^i\lVert\mathbf{w}_0-\mathbf{w}^{\star}\rVert.

Return to the original recurrence. Let z0\mathbf{z}_0 be any admissible initialization, with z0,t≠−xtz_{0,t}\ne-\mathbf{x}_t for every tt, and set

w0:=aLog⁡x(z0).\mathbf{w}_0:=a\operatorname{Log}_{\mathbf{x}}(\mathbf{z}_0).

Because ∥w0,t∥2<aπ<r\lVert\mathbf{w}_{0,t}\rVert_2<a\pi<r, this initial coordinate lies in BrB_r, regardless of the distance from z0\mathbf{z}_0 to a fixed point. The original recurrence and the coordinate iteration are related by

zi+1=fθ(Exp⁡x(wi)),wi+1=aLog⁡x(zi+1)=aA(wi).\mathbf{z}_{i+1}=f_{\theta}(\operatorname{Exp}_{\mathbf{x}}(\mathbf{w}_i)),\qquad\mathbf{w}_{i+1}=a\operatorname{Log}_{\mathbf{x}}(\mathbf{z}_{i+1})=aA(\mathbf{w}_i).

These identities hold inductively for every i≥0i\ge0: each wi\mathbf{w}_i remains in BrB_r, where the network’s outputs avoid the antipodes. Hence every subsequent interpolation is well-defined.

Define z⋆:=fθ(Exp⁡x(w⋆))\mathbf{z}^{\star}:=f_{\theta}(\operatorname{Exp}_{\mathbf{x}}(\mathbf{w}^{\star})). The identity w⋆=aA(w⋆)\mathbf{w}^{\star}=aA(\mathbf{w}^{\star}) implies w⋆=aLog⁡x(z⋆)\mathbf{w}^{\star}=a\operatorname{Log}_{\mathbf{x}}(\mathbf{z}^{\star}), so

Fθ(z⋆;x)=fθ(Exp⁡x(w⋆))=z⋆.F_{\theta}(\mathbf{z}^{\star};\mathbf{x})=f_{\theta}(\operatorname{Exp}_{\mathbf{x}}(\mathbf{w}^{\star}))=\mathbf{z}^{\star}.

This fixed point is admissible by the choice of rr. Conversely, any admissible fixed point z\mathbf{z} of FθF_{\theta} gives w=aLog⁡x(z)∈Br\mathbf{w}=a\operatorname{Log}_{\mathbf{x}}(\mathbf{z})\in B_r with w=aA(w)\mathbf{w}=aA(\mathbf{w}). Uniqueness of w⋆\mathbf{w}^{\star} then implies z=z⋆\mathbf{z}=\mathbf{z}^{\star}.

Finally, the Lipschitz bound above transfers convergence to the original states:

∥zi+1−z⋆∥≤L∥wi−w⋆∥≤Lqi∥w0−w⋆∥≤2LrT qi,i≥0.\begin{aligned} \lVert\mathbf{z}_{i+1}-\mathbf{z}^{\star}\rVert&\le L\lVert\mathbf{w}_i-\mathbf{w}^{\star}\rVert\\ &\le Lq^i\lVert\mathbf{w}_0-\mathbf{w}^{\star}\rVert\le2Lr\sqrt{T}\,q^i,\qquad i\ge0. \end{aligned}

Thus the theorem holds with C=2LrTC=2Lr\sqrt{T}, uniformly over all admissible initializations. The neighborhood, derivative bound, and injection threshold depend on the fixed network and input.

Details on Experimental Setup

This appendix section provides the details on the experimental setup and experiments in Section 4. Details on tasks and data are in Appendix B.1, on models in Appendix B.2, on training and solver settings in Appendix B.3. Table 3 reports all hyperparameters. The evaluation protocol is in Appendix B.4.

Maze-HardSudoku-ExtremeARC-AGI-1Mini-ARC
Data and schedule
base puzzles × augmentations1,000 × 15,000 × 200960 × 1,000149 × 100
sequence length / vocabulary900 / 681 / 11900 / 1225 / 12
test set1,000 mazes422,786 puzzles400 tasks149 tasks
epochs60,00015,000 (12,000)100,000100,000
optimizer steps78,12597,656 (78,125)518,22668,993
global batch size768
Optimization
optimizerMuon + AdamW
Muon lr / momentum5×10−35 \times10^{-3} / 0.952.5×10−32.5 \times10^{-3} / 0.95
AdamW lr1×10−31 \times10^{-3}
LR scheduleconstantcosine to 0.87×0.87\times (const.)constantconstant
warmup steps200200 (2,000)00
weight decay0.1
puzzle-embedding lr / wd10−210^{-2} / 010−310^{-3} / 010−210^{-2} / 010−210^{-2} / 0
EMA rate0.999
Backbone
hidden / heads / MLP expansion512 / 8 / 4
H_cycles / L_cycles / L_layers3 / 6 / 2
BPTT window KK (n_back)6
puzzle-embedding length1616161
positional encodingRoPE
conv branch1-D causal, k=4k = 4none (2-D, k=3k = 3)1-D causal, k=4k = 41-D causal, k=4k = 4
trainable parameters6.83M
Solver and regularization
halting tolerance τ\tau0.01
patience PP / floor ηmin⁡\eta_{\min}5 / 0.001
readoutunnormalized head, scale szs_z
max_iter (train / eval)24 / 1,00012 / 35,0008 / 488 / 200
step-size decay γ\gamma (train / eval)0.9 / 0.990.9 / 0.990.9 / 0.90.9 / 0.9
Q-head loss weight000.50.5
weight dropout0.10.10.050.05
variational dropout0.10.10.10.2
Learned scalars at the evaluated checkpoint
input injection λ\lambda, init. 0.10.5750.1, fixed (0.470)0.3340.436
logit scale szs_z, init. 1675.888.9 (75.8)206.079.0
attention step size αA\alpha_A, init. 0.50.50 / 0.540.41 / 0.50 (0.49 / 0.42)0.44 / 0.460.41 / 0.47
MLP step size αM\alpha_M, init. 0.50.48 / 0.580.47 / 0.47 (0.48 / 0.64)0.49 / 0.670.54 / 0.71
QK scale sqks_{qk}, init. 11.56 / 1.401.11 / 0.95 (0.86 / 1.00)1.31 / 1.531.07 / 1.06

Table 3. Hyperparameters and learned scalars of the SFPRM runs in Section 4. Sudoku-Extreme values are for the epoch-15,000 run, while values in parentheses are for the 12,000-epoch constant-schedule run. All convolutions are depthwise and bias-free. For the per-channel step sizes αA\alpha_A, αM\alpha_M and the per-dimension QK scale sqks_{qk}, cells give the mean for layer 1 / layer 2, and the range row gives the minimum and maximum over all channels of both layers. On ARC, a linear Q-head on a detached state copy only breaks ties in Pass@KK.

Tasks and data

Sudoku-Extreme. This dataset consists of 9×99\times9 Sudoku puzzles selected for difficulty, with a test split of 422,786 puzzles. The standard training build has 1,000 base puzzles, each augmented 1000×1000\times by validity-preserving transformations (relabeling of the digits and permutations of rows, columns, bands, and stacks), giving 10610^6 training examples. We train instead on a 5k×2005\mathrm{k}\times200 build, 5,000 base puzzles with 200 augmentations each, which has the same number of training examples. Unless stated otherwise, every SFPRM Sudoku run and every rollout of Sections 4.2 and 4.3 uses this build. A puzzle is a sequence of 81 cell tokens (blank or a digit) preceded by a learned per-puzzle embedding of 16 tokens, and the model predicts the digit of every cell.

Maze-Hard. The 30×3030\times30 maze benchmark of the same suite: 1,000 training and 1,000 test mazes, used without augmentation. A maze is a sequence of 900 cell tokens (wall, free, start, goal) plus the puzzle embedding, and the model predicts for every cell whether it lies on the shortest path.

Mini-ARC. A 5×55\times5-grid ARC variant ([26]) with 149 tasks. We train on the 528 demonstration pairs augmented 100×100\times and report task-level Pass@1 on the 149 test pairs, voting over augmentations. A puzzle is 25 cell tokens over a 12-token vocabulary plus the puzzle embedding.

ARC-AGI-1 and ARC-AGI-2. The abstraction-and-reasoning benchmarks of Chollet et al. [11]: few-shot tasks in which a grid transformation must be inferred from demonstration pairs and applied to a test grid. Following the HRM/TRM protocol, we train on 960 (ARC-1) and 1,280 (ARC-2) base puzzles, each augmented 1000× with the transformations of Wang et al. [43], and report Pass@2 on the 400 and 120 evaluation tasks. Grids are padded to 30×3030 \times30, so a puzzle is a sequence of 900 cell tokens over a 12-token vocabulary plus the puzzle embedding.

Models

SFPRM is implemented in the FPRM code base and shares an identical backbone with 6.83M trainable parameters: hidden size 512, 8 attention heads, MLP expansion 4, rotary position embeddings, and the configuration fields H_cycles/L_cycles/L_layers = 3/6/2 of the code base, run as a single weight-tied loop without hierarchy. The number of iterations backpropagated through, is the BPTT window K=6K = 6 of § 3.1.

FPRM. FPRM uses a pre-norm block with the coupled residual-rescaling coefficients (α1,β1,α2,β2)(\alpha_1, \beta_1, \alpha_2, \beta_2) of § 3.1, linear damping, and the relative residual rEr_{\mathrm{E}} with tolerance τE=0.1\tau_{\mathrm{E}} = 0.1.

SFPRM. The spherical model replaces the block by the nGPT-style block of § 3.2: QK-normalized attention and a SwiGLU MLP, each folded into the unit-norm state by an eigen-learning-rate retraction, with all weight vectors renormalized after every optimizer step. Three further choices are specific to SFPRM. (i) The input is injected by the geodesic step of eq. (8) with a learned fraction λ\lambda, initialized at 0.1. (ii) The readout is unnormalized: the rows of the output head are not constrained to unit norm, since with a unit-norm state that constraint would cap every logit at ±sz\pm s_z, and with it the confidence of the predictions. (iii) The solver is the geodesic one of Algorithm 1, with the chordal residual of eq. (9) and tolerance τc=0.01\tau_{\mathrm{c}} = 0.01, which corresponds to an angular tolerance of τang=arccos⁡(0.99)≈8.1∘\tau_{\mathrm{ang}} = \arccos(0.99) \approx8.1^\circ per token.

Training and solver settings

Table 3 lists every hyperparameter. Unless stated otherwise, SFPRM trains with a constant learning rate after the warmup steps and an exponential moving average of the weights with rate 0.999. We optimize SFPRM’s 2-D weight matrices with Muon (Jordan et al., [25]; Pethick et al., [33]) at learning rate 5×10−35 \times10^{-3} and momentum 0.95, and its embeddings, normalization scales, and scalar parameters with AdamW at 10−310^{-3}. Weight decay is 0.1 for SFPRM, and the per-puzzle embeddings have their own learning rate. SFPRM additionally uses weight dropout and variational dropout of 0.1 on the main build (variational dropout only on the 1k×10001\mathrm{k} \times1000 Sudoku run). Following the HRM/FPRM code base, one epoch draws one augmented example for every base puzzle; hence 12,000 epochs on the 5k×2005\mathrm{k} \times200 build and 60,000 epochs on the 1k×10001\mathrm{k} \times1000 build and on Maze-Hard all amount to the same 78,125 optimizer steps at a global batch of 768. For the final Sudoku results, we train for 15,000 epochs.

Deep supervision. Training runs one segment of K=6K = 6 solver iterations per optimizer step and backpropagates through all KK geodesic steps of the segment; the recurrent state is carried across optimizer steps and detached between segments, and a sample is re-initialized once it halts or once it has been unrolled for max_iter=12\texttt{max\_iter} = 12 iterations. The halting residual, patience counter, step-size schedule, and iterate bookkeeping are evaluated on detached states, so they steer the solver without entering the gradient.

Solver. Both geodesic steps of SFPRM use the guarded interpolation gSlerp of eq. (12). Per sample, the solver keeps the current step size η\eta, the patience counter, the residual, and the residual state. As in FPRM, η\eta starts at 1 and is multiplied by the decay factor γ\gamma whenever the residual has not improved for P=5P = 5 consecutive iterations. The loop halts when the residual drops below tolerance, when η\eta falls below the floor ηmin⁡\eta_{\min}, or when the iteration budget is exhausted.

Evaluation protocol

All tasks are scored by exact accuracy (Pass@1 for Maze-Hard and Sudoku-Extreme and Pass@2 for ARC-1 and ARC-2): a puzzle counts only if every cell is correct, i.e. the whole board or the whole path. We report the final exact test accuracy, except that the SFPRM run on the $1\mathrm{k} \times 1000

Sudoku build is reported at both its best and its final evaluation because it collapses between them (Table 4). The published rows of Table 2 are taken from the respective papers.

ModelArchitecture# params.Single Loop (No Hier.)Sudoku-Ext. Pass@1Maze-Hard Pass@1Mini-ARC Pass@1ARC-1 Pass@2
Larger
HRMrec. Tf27M✗55.0%74.5%44.9% (51.7%)40.3%
Attractor ModelTf + FP loop27M✗91.4%93.1%——
URMrec. Tf + conv14M✗77.6%———
5–7M
TRMrec. Tf7M✗74.7%85.3%48.4% (36.9%)44.6%
EqRrec. Mixer + restarts5-7M✗93.0%—55.3% (40.3%)—
Attractor ModelFP Tf7M✗54.3%46.7%——
FPRMFP Tf7M✓94.2% (78.4%)87.0% (83.9%)— (55.0%)47.5%
SFPRM (ours)spherical FP Tf7M✓96.6%87.9%59.1%47.4%

Table 2. Comparison with published recurrent reasoners. Reported numbers are taken from the respective papers; Mini-ARC numbers are from Huang et al. [23] (Table 14). Numbers in parentheses are our own runs under the same setting as SFPRM. Tf = Transformer, Mixer = MLP-Mixer, rec. = recurrent refinement, FP = fixed-point solve. Within the 5–7M group the best result is bold and the second best underlined.

ModelSettingSudoku-Ext.
FPRMSudoku 1k×\times100078.5%
FPRMSudoku 5k×\times20078.4%
SFPRMSudoku 1k×\times1000 (best checkpoint)87.0%
SFPRMSudoku 1k×\times1000 (final checkpoint)12.2%
SFPRMSudoku 5k×\times20092.8%

Table 4. Exact accuracy on Sudoku-Extreme for SFPRM vs. FPRM at matched backbone (6.83M trainable parameters), data, global batch (768), and optimizer steps/epochs (78,125/12,000). “1k×\times1000” and “5k×\times200” are the number of distinct base puzzles times the augmentations per puzzle. The SFPRM 1k run is given at both its best and checkpoint because it collapses between them, which the 5k build fixes. For the 5k run the final checkpoint is also the best. The FPRM rows fall well below the 94.2% reported for FPRM in Table 2.

Additional Results, Ablations, and Analysis

This section provides the results that complement Section 4: the Sudoku-Extreme training dataset ablation (Appendix C.1), the Sudoku-Extreme and Maze-Hard counterparts of the convergence analyses of Section 4.2 (Appendix C.2), the learned scalars over training (Appendix C.3), additional results on the geometry of the computation (Appendix C.4), and the study of alternative fixed-point solvers at inference (Appendix C.5).

Training-build ablation

Table 4 compares SFPRM with an FPRM control trained under the same budget on the two Sudoku-Extreme builds described in Appendix B.1. The 5k×200 does not seem to provide benefits for

FPRM, however for SFPRM it removes the collapse happening when training with the 1k×\times1000 build between its best and its final checkpoint.

Convergence and halting

For Sections 4.2 and 4.3 each trained model is rolled with halting disabled and without segment resets, in fp32, for a fixed budget of Nmax⁡=400N_{\max} = 400 iterations on n=512n = 512 uniformly sampled test sequences from Sudoku-Extreme and Nmax⁡=1000N_{\max} = 1000 on the full Maze-Hard test data. At every iterate ziz_i the model’s readout head decodes the board, and we record exact and per-token accuracy together with the residual each solver tests: the worst-token chordal residual rC,i=max⁡t(1−⟨zi,t,z~i,t⟩)r_{\mathrm{C},i} = \max_t(1 - \langle z_{i,t}, \tilde{z}_{i,t}\rangle) with τC=0.01\tau_{\mathrm{C}} = 0.01 for SFPRM, and the worst-token relative residual rE,i=max⁡t∥zi,t−z~i,t∥∞/∥z~i,t∥∞r_{\mathrm{E},i} = \max_t \lVert z_{i,t} - \tilde{z}_{i,t}\rVert_\infty/\lVert\tilde{z}_{i,t}\rVert_\infty with τE=0.1\tau_{\mathrm{E}} = 0.1 for FPRM, where z~i=Fθ(zi)\tilde{z}_i = F_{\theta}(z_i) is each model’s proposal. A sequence counts as halted at the first iteration from which its residual stays below its own threshold.

Halt iterations are reported per sequence (mean over the sequences that halt), whereas the deployed evaluator halts a whole batch on its worst sequence, so the per-sequence counts are idealized costs. Every FPRM rollout is generated using the released checkpoints from Movahedi et al. [31].

Halting. Figure 10 shows the two Sudoku runs of Table 3 (one that reached 92.8% and one 96.6% exact accuracy) against FPRM. With the learned λ=0.47\lambda= 0.47 (left), the median residual of SFPRM drops below τC\tau_{\mathrm{C}} within a few dozen iterations, whereas FPRM’s decays roughly geometrically over the whole window. 452 of the 512 sequences halt for SFPRM, at a mean of 33 iterations, against 422 at a mean of 89 for FPRM. Exact accuracy is still rising after the mean halt for both models, so on this task the threshold fires before the population has finished improving. With λ\lambda fixed at 0.1 (right) the residual of SFPRM decays far more slowly and hovers near τc\tau_c, so only 166 sequences halt within 400 iterations, at a mean of 254, although the decoded accuracy is higher. In both runs the puzzles a solver halts on are solved in 99.7–100% of cases, so on Sudoku a halt certifies the answer, whereas a missing halt does not certify a failure.

Fixed-point uniqueness. Figure 11 repeats the global-convergence test of Figure 4 on the Maze model (learned λ=0.575\lambda= 0.575), running the raw map without damping for 1000 steps. The contractive regime of Theorem 2 exists here too, but it is narrower: all eight initializations reach the same fixed point only for λ\lambda between about 0.6 and 0.8. The trained λ\lambda sits at the lower edge of this band, where some mazes have a single end point and others do not, and below λ≈0.5\lambda\approx0.5 no maze does. For λ≥0.9\lambda\ge0.9 the end states spread again, while the token accuracy of the fixed point falls to 0.7–0.8 as the input pulls the state onto itself. On the maze of panel (b) the raw map does not reach the tolerance at the trained λ\lambda within 1000 steps, although it decodes the maze exactly throughout; it is the damped solver that halts this model. At λ=0.7\lambda= 0.7 the raw map converges inside the exact-match region, and at λ=0.9\lambda= 0.9 the eight paths run straight to one point that no longer solves the maze.

Figure 11. Global convergence under input injection on Maze-Hard (SFPRM, learned λ=0.575\lambda= 0.575), analogue to Figure 4. (left) The largest angle between the end states of eight initializations of the raw map (teal: all coincide, coral: ≥2\ge2 end states), and the token accuracy of the end state (indigo, right axis), as a function of λ\lambda. (right) Trajectories at four values of λ\lambda for a single Maze example: the top-2 principal plane of the trajectories from the eight initializations z0z_0 (squares) through z⋆z^\star (star; circles: first iteration with rc,i<τcr_{c,i} < \tau_c). The color shows the token accuracy of the state decoded at each position (dashed red: exact-match region).

Eigen LR and other learnable parameters during training

Figure 12 tracks the learned scalars of SFPRM during training on Maze and Sudoku. Both models raise the injection fraction from 0.1 to λ=0.575\lambda= 0.575 on Maze and λ=0.470\lambda= 0.470 on Sudoku, with most of the increase in the first 30k of 78k training steps. This moves them toward the strong-injection regime of Theorem 2. On Sudoku, all eight initializations already reach the same fixed point on 72% of puzzles at the learned λ\lambda (Figure 4). The logit scale szs_z grows almost linearly from 16 to 76, at nearly the same rate on both tasks, and is still rising when training ends. The eigen learning rates keep means near their initial 0.5, similarly as noted by Loshchilov et al. [28]. However, individual dimensions spread widely, from negative values, which move the state away from the sub-layer output, to values up to 2.6.

Learned parameters of SFPRM during training

Figure 12. Learned parameters of SFPRM during training. Per task, top row: injection fraction λ\lambda, logit scale szs_z, and QK scale sqks_{qk} (mean over its 64 dimensions, per layer). Bottom row: the eigen learning rates αA\alpha_A (attention) and αM\alpha_M (MLP) of both layers, as the mean, minimum and maximum over the 512 hidden dimensions.

The geometry of the computation

Qualitative results (Figure 7 and Figure 21 to Figure 24). We unroll several test puzzles from each task open loop, for 40 iterations on Maze and Sudoku (rendered at t=0,2,11,39t = 0, 2, 11, 39) and 200 on Mini-ARC (rendered at t=0,3,13,52,199t = 0, 3, 13, 52, 199). The decoded board is the per-cell argmax of the readout. The anchor map shows, per cell, the angle ∠(zi,t,x^i)\angle(z_{i,t}, \hat{x}_i) between the iterate and its unit-normalized input embedding x^i\hat{x}_i (token plus position), on a colour scale normalized to the minimum and maximum angle over that puzzle’s whole rollout, so that a colour means the same angle in every frame of a strip. The same quantity is computed for FPRM from its unnormalized state. SFPRM’s anchor angles separate the roles of the cells far more cleanly than FPRM’s: on Sudoku, clue cells end 35° closer to their anchors than blank cells, against 6° for FPRM, and on Mini-ARC the cells a task must rewrite end furthest from their anchors (AUC 0.81 for changed vs. unchanged cells, averaged over tasks), whereas FPRM’s ordering flips from task to task (AUC 0.51).

Anchor angles by cell class (Figure 6, Figure 15 and Figure 16). For four Sudoku and Maze test puzzles, we track the anchor angle of every cell throughout the unrolling, grouped by cell class (clues and blanks on Sudoku; walls, free cells that stay empty, free cells that become path, start, and goal on Maze). In the figures, the heavy lines are class means, whilst the thin lines show the individual cells’ anchor angles. The histograms on the right-hand side of each figure show the distribution at the end of the unrolling (i=399i = 399 on Sudoku, 999 on Maze). For FPRM the angle is that of the normalized state.

Figure 16. Anchor angles by cell class on Maze-Hard. Four test puzzles, FPRM above and SFPRM below in each pair, with the conventions of Figure 15. On every maze SFPRM settles walls at ≈90°, free cells that stay empty at ≈113°, free cells that become path at ≈102°, and start and goal at ≈80°, whereas FPRM keeps all classes within 70–87° and separates the two free-cell classes by only a few degrees.

Trajectories on the sphere (Figure 14). We draw each token’s path in the frame spanned by the inference unrolling trajectory’s two leading singular directions and its input anchor x\mathbf{x}. This way the anchor is shown exact rather than a near-zero projection. We only show the cell trajectories that capture the most trajectory variance. Over 98% of each trajectory’s variance lies in that frame, so every token effectively moves on one great circle, as the geodesic steps of Algorithm 1 prescribe, and the anchor sits nearly orthogonal to that circle (∣⟨xt,v1,2⟩∣≈0.05|\langle\mathbf{x}_t, \mathbf{v}_{1,2}\rangle| \approx0.05). The input injection pulls from far off the plane in which the computation happens, explaining how a small λ\lambda can anchor the hidden state without dictating it.

Figure 14. One SFPRM trajectory per cell class, on the sphere (Sudoku left, Maze right). For every cell class we draw the token whose 3-frame captures the most trajectory variance. The frame is spanned by the trajectory’s two leading singular directions and the anchor xtx_t, which sits at the pole. xtx_t is nearly orthogonal to the plane of the trajectory (∣⟨xt,v1,2⟩∣≈0.05|\langle x_t, v_{1,2}\rangle| \approx0.05). Arcs are great circles between projected iterates. The colour shows the iteration index.

Solved versus unsolved (Figure 9). For 128 Sudoku test puzzles we compare the distribution of the final anchor angle (SFPRM) or final norm (FPRM) of clue and blank cells between solved and unsolved puzzles. The same comparison on 512 test mazes (Figure 13) shows no separation for either model.

Figure 13. Final anchor angle on solved and unsolved mazes (Maze-Hard analogue of Figure 9). Per-class angle to the anchor at the end of the rollout over 512 test mazes (438 solved, 74 unsolved), for (a) SFPRM and (b) FPRM’s normalized state. Filled: solved; hatched: unsolved. Unlike on Sudoku, the distributions overlap for every class, so the final angle does not predict correctness.

Fixed-point solvers at inference

Both SFPRM and FPRM are trained with a damped fixed-point iteration, but at inference any method that finds a fixed point of Fθ(⋅ ;x)F_\theta(\cdot\,;x) can take its place. We run four solvers (including the default one) on the trained models, without retraining and without changing the architecture (see § 4.2).

Solvers

All four solvers seek a fixed point of the same trained map. The model weights are unchanged, and only the default solver (adaptive) was used during training. At test time the input embedding xx is computed once and every solver runs the loop

z~i=Fθ(zi;x),stop if ri<τ,zi+1=update⁡(zi,z~i,history),\widetilde{z}_i = F_\theta(z_i;x), \qquad\text{stop if } r_i < \tau, \qquad z_{i+1} = \operatorname{update}(z_i,\widetilde{z}_i,\text{history}),

starting from a random z0z_0. Across solvers, only the update function differs. Each step evaluates FθF_\theta once, and the same evaluation gives the halting residual, so the number of steps is the compute spent. SFPRM halts on the chordal residual ri=rc,ir_i = r_{c,i} of eq. (9) with τc=0.01\tau_c = 0.01, and FPRM on the per-token relative residual ri=rE,i=max⁡t∥zi,t−z~i,t∥∞/∥z~i,t∥∞r_i = r_{E,i} = \max_t \lVert z_{i,t} - \widetilde{z}_{i,t}\rVert_\infty/\lVert\widetilde{z}_{i,t}\rVert_\infty (eq. (4)) with τE=0.1\tau_E = 0.1. We write gi:=z~i−zi\mathbf{g}_i := \widetilde{\mathbf{z}}_i-\mathbf{z}_i for the residual vector. Two operators adapt the updates to each model’s state space: the interpolation Iη(a,b)I_\eta(\mathbf{a}, \mathbf{b}) moves a\mathbf{a} a fraction η\eta of the way to b\mathbf{b}, along the great circle token by token for SFPRM, Iη=Slerp⁡ηI_\eta= \operatorname{Slerp}_\eta as in eq. (7), and along the straight line for FPRM, Iη(a,b)=(1−η)a+ηbI_\eta(\mathbf{a}, \mathbf{b}) = (1-\eta)\mathbf{a}+\eta\mathbf{b} as in eq. (3); the projection Π\Pi applies Norm⁡\operatorname{Norm} to every token for SFPRM and is the identity for FPRM.

Adaptive (default). zi+1=Iηi(zi,z~i)\mathbf{z}_{i+1}=I_{\eta_i}(\mathbf{z}_i,\tilde{\mathbf{z}}_i) with η0=1\eta_0=1. The step size is multiplied by γ=0.99\gamma=0.99 whenever the residual has not improved for P=5P=5 consecutive steps while it is still above τ\tau. Both models are trained and evaluated with this solver.

Fixed step. The same update with ηi=1\eta_i=1 throughout, that is, plain fixed-point iteration zi+1=z~i\mathbf{z}_{i+1}=\tilde{\mathbf{z}}_i.

Anderson acceleration ([2, 42]) replaces the latest state by the combination of the last m+1m+1 states whose residuals cancel best. With the columns of ΔGi\Delta G_i and ΔZ~i\Delta\widetilde{Z}_i the mm differences of consecutive stored residuals and images,

ωi=arg⁡min⁡ω∈Rm∥gi−ΔGiω∥22+δ∥ω∥22,zi+1=Π(z~i−ΔZ~iωi)\omega_i = \arg\min_{\omega\in\mathbb{R}^m} \left\|g_i-\Delta G_i\omega\right\|_2^2+\delta\left\|\omega\right\|_2^2,\qquad z_{i+1}=\Pi\left(\widetilde{z}_i-\Delta\widetilde{Z}_i\omega_i\right)

with a small ridge δ>0\delta>0. The least-squares problem learns, from the recent iterates alone, how the residual responds to a change of state, and the combination removes the components that the plain step overshoots, so an oscillation across the fixed point, for example, cancels between consecutive states. We use memory m=3m=3.

Broyden’s method ([9]), the solver commonly used for deep equilibrium models ([3]), takes quasi-Newton steps on g(z)=Fθ(z;x)−zg(z)=F_\theta(z;x)-z with an estimate BiB_i of the inverse Jacobian of gg:

zi+1=Π(zi−Bigi),Bi=Bi−1+(si−Bi−1yi)siTBi−1siTBi−1yiz_{i+1}=\Pi\left(z_i-B_i g_i\right),\qquad B_i=B_{i-1}+\frac{\left(s_i-B_{i-1}y_i\right)s_i^{\mathsf{T}}B_{i-1}}{s_i^{\mathsf{T}}B_{i-1}y_i}

where si=zi−zi−1s_i = z_i - z_{i-1} and yi=gi−gi−1y_i = g_i - g_{i-1}. Starting from B0=−IB_0 = -I, the estimate is stored as the last m=5m = 5 rank-one corrections.

Neither Anderson’s nor Broyden’s method computes a Jacobian or any gradient. Both are quasi-Newton methods that infer curvature from secants, the observed changes of state and residual between steps, so each step still costs one evaluation of FθF_\theta. With an empty memory both take exactly the fixed step. Both act on the whole state of an example at once, all tokens flattened into one vector, with one history per example in a batch. Their extrapolated points leave the sphere and are projected back by Π\Pi. The extra work per step is a few vector operations on the state and an m×mm \times m linear solve, and the extra memory is mm stored copies of the state, both small next to an evaluation of FθF_\theta. As safeguards, a non-finite extrapolation falls back to the fixed step, and Broyden skips an update whose denominator is near zero. Both methods use the step size η=1\eta= 1 (no damping).

Results

We run every solver on all 1000 Maze test examples and on 1000 Sudoku test puzzles spaced evenly over the 422,786-puzzle test set, in fp32, with SFPRM at its trained injection fraction (λ=0.575\lambda= 0.575 on Maze, λ=0.1\lambda= 0.1 on Sudoku) and FPRM from its released checkpoints. Each example starts from its own random state (uniform on the sphere for SFPRM, the truncated normal of the FPRM solver for FPRM), shared by the four solvers, and is iterated for 1000 steps. We then apply the halting rule to each example separately: the answer is the first iterate whose residual is below τ\tau, and an example that never halts is answered by its iterate at step 1000. Table 5 reports the results, and Figure 5 and Figure 17 show accuracy and residual over the iterations in the four settings.

Figure 17. Accuracy and halting residual over the iterations for the remaining settings of Table 5. SFPRM on Sudoku (λ=0.1\lambda= 0.1, left), FPRM on Maze (middle) and FPRM on Sudoku (right); SFPRM on Maze is Figure 5. Same 1000 examples and solvers as the table. Top: exact accuracy of the iterate with halting disabled. Bottom: each model’s halting residual, median (solid) and 75th percentile (dotted) over the examples, its threshold (dashed), and the iteration by which half of the examples have halted (circle).

The undamped step does not halt reliably. The fixed step never reaches τ\tau on 37%, 100%, 49% and 56% of the examples in the four settings. For SFPRM on Maze its answers are identical to the default solver’s, but on Sudoku it is less accurate for both models. For SFPRM on Sudoku a quarter of the puzzles do not halt within 1000 steps.

Anderson acceleration matches the default solver at a fraction of the cost. Its accuracy at the halt is within one point of the default solver’s in all four settings. Anderson halts earlier in every setting, with a striking 37 against 435 for SFPRM on Sudoku. Averaged over all examples, this is 9× fewer evaluations of FθF_\theta. For FPRM on Sudoku the saving disappears (190 against 200 evaluations): 10.8% of the puzzles never reach τ\tau under Anderson, and all of them are answered incorrectly.

Broyden’s method reaches the tolerance threshold quickly but does not stay there. On Maze it halts as early as Anderson (14 and 16 median steps), and its halted answers are as accurate as the default solver’s. By continuing to iterate beyond the tolerance, however, it leaves the fixed point and its accuracy degrades, making it usable only with halting.

On Sudoku, halting certifies the answer. For SFPRM on Sudoku, 99.7–100% of the puzzles a solver halts on are solved exactly, so the accuracy differences come entirely from the puzzles it fails to halt on. The same holds less strictly for FPRM (96.2% of the default solver’s halted puzzles are solved, 99.6% of Anderson’s). On Maze, halting does not certify the answer: incorrect mazes converge too, and for the solvers that halt on almost every example the accuracy among halted examples is about the same as the overall accuracy.

Trajectories in the principal plane. Figure 18 shows the four solvers at the trained λ\lambda in the plane construction of Figure 4b, on a single test example from each task, from eight initializations. The reference z∗z^{*} is Anderson’s end point, a fixed point to fp32 precision that decodes both examples exactly. On Maze, Anderson halts at iteration 13 from all eight initializations, the default solver crosses the tolerance at a median of 140 iterations but ends 0.06 rad away, and fixed η=1\eta= 1 never crosses it. On the Sudoku puzzle only Anderson halts (median 40), while the default and fixed solvers end 0.16 and 0.33 rad from z∗z^{*} and still decode the puzzle exactly. Broyden reaches the tolerance as early as Anderson and then leaves from most starts.

Figure 18. The four solvers in the principal plane through the fixed point, for test example 0 of Maze-Hard (top, λ=0.575\lambda= 0.575) and of Sudoku-Extreme (bottom, λ=0.1\lambda= 0.1). Axes and markers as in Figure 4b, with z∗z^{*} the end point of Anderson acceleration; every solver runs from the same eight initializations (squares) and six further starts placed on its plane. Each panel uses the top-2 principal directions of that solver’s own iterates, so the background landscapes differ between panels.

Trajectories in polar coordinates. Figure 19 and Figure 20 follow one token per cell class under each solver in the polar view of Figure 5b, for the maze of that panel and for a Sudoku puzzle. The radius is the geodesic angle to a common reference, Anderson’s end point after 2000 iterations, a fixed point to fp32 precision that decodes both examples exactly. Inward is convergence toward z∗z^{*}, a held radius is orbiting, and outward is leaving. Anderson ends within 10−410^{-4} degrees of the reference. The default solver ends 0.005–0.14° away on the mazes and up to 2.1° on the Sudoku puzzles, after orbiting for hundreds of iterations; fixed η=1\eta= 1 stays up to 0.64° and 4–17° away and never halts; and Broyden reaches the tolerance first and then leaves to 60–103°.

Figure 19. SFPRM on Maze-Hard: State trajectories in polar coordinates. The four solvers (rows, with each one’s halting step) on the maze of Figure 5b, one token per cell class (columns). Radius: geodesic angle to the reference fixed point, log-scaled from 0.1∘0.1^\circ at the centre to 180∘180^\circ at the rim, rings at 11, 1010 and 100∘100^\circ; azimuth: the top-2 principal plane of that token’s component orthogonal to the reference; square: start, dot: end of the 1000-iteration run; colour: iteration. Anderson ends at the centre, the default and fixed steps orbit at a small radius, and Broyden leaves for the rim.

Figure 20. SFPRM on Sudoku-Extreme: State trajectories in polar coordinates. A puzzle on which the default solver halts at its median step (435); columns: the middle clue cell and the blank cells whose decode settles earliest, at the median and last. Anderson and Broyden reach the tolerance early, the default solver orbits for hundreds of iterations before halting, fixed η=1\eta= 1 never halts, and Broyden fills the disc after leaving.

ARC-AGI-2 Results

We compute the Pass@2 on the 120 evaluation tasks of ARC-AGI-2. All models remain far from solving the benchmark. The best recurrent reasoner, TRM, reaches 7.8%, and SFPRM reaches 3.8%. The gaps nonetheless amount to only a few tasks, so we do not draw strong conclusions from them. At 7M parameters, SFPRM still outperforms reasoning LLMs, including o3-mini-high (3.0%), DeepSeek-R1 (1.3%) and Claude 3.7 (0.7%).

Algorithmic Ablations

Table 6 retrains the Mini-ARC model with one component of SFPRM changed at a time. QK normalization is essential, and removing the step damping (η=1\eta= 1) or fixing the input-injection fraction costs 11.4 and 9.4 points, respectively. The remaining changes, including ACT halting in place of the chordal residual, cost at most 4.7 points.

VariantPass@1Δ\Delta
SFPRM (full)59.1–
w/o QK normalization26.2−32.9
w/o damping (η=1\eta= 1)47.7−11.4
Fixed injection fraction (λ=0.1\lambda= 0.1)49.7−9.4
ACT halting instead of chordal residual54.4−4.7
Fixed eigen learning rates (αA=αM=0.5\alpha_A = \alpha_M = 0.5)55.0−4.0
w/o logit scale (sz=1s_z = 1)55.7−3.4
w/o weight normalization56.4−2.7

Table 6. SFPRM ablations on Mini-ARC. Pass@1 accuracy at an iteration cap of 200. Each row changes one component of the full model. Δ\Delta: change relative to the full model.

Limitations

On the theory side, Theorem 1 certifies a step-size window but not that the patience rule finds it, and Theorem 2 covers only strong injection. On the experimental side, every run uses a single seed and neither model was tuned beyond FPRM’s recipe: a broader hyperparameter search, stronger regularization, and optimizers that exploit the spherical geometry further would likely improve both. Two directions remain open. Attention-free MLP-Mixer blocks have been reported to beat Transformer blocks on some of these puzzles (JoliCoeur-Martineau, 2025; Sghaier et al., [38]; Suleymanzade et al., 2026); the spherical loop is agnostic to the block and could be combined with them. And we have not applied SFPRM to language modeling, where looped Transformers are gaining ground [20, 34] and where halting on a fixed angular tolerance may be most valuable.

References

  1. [1]P.-A. Absil, Robert Mahony, and Rodolphe Sepulchre. Optimization Algorithms on Matrix Manifolds. Princeton University Press, 2008.DOI
  2. [2]Donald G. Anderson. Iterative procedures for nonlinear integral equations. Journal of the ACM, 12 (4):547–560, 1965.DOI
  3. [3]Shaojie Bai, J. Zico Kolter, and Vladlen Koltun. Deep equilibrium models. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
  4. [4]Shaojie Bai, Vladlen Koltun, and J. Zico Kolter. Multiscale deep equilibrium models. In Advances in Neural Information Processing Systems (NeurIPS), 2020.arxiv.org/abs/2006.08656
  5. [5]Shaojie Bai, Vladlen Koltun, and J. Zico Kolter. Stabilizing equilibrium models by Jacobian regularization. In International Conference on Machine Learning (ICML), 2021.arxiv.org/abs/2106.14342
  6. [6]Andrea Banino, Jan Balaguer, and Charles Blundell. PonderNet: Learning to ponder. In ICML Workshop on Automated Machine Learning (AutoML), 2021.
  7. [7]Arpit Bansal, Avi Schwarzschild, Eitan Borgnia, Zeyad Emam, Furong Huang, Micah Goldblum, and Tom Goldstein. End-to-end algorithm synthesis with recurrent networks: Logical extrapolation without overthinking. In Advances in Neural Information Processing Systems (NeurIPS), 2022.
  8. [8]L. E. J. Brouwer. Über Abbildung von Mannigfaltigkeiten. Mathematische Annalen, 71:97–115, 1911.
  9. [9]Charles G. Broyden. A class of methods for solving nonlinear simultaneous equations. Mathematics of Computation, 19(92):577–593, 1965.
  10. [11]François Chollet, Mike Knoop, Gregory Kamradt, and Bryan Landers. ARC prize 2024: Technical report. arXiv preprint arXiv:2412.04604, 2024.arxiv.org/abs/2412.04604
  11. [12]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Łukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.arxiv.org/abs/2110.14168
  12. [13]Tim R. Davidson, Luca Falorsi, Nicola De Cao, Thomas Kipf, and Jakub M. Tomczak. Hyperspherical variational auto-encoders. In Conference on Uncertainty in Artificial Intelligence (UAI), 2018.arxiv.org/abs/1804.00891
  13. [14]Mostafa Dehghani, Stephan Gouws, Oriol Vinyals, Jakob Uszkoreit, and Lukasz Kaiser. Universal transformers. In International Conference on Learning Representations (ICLR), 2019.arxiv.org/abs/1807.03819
  14. [15]Justin Deschenaux and Çağlar Gülçehre. Language modeling with hyperspherical flows. arXiv preprint arXiv:2605.11125, 2026.arxiv.org/abs/2605.11125
  15. [16]Ying Fan, Yilun Du, Kannan Ramchandran, and Kangwook Lee. Looped transformers for length generalization. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2409.15647
  16. [17]Jacob Fein-Ashley and Paria Rashidinejad. Solve the loop: Attractor models for language and reasoning. In ICML 2026 Workshop on Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning, 2026.
  17. [18]Zitian Gao, Lynx Chen, Yihao Xiao, He Xing, Ran Tao, Haoming Luo, Joey Zhou, and Bryan Dai. Universal reasoning model. arXiv preprint arXiv:2512.14693, 2025.arxiv.org/abs/2512.14693
  18. [19]Khashayar Gatmiry, Nikunj Saunshi, Sashank J. Reddi, Stefanie Jegelka, and Sanjiv Kumar. Can looped transformers learn to implement multi-step gradient descent for in-context learning? In International Conference on Machine Learning (ICML), 2024.
  19. [20]Jonas Geiping, Sean Michael McLeish, Neel Jain, John Kirchenbauer, Siddharth Singh, Brian R. Bartoldson, Bhavya Kailkhura, Abhinav Bhatele, and Tom Goldstein. Scaling up test-time compute with latent reasoning: A recurrent depth approach. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.
  20. [21]Angeliki Giannou, Shashank Rajput, Jy-yong Sohn, Kangwook Lee, Jason D. Lee, and Dimitris Papailiopoulos. Looped transformers as programmable computers. In International Conference on Machine Learning (ICML), pp. 11398–11442, 2023.arxiv.org/abs/2301.13196
  21. [22]Alex Graves. Adaptive computation time for recurrent neural networks. arXiv preprint arXiv:1603.08983, 2016.
  22. [23]Benhao Huang, Zhengyang Geng, and J. Zico Kolter. Equilibrium reasoners: Learning attractors enables scalable reasoning. In International Conference on Machine Learning (ICML), 2026.
  23. [24]Alexia Jolicoeur-Martineau. Less is more: Recursive reasoning with tiny networks. arXiv preprint arXiv:2510.04871, 2025.
  24. [25]Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks. Blog post, 2024. URL https://kellerjordan.github.io/posts/muon/.
  25. [26]Subin Kim, Prin Phunyaphibarn, Donghyun Ahn, and Sundong Kim. Playgrounds for abstraction and reasoning. In NeurIPS 2022 Workshop on Neuro Causal and Symbolic AI (nCSI), 2022.
  26. [27]Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. ALBERT: A lite BERT for self-supervised learning of language representations. In International Conference on Learning Representations (ICLR), 2020.
  27. [28]Ilya Loshchilov, Cheng-Ping Hsieh, Simeng Sun, and Boris Ginsburg. nGPT: Normalized transformer with representation learning on the hypersphere. In International Conference on Learning Representations (ICLR), 2025.
  28. [29]Andrea Miele, Yiming Qin, Alba Carballo-Castro, Justin Deschenaux, and Pascal Frossard. Fixed-point masked generative modeling. arXiv preprint arXiv:2605.31215, 2026.arxiv.org/abs/2605.31215
  29. [30]Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. In International Conference on Learning Representations (ICLR), 2018.
  30. [31]Sajad Movahedi, Vera Milovanović, Shlomo Libo Feigin, Alexander Theus, Thomas Hofmann, Valentina Boeva, T. Konstantin Rusch, and Antonio Orvieto. Fixed-point reasoners: Stable and adaptive deep looped transformers. arXiv preprint arXiv:2606.18206, 2026.
  31. [32]James M. Ortega and Werner C. Rheinboldt. Iterative Solution of Nonlinear Equations in Several Variables. Academic Press, New York, 1970.
  32. [33]Thomas Pethick, Wanyun Xie, Kimon Antonakopoulos, Zhenyu Zhu, Antonio Silveti-Falls, and Volkan Cevher. Training deep learning models with norm-constrained LMOs. In International Conference on Machine Learning (ICML), 2025.arxiv.org/abs/2502.07529
  33. [34]Hayden Prairie, Zachary Novack, Taylor Berg-Kirkpatrick, and Daniel Y. Fu. Parcae: Scaling laws for stable looped language models. arXiv preprint arXiv:2604.12946, 2026.arxiv.org/abs/2604.12946
  34. [35]Tim Salimans and Diederik P. Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2016.
  35. [36]Nikunj Saunshi, Nishanth Dikkala, Zhiyuan Li, Sanjiv Kumar, and Sashank J. Reddi. Reasoning with latent thoughts: On the power of looped transformers. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2502.17416
  36. [37]Avi Schwarzschild, Eitan Borgnia, Arjun Gupta, Furong Huang, Uzi Vishkin, Micah Goldblum, and Tom Goldstein. Can you learn an algorithm? Generalizing from easy to hard problems with recurrent networks. In Advances in Neural Information Processing Systems (NeurIPS), 2021.arxiv.org/abs/2106.04537
  37. [38]Amin Sghaier, Ali Parviz, and Alexia Jolicoeur-Martineau. Probabilistic tiny recursive model. arXiv preprint arXiv:2605.19943, 2026.arxiv.org/abs/2605.19943
  38. [39]Charlie Victor Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling LLM test-time compute optimally can be more effective than scaling parameters for reasoning. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2408.03314
  39. [41]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems (NeurIPS), 2017.arxiv.org/abs/1706.03762
  40. [42]Homer F. Walker and Peng Ni. Anderson acceleration for fixed-point iterations. SIAM Journal on Numerical Analysis, 49(4):1715–1735, 2011.
  41. [43]Guan Wang, Jin Li, Yuhao Sun, Xing Chen, Changling Liu, Yue Wu, Meng Lu, Sen Song, and Yasin Abbasi Yadkori. Hierarchical reasoning model. arXiv preprint arXiv:2506.21734, 2025.arxiv.org/abs/2506.21734
  42. [44]Tongzhou Wang and Phillip Isola. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. In International Conference on Machine Learning (ICML), 2020.arxiv.org/abs/2005.10242
  43. [45]Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le, Ed H. Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2203.11171
  44. [46]Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed H. Chi, Quoc V. Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems (NeurIPS), 2022.arxiv.org/abs/2201.11903
  45. [47]Ezra Winston and J. Zico Kolter. Monotone operator equilibrium networks. In Advances in Neural Information Processing Systems (NeurIPS), 2020.arxiv.org/abs/2006.08591
  46. [48]Liu Yang, Kangwook Lee, Robert D. Nowak, and Dimitris Papailiopoulos. Looped transformers are better at learning learning algorithms. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2311.12424
  47. [49]Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L. Griffiths, Yuan Cao, and Karthik Narasimhan. Tree of thoughts: Deliberate problem solving with large language models. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2305.10601

Paper details

vlnc:W_9ppx2d6u
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 10

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