OPENMAIC / OCTOBER 21, 2026
Three ways to
spend less work.
Open the lessons → · All foundations →
What these lessons teach
- KV caching: append invariance, prefill versus decode, payload accounting, grouped queries, prefix sharing, paging and approximation.
- Mixture of experts: learned routing, selected-weight normalization, active versus total parameters, dispatch, load imbalance and shared experts.
- Speculative decoding: causal verification, prefix acceptance, rejection correction, expected useful tokens, cost modeling and implementation checks.
Each topic has seven sections at both levels, complete locally generated narration, worked solutions and level-specific checkpoints. The three learning modes retain the section, notes, predictions and experiments. Study time is estimated at 25–40 minutes per path including activities, not measured learner time.
Evidence boundaries
The experiments compute transparent teaching examples. They do not load a language model or predict a particular device’s latency. The cache formula excludes weights and overhead. The router uses a stated toy normalization. The speculative speed model assumes constant independent acceptance; its probability-correction example is separate. Benchmarks and physical-device or exhaustive listening certification are outside this verification.
Sources reviewed
- https://arxiv.org/abs/1701.06538
- https://arxiv.org/abs/2101.03961
- https://arxiv.org/abs/2211.17192
- https://arxiv.org/abs/2302.01318
- https://arxiv.org/abs/2305.13245
- https://arxiv.org/abs/2309.06180
- https://arxiv.org/abs/2401.06066
- https://huggingface.co/docs/transformers/main/en/cache_explanation
- https://huggingface.co/docs/transformers/main/en/generation_strategies
Verification record
Numerical, browser, narration and deployment receipts are retained with the build package. The final summary is available in the verification receipt. Existing lessons and narration are preserved; navigation additions have backups. Public domain unchanged.