Introduction
Deep Neural Networks (DNNs) are increasingly deployed on edge devices, necessitating efficient model compression techniques. Quantization, which reduces weight and activation precision from 32-bit floating point to low-bitwidth integers, is a primary strategy for reducing memory footprint and compute costs. However, "deep" quantization (below 8 bits) often incurs significant accuracy degradation because standard optimization occurs in a continuous space, unaware of the eventual discrete constraints.
The SinReQ Framework
To address this, the authors propose SinReQ, a novel sinusoidal regularization term added to the standard loss function. By utilizing the periodic minima of a sine function (specifically $sin^2$), SinReQ creates "gravity wells" that naturally nudge weights toward desired quantization levels during training.
Unlike hard quantization functions that have zero or undefined gradients, the sinusoidal term is smooth and fully differentiable. This allows for seamless integration with standard backpropagation. The method is highly flexible; by adjusting the frequency of the sine wave, it can support arbitrary bitwidths (e.g., 3-bit, 5-bit) and various quantization schemes, such as mid-tread or mid-rise styles.
Dynamic Regularization Schedule
A critical component of the SinReQ approach is the dynamic regularization strength, $\lambda_q$. The authors observed that a constant, high regularization strength early in training could trap weights in suboptimal local minima near their initialization. To mitigate this "stuck weight" problem, they introduced an exponential ramp-up schedule. This allows the model to explore the weight space freely during the initial phases of training before being progressively pushed toward quantization levels as the regularization term dominates toward the end of the process.
Experimental Results
The effectiveness of SinReQ was evaluated across multiple benchmarks, including CIFAR-10, SVHN, and ImageNet, using architectures like ResNet and AlexNet. SinReQ was implemented as a "plug-in" enhancement for existing quantized training frameworks such as DoReFa and WRPN.
The results demonstrate that SinReQ consistently improves top-1 accuracy, with average gains of 2.8% for DoReFa and 2.1% for WRPN across all bitwidths. Notably, the method closed the accuracy gap between quantized and full-precision networks by approximately 32.4% to 37.1%. In low-bitwidth scenarios (3–5 bits), SinReQ significantly outperformed baseline methods, particularly when training from scratch. Visual evidence from weight distribution plots confirmed that weights clearly cluster around intended quantization centroids as training progresses.
Conclusion
SinReQ provides a mathematically elegant and effective solution for low-bitwidth quantized training. By bridging the gap between continuous optimization and discrete weight representation through differentiable sinusoidal regularization, it enables the training of high-accuracy, resource-efficient DNNs. While the current work focuses primarily on weight regularization, future research may explore extending this periodic logic to activation quantization and investigating the hardware-specific energy efficiency of the resulting models.
Summary updated