Ask what should change when the equation is manipulated, then let the visualization test that expectation.
Foundation Lab
Infinite Context Architectures
Turns entire repos/books into "single prompt" territory
M_{t+1} = \text{Update}(M_t, K_t, V_t)Selected Foundation Object
Keep the equation fixed; move through the evidence.
Compressive: old context summarized into memory state
M_{t+1} = \text{Update}(M_t, K_t, V_t)Use the runnable panel, the key equation, and canonical papers as separate forms of evidence for the same object.
The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.
Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.
Why It Matters for Modern Models
- Turns entire repos/books into "single prompt" territory
- Streaming: process unbounded sequences with fixed memory
- 1M+ tokens: Gemini 1.5, LongRoPE, Ring Attention
What Tutorials Skip
What is still poorly explained in textbooks and papers:
- Compressive: old context summarized into memory state
- Ring: sequence chunks processed in ring topology across GPUs
- Hybrid: combine attention with SSM-style recurrence
Interactive Visualization
Core Math (Optional Deep Dive)
If you want intuition first, start with the key equation and the visualization. Come back here for the full walkthrough.
Compressive memory for bounded cost:
Infini-attention: Maintain memory updated online, cost bounded w.r.t. .
Ring Attention: Distribute long sequences across devices via blockwise ring communication.