BPGrad: Towards Global Optimality in Deep Learning via Branch and Pruning

Ziming Zhang, Yuanwei Wu, Guanghui Wang

Abstract

Training deep neural networks is challenging due to the highly non-convex nature of the loss landscape. Standard local search algorithms like SGD and Adam often converge to local minima or saddle points. We introduce BPGrad, a novel optimization algorithm that incorporates the classical "Branch and Pruning" (BP) technique into deep learning. By assuming the loss function is Lipschitz continuous, BPGrad adaptively determines step sizes that theoretically "prune" regions of the parameter space where a global optimum cannot exist. Our experiments on benchmarks like MNIST, CIFAR-10, and ImageNet demonstrate that BPGrad achieves faster convergence and superior generalization compared to state-of-the-art solvers.

Introduction

The search for global optimality in deep learning is often hindered by the complexity of the loss surface. While local search methods are computationally efficient, they lack the global perspective needed to escape poor local optima. Global optimization techniques, though theoretically powerful, typically suffer from the "curse of dimensionality." BPGrad bridges this gap by providing a scalable approximation of Branch and Pruning specifically designed for high-dimensional neural network training.

Methodology: Branch and Pruning for Deep Learning

The core of BPGrad lies in two main components: the Lipschitz assumption and the pruning mechanism.

The Lipschitz Assumption

BPGrad assumes the objective function $f$ is Lipschitz continuous with a constant $L$. This implies that the function's rate of change is bounded: $|f(x) - f(y)| \leq L \|x - y\|$. This bound allows the algorithm to estimate a lower bound for the global minimum at any point in the parameter space.

The Lipschitz lower bound (red V-shape) defines a cone below which the function cannot fall, providing a basis for pruning.

Pruning the Search Space

Using the Lipschitz constant, BPGrad identifies "Removable Parameter Spaces"—regions where the function value is guaranteed to be higher than the current best-known minimum. By calculating an adaptive step size $\eta_t$, the algorithm "jumps" over these regions, effectively pruning them from the search.

Visualization of the pruning process on a 3D loss surface. The red dashed circles represent the removable parameter space that the algorithm skips to accelerate convergence.

Practical Implementation

To handle the millions of parameters in modern networks, BPGrad uses a momentum-based approximation. Momentum helps maintain a consistent search direction, which is crucial for satisfying the theoretical requirements of the branching process while maintaining the speed of standard backpropagation.

Experimental Results

We evaluated BPGrad across a variety of computer vision tasks:

  • Image Classification: On ImageNet (AlexNet), BPGrad achieved a top-1 validation error of 44.0%, significantly outperforming RMSProp (47.2%) and Adam.
  • Object Detection & Segmentation: On PASCAL VOC 2007, BPGrad matched or exceeded Adam's performance (66.0 mAP). In segmentation tasks (VOC 2011), it achieved a state-of-the-art mean Intersection over Union (mIoU) of 62.4%.
  • Convergence Speed: In initial training epochs across MNIST and CIFAR-10, BPGrad consistently reduced the training objective faster than competing solvers.

Conclusion

BPGrad introduces a principled way to incorporate global search into deep learning optimization. By treating the learning rate as a dynamic pruning tool derived from Lipschitz continuity, it offers a robust alternative to traditional local solvers. Future work will focus on automating the estimation of the Lipschitz constant $L$ to further reduce hyperparameter tuning.

Summary updated

BibTeX
@inproceedings{zhang2018bpgrad,
  author = {Ziming Zhang and Yuanwei Wu and Guanghui Wang},
  title = {{BPGrad: Towards Global Optimality in Deep Learning via Branch and Pruning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=rJ4EuA-_ZH},
}
Figure