TL;DR
SEBOOST (Sequential Subspace Optimization Boosting) is a "wrapper" technique that enhances standard stochastic optimization methods like SGD. By periodically performing a secondary optimization step within a low-dimensional subspace of recent descent directions, SEBOOST significantly accelerates convergence and makes training more robust to hyperparameter choices—all without requiring internal changes to the underlying algorithm.
What Problem Does This Paper Address?
Stochastic Gradient Descent (SGD) is the backbone of modern deep learning. While efficient, "vanilla" SGD is noisy and lacks a global perspective, often requiring careful tuning of learning rates and momentum. While variants like Adam or AdaGrad use historical gradient information to scale updates, they still essentially perform local, one-dimensional steps.
On the other end of the spectrum are deterministic methods like SESOP (Sequential Subspace Optimization), which optimize over a subspace spanned by multiple previous directions. These are mathematically powerful but computationally prohibitive for deep learning because they typically require processing the entire dataset (batch processing) to find the optimal subspace step. The authors tackle the challenge of bringing the convergence benefits of subspace optimization to the high-speed, stochastic world of deep learning.
Methods
The core of SEBOOST is an alternating two-stage process:
- The Baseline Phase: The algorithm performs $\ell$ steps of a standard stochastic optimizer (e.g., SGD, NAG, or AdaGrad). These steps are summed to create a "cumulative stochastic step."
- The Boosting Phase: SEBOOST defines a small affine subspace (typically dimension $M=10$ to $50$) spanned by the current cumulative step and several previous "outer" steps. It then performs a secondary optimization—usually using Conjugate Gradient (CG)—to find the best possible position within this tiny subspace.
To make the subspace even more effective, the authors introduce Anchor Points: directions pointing back to specific points in the optimization history that are updated only occasionally. This gives the optimizer a "long-term memory" of where it has been, helping it navigate complex loss landscapes more effectively.
Datasets
The authors evaluated SEBOOST across three distinct tasks to demonstrate its versatility:
- Simple Regression: A synthetic dataset of 20,000 samples simulating a continuous function ($\mathbb{R}^6 \to \mathbb{R}$).
- MNIST Autoencoder: The classic handwritten digit dataset, used to train a multi-layer autoencoder (784-200-100-64 architecture) to reconstruct images.
- CIFAR-10 Classifier: A standard image recognition benchmark, using the modern ResNet-32 architecture to classify 32x32 color images.
Key Insights and Ideas
- "Plug-and-Play" Boosting: One of the most elegant aspects of SEBOOST is that it treats the baseline optimizer as a black box. You don't need to rewrite your SGD or Adam implementation; you simply "wrap" it with the subspace step.
- Computational Efficiency: Because the subspace optimization happens only once every $\ell$ steps (e.g., once per epoch or every 100 mini-batches), the added computational cost is negligible compared to the thousands of standard gradient evaluations.
- Robustness to Learning Rates: The paper finds that SEBOOST makes the choice of the baseline learning rate less critical. If the SGD learning rate is slightly off, the subspace optimization step acts as a corrective mechanism, "pulling" the weights toward a better minimum.
- Subspace Enrichment: Simply using the last few steps isn't always enough. By adding "anchor points" and momentum directions to the subspace, the optimizer gains a much richer geometric view of the loss surface.
Key Results
- Faster Convergence in Regression: In the simple regression task, SEBOOST variants consistently outperformed their baseline counterparts (SGD, NAG, AdaGrad) in both training time and number of epochs.
- Autoencoder Acceleration: In the MNIST autoencoder experiments, SEBOOST-SGD and SEBOOST-NAG reached lower Mean Squared Error (MSE) significantly faster than their vanilla counterparts, both in terms of training epochs and actual wall-clock time.
- ResNet Performance: On CIFAR-10, SEBOOST helped a ResNet-32 model achieve better test accuracy faster. Notably, it achieved significant boosting even without the manual learning rate decay schedules often required for state-of-the-art results.
- Stability: The secondary optimization (using a larger mini-batch than the baseline) helps stabilize the training process, preventing the "zig-zagging" often seen in noisy stochastic optimization.
Limitations and Future Work
- Hyperparameter Addition: While SEBOOST makes the baseline more robust, it introduces its own hyperparameters: $\ell$ (interval between boosts) and $M$ (subspace size). The authors suggest $\ell$ should be set so the boost happens roughly once or twice per epoch.
- Pruning Strategies: Currently, when the subspace is full, the oldest direction is simply discarded. The authors note that more sophisticated "pruning" (keeping only the most useful directions) could further improve performance.
- Parallelization: The authors suggest SEBOOST is naturally suited for distributed training, where "workers" compute local gradients and a "master" node performs the subspace optimization to synchronize and boost the global model.
Summary updated