Sample-Efficient Linear Representation Learning from Non-IID Non-Isotropic Data

Thomas Tck Zhang, Leonardo Felipe Toso, James Anderson, Nikolai Matni

Introduction

In multi-task or meta-learning, the core objective is to learn a shared feature representation across many heterogeneous tasks. By extracting this shared core, the amount of data required to fine-tune a model for any single new task is drastically reduced. This concept is a driving force behind much of the recent progress in machine learning, benefiting both computational efficiency and statistical generalization.

However, most theoretical guarantees for linear representation learning assume the training data is independent and identically distributed (i.i.d.) and isotropic (features vary equally in all directions). In real-world applications such as linear system identification, robotics, or imitation learning, data is inherently sequential (non-i.i.d.) and non-isotropic. This paper tackles the challenge of multi-task linear representation learning in these realistic regimes, demonstrating that standard methods fail and proposing a novel, sample-efficient algorithm to overcome these limitations.

The Challenge of Non-IID and Non-Isotropic Data

Standard alternating minimization-descent (AMD) algorithms, such as the popular FedRep, alternate between two steps: fixing the representation to solve for task-specific weights via least squares, and then fixing those weights to take a gradient descent step on the shared representation.

When applied to non-i.i.d. and non-isotropic data, these standard algorithms break down. The authors identify a critical flaw: computing task-specific weights and representation updates on the exact same data batches creates interacting noise terms. This interaction results in a persistent gradient bias that does not scale down as more tasks are added. Consequently, the learning process becomes bottlenecked by the amount of data in a single task, completely defeating the statistical purpose of multi-task learning. The authors demonstrate that vanilla AMD is surprisingly fragile, failing catastrophically even on i.i.d. data if it is just mildly non-isotropic.

Proposed Method: De-bias & Feature-Whiten (DFW)

To resolve the bias and scaling issues inherent in standard AMD, the authors introduce an adaptation called DFW (De-bias & Feature-Whiten). DFW modifies the standard scheme with two crucial steps:

  1. De-biasing (Data Splitting): Each agent or task splits its data trajectory into two independent batches. It computes the task-specific least-squares weights on the first batch, and the representation gradient on the second batch. This decoupling breaks the statistical dependence that causes the persistent bias, proving statistically necessary to reap the true benefits of multi-task learning.
  2. Feature-Whitening: The gradient update sent by each agent is pre-conditioned by multiplying it by the inverse of its sample covariance matrix. This step corrects the skewed geometry introduced by non-isotropic data.

Experiments and Results

The paper relies on synthetic datasets generated for numerical simulations to precisely control the i.i.d. and isotropic properties of the data.

  • Theoretical Convergence: The authors prove that DFW achieves linear convergence to the optimal representation. Crucially, the variance term in their bound scales as $\mathcal{O}(1 / (NT))$, where $N$ is the data per task and $T$ is the number of tasks. By matching the theoretical bounds of an "oracle" Empirical Risk Minimizer, DFW proves that efficient, local gradient-based methods can be statistically optimal even in messy data regimes.
  • Synthetic Linear Regression: In simulations with $T=25$ tasks and $N=100$ samples per task using mildly non-isotropic covariance matrices, standard AMD plateaus at a highly suboptimal error. In contrast, DFW successfully drives the representation error to near-zero, fully leveraging the multi-task data.
  • Linear System Identification (sysID): The authors simulated discrete-time linear dynamical systems ($x_{i+1} = Ax_i + Bu_i + w_i$), which inherently produce sequentially dependent and non-isotropic data. In an experiment with state dimension 25, control dimension 2, and latent dimension 6, DFW successfully converged to the true system matrices. Meanwhile, standard FedRep remained stuck at a suboptimal bias due to the temporal correlation of the dynamical system data.

Limitations and Future Work

While DFW provides robust theoretical and empirical improvements, the current theoretical guarantees are local, requiring the initial representation to be somewhat close to the optimal one. However, empirical experiments suggest that strict warm-start initialization might not be strictly necessary in practice.

Furthermore, the current work is restricted to linear representations. Extending this framework—and its favorable scaling guarantees—to nonlinear function classes (such as neural networks) in non-i.i.d. and non-isotropic regimes remains an exciting and highly impactful direction for future research.

Summary updated

BibTeX
@inproceedings{zhang2024sample,
  author = {Thomas TCK Zhang and Leonardo Felipe Toso and James Anderson and Nikolai Matni},
  title = {{Sample-Efficient Linear Representation Learning from Non-IID Non-Isotropic Data}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=Tr3fZocrI6},
}
Figure