Reproduce “CAT-Q: Cost-efficient and Accurate Ternary Quantization for LLMs” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Shigeng Wang, Chao Li, Yangyuxuan Kang, Jiawei Fan, Anbang Yao
Intel Labs China developed CAT-Q, a post-training quantization scheme that efficiently converts large language models to a ternary (1.58-bit) format. It achieves performance comparable to or better than quantization-aware training methods while reducing the calibration data requirement by approximately 100,000-fold, supporting models up to 235 billion parameters.
Key insights
- Explicitly modulating the pre-trained weight distribution with learnable factors (mean, scale, threshold) significantly reduces reconstruction error and mitigates distributional misalignment in ultra-low-bit quantization.
- A differentiable transition function, which gradually sharpens to approximate hard ternarization, enables stable and effective optimization of non-differentiable ternarization in a PTQ setting.
- Minimizing output feature reconstruction error across a sliding window of multiple layers, rather than just per-layer weights, is crucial for preserving LLM performance in extreme low-bit quantization.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.