Environment Invariant Linear Least Squares
Jianqing Fan, Cong Fang, Yihong Gu, Tong Zhang
TL;DR
Environment Invariant Linear Least Squares (EILLS) addresses endogeneity and distributional shifts by leveraging invariance of $\mathbb{E}[y^{(e)}|\bm{x}^{(e)}_{S^*}]$ across multiple environments. The method combines a pooled $L_2$ loss with a focused invariance regularizer $\mathsf{J}(\bm{\beta})$ to promote exogeneity of selected variables, yielding provable non-asymptotic $\ell_2$ error bounds in the low-dimensional regime and variable selection consistency in high dimensions under a near-minimal identification condition. A key novelty is showing that two environments suffice for consistent recovery under mild heterogeneity, enabling statistically efficient estimation without strong structural priors. The work also connects to FGMM and invariant learning frameworks, discusses nonlinear extensions, and highlights computational considerations and potential approximations for scalability.
Abstract
This paper considers a multi-environment linear regression model in which data from multiple experimental settings are collected. The joint distribution of the response variable and covariates may vary across different environments, yet the conditional expectations of $y$ given the unknown set of important variables are invariant. Such a statistical model is related to the problem of endogeneity, causal inference, and transfer learning. The motivation behind it is illustrated by how the goals of prediction and attribution are inherent in estimating the true parameter and the important variable set. We construct a novel environment invariant linear least squares (EILLS) objective function, a multi-environment version of linear least-squares regression that leverages the above conditional expectation invariance structure and heterogeneity among different environments to determine the true parameter. Our proposed method is applicable without any additional structural knowledge and can identify the true parameter under a near-minimal identification condition. We establish non-asymptotic $\ell_2$ error bounds on the estimation error for the EILLS estimator in the presence of spurious variables. Moreover, we further show that the $\ell_0$ penalized EILLS estimator can achieve variable selection consistency in high-dimensional regimes. These non-asymptotic results demonstrate the sample efficiency of the EILLS estimator and its capability to circumvent the curse of endogeneity in an algorithmic manner without any prior structural knowledge. To the best of our knowledge, this paper is the first to realize statistically efficient invariance learning in the general linear model.
