When Does Dynamic Ensembling Pay Off? Diagnosing Regionwise Gains in Regression under Distribution Shift
Abstract
Whether input-dependent ("dynamic") combination of a regression model pool beats the best static blend depends on the shift and is rarely known before deployment. Can a small labeled target-domain probe tell us when reallocating trust across regions of the input space will pay off? We answer this with , which estimates from the probe the cross-fitted gain of the regionwise convex combination over the best static convex blend: the realizable value of deciding, region by region, whom to trust. Across a frozen suite of 12 dataset-shift pairs (spatial, temporal, domain, feature-cluster), predicts realized regionwise test gains with dataset-level Spearman (95% CI ; ), including two cases overturning preregistered expectations. The relationship holds in a 16-pair sensitivity analysis (Spearman ), whereas alternative probe diagnostics reach at most . This contrast isolates regional trust reallocation: correlation is for regionwise-convex gain, but for smooth covariate-dependent stacking after affine correction. A controlled generator shows dynamic gains arise from the interaction of shift heterogeneity and local competence, increase with shift severity, and become realizable between 128 and 256 probe labels in the tested grid. The Probe-Validated Ensemble Selector chooses among a static affine stacker and dynamic realizers, deploying a candidate only when a held-out lower confidence bound clears the static-convex floor. In a preregistered prospective batch, it matched or improved the floor in all 12 runs; two deployments reduced test risk by 11% and 16%, while the gate rejected a candidate whose un-gated deployment incurred the static loss. We release OpenRegShift, a reproducible evaluation harness for regression ensembles under distribution shift.
Figures & tables
| Data component | Information available | Permitted use |
|---|---|---|
| Source training set | Covariates and labels | Fit preprocessing and the frozen model pool |
| Source validation set | Covariates and labels | Fit residual variance heads and select the source-best model |
| Full target probe | Covariates only | Fit the partition used by the regional mechanism |
| Diagnostic sample | Covariates and labels | Estimate by cross-fitting, then refit the static and regionwise convex combiners for C1 test evaluation |
| Combiner sample | Covariates and labels | Fit the static floor and candidate combiners |
| Gate sample | Covariates and labels | Validate candidates against the static floor |
| Diagnostic | Spearman | LOO-MAE |
|---|---|---|
| Shift severity | ||
| Heterogeneity summary | ||
| Heterogeneity competence | ||
| Local-competence summary | ||
| In-sample headroom |
| Stage | Decisions | Test outcome |
|---|---|---|
| Retrospective, runs | 11 affine, 10 CDST-RBF, 1 regional, 14 floor | mean ; worst |
| Preregistered prospective, runs | 2 CDST-RBF, 10 floor | mean ; worst |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| mean | pooled Spearman | dataset-level Spearman | |
|---|---|---|---|
| 2 | 1.8 | ||
| 4 | 3.3 | ||
| 8 | 7.1 | ||
| 16 | 13.5 | ||
| 32 | 19.7 |
| Dataset | Source | Outcome | Role |
|---|---|---|---|
| California | sklearn/StatLib | median house value | Dev |
| Bike | UCI 275 | Dev | |
| Superconduct | UCI 464 | critical temperature | Dev |
| PM2.5 | UCI 501 | Dev | |
| Wine | UCI 186 | wine quality | Dev |
| Parkinsons | UCI 189 | total UPDRS | H1 |
| Dataset | Source target | Type | ||
|---|---|---|---|---|
| California | latitude latitude | 11,814 | 8,826 | spatial |
| Bike | 2011 2012 | 8,645 | 8,734 | temporal |
| Superconduct | remaining clusters isolated cluster | 16,583 | 4,680 | feature-cluster |
| PM2.5 | 8 urban 4 suburban/rural stations | 60,000 | 50,000 | spatial |
| Wine | white red wine | 4,898 | 1,599 | domain |
| Parkinsons | 28 patients 14 held-out patients | 3,932 | 1,943 | domain |
| Subset | Size | Permitted use |
|---|---|---|
| 205 | estimate by cross-fitting static and regionwise convex fits, then refit both C1 combinations on all 205 observations for test evaluation | |
| 215 | fit the static convex floor and the six selector candidates | |
| 92 | compare the fitted candidates with the floor and make the deployment decision | |
| Total | 512 | labeled target-probe budget |
| Member | Estimator | Main settings |
|---|---|---|
| Gradient boosting | HistGradientBoostingRegressor | library defaults; seeded |
| Random forest | RandomForestRegressor | 200 trees; minimum leaf size 2 |
| Ridge regression | Ridge | penalty |
| Multilayer perceptron | MLPRegressor | hidden layers ; early stopping; at most 400 iterations |
| Nearest neighbors | KNeighborsRegressor | 15 neighbors; distance weighting |
| Stage | Frozen | Dataset/shift pairs | Role |
|---|---|---|---|
| H1 | Aug. 3, 2026 | Parkinsons, KC House, Appliances, Gas Turbine, ACS Income | First held-out test of the diagnostic and its sign-based decision rules. |
| H2 | Aug. 4, 2026 | Flights, Electricity | Second held-out test under the unchanged diagnostic protocol. |
| P3 | Aug. 4, 2026 | Protein, News, Traffic, Seoul Bike | Prospective evaluation of the final Probe-Validated Ensemble Selector. C1 quantities are reported only as a sensitivity analysis. |
| Experiment | Varied values | Fixed values |
|---|---|---|
| Factorial surface | , , | |
| Shift severity | , , | |
| Probe budget | , , | |
| Pool homogenization | , , |
Ensemble Learning
Ensemble learning combines multiple predictors to improve accuracy, robustness, calibration, or uncertainty estimates.
See all 272 papers