TL;DR
PSEO (Post-hoc Stacking Ensemble Optimization) treats the final "ensemble" step of AutoML not as a fixed procedure, but as a hyperparameter optimization problem. By using binary quadratic programming for model selection and a deep stacking architecture with novel "Dropout" and "Retain" mechanisms, it significantly outperforms state-of-the-art AutoML systems like AutoGluon.
What Problem Does This Paper Address?
In the world of Automated Machine Learning (AutoML), we spend a massive amount of compute time solving the CASH problem: finding the best combination of algorithms and hyperparameters for a single model. However, the "secret sauce" of winning machine learning competitions is almost always an ensemble—combining multiple models to get a better result.
The gap is that while we tune individual models to death, most AutoML systems use a "fixed" strategy for the final ensemble. They might just average the top 10 models or use a simple one-layer stacker. The authors of PSEO argue that this is a missed opportunity. As they show in their research, the "optimal" ensemble strategy—how many layers to stack, which models to include, and how to regularize them—is highly task-dependent.
The challenges are non-trivial:
- Combinatorial Explosion: Selecting the best subset of models from a pool of hundreds is an NP-hard problem.
- Overfitting in Stacking: Deep stacking (multiple layers of models) often leads to overfitting or "feature degradation," where the predictive signal actually gets worse as it passes through more layers.
Methods
PSEO introduces a three-pronged framework to turn ensemble construction into an optimization task:
1. Smart Base Model Selection
Instead of just picking the "top N" models, PSEO uses Binary Quadratic Programming (BQP) to select a subset. This allows the system to explicitly balance two competing goals:
- Individual Performance: Choosing models that are accurate on their own.
- Inter-model Diversity: Choosing models that make different kinds of mistakes. To make this computationally feasible, they use a Semidefinite Programming (SDP) relaxation, turning a "needle in a haystack" search into a solvable math problem.
2. Deep Stacking with Guardrails
PSEO builds a multi-layer stacking architecture but adds two clever mechanisms to keep it from going off the rails:
- Dropout: Inspired by neural networks, this randomly "drops" predictive features from the previous layer during training. Crucially, it's more likely to drop the best performing features, forcing the stacker to learn from a diverse set of models rather than just "lazy-loading" onto the single strongest one.
- Retain: To combat feature degradation, this mechanism acts as a safety net. If a model in a new layer performs worse than its counterpart in the previous layer (on validation data), the system simply "retains" the better output from the previous layer.
3. Bayesian Optimization (BO)
Finally, PSEO defines a 6-dimensional hyperparameter space—covering ensemble size, diversity weight, number of layers, the type of "blender" model, dropout rate, and the retain toggle. It then uses Bayesian Optimization to search this space and find the best ensemble configuration for the specific dataset at hand.
Datasets
The authors evaluated PSEO on a massive benchmark of 80 real-world datasets from the OpenML repository:
- 50 Classification tasks (ranging from 1k to 110k samples).
- 30 Regression tasks (ranging from 0.6k to 166k samples). These datasets cover a wide variety of domains, from software quality and digit recognition to business and aerospace data.
Key Insights and Ideas
- The "Ensemble CASH" Problem: The biggest "aha moment" is that the ensemble phase itself has a hyperparameter space worth searching. Tuning the ensemble is just as important as tuning the base models.
- Diversity is Quantifiable: By using an error covariance matrix in their BQP formulation, the authors provide a principled way to trade off "goodness" for "uniqueness" in model selection.
- Stacking is Deep Learning-lite: By viewing stacking as a multi-layer network where each "neuron" is a full ML model, the authors successfully applied deep learning concepts like Dropout to traditional tabular ML ensembles.
- Safety First: The "Retain" mechanism is a simple but powerful idea. It ensures that increasing the complexity of an ensemble (adding layers) can never make it worse than a simpler version.
Key Results
- Top of the Leaderboard: Across 80 datasets, PSEO achieved an average test rank of 2.96, outperforming 15 other methods. For context, the second-best baseline (a modified version of AutoGluon) trailed behind with a rank of 6.19.
- Beating the Giants: In a direct head-to-head with AutoGluon's "best quality" mode, PSEO reduced test loss by 10.4% on average.
- Robustness: PSEO was the most consistent performer across both classification and regression tasks, showing that the optimization framework generalizes well.
Limitations and Future Work
- Computational Cost: While the authors implemented reuse strategies and parallelization, running a full Bayesian Optimization loop on top of a multi-layer stacker is significantly more expensive than a simple average.
- Cold-start Problem: Currently, the BO search starts from scratch for every new dataset. The authors suggest that meta-learning (using knowledge from previous tasks to warm-start the search) is a promising future direction.
- Blender Variety: The current search space uses a limited set of "blender" models (Linear, ES, LGB). Expanding this to include more diverse meta-learners could unlock even more performance.
Summary updated