MixLLM introduces a novel quantization method that uses mixed precision between output features based on their global importance.
Achieving better accuracy with minimal memory overhead.
-----
https://arxiv.org/abs/2412.14590
π€ Original Problem:
β Current LLM quantization methods either suffer from accuracy loss or system inefficiency
β Weight-only methods have accuracy issues with 4-bit quantization, while weight-activation methods face system performance challenges
-----
π§ Solution in this Paper:
β MixLLM uses different bit-widths (8-bit vs 4-bit) for different output channels based on their global importance to model output
β It identifies high-importance features across the entire model rather than layer-by-layer
β Uses symmetric 8-bit activation quantization and asymmetric 4-bit weight quantization in group-wise manner
β Implements two-step dequantization to enable efficient use of int8 Tensor Core
-----
π‘ Key Insights:
β Only a small portion of output features significantly impact model accuracy
β Different layers have varying importance to final model output
β Mixed-precision between output features enables better parallel computation
β System efficiency benefits more from reducing weight precision than activation precision
-----
π Results:
β With only 10% more bits, reduces perplexity increase from 0.5 to 0.2 for Llama 3.1 70B
β Improves MMLU-Pro score by 0.93 over SOTA across three popular models
β Achieves 1.9x to 2.75x speedup over float16 baseline
------
Are you into AI and LLMsβ Join my daily AI newsletter. I will send you 7 emails a week analyzing the highest signal AI developments. ββ
π https://rohanpaul.substack.com/










