Abstract
In this paper, we propose BPGrad, a novel approximate algorithm for deep neural network training, based on adaptive estimates of feasible region via branch-and-bound. The method is based on the assumption of Lipschitz continuity in objective function, and as a result, it can adaptively determine the step size for the current gradient given the history of previous updates. We prove that, by repeating such a branch-and-pruning procedure, it can achieve the optimal solution within finite iterations. A computationally efficient solver based on BPGrad has been proposed to train the deep neural networks. Empirical results demonstrate that BPGrad solver works well in practice and compares favorably to other stochastic optimization methods in the tasks of object recognition, detection, and segmentation.
Introduction
Training deep neural networks (DNNs) involves minimizing a complex, non-convex loss function. Traditional optimization methods like Stochastic Gradient Descent (SGD) and Adam are local solvers; they rely on local gradient information to navigate the loss landscape. Consequently, they are prone to becoming trapped in local minima or saddle points, which may not represent the best possible model performance. Achieving global optimality in high-dimensional parameter spaces is a significant challenge. This work introduces BPGrad, a framework that integrates global optimization principles—specifically Branch-and-Bound (B&B)—into the training of deep learning models.
Methodology: Branching and Pruning
The core of BPGrad lies in its ability to systematically search the parameter space and discard regions that cannot contain the global minimum. This is achieved through two main components: the assumption of Lipschitz continuity and a pruning mechanism.
Lipschitz Continuity and Lower Bounds
BPGrad assumes the loss function $f$ is Lipschitz continuous with a constant $L$. This means the rate of change of the function is bounded: $|f(x) - f(y)| \le L \|x - y\|$. This property allows us to estimate a lower bound for the function in any given region. If we know the value $f(x_0)$, the function cannot drop faster than a cone with slope $L$ centered at $x_0$.
The Pruning Mechanism (RPS)
By comparing the estimated lower bound of a region to the best objective value found so far ($f_{min}$), BPGrad identifies the Removable Parameter Space (RPS). If the lower bound in a region is greater than $f_{min}$, that region is "pruned" from the search, significantly narrowing the feasible search space.
The BPGrad Solver
While a full B&B search is computationally prohibitive in high dimensions, the authors propose a practical BPGrad solver. This solver uses gradients to determine the direction of descent and adaptively calculates the step size $\eta_t$ based on the distance to the estimated global minimum.
The solver also incorporates momentum, which ensures "Global Property Preservation." This prevents the optimization trajectory from returning to regions that have already been effectively searched or pruned, maintaining a global perspective during the descent.
Experimental Results
The BPGrad solver was evaluated across several standard computer vision tasks:
- Object Recognition: On ImageNet (ILSVRC2012) using AlexNet, BPGrad achieved a 42.2% top-1 error, outperforming state-of-the-art results and other adaptive solvers like RMSProp.
- Object Detection and Segmentation: Experiments on PASCAL VOC2007 and VOC2011 showed that BPGrad converges faster in early epochs and exhibits more stable validation performance compared to SGD.
- Global Optimality: In 1D toy problems, BPGrad consistently found the global optimum, whereas Adam and SGD often stalled in local minima.
Conclusion
BPGrad offers a novel bridge between global optimization theory and practical deep learning training. By leveraging Lipschitz continuity to prune the search space and adaptively tune step sizes, it provides a more robust path toward global optimality. Future work will focus on dynamic estimation of the Lipschitz constant and more advanced sampling techniques to further enhance exploration in high-dimensional spaces.
Summary updated