Reproduce “AMQ: Enabling AutoML for Mixed-precision Weight-Only Quantization of Large Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sangjun Lee, Seung-taek Woo, Jungyu Jin, Changhun Lee, Eunhyeok Park
Researchers at Pohang University of Science and Technology (POSTECH) developed AMQ, an automated framework that identifies optimal layer-wise mixed-precision weight-only quantization configurations for Large Language Models. AMQ consistently achieves superior quality-efficiency trade-offs compared to prior methods, enabling up to 3.16x inference speedups while compressing models to very low average bit-widths.
Key insights
- Quantization sensitivity varies significantly across different LLM layers, indicating that a fixed-precision approach is suboptimal and fine-grained mixed-precision can yield better quality-efficiency trade-offs.
- An activation-independent quantization method can serve as an effective and rapid proxy during the search phase, allowing efficient exploration of bit-width configurations while ensuring the final deployment with state-of-the-art activation-dependent quantizers maintains high quality.
- Targeted pruning of highly sensitive layers from the active search space (e.g., only 0.9% to 1.8% of layers) significantly improves the search quality and stability, especially for larger LLMs.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.