Optimal Multitask Linear Regression and Contextual Bandits under Sparse Heterogeneity
Xinmeng Huang, Kan Xu, Donghwan Lee, Hamed Hassani, Hamsa Bastani, Edgar Dobriban
TL;DR
This work addresses estimation and decision-making across multiple heterogeneous tasks by assuming a global shared parameter plus sparse task-specific adjustments. It introduces MOLAR, a two-stage estimator that robustly aggregates covariate-wise OLS estimates via a weighted median to recover a global parameter and then performs covariate-wise shrinkage toward that shared parameter for each task. The authors prove minimax-optimal rates for both offline multitask linear regression and online contextual bandits under sparse heterogeneity, and extend the framework to generalized linear models and confidence intervals. Empirical results on synthetic data and the PISA dataset demonstrate improved estimation accuracy and regret bounds compared to single-task and prior multitask methods. Overall, the paper provides tight theory and practical algorithms that leverage sparse task differences to achieve significant gains in high-dimensional multitask learning contexts.
Abstract
Large and complex datasets are often collected from several, possibly heterogeneous sources. Multitask learning methods improve efficiency by leveraging commonalities across datasets while accounting for possible differences among them. Here, we study multitask linear regression and contextual bandits under sparse heterogeneity, where the source/task-associated parameters are equal to a global parameter plus a sparse task-specific term. We propose a novel two-stage estimator called MOLAR that leverages this structure by first constructing a covariate-wise weighted median of the task-wise linear regression estimates and then shrinking the task-wise estimates towards the weighted median. Compared to task-wise least squares estimates, MOLAR improves the dependence of the estimation error on the data dimension. Extensions of MOLAR to generalized linear models and constructing confidence intervals are discussed in the paper. We then apply MOLAR to develop methods for sparsely heterogeneous multitask contextual bandits, obtaining improved regret guarantees over single-task bandit methods. We further show that our methods are minimax optimal by providing a number of lower bounds. Finally, we support the efficiency of our methods by performing experiments on both synthetic data and the PISA dataset on student educational outcomes from heterogeneous countries.
