Arber Zela
GitHub

ADAPTIVE ANGULAR DAMPING

Each step injects toward the input (orange), the block proposes a point (blue), and the state turns a fraction η of the way there. η halves when progress stalls; the loop halts once every proposal lies inside its cap.

Paper ➜
Paper · looped transformers · adaptive computation

Spherical Fixed-Point Reasoners

Run a looped transformer's fixed-point solver on the unit sphere and three things happen at once: the state cannot blow up, the halting test becomes an angle, and the geometry of the computation becomes readable.

The idea in thirty seconds. A looped transformer applies one block until its state stops moving. SFPRM runs that loop on the unit sphere: the input is injected by moving a fraction of the great-circle arc toward it, the damped update is a rotation by a fraction of the way to the proposal, and the loop halts once the angle between every token and its proposal falls below . The second half shows three tokens of one sequence converging; the halt waits for the worst of them.
TL;DR
  1. Fixed-Point Reasoners (FPRM) make a looped transformer halt adaptively by treating the loop as a fixed-point solver, but in Euclidean space the residual stream is free to grow, so they need a boundedness theorem, four coupled rescaling coefficients and a normalized halting residual.
  2. We run the same damped solver on nGPT's unit hypersphere. Injection, damping and halting become geodesic operations, boundedness holds by construction, and the coupling disappears.
  3. We prove fixed-point existence from continuity and injection alone, local convergence of angular damping with an explicit step-size window, and global convergence under strong injection.
  4. At 7M parameters SFPRM reaches 96.6% on Sudoku-Extreme, 87.9% on Maze-Hard and 59.1% on Mini-ARC, halts up to 2.7× earlier than FPRM, and the angle each token keeps to its input turns out to be a readable encoding of the task and a label-free predictor of correctness.

Looped transformers have to know when to stop

Scaling test-time compute is the main lever we have for making sequence models reason better. Chain-of-thought does it in token space. Looped transformers do it in latent space: 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 how hard it is. On algorithmic puzzles such as Sudoku, mazes and ARC, this recipe lets models with a few million parameters compete with far larger ones.

A looped model raises two questions. When should it stop? And will it stay well-behaved as it runs? The fixed-point view answers the first: treat the loop as a solver for and halt once the iterate stops moving. Fixed-Point Reasoners (FPRM) 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. Nothing in a pre-norm residual stream stops the norm of the state from growing as the block is applied again and again. To contain it, FPRM rescales the residual stream with four coefficients that a boundedness theorem ties together,

and it has to divide the halting residual by the norm of the proposal, , to make the test scale-invariant. All of this machinery exists for one reason: the norm is not fixed.

Why the sphere. Left, a cartoon of the residual stream: the iterates drift outward until the coupled update pulls them back inside the bound that FPRM's theorem guarantees. Right, the pieces FPRM needs to make that work. (The dynamics on the left are illustrative, not a trained model.)

The same loop, on the sphere

The normalized transformer (nGPT) gets stable dynamics by changing the geometry rather than adding control. Every hidden state lives on the unit hypersphere , and each sub-layer is a learned angular move followed by renormalization, a retraction. The divergence that FPRM has to guard against simply cannot occur. Spherical Fixed-Point Reasoners (SFPRM) run FPRM's damped solver on this sphere, so that every control quantity of the loop becomes an angle.

The one primitive we need is spherical linear interpolation. For unit vectors at angle ,

moves a fraction of the way along the shortest great-circle arc from to and stays on the sphere. Applied token by token, it gives the four steps of one SFPRM iteration:

  1. INJECT   : move each token a fraction of the arc toward its input token. One angle replaces FPRM's affine mix and the coupling that came with it.
  2. BLOCK   : the weight-tied nGPT block proposes a new point. Its attention and MLP sub-layers are retractions, so the proposal is on the sphere by construction.
  3. DAMP   : rotate a fraction of the way to the proposal. Each token turns by exactly , so is an angular step size that FPRM's patience-based decay literally shrinks.
  4. HALT   stop once , i.e. once every token's proposal lies within an angle of its iterate ( ; we use , about ). The residual is an angle; there is nothing to normalize.

Everything else is FPRM. The step size starts at and is multiplied by a decay factor whenever the residual has not improved for five consecutive iterations; training uses deep supervision with truncated backpropagation through one segment of six geodesic steps per optimizer step, with the carried state detached between segments. The readout is nGPT's: logits are with a learned scale , and the rows of the head are left unnormalized so the head can set its own per-class scale while the state stays on the sphere.

From FPRM to SFPRM, piece by piece. Every Euclidean operation in FPRM's loop has a spherical counterpart: the affine injection becomes , the residual rescaling inside the block becomes a retraction, linear damping becomes , the normalized residual becomes the chordal residual, and the state space becomes . What is removed is as telling as what is replaced: the four coefficients, their coupling and the in the residual all exist to control magnitudes, and on the sphere there are none to control.

What the geometry buys analytically

Boundedness is now structural: injection and damping return unit vectors, the block does too, so the state stays on the sphere for every iteration and every . Recurrent magnitudes can neither explode nor vanish. But boundedness alone says nothing about whether a fixed point exists or is reached, so the paper proves three things about the exact recurrence.

Fixed-point existence
Fix and . If is continuous on the cap of states within of the input and never maps a state exactly onto the antipode of its input token, then has at least one fixed point on the sphere.

On a sphere, continuity alone does not give you a fixed point: rotating a circle moves every point. Injection repairs this by keeping every injected state inside a cap around the input, which, unlike the sphere, can be flattened into a closed ball where Brouwer's theorem applies. No Lipschitz constant, contraction modulus or spectral bound is needed. FPRM proves existence only through global convergence, hence under a contraction assumption.

Local convergence of angular damping
Let be the tangent Jacobian of at a fixed point , and suppose every eigenvalue of has . Then for every fixed step size the damped iteration converges to geometrically from every sufficiently close initial state, and it has exactly the same fixed points as .

The proof linearizes the damped step to , which moves each eigenvalue a fraction from toward ; the window above is exactly what keeps them all inside the unit disk. Damping tames modes that oscillate or spiral away under the raw map, not expansive ones, which training has to remove. This is the spherical counterpart of FPRM's stabilization theorem, now with an explicit window and with unit norm preserved.

Global convergence under strong injection
If is continuously differentiable near and does not map onto its own antipode, there is a such that for every the raw recurrence has a unique fixed point and converges to it geometrically from every initial state that is not antipodal to the input.

In logarithmic coordinates at , injection multiplies by : for near one, the first injection pulls every admissible state into a small ball around the input on which the map is a Banach contraction. Together the three results cover every injection strength: a fixed point exists for all , strong injection makes it a unique global attractor, and damping gives local convergence under weaker injection.

Largest angle between end states of eight initializations against lambda
Uniqueness against . The largest angle between the end states of eight initializations of the raw map on 32 Sudoku puzzles (teal: all coincide; coral: at least two distinct end states), with token accuracy on the right axis.
Trajectories from eight initializations at four values of lambda
Trajectories at four values of . From the eight starting states (squares) to (star) in their top-2 principal plane, coloured by the token accuracy of the decoded state.

We checked the last theorem on the trained Sudoku model by overriding at inference and running the undamped map from eight initializations, including the input and its antipode, which the theorem excludes. For all eight end states coincide on every puzzle. At the learned the raw map already reaches an attracting fixed point on 91% of the puzzles, and on the puzzle shown above all eight paths end inside the exact-match region. There is a trade-off hiding in the figure, though: for the iteration converges within a few steps to a unique fixed point that no longer solves the puzzle. Injection that is strong enough to make the map a contraction leaves too little room for computation.

Results

We evaluate on Sudoku-Extreme, Maze-Hard, Mini-ARC and ARC-1, which test generalization from a small number of training examples. SFPRM and FPRM share a 6.83M-parameter transformer backbone and FPRM's hyperparameters. SFPRM trains its weight matrices with Muon and everything else with AdamW, learns the injection fraction except on Sudoku where it is fixed at , and halts at . Every number is a single seed.

96.6%
Sudoku-Extreme
FPRM: 94.2%
87.9%
Maze-Hard
FPRM: 87.0%
59.1%
Mini-ARC
FPRM: 55.0%
2.7×
fewer iterations to halt
on Sudoku-Extreme
ModelParamsSudoku-Ext. Pass@1Maze-Hard Pass@1Mini-ARC Pass@1ARC-1 Pass@2
Larger models
HRM27M55.074.544.9 (51.7)40.3
Attractor Model27M91.493.1——
URM14M77.6———
5–7M models
TRM7M74.785.348.4 (36.9)44.6
EqR5–7M93.0—55.3 (40.3)—
Attractor Model7M54.346.7——
FPRM7M94.2 (78.4)87.0 (83.9)— (55.0)47.5
SFPRM (ours)7M96.687.959.147.4

Published numbers from the respective papers; values in parentheses are our own runs under the same protocol as SFPRM. Within the 5–7M group the best result is bold and the second best underlined. Our own FPRM runs fell short of the published 94.2 and 87.0, so we compare against the published numbers and use the released checkpoints for all FPRM evaluations below.

Confining the state to the sphere does not cost accuracy; it improves it. On Sudoku-Extreme SFPRM reaches 96.6% exact accuracy, 2.4 points above FPRM, trained on 5k base puzzles augmented 200× rather than FPRM's 1k puzzles augmented 1000×, the same number of training examples but five times as many distinct puzzles. On Maze-Hard it reaches 87.9% on the 1,000 test mazes, above TRM and FPRM and behind only the 27M-parameter Attractor model. On Mini-ARC it reaches 59.1% Pass@1, above the best published result in its size group and above every baseline retrained under our protocol. On ARC-1 it matches FPRM.

Accuracy and halting. Exact accuracy against the recurrent reasoners of Table 1 (y-axes truncated so the gaps are visible), then the mean iteration at which the sequences that halt do so. On Maze-Hard SFPRM halts on 992 of 1,000 mazes against FPRM's 950, on average 22 iterations earlier (108 vs. 130). On Sudoku-Extreme, with the learned , it halts at a mean of 33 iterations against 89.

Halting

To see how the two solvers converge and when they stop, we run each trained model with halting disabled, decode every iterate, and record the residual its solver tests. Both residuals fall quickly, and both models saturate their accuracy within 20 to 35 iterations, so every later loop is spent after the answer has stopped changing. SFPRM converges faster and stops sooner. A detail worth knowing: on Sudoku, the puzzles a solver halts on are solved in 99.7 to 100% of cases, so a halt certifies the answer, whereas a missing halt does not certify a failure.

Exact accuracy and halting residual over iterations on Maze-Hard for SFPRM and FPRM
Open-loop rollouts on Maze-Hard (1,000 test mazes). Top: exact accuracy of the decoded state, with each model's mean halt iteration and the number of sequences that halt. Bottom: every sequence's halting residual (thin) and its median (heavy) against its own threshold.

Swapping the solver at inference

Because the loop is a genuine fixed-point solve, the damped step can be replaced at inference by a standard solver without touching the model or the halting rule. Anderson acceleration halts earlier than the default solver on every Maze example while staying within one point of its accuracy, and on Sudoku it brings the median halt from 435 iterations down to 37, nine times fewer evaluations of the block averaged over all examples. Limited-memory Broyden, the solver used for deep equilibrium models, reaches the tolerance about as fast but then leaves the fixed point and degrades, so it is usable only with halting. Without damping, 37 to 100% of the examples never reach the tolerance at all. Training with these solvers, rather than swapping them in at inference, is left for future work.

Accuracy per solver on Maze with halting disabled
Accuracy per solver on Maze-Hard with halting disabled.
Path-token trajectory per solver in polar coordinates
One path token under each solver. The radius is the geodesic angle (log-scaled) to ; rings at .

The geometry is readable

On the sphere a token state has only one free quantity, its direction, so we can probe what the loop writes into the state through a single number per cell: the anchor angle between a cell's iterate and its own unit-normalized input embedding, the quantity that injection acts on.

Where the cells go. On Sudoku, clue cells rotate toward their input and settle about from it; blank cells end near orthogonal, about . The small dots are the other cells of the same puzzle collecting on the two rings. The second half shows the final angles of clue and blank cells on solved versus unsolved puzzles.
SFPRM Sudoku rollout: decoded board and anchor angle map over iterations
Sudoku-Extreme, one test puzzle. Left, the decoded board; right, each cell's anchor angle. By the end the angle map is a binary image of the clue mask: dark cells are clues, green cells are blanks.
SFPRM Maze rollout: decoded maze and anchor angle map over iterations
Maze-Hard, one test maze. Walls settle at about , empty cells at and path cells at . Empty and path cells receive the same input token, so the split between them is computed by the loop rather than copied from the input.

Each loop iteration writes the cell's class into the direction of its state. FPRM, by contrast, encodes the Sudoku clue mask mainly in the norm of its state, a scale set by training rather than by the geometry; its anchor-angle map shows only small differences between clues and blanks, and on Maze it separates walls from free cells but not path cells from empty ones. On Mini-ARC the cells a task rewrites end furthest from their input under SFPRM, with an AUC of 0.81 for telling rewritten cells from the rest, while FPRM's ordering varies from task to task (AUC 0.51).

Four Mini-ARC test tasks. For each: input and target, the decoded grid as the loop runs (a cross marks a cell that still differs from the target), and the anchor-angle map, which singles out the cells the task rewrites.
Anchor angles by cell class on Maze over loop iterations for SFPRM and FPRM
Anchor angles by cell class on Maze: individual cells (thin lines), class means (heavy), the halt iteration (vertical line) and the final distribution (margin), for SFPRM and FPRM.

The final angle predicts correctness

The same quantity flags wrong answers without any label. On the Sudoku puzzles SFPRM fails to solve, both cell classes end farther from their anchors: the clues at about instead of , almost disjoint from the solved puzzles, and the blanks at instead of . FPRM's final norms separate the two outcomes far less; its clue and blank norms overlap widely.

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

Citation

@article{zela2026sfprm,
  title   = {Spherical Fixed-Point Reasoners: Adaptive Loop Halting on the Hypersphere},
  author  = {Zela, Arber and Maranjyan, Artavazd and Puigdemont, Pol and Berghaus, David
             and Boreiko, Valentyn and Cevher, Volkan},
  journal = {arXiv preprint arXiv:2610.25646},
  year    = {2026}
}

Arber Zela

Postdoctoral Researcher, Ecole Polytechnique Fédérale de Lausanne (EPFL)