A model is a hierarchy of nested optimization problems.
Nested Learning reads every component of a model — memory, projections, momentum, pre-training — as its own optimization problem running at its own frequency. HOPE applies it: a self-modifying Titans memory paired with a continuum memory system, where Level 1 keeps updating after training ends.
Associative memory, all the way down.
Definition 1 frames memory as a mapping learned by minimising an objective — keys to values. Everything else in the model turns out to be the same shape at a different frequency.
Update frequency is the hierarchy.
A higher level is a lower frequency: A ≻ B means fA > fB. Four levels, each with its own gradient flow and its own context.
Transformer against HOPE.
Static after pre-training — CMS with k = 1.
- Static projections, frozen at inference
- Feed-forward network frozen at inference
- Cannot form new long-term memories
Self-modifying Titans memory plus a continuum memory system.
- Memory stays active at inference
- Delta rule (Eq. 28–29) accounts for token dependencies
- Online learning at test time
A stack of MLPs, each on its own clock.
Gradient descent with momentum is a two-level nested optimization.
Read the momentum term as a key-less associative memory compressing gradients, and the familiar update rule separates into an inner and an outer problem.
More expressive objectives
L2 regression in place of dot-product gives the delta rule (Eq. 21–22).
More expressive memory
Replace linear momentum with an MLP — deep momentum GD (Eq. 23).
Non-linear outputs
σ(·) = Newton-Schulz yields the Muon optimizer (Eq. 24).
Better backprop
An L2 objective accounts for token dependencies (Eq. 28–29).
From §2.3: Adam with a small modification is the optimal associative memory for a model’s gradients.
What moves, and when.
Training — every level moves
Inference — only Level 1 moves
Key equations.
Interested in test-time learning for your stack?
We can talk through where a continuously-updating memory helps, and what it costs to serve.