Jeonghyeon Kim

Modern architectures

What changes when context gets expensive?

A new attention name can describe a different storage layout, a different set of visible entries, or a faster way to execute the same mathematics. Compare the design choice before comparing the headline.

Read the full explanation →

The article

04

Why modern attention has so many names

Separate head sharing, position, compressed memory, sparse selection, and GPU execution. Then read DeepSeek’s recent designs with those distinctions in mind.

13 min readEquations and code

Related reading

02

Inside attention, one tensor at a time

Follow a complete decoder through Q, K, V, rotary positions, grouped-query attention, residual connections, and next-token logits. Every shape has a job.

22 min readEquations and code
03

KV cache: what can a model safely reuse?

Derive why old keys and values remain valid, inspect what each layer stores, and prove that cached decoding agrees with a full forward pass.

14 min readEquations and code