DeepSeek's CED applies YOCO-style shared KV caching only to global CSA2 branches
stochasticchasm · x · 2026-09-11
- In DeepSeek's CED, the YOCO-like trick is applied only to the global branch of each CSA2 layer, uniquely per layer.
- Each decoder CSA2 layer has a global branch plus a local sliding-window branch: the SWA branch is computed from current-layer hidden states, while the global branch's KV cache is just a linear projection of encoder hidden states — so no work is needed at prefill, and decode KVs come from a quick linear projection.
- YOCO itself is simple: the first half computes normally, hidden states are projected once more to K/Vs, and that single KV cache is shared across every layer in the second half.
Related event: Inside KV-Cache Sharing: How DeepSeek CED and GLM 5.2 Differ(4 posts)→
More from Research
- World models vs LLMs: why next-token prediction still lacks internal representations — TheTuringPost · 2026-09-11
- ECDSA.fail challenge paper on arXiv: AI agents optimize quantum circuits for Bitcoin's secp256k1 — jedisct1 · 2026-09-11
- Blogger reflects on AI4math advances: a grim future he can't rule out — nanjiang_cs · 2026-09-11
- Pinokio creator on digital provenance: hashes fail, judging 'sameness' is a social problem — cocktailpeanut · 2026-09-11
- Trail of Bits open-sources trailmix, quantum EC-add circuits beat Google's ECC whitepaper scores — jedisct1 · 2026-09-11
- Artificial Analysis isn't broken: self-funded benchmarks, $13k spent on one model — Antblue · 2026-09-11