{"query":"attention","count":20,"results":[{"kind":"articles","slug":"ax-k2","title":"A.X-K2: a sparse-attention upgrade that costs nothing, trained natively in FP8","url":"https://ai.satyajit.si/articles/ax-k2","field":"Sparse Gated Attention","snippet":"Start from what A.X-K1 already had: Multi-head Latent Attention (MLA) with a head-specific output gate — a learned, input-dependent gate applied to the attention output before the projection, present in every layer throughout pretraining, n","score":3.052191131448406},{"kind":"articles","slug":"full-attention-census","title":"Full attention in open LLMs: a 180-config recount of the chart that says it is gone","url":"https://ai.satyajit.si/articles/full-attention-census","field":"condensed from the census script; one branch per config dialect","snippet":"if t.get(\"layer types\"): Gemma, gpt-oss, OLMo, Qwen3.5, Mellum, ... codes = [{\"full attention\": \"F\", \"sliding attention\": \"S\", \"linear attention\": \"L\", \"conv\": \"C\", \"deepseek sparse attention\": \"P\"}[x] for x in t[\"layer types\"]] elif t.get(","score":3.029847002990504},{"kind":"architectures","slug":"transformer","title":"The Transformer, from first principles","url":"https://ai.satyajit.si/architectures/transformer","field":"Inference and the KV cache","snippet":"Shrinking that cache is what most attention variants since are about. Multi-query attention shares one key and value head across all the query heads, grouped-query attention shares a few, and multi-head latent attention caches one compresse","score":3.0241370237096055},{"kind":"architectures","slug":"sparse-attention-indexer","title":"Index-selected sparse attention: a cheap scorer decides what the real attention reads","url":"https://ai.satyajit.si/architectures/sparse-attention-indexer","field":"body","snippet":"The chart that went round in late 2026 said full attention had disappeared from new open models. The full-attention census reread every config behind it and found something narrower. Of the eleven \"no full attention\" releases in the last wi","score":3.021246835701347},{"kind":"articles","slug":"sol-attn","title":"Sol-Attn: deciding which attention blocks to skip while you're already streaming them","url":"https://ai.satyajit.si/articles/sol-attn","field":"body","snippet":"Video generation has an attention problem that language models mostly don't. A few seconds of video at a useful resolution is a very long token sequence, attention is quadratic in it, and diffusion runs the whole stack dozens of times per c","score":3.004430189417133},{"kind":"architectures","slug":"mamba-ssm","title":"Mamba and selective state spaces, from first principles","url":"https://ai.satyajit.si/architectures/mamba-ssm","field":"Why hybrids keep some attention","snippet":"A few attention layers fix most of it. In the Mamba-2 paper's 48-layer, 350M model, perplexity is 8.60 with no attention, 8.26 with 6 attention layers and 8.68 for the Transformer++ baseline; about 10% attention was best. At 2.7B, 58 SSD la","score":2.9995241457957276},{"kind":"articles","slug":"hydrahead","title":"HydraHead: hybrid attention at the head, not the layer","url":"https://ai.satyajit.si/articles/hydrahead","field":"body","snippet":"So the field mixes them — hybrid attention . Almost everyone does it per layer : interleave whole full-attention (FA) layers with whole linear-attention layers at some fixed ratio (3:1, 7:1), sometimes searched with NAS (as in GLM-5). Hydra","score":2.992872555492126},{"kind":"articles","slug":"attention-mechanisms","title":"A field guide to attention mechanisms","url":"https://ai.satyajit.si/articles/attention-mechanisms","field":"A quality move, not an efficiency one: differential attention","snippet":"Not every variant is about cost. Differential attention (Microsoft, 2024) targets a quality failure: softmax spends attention mass on irrelevant tokens because the weights are forced to sum to 1 — the same pressure that creates attention si","score":2.9728020605464103},{"kind":"articles","slug":"minimax-sparse-attention","title":"MiniMax Sparse Attention: let each query pick its own blocks","url":"https://ai.satyajit.si/articles/minimax-sparse-attention","field":"body","snippet":"The thing that makes long context expensive is that, under full attention, every query token reads every past token . The KV cache that stores those keys and values grows linearly with sequence length, and the attention itself scales with i","score":2.965815118984528},{"kind":"articles","slug":"linear-attention-state-roundup","title":"Linear attention's memory problem: four answers in one week","url":"https://ai.satyajit.si/articles/linear-attention-state-roundup","field":"body","snippet":"Softmax attention keeps every key and value it has seen. Linear attention keeps one matrix. Everything in between is an argument about what that matrix should be. In the first week of October 2026 four answers to that question landed in my ","score":2.95831451716803},{"kind":"articles","slug":"naive-n05-flash","title":"Naive-N0.5-Flash: no full-attention layers, and a runtime built by AI","url":"https://ai.satyajit.si/articles/naive-n05-flash","field":"What \"no full-attention layers\" means","snippet":"…leton and removes the one expensive part. The in the config is a 48-entry list of ones and zeros. A is a Sliding-Window Attention layer; a is a DeepSeek Sparse Attention layer. There is no . Counting the list: 39 ones and 9 zeros (measured)","score":2.954918758912827},{"kind":"articles","slug":"vllm","title":"vLLM: what PagedAttention turned into","url":"https://ai.satyajit.si/articles/vllm","field":"Six of the attention backends are not attention","snippet":"…shape is the whole argument. There are 23 files in , and among them are , , , , and an directory. None of those compute attention. They are gated delta networks, linear attention, two generations of Mamba, short convolutions, and latent-KV ","score":2.95465609403099},{"kind":"architectures","slug":"gated-deltanet-hybrid","title":"Gated DeltaNet hybrids: a fixed memory on three layers in four","url":"https://ai.satyajit.si/architectures/gated-deltanet-hybrid","field":"body","snippet":"…ist reads like a drum pattern: three , one , repeated. Qwen3.8-27B has 64 layers, 48 of them Gated DeltaNet and 16 full attention. KLM 1.6, a 99M-parameter base model, puts attention at layers 3, 7, 11, 15, 19 and 23 and Gated DeltaNet-2 ev","score":2.949566205670919},{"kind":"articles","slug":"instella-moe","title":"Instella-MoE: a 16B MoE that never touches an NVIDIA GPU","url":"https://ai.satyajit.si/articles/instella-moe","field":"Gated MLA: a per-token filter on attention","snippet":"Standard Multi-head Latent Attention compresses the KV cache into a small latent vector, then reconstructs keys and values from it — cheap to store, same attention math otherwise. Gated MLA adds one more piece: after attention produces its ","score":2.9468006584706727},{"kind":"architectures","slug":"kimi-k3","title":"Kimi K3's hybrid block, from first principles","url":"https://ai.satyajit.si/architectures/kimi-k3","field":"Attention Residuals: attention over depth","snippet":"…: The report calls that a bottleneck \"reminiscent of RNNs over time\": all prior layers compressed into one running sum. Attention Residuals apply the move the Transformer made along the sequence to depth. Each layer owns a learned pseudo-qu","score":2.9461054398441817},{"kind":"articles","slug":"solar-open2-250b","title":"Solar Open 2: Upstage's 250B-A15B hybrid-attention MoE","url":"https://ai.satyajit.si/articles/solar-open2-250b","field":"The hybrid attention stack","snippet":"…at 4× is the margin that turns a 1M-token window from \"possible on a rack\" into \"fits alongside the weights.\" If linear attention is new to you, I built the mechanism up in how transformers attention works and the sparse-attention variants ","score":2.9270117779526266},{"kind":"articles","slug":"sparda","title":"SparDA: a fourth projection that lets sparse attention prefetch its own KV cache","url":"https://ai.satyajit.si/articles/sparda","field":"Three speedups, three different baselines","snippet":"That's the mechanism the attention-time breakdown above shows directly: on MiniCPM4.1-8B at batch 4, per-layer attention time splits into block-selection (green) and block-sparse-attention (blue). In prefill, selection grows with sequence l","score":2.9203714508866607},{"kind":"articles","slug":"glm-5-3-flash","title":"GLM-5.3-Flash: 45 layers, 11 of them expensive","url":"https://ai.satyajit.si/articles/glm-5-3-flash","field":"The stack","snippet":"The announcement says \"linear attention\" and \"sparse attention\" without naming either, but vLLM's recipe does, and the names matter. The linear layers are KDA — Kimi Delta Attention, the gated delta-rule recurrence from the Kimi line — and ","score":2.9149142064023312},{"kind":"articles","slug":"kvzip-kv-compression","title":"KVzip: compress the KV cache once, by scoring it with the model's own reread","url":"https://ai.satyajit.si/articles/kvzip-kv-compression","field":"Attention Matching keeps none of the real pairs","snippet":"KVzip keeps a subset of the cached pairs exactly as they were. Fast KV Compaction via Attention Matching (Adam Zweiger, Xinghong Fu, Han Guo and Yoon Kim; arXiv 2602.16284, code, MIT) keeps none of them unchanged. It builds a shorter cache ","score":2.9111938009486766},{"kind":"articles","slug":"whistle-stt","title":"Cactus Whistle: speech-to-text in 16.9 MB, and a FLEURS bar the Whisper paper doesn't support","url":"https://ai.satyajit.si/articles/whistle-stt","field":"Gated cross-attention, and eight gates that are wide open","snippet":"…out 3 × 10⁻¹⁰ (measured values, reasoned arithmetic). At inference the scalar gate does nothing: Whistle's \"gated cross attention\" is plain cross-attention, the gate having earned its keep in training and saturated. The decoder's self-atten","score":2.9103341141359835}]}