Introduction
Quantization is a critical technique for deploying Large Language Models (LLMs) on resource-constrained edge devices. By converting high-precision weights (e.g., FP32) into low-precision integers (e.g., INT4), memory footprints and compute requirements are significantly reduced. However, existing methods often face a "trilemma": significant accuracy loss at low bit-widths, high hardware requirements (GPUs) for calibration, and a dependency on specific calibration datasets.
SplitQuantV2 introduces a platform-agnostic, data-free preprocessing algorithm that enables high-accuracy INT4 quantization using only a CPU. By mathematically restructuring model layers, it bridges the performance gap between compressed and full-precision models without requiring expensive hardware or private calibration data.
Methodology: Model Restructuring via Clustering
The fundamental innovation of SplitQuantV2 is the transformation of a single linear or convolutional layer into three parallel, functionally equivalent layers. This process, termed model restructuring, addresses the primary cause of quantization failure: outliers.
The algorithm employs K-Means clustering ($k=3$) to partition weights and biases into three groups: Lower, Middle, and Upper clusters. This isolation ensures that outliers—which typically force a coarse quantization scale—are confined to their own clusters. Consequently, each cluster possesses a narrower range of values, allowing for a much finer scaling factor and significantly reduced quantization error.
Unlike previous iterations, SplitQuantV2 focuses exclusively on weights and biases. This weight-only approach eliminates the need for calibration datasets, as it does not require observing activation patterns. The method is implemented in standard PyTorch, ensuring it remains hardware-agnostic and easily portable to various Neural Processing Units (NPUs).
Experimental Evaluation
The authors evaluated SplitQuantV2 using the Llama 3.2 1B Instruct model on the AI2 Reasoning Challenge (ARC) dataset, which comprises 1,165 natural language reasoning problems.
Accuracy Recovery
Standard linear quantization to INT4 often results in a severe performance degradation. In the case of Llama 3.2 1B, accuracy dropped from a baseline of 57.94% to 45.92%. SplitQuantV2 successfully recovered this performance, achieving 57.68% accuracy—nearly matching the original full-precision model.
Efficiency and Speed
One of the most notable advantages of SplitQuantV2 is its computational efficiency. The entire restructuring and quantization process for a 1B parameter model was completed in just 2 minutes and 6 seconds on an Apple M4 CPU. This stands in stark contrast to methods like ZeroQuant, which can require over 3 hours on data-center grade GPUs (e.g., NVIDIA A100) for models of similar scale.
Discussion and Future Work
While SplitQuantV2 offers a significant leap in CPU-based quantization, it introduces a "size tax." Because each layer is split into three, the resulting INT4 model is approximately 3/8 the size of the FP32 original, rather than the 1/8 size of a standard INT4 model. This architectural change also impacts inference latency due to the increased number of operations.
Future research will explore dynamic clustering, where the number of clusters per layer is determined by the specific weight distribution to optimize the trade-off between model size and accuracy. Additionally, the authors suggest that incorporating activation quantization—if calibration data is available—could further enhance performance.
Summary updated