Skip to main content
QUICK REVIEW

[Paper Review] TTQ: Activation-Aware Test-Time Quantization to Accelerate LLM Inference On The Fly

Toshiaki Koike-Akino, Jing Liu|arXiv (Cornell University)|Mar 11, 2026
Advanced Neural Network ApplicationsComputer Science0 citations
TL;DR

TTQ introduces online activation-aware quantization at inference time to compress LLMs without offline calibration, achieving speedups with zero calibration data and strong robustness across prompts. It combines activation statistics-based AWQ with a light-weight online approach and optional low-rank decomposition to boost quantization performance.

ABSTRACT

To tackle the huge computational demand of large foundation models, activation-aware compression techniques without retraining have been introduced. However, since these methods highly rely on calibration data, domain shift issues may arise for unseen downstream tasks. We propose a test-time quantization (TTQ) framework which compresses large models on the fly at inference time to resolve this issue. With an efficient online calibration, instant activation-aware quantization can adapt every prompt regardless of the downstream tasks, yet achieving inference speedup. Several experiments demonstrate that TTQ can improve the quantization performance over state-of-the-art baselines.

Motivation & Objective

  • Address the domain shift and calibration-data dependence of offline activation-aware quantization for LLMs.
  • Develop a zero-calibration, online quantization framework that adapts to each prompt during inference.
  • Integrate low-rank decomposition to further accelerate inference while maintaining accuracy.
  • Demonstrate TTQ's advantages over state-of-the-art baselines on multiple LLM benchmarks.

Proposed method

  • Use groupwise RTN quantization with QDQ operation to quantize weights on the fly.
  • Adopt Activation-Aware Quantization (AWQ) to weight-quantize using diagonal input covariance approximations for fast closed-form solutions.
  • Estimate activation statistics online with a small calibration-like pass during inference using a shrunk covariance C_lambda to minimize L = E_X|| (W- W_hat) X ||^2.
  • Keep hyperparameters alpha, lambda, p fixed to avoid exhaustive search during test time.
  • Optionally incorporate dynamic low-rank factors B and A so W can be represented as W_q + B A with W_q quantized on the fly.
  • Analyze computational overhead and show TTQ overhead is negligible for large d', T; complexity ratio tends to 0 as d', T grow.
  • Provide CUDA-based AWQ/GEMM kernels to accelerate the quantized projection on GPUs.

Experimental results

Research questions

  • RQ1What is the performance of TTQ relative to AWQ and RTN baselines when calibrations are unavailable at deployment?
  • RQ2How does group size g affect quantization quality and perplexity across models and bit-widths?
  • RQ3Can TTQ maintain high accuracy with extremely low bit-width (2-5 bits) across different LLMs?
  • RQ4Does integrating low-rank decomposition with TTQ yield additional speedups without large accuracy loss?

Key findings

  • TTQ with online AWQ achieves better perplexity than offline AWQ baselines across WT2, PTB, and C4 benchmarks, especially when calibration data is limited or absent.
  • Group size impacts: micro-scaling (g < 32) is beneficial, TTQ tolerates larger g than AWQ, and TTQ with r=16 often outperforms RTN and comparable AWQ.
  • TTQ at 3-bit quantization yields strong performance across multiple models (OPT-125M to Gemma-1B) with zero offline calibration data, and often matches or approaches uncompressed model performance at 5 bits.
  • Integrating low-rank decomposition (B A) with TTQ provides up to 5x speedup in some configurations with modest overhead, by quantizing the residuals and exploiting low-rank projections.
  • TTQ demonstrated strong improvements over state-of-the-art baselines on OPT, Qwen3, and Gemma models across WT2, PTB, and C4 datasets; calibration-free TTQ showed less fluctuation than AWQ across calibration datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.