Introduction
As Large Language Models (LLMs) scale to hundreds of billions of parameters, deployment on consumer-grade hardware becomes increasingly prohibitive. For instance, a LLaMA-3 70B model requires approximately 140GB of VRAM in standard FP16 precision. While Post-Training Quantization (PTQ) offers a solution, standard techniques often hit a "precision wall" at ultra-low bit-widths (2-3 bits), where model accuracy typically collapses.
RSAVQ (Riemannian Sensitivity-Aware Vector Quantization) addresses this challenge by treating the LLM parameter space as a curved Riemannian manifold rather than a flat Euclidean space. By aligning quantization errors with low-sensitivity directions and dynamically allocating bits to critical weight channels, RSAVQ enables high-performance deployment at extremely low bit-widths.
Methodology: Geometry-Driven Quantization
The core innovation of RSAVQ lies in its use of Information Geometry to guide the quantization process through two primary mechanisms:
Error Direction Sensitivity Guidance (EDSG)
Traditional quantization methods focus on minimizing the magnitude of error but ignore its direction. RSAVQ utilizes the Fisher Information Matrix (FIM) to model the parameter space. By projecting quantization errors onto "low-sensitivity" directions—specifically along the negative natural gradient—the framework ensures that errors occur in regions of the loss landscape where they have minimal impact on model output.
Weight Channel Sensitivity Guidance (WCSG)
Not all weight channels contribute equally to a model's logic. RSAVQ performs FIM curvature analysis to assign a "sensitivity score" to each channel. Channels characterized by high curvature (steep loss landscapes) are prioritized with higher bit-widths, while low-sensitivity channels are compressed more aggressively. To maintain hardware efficiency, channels are sorted by sensitivity and grouped, allowing for shared codebooks while preserving the benefits of adaptive bit allocation.
Experimental Evaluation
The researchers evaluated RSAVQ using the LLaMA-2 (7B, 13B, 70B) and LLaMA-3 (8B, 70B) model families. Calibration was performed on a subset of the Red_Pajama dataset. Performance was measured via:
- Perplexity: Evaluated on the WikiText-2 dataset.
- Zero-Shot Reasoning: Tested across benchmarks including WinoGrand, HellaSwag, PIQA, ARC-Easy, and ARC-Challenge.
Key Results and Insights
RSAVQ establishes a new state-of-the-art for ultra-low bit quantization, demonstrating that curvature is a superior metric for bit allocation compared to traditional weight magnitude.
- Superior Accuracy: In 2-bit quantization of LLaMA-3 8B, RSAVQ outperformed strong baselines like VPTQ and QuIP# by 0.4 in perplexity and 1.5% in zero-shot accuracy.
- Near-Lossless Performance: For the LLaMA-2 70B model, 2-bit RSAVQ achieved performance nearly identical to the FP16 baseline, with only a marginal 0.4 PPL increase.
- Efficiency Gains: On an NVIDIA A100 GPU, RSAVQ provided a 1.57x inference speedup for LLaMA-2 7B while reducing memory usage from 13.16GB to 2.28GB.
Conclusion and Future Work
RSAVQ demonstrates that navigating the geometric landscape of model parameters is essential for pushing the limits of LLM compression. While currently focused on Transformer architectures, future work may extend these Riemannian sensitivity insights to Vision Transformers (ViTs) and newer architectures like Mamba, or adapt them to Scalar Quantization (SQ) methods.
Summary updated