PLoQ: A Prompt-Specific Low-Rank Basis for 4-bit Quantization of LLM Activations

Faraz Tahmasebi, Michael Pellauer, Hyoukjun Kwon, Sitao HuangarXiv 2026

TL;DR

Quantizing Large Language Model (LLM) activations to 4 bits is notoriously difficult because a few "outlier" directions carry most of the signal, and these directions change depending on what you ask the model. PLoQ solves this by finding a custom, low-rank "safety net" for each specific prompt during the initial processing phase, allowing the rest of the data to be compressed aggressively without losing the model's train of thought.

What Problem Does This Paper Address?

In the world of LLM efficiency, quantization is the holy grail. It’s the art of shrinking the massive numbers (weights and activations) that represent a model's "thoughts" from 16-bit floats down to tiny 4-bit integers. While we've mostly figured this out for weights, activations (the data flowing through the model during a conversation) are the problem child.

The issue is "outliers." In any given layer, a tiny fraction of directions in the data space have massive magnitudes that dwarf everything else. If you try to fit all the data into a 4-bit range, these outliers stretch the scale so much that the smaller, subtle signals get rounded to zero—essentially lobotomizing the model.

Current state-of-the-art methods try to fix this by identifying these "dominant directions" ahead of time (offline calibration) and protecting them. But this has two major flaws:

  1. Static Subspaces: The directions that matter most actually change depending on the prompt. A one-size-fits-all "protected zone" misses the unique outliers of a specific conversation.
  2. The Down-Projection Bottleneck: Some parts of the model (like the "down-projection" in the feed-forward blocks) mathematically cannot "absorb" the transformations used by static methods, leaving them unprotected and prone to high error.

Methods

The authors introduce PLoQ (Prompt-adaptive Low-Rank Quantization). Instead of relying on a static map of where the outliers might be, PLoQ builds a custom map for every single prompt.

Here is the high-level workflow:

  1. The Sketch: During the "prefill" stage (when the model first reads your prompt), PLoQ takes a quick "sketch" of the activations using a randomized range finder. This identifies the top $k$ dominant directions (the basis $V$) for that specific prompt.
  2. Decomposition: It then splits the activation $X$ into two parts: a low-rank component $CV$ (the outliers) and a remainder $R$.
  3. Smart Quantization: The remainder $R$ is now much "flatter" and easier to quantize to 4 bits. The outliers are handled separately and precisely.
  4. Seamless Restoration: During the actual matrix multiplication (GEMM), the outlier component is added back in. Crucially, this happens inside the existing math operations, so it doesn't require modifying the model's massive weight matrices.
The PLoQ workflow: identifying prompt-specific directions (V), subtracting them to create a cleaner remainder (R), and restoring them during the GEMM.

To make this practical, the authors wrote custom GPU kernels (using Triton and CUTLASS) that fuse these extra steps into the operations the GPU was going to do anyway, hiding most of the computational cost.

Datasets

The researchers evaluated PLoQ across a wide range of models and tasks:

  • Models: Llama-3.2 (1B, 3B), Llama-3.1 (8B, 70B), and Qwen2.5 (7B, 32B).
  • Language Modeling: WikiText-2 perplexity (a measure of how "surprised" the model is by text; lower is better) at context lengths from 2k to 16k tokens.
  • Zero-Shot Benchmarks: A battery of eight commonsense reasoning tasks (like ARC, HellaSwag, and PIQA) plus MMLU to ensure the model hasn't lost its general knowledge.

Key Insights and Ideas

  • Prompts are Unique: The paper proves that the dominant directions of two different prompts overlap by as little as 1–6%. This confirms why static, offline methods eventually hit a ceiling—they are protecting the "average" outlier, not the one currently causing trouble.
  • The Power of Rank-32: You don't need to protect much. Capturing just 32 prompt-specific directions (out of thousands) is enough to recover a massive chunk of the accuracy lost to quantization.
  • Fixing the Unfixable: Because PLoQ doesn't need to "fold" its math into the weights, it can protect the down-projection layer, which was previously a "no-go zone" for rotation-based quantization. This single fix accounts for a huge portion of PLoQ's gains.
Figure 4. Activation magnitudes |X| over tokens and channels (max-pooled to a 128 × 128 grid) for one WikiText-2 prompt on Llama- 3.2-1B, layer 15. From left to right: the original input; after QuaRot’s Hadamard rotation, all at 4 bits; what a calibrated 8-bit block leaves at 4 bits; and what PLoQ leaves at 4 bits after subtracting the prompt’s own 32 leading directions. The last two share one scale. Each title gives the mean per-token range, which sets the token’s 4-bit step. PLoQ narrows the calibrated block’s range by 12% at the attention input and by 47% at the down-projection input, where a few tokens carry very large values; averaged over all 16 layers, by 10% and 27%.

Key Results

  • Accuracy: PLoQ consistently outperformed the previous best method (ResQ). On Llama-3.1-8B, it recovered 46% of the perplexity error that the state-of-the-art still loses to 4-bit activations.
  • Zero-Shot Prowess: On the MMLU benchmark, PLoQ improved scores by up to 5.6 points over the baseline on smaller models.
  • Speed: Despite the extra "on-the-fly" math, the overhead is remarkably low. On an RTX 4090, it adds only 4% to the prefill time and 8% to the decoding (token generation) time for an 8k token context.
  • Efficiency: It achieves these gains while maintaining the same average bit-width (~4.2 bits per activation) as its competitors.
Figure 1. Four ways to treat the dominant activation directions, Llama-3.1-8B, W4A4KV4, 8k tokens. QuaRot (Ashkboos et al., 2024b): a rotation, all activations at 4 bits. ResQ (Saxena et al., 2025): a calibrated eighth of the directions at 8 bits and the rest at 4. Per-prompt: each prompt’s own leading eighth at 8 bits instead, mapped into the 8-bit channels by a per-prompt block reflection. PLoQ: a calibrated block of 224 directions plus a per-prompt rank- 32 component with 4-bit coefficients. All but QuaRot at equal bits. (a) WikiText-2 perplexity. (b) Prefill time relative to ResQ on an RTX 4090, batch 1. Per-prompt is unfused: ResQ’s time plus its measured extra work; dotted: lower bound, at the GPU’s peak fp16 rate.

Limitations and Future Work

  • Memory Overhead: Each active sequence needs to store its own small basis ($V$) and correction matrix ($U$). For a Llama-3.1-8B model, this is about 58.5 MB—small compared to the model, but it adds up if you are serving thousands of users simultaneously.
  • Short Prompts: The relative overhead is higher for very short prompts (under 2k tokens) because the fixed cost of the "sketching" phase isn't amortized over as many tokens.
  • Hardware Specifics: The current implementation is highly optimized for NVIDIA GPUs. Porting these fused kernels to other hardware (like AMD or specialized AI chips) would require significant engineering effort.

The authors suggest that future work could explore "shrunk" bases that blend prompt-specific data with offline calibration to get the best of both worlds with even less computation.

Summary updated

Abstract

Low-bit activation quantization of large language models remains challenging, as a small number of dominant directions dictate the quantization range. State-of-the-art methods isolate these directions in a high-precision subspace through transformations calibrated offline and folded into the weights, which fixes the subspace for all prompts, leaving each prompt's few unique directions unprotected, and rules it out wherever no weight can absorb the transformation. We present PLoQ, a prompt-adaptive low-rank decomposition that extracts the dominant activation components before quantization, quantizes them separately, and restores them within the layer's GEMM, without modifying the weights. The low-rank component's basis is estimated from each prompt during prefill and reused throughout decoding. At the same bit width as state-of-the-art mixed-precision quantization (4-bit weights, activations and K/V cache with an eighth of the channels at 8 bits, about 4.2 bits per activation on average), PLoQ outperforms it on all six Llama and Qwen models from 1B to 70B parameters, at up to 8k tokens (16k on two of them), recovering up to 46% of the perplexity that the state of the art still loses to 4-bit activations. On Llama-3.1-8B at 8k tokens it adds only 4% to prefill and 8% to decoding.
BibTeX
@misc{tahmasebi2026ploq,
  author = {Faraz Tahmasebi and Michael Pellauer and Hyoukjun Kwon and Sitao Huang},
  title = {{PLoQ: A Prompt-Specific Low-Rank Basis for 4-bit Quantization of LLM Activations}},
  year = {2026},
  eprint = {2611.27092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27092},
}
Figure