[Paper Review] Position-based Scaled Gradient for Model Quantization and Sparse Training.
This paper introduces Position-based Scaled Gradient (PSG), a method that scales gradients based on weight vector positions to improve model compression. By reparameterizing gradient descent in a warped weight space, PSG acts as a regularizer that reduces distribution gaps between full-precision and compressed models, enabling seamless deployment in both uncompressed and compressed modes with strong performance on CIFAR-10/100 and ImageNet even at extremely low bit widths.
We propose the position-based scaled gradient (PSG) that scales the gradient depending on the position of a weight vector to make it more compression-friendly. First, we theoretically show that applying PSG to the standard gradient descent (GD), which is called PSGD, is equivalent to the GD in the warped weight space, a space made by warping the original weight space via an appropriately designed invertible function. Second, we empirically show that PSG acting as a regularizer to a weight vector is very useful in model compression domains such as quantization and sparse training. PSG reduces the gap between the weight distributions of a full-precision model and its compressed counterpart. This enables the versatile deployment of a model either as an uncompressed mode or as a compressed mode depending on the availability of resources. The experimental results on CIFAR-10/100 and Imagenet datasets show the effectiveness of the proposed PSG in both domains of sparse training and quantization even for extremely low bits.
Motivation & Objective
- To address the distribution gap between full-precision and compressed models during quantization and sparse training.
- To improve the compatibility and performance of compressed models by regularizing weight distributions.
- To enable flexible deployment of models in both full-precision and compressed modes based on resource availability.
- To theoretically and empirically validate that PSG enhances compression-friendliness through gradient reweighting.
Proposed method
- PSG scales gradients based on the position of each weight vector in the weight space using an invertible, position-dependent function.
- The method is theoretically equivalent to standard gradient descent in a warped weight space, where the warping function is designed to enhance compression properties.
- The gradient scaling acts as a regularizer that encourages weight distributions to align between full-precision and compressed models.
- The approach is integrated into standard training pipelines without architectural changes, making it broadly applicable.
- The warping function is differentiable and invertible, preserving the optimization path while improving compression behavior.
- PSG is applied during backpropagation to adjust gradient magnitude based on weight location, promoting sparsity and quantization stability.
Experimental results
Research questions
- RQ1Can gradient scaling based on weight position reduce the distribution gap between full-precision and compressed models?
- RQ2How does PSG improve model performance in low-bit quantization and sparse training?
- RQ3Does PSG enable seamless deployment of models in both uncompressed and compressed modes?
- RQ4Is PSG effective across diverse datasets and model architectures, including ImageNet?
- RQ5Can PSG be integrated into standard training without architectural modifications?
Key findings
- PSG significantly reduces the distribution gap between full-precision and quantized models, improving generalization in compressed settings.
- The method enables effective model compression even at extremely low bit widths, with strong performance on CIFAR-10/100 and ImageNet.
- Models trained with PSG maintain high accuracy in both uncompressed and compressed modes, supporting flexible deployment.
- PSG acts as a regularizer that stabilizes training under quantization and sparsity constraints.
- The theoretical equivalence to gradient descent in a warped weight space confirms the method's optimization stability.
- Empirical results show consistent gains in both quantization and sparse training, demonstrating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.