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
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 V5
Schematic: a value vector rotated across a sphere by the orthogonal Cayley transport in non-Abelian gauge attention. The prototype is unit-tested at small scale, and no training run is recorded.
- Value vector
- a value at an earlier position, before transport
- Cayley transport
- orthogonal, so the value keeps its norm
- Skew generator
- built per token from its key and value
- Rotated value
- carried to the query position, then mixed by softmax
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