The Transformer architecture's self-attention mechanism scales O(n²) in memory with sequence length. This quadratic scaling IS the KV cache problem — it is why long-context inference is expensive, why reasoning models generate huge memory footprints, and why HBM is the bottleneck. State-space models (Mamba, RWKV) and linear attention variants offer O(n) memory scaling — linear instead of quadratic. If these architectures close the quality gap with Transformers at scale, they would obsolete the entire KV cache optimization stack AND reduce HBM requirements per inference pass. Hybrid architectures (some attention layers + some state-space layers) are showing promising results, getting Transformer-quality reasoning where it matters and linear scaling everywhere else. This is the most likely path to adoption — not a wholesale replacement but a gradual blend. This is the wildcard in the AI infrastructure thesis. If SSMs win at scale, the HBM and KV cache compression calls partially unwind. If they don't, the memory wall thesis gets stronger. Either way, this is worth tracking closely.
Sources rebuilt primary-first (catalogue II item 69): 3 primary, 0 secondary kept.
source: docs/plans/markets-work-catalogue-2026-09-07.md
