Introduction
Deep Neural Networks (DNNs) have achieved remarkable success across various domains but often come with significant computational and memory costs. These "heavy" models are challenging to deploy on resource-constrained edge devices like smartphones or IoT sensors. Low-Rank Approximation (LRA) is a prominent technique to address this by using Singular Value Decomposition (SVD) to replace large weight matrices with smaller, low-rank counterparts. However, a persistent challenge in LRA is determining the optimal target rank for each layer—a process that has historically relied on manual tuning or suboptimal heuristics.
The COBLA Framework
This paper introduces COBLA (Constrained Optimization Based Low-Rank Approximation), a framework that automates rank selection by formulating it as a mathematical optimization problem. COBLA aims to find the optimal resource allocation that satisfies specific hardware constraints while minimizing accuracy loss.
Masking Variables and Optimization
The core of COBLA involves introducing binary "masking variables" ($m$) for every singular value in every layer of the network. As shown in Figure 1, if $m=1$, the corresponding singular component is retained; if $m=0$, it is discarded.
The total network memory and computational cost (MAC operations) are represented as linear functions of these ranks. This allows the authors to frame rank selection as a constrained 0-1 integer programming problem. To solve this efficiently, the binary variables are relaxed to continuous values between 0 and 1, and the problem is solved using Sequential Quadratic Programming (SQP). Finally, randomized rounding is applied to obtain discrete ranks that fit the hardware budget.
Experimental Evaluation
COBLA was evaluated on ImageNet (ILSVRC12) and CIFAR-10 using architectures like SqueezeNet, VGG-16, and Network-in-Network (NIN).
- SqueezeNet on ImageNet: COBLA achieved a 50% reduction in computation and memory with a Top-1 accuracy of 52.6% before fine-tuning, significantly outperforming heuristics (45.2%). After fine-tuning, the accuracy loss was minimal (~1.5%).
- VGG-16 on ImageNet: COBLA matched state-of-the-art manual tuning results while using 12% fewer resources. At a 30% reduction level, accuracy loss remained negligible (-0.9%).
Key Insights and Discussion
The optimization process revealed that redundancy is inhomogeneously distributed across the network. For instance, in SqueezeNet, 1x1 bottleneck layers are already efficient, while the final convolutional layer was found to be 66% redundant. Furthermore, the authors demonstrated that using sub-sampled gradients (only 5% of the data) is sufficient for stable SQP optimization, making the process highly scalable.
One significant finding was that the benefits of complex data-dependent initial decompositions often vanish after fine-tuning. This justifies COBLA's simpler, data-independent approach, which focuses on the structural redundancy of the weights themselves.
Conclusion and Future Work
COBLA provides a robust, hyperparameter-free method for DNN compression. By treating rank selection as a constrained optimization problem, it removes the need for manual intervention and allows for precise adherence to hardware budgets.
While highly effective, current limitations include the two-step process (optimization followed by fine-tuning) and the lack of explicit modeling for non-linear activations. Future research may explore end-to-end optimization where ranks and weights are updated simultaneously to potentially yield even greater efficiency gains.
Summary updated