Unified Transfer Learning in High-Dimensional Linear Regression

Shuo Shuo LiuOpenReview 2024

Abstract: Transfer learning plays a key role in modern data analysis when: (1) the target data are scarce but the source data are sufficient; (2) the distributions of the source and target data are heterogeneous. This paper develops an interpretable unified transfer learning model, termed as UTrans, which can detect both transferable variables and source data. More specifically, we establish the estimation error bounds and prove that our bounds are lower than those with target data only. Besides, we propose a source detection algorithm based on hypothesis testing to exclude the nontransferable data. We evaluate and compare UTrans to the existing algorithms in multiple experiments. It is shown that UTrans attains much lower estimation and prediction errors than the existing methods, while preserving interpretability. We finally apply it to the US intergenerational mobility data and compare our proposed algorithms to the classical machine learning algorithms.

Introduction

In modern data science, researchers frequently encounter the "small $n$, large $p$" challenge: a target task possesses very few observations ($n$) relative to a massive number of features ($p$). Transfer learning offers a powerful solution by "borrowing" knowledge from related "source" datasets where data is more plentiful. However, this approach is a double-edged sword. If source data is significantly heterogeneous compared to the target, transferring that knowledge can degrade performance—a phenomenon known as negative transfer.

Existing methods, such as Trans-Lasso, often struggle to precisely identify which specific variables or entire source datasets are truly "transferable." This research introduces UTrans (Unified Transfer Learning), a framework designed to answer three core questions: what to transfer, when to transfer, and how to transfer within high-dimensional linear models.

The UTrans Framework

UTrans departs from standard "vertical stacking" (simply appending source rows to target rows) by employing a dual-axis approach:

  1. Unified Stacking: UTrans stacks data both vertically and horizontally. It redefines the regression model to explicitly include "contrast" terms—the differences between source coefficients ($\beta_k$) and target coefficients ($\beta_0$). This structure allows the model to naturally identify shared variables across domains.
  2. Flexible Penalization: To manage high dimensionality ($p \gg n$), the model utilizes a penalized least squares loss function supporting regularizers like Lasso, SCAD, and MCP for effective feature selection.
  3. Source Detection via Hypothesis Testing: A standout feature of UTrans is its high-dimensional U-test statistic. Instead of relying on heuristics, the model statistically tests the null hypothesis that a source dataset is identical to the target ($H_0: \beta_k - \beta_0 = 0$). If the test rejects the null, that source is excluded to prevent negative transfer.

Experimental Results

The authors evaluated UTrans using synthetic simulations and real-world US intergenerational mobility data. The simulations tested robustness against non-normal noise (Gaussian and $t$-distributions) and varying levels of sparsity.

Comparison of estimation error for UTrans variants and baselines across different dimensions (p), sample sizes (n0), and heterogeneity levels (h).

As shown in Figure 1, UTrans-SCAD and UTrans-Lasso consistently outperformed "Naive-Lasso" (target only) and "Trans-GLM" (a state-of-the-art baseline). Notably, as the number of source datasets ($K$) increased, the error for UTrans variants dropped significantly faster than for competing methods.

Estimation error as a function of the number of transferable sources (ka), demonstrating UTrans's robustness and efficiency in identifying useful information.

Figure 3 illustrates that UTrans maintains superior accuracy even as the number of transferable sources ($k_a$) varies. The authors mathematically proved that UTrans provides tighter estimation error bounds than using target data alone, a claim supported by these empirical results. In real-world applications using US mobility data (comprising 1,803 counties and 7,875 predictors), UTrans achieved the lowest Mean Squared Prediction Error (MSPE) in several states, including California and Minnesota.

Discussion and Conclusion

UTrans provides a statistically principled toolkit for high-dimensional data across related domains. Beyond accuracy, its primary advantage is interpretability. Unlike black-box models like XGBoost, UTrans provides a clear linear model where the importance and direction of each feature are easily discernible—a critical requirement for policy-related research.

Future work may extend this framework to Generalized Linear Models (GLMs) and explore computational optimizations for scenarios where the number of source datasets ($K$) grows alongside the sample size.

Summary updated

BibTeX
@misc{liu2024unified,
  author = {Shuo Shuo Liu},
  title = {{Unified Transfer Learning in High-Dimensional Linear Regression}},
  year = {2024},
  url = {https://openreview.net/forum?id=sqezSK3Ncf},
  howpublished = {OpenReview},
}
Figure