Introduction
While deep learning (specifically Residual Networks or ResNets) and gradient boosting (like XGBoost or LightGBM) dominate machine learning, they are typically viewed as distinct paradigms. Standard gradient boosting iteratively updates a predictor using an ensemble of shallow models (like decision trees). In contrast, ResNets iteratively optimize feature extraction by stacking layers.
This paper bridges the gap between these two powerful approaches by framing ResNets as a form of functional gradient boosting. The authors introduce ResFGB (Residual Functional Gradient Boosting), a novel algorithm that iteratively builds deep feature extractors rather than shallow predictors. By doing so, they create a hybrid method that learns deep, powerful feature representations while retaining the robust theoretical guarantees and optimization efficiency of traditional boosting algorithms.
The ResFGB Method
Instead of applying functional gradients directly to the final predictor (as standard boosting does), ResFGB applies them to the feature extraction space.
- Functional Gradient Steps: At each iteration, the algorithm calculates the functional gradient of the empirical risk with respect to the current feature representations.
- Smoothing via Embeddings: Since this gradient only exists on the training data, ResFGB uses a smoothing technique—fitting a non-linear embedding (like a shallow neural network)—to approximate and propagate this gradient to unseen data.
- Building the ResNet: Adding this approximated gradient step mathematically mirrors adding a new residual block in a ResNet ($x_{t+1} = x_t - \eta \cdot \text{gradient\_approximation}$).
- Sample-Splitting Variant: To provide rigorous theoretical guarantees, the authors also develop a sample-splitting variant. By using fresh batches of data for each layer, they prove expected risk bounds that avoid an exponential dependence on the network's depth.
Key Insights
- ResNets are Functional Gradient Descent: The iterative stacking of layers in a ResNet can be mathematically formalized as taking functional gradient steps in the space of feature extractions.
- Easier Optimization: Finding a predictor with a small functional gradient norm is much easier than directly minimizing the excess risk (which lacks strong convexity). Small functional gradients reliably bound the gap between predicted and true conditional probabilities.
- Deep vs. Shallow Boosting: Standard boosting methods are limited to shallow models because they optimize the predictor directly. By boosting the feature extractor instead, ResFGB naturally grows into a deep neural network, granting it much higher representational power.
Empirical Results
The authors evaluated ResFGB on several standard tabular and image classification benchmarks from the LIBSVM repository, including letter, usps, ijcnn1, mnist, covtype, and susy.
The theoretical analysis reveals a clear tradeoff controlled by the learning rate and network depth. Smaller learning rates and shallower depths generalize better, perfectly mirroring the empirical behavior of standard boosting algorithms. The learning curves demonstrate stable convergence across datasets, with the test accuracy closely tracking the training accuracy.
ResFGB (using logistic or smooth hinge loss) outperformed Multilayer Perceptrons (MLPs), Support Vector Machines (SVMs), Random Forests, and Gradient Boosting on almost all tested datasets. For instance, on the MNIST dataset, ResFGB achieved 98.6% - 98.7% accuracy, beating Gradient Boosting (98.1%) and Random Forest (97.2%). On the SUSY dataset, ResFGB matched Gradient Boosting's strong performance (80.4%). Gradient Boosting only outperformed ResFGB on the COVTYPE dataset (97.2% vs 96.6%).
Limitations and Future Work
- Image Data Performance: While the method theoretically supports Convolutional Neural Networks (CNNs) as feature extractors, the current experiments rely on simpler embeddings (shallow MLPs). Additional engineering and architectural efforts are needed to achieve state-of-the-art performance on complex, high-dimensional image datasets.
- Theoretical Bounds: The standard generalization bound has an exponential dependence on network depth ($T$) in the worst case. While the sample-splitting technique mitigates this, it requires dividing the dataset, which can slow down optimization or require larger amounts of data.
- Future Work: Extending this framework to effectively incorporate CNNs for high-performance image classification is highlighted as the primary direction for future research.
Summary updated