Olala, taken apart
Twelve interactive figures on the architecture of Olala-v1.0-mini-7A1B, a hybrid Mamba-3 and attention mixture-of-experts language model. Each concept is drawn in the dimension that suits it: flat where the idea is a curve or a wiring diagram, layered where it is a stack, solid where it is a sphere.
Companion article: Inside Olala: a hybrid Mamba-3 and attention model, taken apart
The whole model
The report’s overview figure, redrawn so that it can be opened. The network runs bottom to top on the left; the frame on the right shows the inside of whichever block is selected. A wiring diagram, so it is flat.
The backbone
Thirty-six layers, counted from the bottom: 29 Mamba-3 mixers, 7 attention mixers at every fifth position, and a mixture-of-experts block after each. Drawn as a tower because depth is a real axis of the model, and because several of the report’s measurements are per layer and are easiest to read at the height of the layer they describe.
Where should the attention layers sit? At benchmark scale the report tries nine orderings. This one is flat: a strip per ordering and a dot per result.
Two kinds of memory
Attention keeps every key and value it has seen. A linear mixer folds them all into one matrix of fixed size. Write the same pairs to both and read them back: the difference between the two curves is the reason the model is a hybrid.
The attention layer
Four fixes are stacked inside each of the seven attention layers. Each one answers a specific, documented flaw of softmax attention, and each is a statement about one function, so each is drawn flat, except the cache.
Length. A fixed logit gap buys less attention as the window grows. Scalable Softmax multiplies the logits by $s \log n$.
Noise and sinks. Two attention maps are computed and one is subtracted from the other, which cancels whatever they share.
Attending to nothing. An output gate that starts as the identity in expectation and can still close completely.
The cache. Keys and values are stored as a few pairs of short vectors and rebuilt by outer products. This one is layered: the object is a stack of rank-one sheets above the tensor they sum to.
The feed-forward block
Each token is routed to 6 of 256 small experts that work in a 384-dimensional copy of the stream, plus one shared expert. Drawn as a floor plan with the selected experts rising out of it, so that sparsity is seen and not counted.
Writing on a sphere
The residual stream of Olala lives on a hypersphere. Start with the wiring, which is flat, and the one quantity that separates the three schemes: the angle of each write.
Then the geometry, which is not flat. A sphere, a tangent plane and a geodesic need a solid: the hard projection leaves the surface and is pulled back, the geodesic update never leaves it.
A silent failure
Three Mamba-3 layers degenerated during training without any sign in the loss. The report reconstructs the mechanism from four ingredients, each a function with a kink in it.