[Paper Review] Ternary Residual Networks
This paper proposes ternary residual networks that enhance sub-8-bit DNNs by adding low-precision residual connections to sensitive layers, guided by a perturbation theory. The method achieves ~1% accuracy drop on ImageNet using ResNet-101 with 1.6× smaller model size, 26× fewer multiplications, and up to 2× better power-performance than 8-8 networks, while enabling on-the-fly accuracy scaling via residual connection control.
Sub-8-bit representation of DNNs incur some discernible loss of accuracy despite rigorous (re)training at low-precision. Such loss of accuracy essentially makes them equivalent to a much shallower counterpart, diminishing the power of being deep networks. To address this problem of accuracy drop we introduce the notion of extit{residual networks} where we add more low-precision edges to sensitive branches of the sub-8-bit network to compensate for the lost accuracy. Further, we present a perturbation theory to identify such sensitive edges. Aided by such an elegant trade-off between accuracy and compute, the 8-2 model (8-bit activations, ternary weights), enhanced by ternary residual edges, turns out to be sophisticated enough to achieve very high accuracy ($\sim 1\%$ drop from our FP-32 baseline), despite $\sim 1.6 imes$ reduction in model size, $\sim 26 imes$ reduction in number of multiplications, and potentially $\sim 2 imes$ power-performance gain comparing to 8-8 representation, on the state-of-the-art deep network ResNet-101 pre-trained on ImageNet dataset. Moreover, depending on the varying accuracy requirements in a dynamic environment, the deployed low-precision model can be upgraded/downgraded on-the-fly by partially enabling/disabling residual connections. For example, disabling the least important residual connections in the above enhanced network, the accuracy drop is $\sim 2\%$ (from FP32), despite $\sim 1.9 imes$ reduction in model size, $\sim 32 imes$ reduction in number of multiplications, and potentially $\sim 2.3 imes$ power-performance gain comparing to 8-8 representation. Finally, all the ternary connections are sparse in nature, and the ternary residual conversion can be done in a resource-constraint setting with no low-precision (re)training.
Motivation & Objective
- To address the significant accuracy drop in sub-8-bit DNNs despite low-precision retraining.
- To enable high-accuracy, low-precision inference in resource-constrained environments without full retraining.
- To provide a dynamic, on-the-fly accuracy scaling capability by enabling/disabling residual connections.
- To develop a perturbation theory that identifies sensitive network branches for targeted residual edge insertion.
- To achieve superior power-performance trade-offs compared to 8-8 precision baselines.
Proposed method
- The method introduces ternary residual connections—low-precision edges added to sensitive branches of a sub-8-bit network to compensate for accuracy loss.
- A perturbation theory is developed to identify critical layers where residual edges yield maximum accuracy improvement with minimal compute cost.
- The approach uses a compute-aware tolerance selection for layer-wise perturbation thresholds (εₖ), optimizing for both accuracy and efficiency.
- Ternary residual blocks are formed using fixed-point quantization with block size N (e.g., N=64), enabling sparse, efficient inference.
- The framework allows dynamic model upgrading/downgrading by selectively enabling or disabling residual connections post-deployment.
- The entire conversion from FP-32 to ternary residual network is performed without low-precision retraining, enabling deployment in resource-constrained settings.
Experimental results
Research questions
- RQ1Can sub-8-bit DNNs achieve near-FP32 accuracy by adding low-precision residual connections to sensitive network branches?
- RQ2How can a perturbation theory guide the selection of optimal locations for residual edge insertion in pre-trained networks?
- RQ3What is the power-performance and model efficiency gain of ternary residual networks compared to 8-8 precision baselines?
- RQ4Can the accuracy of a low-precision model be dynamically adjusted at inference time by enabling/disabling residual connections?
- RQ5Is it feasible to convert a full-precision DNN to a ternary residual network without low-precision retraining?
Key findings
- The 8-2 model (8-bit activations, ternary weights) enhanced with ternary residual edges achieves only ~1% accuracy drop on ImageNet using ResNet-101, compared to FP-32 baseline.
- The enhanced 8-2 model reduces model size by 1.6×, multiplications by 26×, and offers up to 2× power-performance gain over 8-8 representations.
- Disabling the least important residual connections reduces model size by 1.9× and multiplications by 32×, with only ~2% accuracy drop from FP-32.
- The method enables on-the-fly accuracy scaling by dynamically enabling or disabling residual connections based on runtime accuracy requirements.
- The ternary residual network conversion can be performed without low-precision retraining, making it suitable for deployment in resource-constrained environments.
- Compute-aware perturbation selection reduces overall compute while maintaining ~1% accuracy loss, with power-performance gain estimated at X∼5.5 for block size N=64.
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.