NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating Very Deep Convolutional Networks for Classification and Detection

Xiangyu Zhang, Jianhua Zou, Kaiming He, Jian Sun

TL;DR

This paper introduces a novel method to speed up very deep convolutional neural networks (CNNs) by 4× with negligible loss in accuracy. By explicitly accounting for nonlinear units (like ReLU) and using an "asymmetric reconstruction" strategy to prevent error accumulation across layers, the authors successfully compressed the massive VGG-16 model for both ImageNet classification and Fast R-CNN object detection.

What Problem Does This Paper Address?

In 2015, the trend in computer vision was "deeper is better," exemplified by the VGG-16 model. However, these deep models came with a massive computational tax, making them difficult to deploy on mobile devices or in high-throughput cloud services.

Existing acceleration methods usually focused on approximating linear filters in isolation. The authors identified two major gaps:

  1. Ignoring Nonlinearity: Most methods ignored the Rectified Linear Unit (ReLU) following the convolution, leading to sub-optimal approximations.
  2. The "Error Explosion": When you approximate one layer, you introduce a small error. In a 16-layer network, these errors accumulate and compound rapidly. Previous research mostly showed results for 1-2 layers or shallower models like AlexNet; they struggled to "digest" the depth of VGG-16.

Methods

The authors propose a Response Reconstruction method. Instead of just trying to make the new weights look like the old weights (filter reconstruction), they try to make the output of the new layer look like the output of the original layer.

Key technical components include:

  • Nonlinear Optimization: They formulated the problem to include the ReLU function. To solve this without the heavy lifting of Stochastic Gradient Descent (SGD), they developed a closed-form solution using Generalized Singular Value Decomposition (GSVD).
  • Asymmetric Reconstruction: This is the "secret sauce" for deep networks. When approximating layer $L$, they don't use the perfect input from the original model. Instead, they use the already-approximated (and thus slightly noisy) input from layer $L-1$. This allows layer $L$ to "learn" to compensate for the errors introduced by previous layers.
  • Adaptive Rank Selection: Not all layers are equally redundant. The authors used a greedy strategy based on PCA energy to decide exactly how much to compress each specific layer to meet a global speedup target (e.g., 4×) while minimizing total error.

Datasets

The method was evaluated on two gold-standard benchmarks:

  • ImageNet (ILSVRC 2014): Used for large-scale 1000-class image classification.
  • PASCAL VOC 2007: Used to test the accelerated models as feature extractors for object detection via the Fast R-CNN framework.

Key Insights and Ideas

  • The "Aha!" Moment on Redundancy: The authors found that a model trained from scratch with the "compressed" architecture performed significantly worse than a model compressed from a larger, pre-trained one. This suggests that the optimization process itself—transferring knowledge from the big model—is more important than the final architecture's capacity.
  • Nonlinearity is a Feature, Not a Bug: By explicitly modeling the ReLU during the low-rank decomposition, the approximation becomes much more robust.
  • Depth Requires Coordination: The asymmetric approach proves that you cannot optimize layers in a vacuum. To accelerate a "Very Deep" network, the approximation of the current layer must be aware of the "damage" done by the previous ones.

Key Results

  • VGG-16 Speedup: The method achieved a 4× whole-model speedup on VGG-16.
  • Without fine-tuning, the top-5 error increased by only 0.9%.
  • With a small amount of fine-tuning, the error increase dropped to a mere 0.3%.
  • Object Detection: When the 4× accelerated VGG-16 was plugged into Fast R-CNN, the mean Average Precision (mAP) only dropped from 66.9% to 66.1%. This proved the compressed features remain highly "generalizable."
  • Efficiency: Unlike SGD-based solvers that can take hours or days to converge, their GSVD-based solver takes only 2–5 minutes per layer in MATLAB.

Limitations and Future Work

  • Hardware Realities: While the paper claims a 4× theoretical speedup (based on FLOPs), the actual speedup on GPUs was lower (around 3.3×). This is because current GPU kernels are highly optimized for standard $3 \times 3$ convolutions but less so for the $1 \times 3$ and $3 \times 1$ decompositions used in this method.
  • Fine-tuning Sensitivity: The authors noted that while their method works great without it, fine-tuning is sensitive to learning rates. If the rate is too high, the model "forgets" the clever initialization provided by the GSVD solver and reverts to a poorer state.
  • Future Direction: The authors suggest that more specialized hardware kernels for non-square or low-rank convolutions would be necessary to fully realize these theoretical gains in production environments.

Summary updated

BibTeX
@article{zhang2016accelerating,
  author = {Xiangyu Zhang and Jianhua Zou and Kaiming He and Jian Sun},
  title = {{Accelerating Very Deep Convolutional Networks for Classification and Detection}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2016},
  url = {https://openreview.net/forum?id=MlPzta-XUG_},
}
Figure