Low-Bit Quantization of Temporal and Structural Residuals

This direction is merged into another direction: quantization-induced accuracy loss. Its last version stays readable and citable here.

Version 1 of 18 papers16 conceptsfrozen 2026-10-04

Standard post-training quantization often hits a "precision wall" at 4 or 8 bits. When we try to compress activations further, the presence of extreme outliers and high dynamic ranges causes the quantization error to explode, destroying the model's performance.

A growing body of research suggests that we are quantizing the wrong thing. Instead of quantizing raw activation values, we should quantize the residuals—the difference between the current value and a predicted or previous state. Because these residuals are more concentrated and have significantly lower variance than the original signals, they can be represented at ultra-low bit-widths (2–3 bits) with near-lossless accuracy.

The Intuition: Why Residuals are Easier to Compress

Quantization works by mapping a continuous range of values into a discrete set of "buckets." If the data has a wide range or heavy outliers, the buckets must be large, which introduces significant noise.

In many iterative or sequential AI tasks, there is massive redundancy between steps. The activations at time $t$ are usually very similar to those at time $t-1$. By calculating the difference (the residual), we effectively "center" the data around zero and collapse its dynamic range. This smaller signal requires much smaller quantization scale factors, which minimizes the rounding error and allows for much higher fidelity at the same bit-width.

Accelerating Diffusion with Temporal Deltas

Diffusion models are notoriously slow because they require dozens of sequential passes through a heavy U-Net or Transformer. While quantizing these models is desirable for speed, the activations in diffusion processes are volatile and contain outliers that shift across timesteps.

In Modulated Diffusion (MoDiff), Weizhi Gao, Zhichao Hou, and colleagues demonstrate that the temporal differences between consecutive activations are far more stable than the activations themselves. By quantizing these "temporal deltas" and using an error-correction loop, they achieve 3-bit activation quantization. This allows generative models to run significantly faster on consumer hardware without the typical degradation in image quality.

Exploiting Redundancy in Video and Language

This principle of residual quantization extends beyond diffusion to any domain with high correlation between data points.

Video Perception

In video processing, consecutive frames are nearly identical. Davide Abati, Markus Nagel, and the team behind ResQ apply this to video perception tasks like semantic segmentation. Instead of quantizing every frame independently, they quantize the difference between the current frame and a high-precision "keyframe." Because the residual has lower variance, they can use ultra-low bit-widths to achieve up to 3x computational savings with negligible loss in accuracy.

Large Language Model Caches

The Key-Value (KV) cache is the primary memory bottleneck for long-context LLMs. Alina Shutova, Vladimir Malinovskii, and their co-authors introduced AQUA-KV, which leverages hidden linear dependencies between layers. Rather than storing raw KV entries, the system predicts the values and only stores the quantized residual error. This approach enables near-lossless 2-bit quantization, allowing models to handle massive contexts that would otherwise exceed GPU memory.

Summary of the Shift

The transition from absolute quantization to residual quantization represents a fundamental shift in how we view model compression:

Feature Standard Quantization Residual Quantization
Target Raw Activations ($x_t$) Differences ($\Delta = x_t - \hat{x}_t$)
Signal Variance High (due to outliers) Low (concentrated around zero)
Precision Limit Typically 4–8 bits 2–3 bits
Key Mechanism Clipping and Scaling Prediction and Error Correction

By focusing on what changes rather than what is, these methods bypass the volatility of neural network activations, providing a path toward extremely efficient inference across generative and discriminative AI.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_low_bit_quantization_of_temporal_and_str_abb8beb0,
  title = {Low-Bit Quantization of Temporal and Structural Residuals},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/low-bit-quantization-of-temporal-and-structural-residuals/rdr_abb8beb0c50648f78f083946f8734730},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_low_bit_quantization_of_temporal_and_str_abb8beb0_v1,
  title = {Low-Bit Quantization of Temporal and Structural Residuals},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/low-bit-quantization-of-temporal-and-structural-residuals/rdr_abb8beb0c50648f78f083946f8734730/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}