Zhaozhao

Notes on machine intelligence

I work on inference systems and evaluation for large models. These are working notes — things I want to remember, written down carefully.

Sparse attention is not a free lunch

18 November 2026 · 9 min read

Block-sparse and sliding-window attention cut KV cache dramatically on paper. In practice the savings are smaller, the quality cost is uneven, and the kernel is the hard part.

The quiet cost of long context

29 October 2026 · 8 min read

A million-token window is a capability claim and a latency bill at the same time. Where the cost actually lands, and why prefill dominates before decode ever starts.

Speculative decoding in production

15 September 2026 · 7 min read

Acceptance rate is the only number that matters, and it collapses under batching. A field report on when the draft model earns its keep.

Retrieval is a compression problem

22 August 2026 · 8 min read

Every retrieval pipeline is deciding what to throw away. Framing RAG as lossy compression explains most of its failure modes better than framing it as search.

Scaling laws after Chinchilla

30 July 2026 · 10 min read

The compute-optimal recipe assumed unlimited data. Once data runs out and inference dominates the bill, the useful frontier looks quite different.