ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial2 min readDisconfirmAI Editorial

Why 4-bit AI loses precision and how Trainium4's trellis coding recovers nearly all of it

Amazon's Ron Diamant explains that standard 4-bit quantization wastes bits because its grid shape does not match the actual distribution of model weights. Trainium4's computed-permutation trellis coding quantizes up to 256 numbers together in high dimensions, reaching 98% effective precision and compressing the KV cache by 3.5x, all in hardware with near-zero overhead.

2026-12-04 08:13 GMT+8

When a model is served with 4-bit weights, the full range of values is divided into 16 intervals and every value in an interval rounds to a single representative. That rounding always loses something. Amazon vice president and distinguished engineer Ron Diamant, speaking at AWS re:Invent 2026, laid out exactly how much is lost and how Trainium4's hardware recovers nearly all of it.

The problem is geometric. Model weights cluster near the center of their distribution, with only a few in the tails. A uniform quantization grid spends as many intervals on rare tail values as on common central ones. Diamant showed that this yields an effective-precision score of 78%—roughly three bits of useful information out of four. Non-uniform spacing, which assigns more intervals to the center, improves the score to 84%. But Diamant pointed out that even non-uniform grids leave wasted corners: because quantization happens in one dimension and then maps to two, the encoding still allocates capacity to regions where almost no data points land.

The fix is to quantize in higher dimensions from the start. Diamant described Trainium4's computed-permutation trellis coding (CPTC) as following the actual shape of the data cloud rather than imposing a square or hexagonal grid on it. CPTC quantizes up to 256 numbers together and supports any data type from 1 to 6 bits. At four bits, this reaches 98% effective precision—what Diamant called A+ work. The practical consequence is a genuine choice for developers: either get higher model quality at four bits, or drop to three bits and get cheaper, faster tokens with quality similar to existing 4-bit formats.

Sign in / Sign up
ReadingResearchRadarInvestment framework

CPTC also compresses the key-value cache—the working memory a model keeps during generation—by 3.5x with practically no impact on quality, which Diamant said outperforms any other KV cache compression method Amazon has found. Dequantization runs entirely in hardware with near-zero overhead to the compute engines, so the precision recovery does not come at the cost of throughput.

All figures are self-reported from Amazon's internal testing. Independent reproduction on deployed model quality at scale has not been published. The broader context is that compute required to train frontier models has grown more than fourfold per year since 2010—about a million-fold in a decade—while Moore's law delivered only 15x over the same period. Bridging that gap requires innovation in every part of the system, and Diamant positioned CPTC as one piece of a Trainium4 architecture that also delivers 10x compute, 5x memory bandwidth, and a scale-up domain exceeding 1,000 tightly connected chips per system, available in the second half of 2027.

Sources

  • amazon.scienceAmazon Science↗
Continue researching →