Skip to content
SimulatorLanguage models

A state that turns instead of growing

A state of length 1 is updated again and again by the same small step, in two ways. Switch between rotating it and adding to it, and watch its length.

  • the circle: every state of length 1
Length of the state at the end
1.000
Drift from length 1
0.0%
Turned in all
248°
Updates
24
How the state is updated

Switch between the two methods with the same step size. Adding the step leaves the circle; rotating cannot.

What the simulator does

  • Rotating multiplies the state by a rotation: its length is 1 after every update, to the last digit.
  • Adding takes the same step along the tangent: the length grows by the same factor at every update, so the state spirals away from the circle.
  • The larger the update and the more of them, the faster the added state drifts. The rotated one never does.

In Verace V2

Schematic: a point moving across a curved space, standing for how Verace V2 scores attention by geodesic distance and moves weight rows with the exponential map. The model is a prototype with no training run recorded.

Poincaré ball
The curved space for queries, keys and weight rows
Exponential map at the origin
Maps queries and keys onto the ball
Geodesic distance
Its negative scores each query-key pair
Riemannian gradient
Gradient rescaled by the conformal factor

What this is not

This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.

Read the write-up