Block-wise Reconstruction for Post-Training Quantization

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

Version 1 of 132 papers35 conceptsfrozen 2026-10-04

The deployment of Large Language Models (LLMs) and high-performance Generative Adversarial Networks (GANs) is often bottlenecked by memory. To fit a 70B parameter model onto a single GPU, we must reduce the precision of its weights—a process known as quantization.

Historically, researchers faced a binary choice: Post-Training Quantization (PTQ), which is fast but loses significant accuracy below 8 bits, or Quantization-Aware Training (QAT), which maintains accuracy but requires massive datasets and compute. A new paradigm has emerged to bridge this gap: Block-wise Reconstruction. By optimizing small segments of a network to mimic the behavior of their full-precision counterparts, researchers can achieve near-lossless 4-bit (and even 2-bit) quantization with only a handful of unlabeled data samples.

The Problem of Error Accumulation

In naive PTQ, weights are simply rounded to the nearest representable value on a grid. While the error for a single weight might seem negligible, neural networks are deep. As Itay Hubara and Yury Nahshan observe in Accurate Post Training Quantization With Small Calibration Sets, these small rounding errors compound across layers. By the time a signal reaches the end of a 32-layer Transformer, the "drift" from the original activation distribution is so large that the model's output becomes gibberish.

Block-wise reconstruction solves this by treating quantization not as a formatting task, but as a local optimization problem.

Local Mimicry as a Proxy for Global Accuracy

The core intuition behind this research direction is that if every individual block in a quantized model produces the same output as the original model for the same input, the global accuracy will be preserved.

Instead of optimizing the entire network against a task-specific loss (like cross-entropy), methods like AdaQuant, introduced by Itay Hubara et al. in Improving Post Training Neural Quantization: Layer-wise Calibration and Integer Programming, minimize the Mean Squared Error (MSE) between the activations of a full-precision layer and its quantized version.

This approach has several advantages:

  1. Data Efficiency: Because the "ground truth" is the output of the original layer, you don't need labeled data. A tiny calibration set of 128-1024 random samples is often sufficient.
  2. Computational Speed: Optimizing a single block is significantly faster than end-to-end backpropagation. Song Guo demonstrates in EBFT: Effective and Block-Wise Fine-Tuning for Sparse LLMs that this can recover performance in as little as 30 minutes on a consumer GPU.
  3. Flexibility: It allows for "weight relaxation." As Pavel A. Andreev shows in Quantization of Generative Adversarial Networks for Efficient Inference, weights can be allowed to deviate slightly from their original values if that deviation helps the quantized layer better approximate the original activation distribution.

Learning How to Round

A major breakthrough in this area is the realization that "rounding to the nearest integer" is rarely the optimal strategy. Huabin Diao and colleagues introduced Attention Round (Attention Round for Post-Training Quantization), which treats the rounding decision (up or down) as a learnable parameter.

Similarly, Yiyang Cai developed SignRound (Optimize Weight Rounding via Signed Gradient Descent for the Quantization of LLMs), which uses Signed Gradient Descent to tune weight rounding and clipping thresholds. By adjusting these values over just 200 steps, they achieved massive gains in 2-bit quantization, proving that the way we round is just as important as the precision we round to.

Preventing Overfitting with Low-Rank Constraints

When optimizing on a tiny calibration set, there is a high risk of overfitting—the quantized block might perfectly mimic the original on those 128 samples but fail on everything else.

To combat this, Jung Hyun Lee and Se Jung Kwon proposed LRQ (LRQ: Optimizing Post-Training Quantization for Large Language Models by Learning Low-Rank Weight-Scaling Matrices). Instead of updating every weight individually, LRQ learns low-rank matrices to scale the weights. This drastically reduces the number of learnable parameters, acting as a natural regularizer that ensures the quantized model generalizes well to unseen data.

Lee's further work on FlexRound (FlexRound: Learnable Rounding based on Element-wise Division for Post-Training Quantization) extends this by allowing weights to transition across multiple quantization levels, providing the necessary flexibility for sensitive layers in models like LLaMA.

Beyond Standard Architectures

While much of this work focuses on Transformers, the principles of block-wise reconstruction are being applied to new frontiers. Yinglong Li and Jiacheng Li recently adapted these techniques for State Space Models in QMamba, using block-level MSE to handle the unique temporal distributions of Mamba-based architectures.

By shifting the focus from global fine-tuning to local functional reconstruction, this research direction has made it possible to compress the world’s most powerful AI models into formats that can run on everyday hardware without sacrificing the intelligence that made them useful in the first place.

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_block_wise_reconstruction_for_post_train_a09efaef,
  title = {Block-wise Reconstruction for Post-Training Quantization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/block-wise-reconstruction-for-post-training-quantization/rdr_a09efaef51604cb6885c077159fbbe04},
  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_block_wise_reconstruction_for_post_train_a09efaef_v1,
  title = {Block-wise Reconstruction for Post-Training Quantization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/block-wise-reconstruction-for-post-training-quantization/rdr_a09efaef51604cb6885c077159fbbe04/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}