Reproduce “MXSens: Sensitivity-Aware Mixed-Precision Quantization for Efficient LLM Inference” 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
Simla Burcu Harma, Danila Mishin, Zhengyuan Su, Ayan Chakraborty, Elizaveta Kostenok, Dongho Ha, Babak Falsafi, Martin Jaggi and 2 more
A training-free, sensitivity-aware mixed-precision quantization method, MXSens, enhances large language model inference efficiency by selectively assigning 4, 6, and 8 bits within MXINT microscaling formats. This approach consistently delivered higher accuracy and lower perplexity than comparable state-of-the-art post-training quantization methods across various LLMs and benchmarks, including a WikiText-2 perplexity of 3.77 for LLaMA-2-70B.
Key insights
- Outliers in LLMs exhibit a spectrum of magnitudes, from extreme to mild, necessitating a multi-precision approach (4, 6, 8 bits) for effective mitigation.
- Quantization sensitivity is non-uniformly distributed across LLM layers and columns, with errors in earlier layers propagating and compounding more significantly.
- Targeted allocation of a small number of 8-bit columns (e.g., 32 per layer) to the most sensitive columns is Pareto-optimal for maximizing accuracy gains within a minimal bitwidth increase.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.