Introduction
In machine learning, combining several different models into an ensemble usually yields better accuracy than any single model could provide. However, a major hurdle arises when these models are redundant, meaning they tend to make the same predictions or share the same errors.
When combining multiple neural networks into an ensemble, this redundancy often causes standard weighting techniques to "explode," leading to poor predictions. In statistics, this is known as the multicollinearity problem. When calculating the "optimal" weights for highly correlated models using standard linear regression or the Generalized Ensemble Method (GEM), the underlying math requires inverting a covariance matrix. If the models are too similar, this matrix becomes unstable, causing the calculated weights to swing wildly to extreme positive or negative values. Consequently, the ensemble performs significantly worse than a simple average.
To address this, researchers introduced PCR*, a method that uses Principal Components Regression to find a stable middle ground between simple averaging and unstable "optimal" weights, resulting in a more robust and accurate estimator.
Methodology: The PCR* Approach
The authors propose PCR* (Principal Components Regression with a selection heuristic) to neutralize the instability caused by model overlap without discarding redundant models. The workflow functions as follows:
- Principal Component Analysis (PCA): Instead of weighting the models directly, the algorithm performs PCA on the models' predictions. This transforms the correlated model outputs into a set of independent "principal components" (PCs).
- The Continuum of Regularization: The first PC captures where the models agree most (the common signal), while later PCs capture increasingly fine-grained differences (the noise or specific refinements). The weights derived from just the first principal component are nearly uniform, acting as a "smart average."
- Model Selection via Cross-Validation: The "star" in PCR* refers to the use of 10-fold cross-validation to automatically decide how many principal components to keep ($k$).
- Reconstruction: After performing regression on the top $k$ components, the algorithm translates those results back into weights for the original models.
By choosing the right number of components, PCR* can act like a simple unweighted average (if $k=1$) or like standard unconstrained regression (if $k=N$), effectively finding the "sweet spot" of regularization for any given dataset.
Datasets
The researchers evaluated their approach on three regression datasets using ensembles composed of neural networks trained with different initial weights:
- cpu: Predicting CPU performance.
- housing: Predicting housing prices in Boston.
- bodyfat: Predicting body fat percentage.
Key Results and Insights
Standard "optimal" weighting (like GEM) is only truly optimal with infinite data and no noise. In practice, a slightly "sub-optimal" but stable weight set—like the one PCR* finds—generalizes much better to new data.
The experimental results highlight PCR*'s robustness and consistency across different domains and ensemble sizes ($N=10$ and $N=50$).
- Handling "Explosions": As seen in the table, in the
cpudataset with 50 models, standard Linear Regression (LR) and GEM saw their error rates skyrocket to 238.0 and 227.54, respectively. In contrast, PCR* maintained a stable error of 40.8, performing similarly to a simple average but with more flexibility. - Superior Accuracy: On the
bodyfatandhousingdatasets, PCR* achieved the lowest overall error (e.g., 0.786 onbodyfatwith 50 models vs. 1.04 for a simple average/BEM). - Consistency: PCR* was the only method that consistently ranked among the top performers across all tested domains and ensemble sizes.
Limitations and Future Work
While highly effective, the PCR* method has a few limitations:
- Computational Overhead: Performing PCA and 10-fold cross-validation is more computationally expensive than a simple average (BEM), though it remains efficient compared to training the underlying neural networks.
- Regression Focus: The current methodology focuses on regression (predicting continuous numbers). Expanding this logic to classification tasks is a necessary next step.
- Heuristic Selection: While cross-validation is effective for choosing the number of components ($k$), more sophisticated methods for selecting or shrinking components could further improve performance.
Summary updated