AI
New Quantization Technique Cuts LLM Memory Use Without Training Data
Researchers introduce a normalization-based approach to compress neural network cache in real time, eliminating the need for calibration datasets.
Serving large language models at scale remains computationally costly, particularly when handling multiple requests or lengthy inputs. The bottleneck often stems from storing key-value (KV) cache—the attention mechanism's memory footprint that grows with batch size and sequence length. While vector quantization has emerged as a compression solution, existing methods require carefully chosen calibration datasets to work effectively, making them brittle when dealing with novel data patterns.
The Core Challenge#
Most vector quantization approaches depend on a calibration phase, where the system learns how to compress data based on example distributions. This creates an inherent problem: when real-world data deviates from the training samples, compression quality degrades. The reliance on prior knowledge about data distributions limits flexibility and portability across different use cases.
How NSNQuant Works#
Researchers have proposed NSNQuant, a calibration-free vector quantization method that abandons the need for example datasets altogether. The technique applies a deliberate three-step transformation sequence:
- Token-wise normalization aligns individual sequences to a consistent scale
- Channel-wise centering removes mean bias across feature dimensions
- Second token-wise normalization stabilizes the distribution once more
By coupling these normalization steps with a Hadamard transform—a mathematical operation that rearranges data without losing information—NSNQuant reshapes the token distribution to match a standard normal curve. This predictable alignment allows a single, universal codebook to compress activations across different inputs, all without prior calibration.
Results and Impact#
Experimental validation demonstrates that NSNQuant achieves superior performance in extreme compression scenarios (1-bit and 2-bit quantization). The method generalizes reliably to new data and delivers up to 3× faster inference compared to uncompressed models. By eliminating the calibration step, the approach becomes simpler to deploy and adapt to varying model architectures and input characteristics. Code for the technique has been made publicly available for further research and integration.

