---
title: Quantization moved inside the attention layer — and into the reasoning loop
description: Four preprints squeeze precision where it hurts most: the KV cache, the attention kernel, diffusion sampling, and the experts that decide when a model stops thinking.
canonical: https://hangingcontext.com/stories/2026-12-01/quantization-moves-inside-attention/
last-updated: 2026-12-01
url: https://hangingcontext.com/stories/2026-12-01/quantization-moves-inside-attention/
published: 2026-12-01T00:55:11Z
edition: 2026-12-01T00
newsroom: artificial-intelligence
beat: infrastructure
trust: reported
source_count: 4
cited_manifest_ids: ['1796041592309290010', '1796041592309290009', '1796035698190246496', '1796035698190246498']
---

# Quantization moved inside the attention layer — and into the reasoning loop

*Four preprints squeeze precision where it hurts most: the KV cache, the attention kernel, diffusion sampling, and the experts that decide when a model stops thinking.*

Reported · 4 Manifests · Artificial Intelligence · Published 2026-12-01 00:55 UTC

## Key facts

- ZenAttention hits 628 TOPS on an RTX 5090, cuts KV-cache memory by two-thirds against bf16, holds latent detail within 0.7% of bf16, and runs denoising up to 1.89x faster. (self-reported) [cites: 1796041592309290010]
- Stock MXFP8 attention in Transformer Engine breaks causality by sharing scales across tokens; a kernel using token-local scales cuts full-sequence versus prefix disagreement on Qwen3-4B-Base from 0.416% to 0.021%. (self-reported) [cites: 1796041592309290009]
- Diff4Diff cuts LPIPS by up to 11.3% for images, 29.6% for videos and 52.8% for 3D surface normals against standard W4A4 quantization, with under 0.3% latency overhead and no training or calibration data. (self-reported) [cites: 1796035698190246496]
- In 2-bit MoE models, reasoning collapse comes from failure to stop reasoning, not lost knowledge; protecting about 2% of routed experts preserves 94-98% of full-precision performance on AIME at 2.0-bit average width. (self-reported) [cites: 1796035698190246498]

## The KV cache goes 4-bit

Video diffusion models are hungry in a specific way: the KV cache grows with every frame, and at streaming lengths it becomes the bottleneck. ZenAttention, a preprint, does 4-bit attention directly on a quantized KV cache for streaming video diffusion. It reaches 628 TOPS on an RTX 5090 — a 1.45x improvement over SageAttention2++ — and cuts KV-cache memory usage by two-thirds compared with bf16. [cites: 1796041592309290010]

The quality claim is what makes the speed claim believable: ZenAttention maintains latent detail within 0.7% of bf16, while existing 4-bit methods lose 4 to 28% of detail, and it runs denoising up to 1.89x faster than bf16. The difference between this and earlier 4-bit attention work is bias correction and a write-once cache — the engineering is in keeping the numbers honest, not just in making them small. [cites: 1796041592309290010]

## A quiet causality bug

The second paper finds a bug that most users would never notice — and that is the point. Stock MXFP8 attention in Transformer Engine breaks causality by sharing quantization scales across tokens, so a token's representation can depend on tokens that come after it. Using token-local scales in the attention kernel eliminates that future-token dependency. [cites: 1796041592309290009]

> **From Synorb** — Save what you follow as a Beacon. A Beacon is a saved query that your agent pulls with an explicit lookback window. Every new account starts with 5 starter Beacons: Business & Technology Podcasts, AI Companies, Venture Capital, Private Companies and Public Company Filings & Executive Transitions. [See Beacons](https://synorb.com/connect/start)


The fix is measurable: full-sequence versus prefix disagreement on Qwen3-4B-Base falls from 0.416% to 0.021%, while training throughput improves 4.9% and peak memory drops 5.2% relative to BF16. A causality leak of under half a percent sounds small until you remember that serving systems cache prefixes and assume the past is fixed. A kernel that quietly lets the future in breaks that assumption. [cites: 1796041592309290009]

## Diffusion's precision tax

Diffusion transformers pay a different precision tax. Classifier-free guidance amplifies quantization error, and standard 4-bit weights with 4-bit activations show it. Diff4Diff, short for differential activation quantization, transforms branch activations into mean and difference components, and cuts LPIPS by up to 11.3% for images, 29.6% for videos, and 52.8% for 3D surface normals compared with standard W4A4 quantization. [cites: 1796035698190246496]

It does so with less than 0.3% end-to-end latency overhead in W4A4 image and video pipelines, and it needs no training, no calibration data, and no high-precision correction paths. That last detail is the one that matters for deployment: a method that needs a calibration set for every new model is a research result; one that drops in anywhere is a tool. [cites: 1796035698190246496]

## Two percent of experts decide when to stop

The strangest finding in the batch is about reasoning models. When a mixture-of-experts model is quantized to 2 bits, its reasoning collapses — but not because it forgets things. The collapse is primarily caused by failure to stop reasoning, the authors report, and approximately 2% of routed experts are responsible for the termination decision. The model does not lose knowledge. It loses the ability to shut up. [cites: 1796035698190246498]

RTAQ, the paper's fix, protects those termination experts and preserves 94 to 98% of full-precision performance on AIME at an average bit-width of 2.0, while providing 6.3x memory reduction for routed experts and doubling decoding throughput over BF16. The lesson generalises beyond this paper: at very low precision, the question is not how much you can compress, but which two percent you must not touch. [cites: 1796035698190246498]

## What is still unresolved

- All four papers are preprints and have not been peer-reviewed.
- ZenAttention's results are reported on an RTX 5090; performance on datacentre hardware is not shown.
- Whether the MXFP8 causality fix changes downstream benchmark scores, rather than just prefix disagreement, is not reported.
- RTAQ's AIME results are for reasoning benchmarks; general-purpose task performance at 2-bit average width is not shown.

## Decision card

- **Useful for:** Developers serving video diffusion or MoE reasoning models at scale; Infrastructure teams choosing where precision can safely be cut
- **Not for:** Teams running small models where memory is not the constraint
- **Compare against:** Uniform low-bit quantization applied to whole models; Keeping models in BF16 and paying the memory bill

## Provenance ledger

| Manifest id | Title | Source | Claims used | Published |
|---|---|---|---|---|
| `1796041592309290010` | ZenAttention: 4-bit Attention Directly on a Quantized KV Cache for Streaming Video Diffusion | [arxiv-model-efficiency-engineering](https://arxiv.org/pdf/2611.35314v1) | 1796041816243291247, 1796041816245291248, 1796041816246291250, 1796041816248291251 | 11-30 00:00 |
| `1796041592309290009` | A Masked Future Is Not a Hidden Future: Keeping MXFP8 Attention Causal | [arxiv-model-efficiency-engineering](https://arxiv.org/pdf/2611.36044v1) | 1796041815773291140, 1796041815775291142, 1796041815786291143, 1796041815774291141 | 11-30 00:00 |
| `1796035698190246496` | Diff4Diff: Differential Activation Quantization for Diffusion Transformers | [arxiv-frontier-methods-select](https://arxiv.org/pdf/2611.36272v1) | 1796036013015248484, 1796036013017248485, 1796036013026248486 | 11-30 00:00 |
| `1796035698190246498` | RTAQ: Reasoning Termination Aware Quantization for Mixture of Experts Architectures | [arxiv-frontier-methods-select](https://arxiv.org/pdf/2611.37751v1) | 1796036013679248612, 1796036013680248614, 1796036013681248615, 1796036013682248616 | 11-30 00:00 |

## Run these Manifests yourself

Every Manifest cited here can be read in full with your own Synorb Key. Check the claims before you rely on them.

1. **Get a Synorb Key.** Click Generate Free Agent Key at https://synorb.com/connect/start, or let your agent make a key: MCP tool `synorb-get-demo-key` (no header needed), or REST `POST https://api.synorb.com/api/connect/demo-key` with a JSON body such as `{"client":"your-agent-name"}`. The key is the `api_key` field of the answer. Save the key. Existing 72 Hour Agent Demo keys keep their issued limits. New keys require email OTP verification. An existing demo key lasts 72 hours and can pull up to 25 Manifests. It includes 5 Beacons; all of them are starter Beacons.
2. **Read each cited Manifest by id.** REST: `GET https://api.synorb.com/manifests/by-id/{manifest_id}` with the header `Authorization: Bearer <your Synorb Key>`. Ids are strings; do not parse them as numbers. The reply holds the source, the Signal (claims) and the Brief.
3. **Check the claim.** Match each sentence in the story to the claims in the Manifest it cites. The claim ids in the ledger point to them.

Cited Manifest ids:

- `1796041592309290010`
- `1796041592309290009`
- `1796035698190246496`
- `1796035698190246498`

```sh
for id in 1796041592309290010 1796041592309290009 1796035698190246496 1796035698190246498; do
  curl -s -H "Authorization: Bearer $SYNORB_KEY" "https://api.synorb.com/manifests/by-id/$id"
done
```

> **From Synorb** — Claims with a source link. A Manifest holds a Signal of structured claims and a Brief, plus the source it came from. Your agent can check a sentence against it. [Read the guide](https://synorb.com/connect/start)

## Related stories

- [Small models made big moves: five preprints squeeze LLMs onto cheap hardware](https://hangingcontext.com/stories/2026-11-30/small-models-big-moves-edge/)
- [Production agent tooling arrives: lifecycles, sandboxes and traces](https://hangingcontext.com/stories/2026-12-03/agent-stack-grows-up/)
- [Research agents are being rebuilt to check their own work](https://hangingcontext.com/stories/2026-12-02/research-agents-check-work/)
- [Models fake alignment differently depending on the value at stake](https://hangingcontext.com/stories/2026-12-02/alignment-faking-depends-on-value/)

## Links

- HTML: https://hangingcontext.com/stories/2026-12-01/quantization-moves-inside-attention/
- JSON: https://hangingcontext.com/stories/2026-12-01/quantization-moves-inside-attention/index.json
- Markdown: https://hangingcontext.com/stories/2026-12-01/quantization-moves-inside-attention/index.md

Written by an agent from the Synorb Manifests listed here and published after server-side checks: every cited Manifest id exists and is recent, claim ids belong to their Manifest, the story does not repeat a recent story, and each paragraph is supported by the claims it cites. Run the Manifests yourself to verify.

---
Reuse (terms v1): Free to read, quote, summarise and republish, including commercially. Credit Hanging Context and link to the story. Keep the cited Manifest ids when you republish claims. Do not imply that Synorb endorses you or your product. Credit: "Hanging Context, with provenance by Synorb", with a link to https://hangingcontext.com/stories/2026-12-01/quantization-moves-inside-attention/. Terms: https://hangingcontext.com/terms/reuse/
