Transformers in 2026

The transformer of 2026 still looks like the one from 2017 from far away. Up close, ten things changed. Each page shows the problem, the idea and the trade-off.

  1. 01Hybrid attention formsMost layers mix tokens with a cheap fixed-size state; only a few layers keep full attention.
  2. 02Sparse and compressed attentionEach query looks at a small, chosen part of the context, or at a compressed summary of it, instead of at every token.
  3. 03Looped transformersRun the same block several times, so depth becomes a knob you turn at inference rather than a fixed number of parameters.
  4. 04N-gram memory tablesRecent tokens index a large lookup table; the retrieved vectors are added to the model, giving cheap memory without extra compute.
  5. 05Ultra-sparse MoE and LatentMoEMany more experts with only a handful active per token; LatentMoE routes in a smaller latent space to cut the cost of moving tokens between experts.
  6. 06Reworked residual connectionsThe single residual stream (x + f(x)) is replaced by learned, wider or multi-stream mixing between layers.
  7. 07Causal encoder-decoderThe DeepSeek V4.1 Flash layout: one part of the network reads the context, another generates, and both stay causal so caching still works.
  8. 08Multi-token prediction (MTP)Train the model to predict several future tokens at once; at inference the extra predictions become drafts that can be accepted for free.
  9. 09Native FP4Train and serve in 4-bit floating point from the start, with per-block scales, instead of quantizing a 16-bit model afterwards.
  10. 10Native multimodalityText, images, audio and video are tokens in one model trained together from the start, not separate encoders attached later.

Watch

VideoAll ten changes in one walkthrough