← Latest papers
🤖 machine learning

High-Rate Quantized Matrix Multiplication II

This paper investigates high-rate quantized matrix multiplication for weight-only LLM post-training quantization by demonstrating how covariance-aware waterfilling improves upon equal-rate allocation, analyzing the basis-free and near-optimal performance of the WaterSIC scheme, and showing that GPTQ with random rotation achieves comparable near-optimal results.

Original authors: Or Ordentlich, Yury Polyanskiy

Published 2026-05-14
📖 5 min read🧠 Deep dive

Original authors: Or Ordentlich, Yury Polyanskiy

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: Compressing the Brain of AI

Imagine a massive Artificial Intelligence (AI) model, like a giant library of knowledge, trying to solve a problem. To do this, it performs a mathematical operation called Matrix Multiplication (MatMul) billions of times. Think of this as the AI's "thinking" process.

However, these "weights" (the numbers inside the AI) take up a huge amount of memory. To make the AI run faster and on smaller devices, engineers compress these numbers, a process called Quantization. It's like shrinking a high-resolution photo into a smaller file size so it loads faster.

This paper is the second part of a study on how to do this shrinking most efficiently. While the first part looked at shrinking without any prior knowledge, this paper focuses on a scenario where we do have some prior knowledge: we know the statistical "shape" of the data the AI is processing.

The Core Problem: The "Weight-Only" Puzzle

In many modern AI systems (like LLMs), the data flowing through the system (activations) is kept in full precision, but the "weights" (the static knowledge) are compressed.

  • The Goal: We want to compress the weights (WW) as much as possible without making the AI's answers (YY) too wrong.
  • The Catch: The "wrongness" (distortion) depends on how the weights interact with the incoming data. If the incoming data has a specific pattern (like a long, thin oval shape), compressing the weights in a standard, square-grid way is inefficient. It's like trying to fit a long, thin suitcase into a square box; you waste a lot of space.

The Old Way: "One Size Fits All" (GPTQ)

Currently, popular methods like GPTQ treat every part of the weight matrix the same. They use a standard grid (like graph paper) to round off numbers.

  • The Analogy: Imagine you are packing a suitcase with items of different sizes. The old method uses a grid of identical boxes for everything. You put a tiny pebble in a big box and a giant rock in a big box. You waste space on the pebble and might not fit the rock perfectly.
  • The Flaw: This method doesn't look at the specific shape of the data. It assumes the data is perfectly round (isotropic). If the data is actually an oval, this method is suboptimal.

The New Theory: "Waterfilling" (The Ideal Solution)

The authors look at the math of Weighted Mean Squared Error (WMSE). They use a concept called Waterfilling.

  • The Analogy: Imagine you have a landscape with hills and valleys (representing the importance of different parts of the data). You want to pour a fixed amount of "water" (your limited bits/bandwidth) onto this landscape.
    • The Waterfilling strategy says: Pour the water into the deepest valleys first. These are the parts of the data that matter most or are most sensitive. You give them more "resolution" (more bits).
    • The shallow hills get less water (fewer bits).
    • This ensures you get the best possible picture for the amount of water you have.

Mathematically, this is the "Information-Theoretic Limit"—the absolute best you can possibly do.

The Practical Solution: WaterSIC

The problem with Waterfilling is that it's hard to calculate in real-time. The authors propose a practical algorithm called WaterSIC.

  • How it works: It uses a technique called Successive Interference Cancellation (SIC). Imagine you are trying to hear a conversation in a noisy room. You listen to the loudest voice first, understand it, and then "cancel it out" so you can hear the quieter voices better.
  • The Innovation: WaterSIC applies this idea to the weights. It looks at the data's shape (using a mathematical tool called Cholesky decomposition) and adjusts the "grid size" for each part of the weight.
    • For parts of the data that are "stiff" or important, it uses a finer grid (more bits).
    • For parts that are "loose" or less important, it uses a coarser grid (fewer bits).

Key Findings

  1. Near-Perfect Efficiency: The authors prove that WaterSIC is incredibly close to the theoretical "Waterfilling" limit. It is only about 0.25 bits away from the absolute best possible performance. This is a tiny gap, meaning the method is almost perfect.
  2. Rotation Immunity: One of the coolest findings is that WaterSIC is "basis free."
    • The Analogy: Imagine you have a map. If you rotate the map, the North Pole moves. Some compression methods break or get worse if you rotate the data (like rotating the map). WaterSIC, however, works just as well regardless of how the data is rotated. It adapts to the shape of the data, not the direction it's facing.
  3. GPTQ is Surprisingly Good (with a twist): The paper also found that the standard GPTQ method (which doesn't use the fancy water-filling adjustments) performs surprisingly well if you randomly rotate the data first.
    • It turns out that the standard way AI data is currently organized is actually "lucky" (it's close to the optimal shape). But if you mess with it (rotate it), GPTQ gets worse, while WaterSIC stays strong.

Summary

This paper introduces WaterSIC, a smarter way to compress AI weights.

  • Old Way: Use a standard grid for everything (GPTQ).
  • New Way: Look at the shape of the data and adjust the grid size for each part (WaterSIC).
  • Result: The new method is nearly perfect, theoretically unbeatable, and robust even if the data is shuffled or rotated. It bridges the gap between complex math theory and practical, fast AI compression.

The authors conclude that while current methods are good, there is still room to improve, especially for very low-bit compression (where you have very few bits to work with) and for making the "shaping" of data faster on computer chips.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →