arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.25646

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

Arber Zela, Artavazd Maranjyan, Pol Puigdemont, David Berghaus, Valentyn Boreiko, Volkan Cevher

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

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 performs 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.

1 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 (Wei et al., 2022; Wang et al., 2023; Cobbe et al., 2021; Yao et al., 2023; Snell et al., 2025). Looped transformers offer a latent alternative (Dehghani et al., 2019; Bai et al., 2019; Geiping et al., 2025): 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 (Wang et al., 2025; Jolicoeur-Martineau, 2025; Movahedi et al., 2026).

A looped transformer raises two questions: when should it stop, and will it stay well-behaved as it runs? The fixed-point view (Bai et al., 2019), answers the first by treating the loop as a solver for z∗=Fθ(z∗;x)\mathbf{z}^* = F_\theta(\mathbf{z}^*; \mathbf{x}) and halting once the iterate stops moving. Fixed-Point Reasoners (FPRM) (Movahedi et al., 2026) 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 (Loshchilov 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:

(a) Outer fixed-point loop and the spherical block

(b) Halting on the sphere

Figure

Figure

Each step rotates zi,tz_{i,t} a fraction ηi\eta_i of the way to its proposal z~i,t\widetilde{z}_{i,t} along a great circle; the loop halts once Ωi,t=∠(zi,t,z~i,t)<τang\Omega_{i,t} = \angle(z_{i,t}, \widetilde{z}_{i,t}) < \tau_{\text{ang}} for every token, i.e. rc,i<τc=1−cos⁡τangr_{c,i} < \tau_c = 1 - \cos \tau_{\text{ang}}.

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\widetilde{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^*.

(i) 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;

(ii) 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;

(iii) performance: on Sudoku-Extreme and Maze-Hard, SFPRM halts up to 2.7×2.7 \times earlier than FPRM at equal or higher accuracy; and

(iv) 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.

References (83)

  • Deep equilibrium models
  • Multiscale deep equilibrium models
  • Stabilizing equilibrium models by Jacobian regularization
  • PonderNet: Learning to ponder
  • End-to-end algorithm synthesis with recurrent networks: Logical extrapolation without overthinking
  • Recursive scaling in masked diffusion models (opens arXiv in a new tab)
  • ARC prize 2024: Technical report (opens arXiv in a new tab)
  • Training Verifiers to Solve Math Word Problems
  • Hyperspherical variational auto-encoders
  • Universal transformers
  • Language modeling with hyperspherical flows (opens arXiv in a new tab)
  • Looped transformers for length generalization
  • Solve the loop: Attractor models for language and reasoning
  • Universal reasoning model (opens arXiv in a new tab)
  • Can looped transformers learn to implement multi-step gradient descent for in-context learning? In International Conference on Machine Learning (ICML), 2024
  • Scaling up test-time compute with latent reasoning: A recurrent depth approach
  • Looped transformers as programmable computers
  • Alex Graves. Adaptive computation time for recurrent neural networks. arXiv preprint arXiv:1603.08983, 2016. (opens arXiv in a new tab)
  • Equilibrium reasoners: Learning attractors enables scalable reasoning
  • Alexia Jolicoeur-Martineau. Less is more: Recursive reasoning with tiny networks. arXiv preprint arXiv:2510.04871, 2025. (opens arXiv in a new tab)
  • Muon: An optimizer for hidden layers in neural networks
  • Playgrounds for abstraction and reasoning
  • ALBERT: A lite BERT for self-supervised learning of language representations
  • nGPT: Normalized transformer with representation learning on the hypersphere
  • Fixed-point masked generative modeling (opens arXiv in a new tab)
  • Spectral normalization for generative adversarial networks
  • Fixed-point reasoners: Stable and adaptive deep looped transformers (opens arXiv in a new tab)
  • Iterative Solution of Nonlinear Equations in Several Variables
  • Training deep learning models with norm-constrained LMOs
  • Parcae: Scaling laws for stable looped language models (opens arXiv in a new tab)
  • Weight normalization: A simple reparameterization to accelerate training of deep neural networks
  • Reasoning with latent thoughts: On the power of looped transformers
  • Can you learn an algorithm? Generalizing from easy to hard problems with recurrent networks
  • Probabilistic tiny recursive model (opens arXiv in a new tab)
  • Scaling LLM test-time compute optimally can be more effective than scaling parameters for reasoning
  • Thinking with Looped Flows
  • Attention is all you need
  • Anderson acceleration for fixed-point iterations
  • Hierarchical reasoning model (opens arXiv in a new tab)
  • Understanding contrastive representation learning through alignment and uniformity on the hypersphere
  • Self-consistency improves chain of thought reasoning in language models
  • Chain-of-thought prompting elicits reasoning in large language models
  • Monotone operator equilibrium networks
  • Looped transformers are better at learning learning algorithms
  • Tree of thoughts: Deliberate problem solving with large language models
  • The same expression places it at angle $s\Omega$ from $u$ and $(1 - s)\Omega$ from $v$
  • The first branch is what the solver executes in the convergence regime, and the following lemma is what the boundedness argument of Section 3.2.1 needs from it
  • Let $u, v \in \mathbb{S}^{d-1}$ and $\eta \in [0,1]$
  • The representation in Lemma 1 now gives
  • If the two opposing weighted vectors also have equal magnitudes, their Euclidean mixture is zero and cannot be normalized
  • By Lemma 1
  • Its inverse is
  • if $K$ is a nonempty, compact, convex subset of a finite-dimensional Euclidean space and $G: K \to K$ is continuous, then
  • The damped update therefore has exactly the fixed points of $F_{\theta}$, wherever these arcs are defined
  • Represent a nearby state by tangent coordinates $\mathbf{w} = (w_t)_{t=1}^T$:
  • Conversely, every eigenvector of $A$ is one of $J = (A - (1 - \eta)\text{Id})/\eta$
  • Define, on this neighborhood
  • Multiplication by $1 - \lambda$ then performs the next input injection
  • Then $a\pi < r$ and $0 < q < 1/2$
  • Banach's contraction theorem therefore gives a unique $\mathbf{w}^\star \in \mathcal{B}_r$ satisfying $\mathbf{w}^\star = aA(\mathbf{w}^\star)$, and every iteration $\mathbf{w}_{i+1} = aA(\mathbf{w}_i)$ starting in $\mathcal{B}_r$ satisfies
  • Hence every subsequent interpolation is well-defined
  • The neighborhood, derivative bound, and injection threshold depend on the fixed network and input
  • 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
  • The abstraction-and-reasoning benchmarks of Chollet et al. (2024): few-shot tasks in which a grid transformation must be inferred from demonstration pairs and applied to a test grid
  • 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 whole board or the whole path
  • Sudoku-Extreme values are for the epoch-15,000 run, while values in parentheses are for the 12,000-epoch constant-schedule run
  • The published rows of Table 2 are taken from the respective papers
  • Open-loop rollouts of FPRM (amber) and SFPRM (blue)
  • (left) The largest angle between the end states of eight initializations of the raw map (teal: all coincide, coral: $\geq 2$ end states), and the token accuracy of the end state (indigo, right axis), as a function of $\lambda$
  • Both models raise the injection fraction from 0.1 to $\lambda = 0.575$ on Maze and $\lambda = 0.470$ on Sudoku, with most of the increase in the first 30k of 78k training steps
  • We unroll several test puzzles from each task open loop, for 40 iterations on Maze and Sudoku (rendered at $t = 0, 2, 11, 39$) and 200 on Mini-ARC (rendered at $t = 0, 3, 13, 52, 199$)
  • 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)
  • 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
  • We run four solvers (including the default one) on the trained models, without retraining and without changing the architecture (see Section 4.2)
  • (7), and along the straight line for FPRM, $\mathcal{I}_{\eta}(\mathbf{a}, \mathbf{b}) = (1 - \eta)\mathbf{a} + \eta\mathbf{b}$ as in eq
  • With the columns of $\Delta G_i$ and $\Delta \tilde{Z}_i$ the $m$ differences of consecutive stored residuals and images
  • Starting from $\mathbf{B}_0 = -\mathbf{I}$, the estimate is stored as the last $m = 5$ rank-one corrections
  • 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
  • SFPRM on Sudoku ( $\lambda = 0.1$, left), FPRM on Maze (middle) and FPRM on Sudoku (right); SFPRM on Maze is Figure 5
  • 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
  • Axes and markers as in Figure 4b, with $\mathbf{z}^*$ the end point of Anderson acceleration; every solver runs from the same eight initializations (squares) and six further starts placed on its plane
  • 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