Merging versus Ensembling in Multi-Study Prediction: Theoretical Insight from Random Effects
Zoe Guan, Giovanni Parmigiani, Prasad Patil
TL;DR
This work addresses how to best leverage multiple studies for prediction under cross-study heterogeneity. It develops a theoretical framework using a flexible mixed-effects data-generating model and analyzes ridge (and special-case least-squares) predictions to derive a transition point for when merging studies outperforms multi-study ensembling, and vice versa. The authors provide analytic expressions for the transition in equal-variance settings and bounds for unequal-variance scenarios, complemented by simulations and a metagenomics application to illustrate practical decisions. The results offer a principled guide for deciding whether to pool data or ensemble study-specific models, with direct relevance to fields like metagenomics where cross-study heterogeneity is common.
Abstract
A critical decision point when training predictors using multiple studies is whether studies should be combined or treated separately. We compare two multi-study prediction approaches in the presence of potential heterogeneity in predictor-outcome relationships across datasets: 1) merging all of the datasets and training a single learner, and 2) multi-study ensembling, which involves training a separate learner on each dataset and combining the predictions resulting from each learner. For ridge regression, we show analytically and confirm via simulation that merging yields lower prediction error than ensembling when the predictor-outcome relationships are relatively homogeneous across studies. However, as cross-study heterogeneity increases, there exists a transition point beyond which ensembling outperforms merging. We provide analytic expressions for the transition point in various scenarios, study asymptotic properties, and illustrate how transition point theory can be used for deciding when studies should be combined with an application from metagenomics.
