Near-Optimal and Efficient First-Order Algorithm for Multi-Task Learning with Shared Linear Representation

Shihong Ding, Fangyu Du, Cong Fang

Introduction: The Non-Convex Bottleneck in Multi-Task Learning

Multi-task learning (MTL) has emerged as a pivotal paradigm in modern machine learning. By leveraging shared structures across multiple related tasks—such as a robotic arm learning to grasp various objects or a diagnostic model identifying multiple diseases—MTL significantly improves data efficiency and generalization.

The core mathematical assumption in linear MTL is that these tasks share a common, low-dimensional "underlying language." If we have $T$ tasks, each task's predictor $v_t$ can be factored into a shared low-dimensional matrix $B$ and a task-specific vector $w_t$, such that $v_t = B w_t$.

While highly effective in practice, this formulation creates a massive theoretical hurdle: matrix factorization is intrinsically non-convex. Because the objective function lacks a strictly convex "bowl" shape, standard gradient descent algorithms risk getting trapped in local minima or suffering from exceedingly slow convergence. Historically, likelihood-based methods—the approaches most commonly deployed by practitioners—have either yielded sub-optimal statistical error rates or lacked rigorous guarantees of reaching the global optimum. This paper bridges that gap, introducing a first-order algorithm that is both computationally efficient and statistically near-optimal.

The Solution: Two-Phase Gradient Descent (TPGD)

To overcome the non-convexity of matrix factorization, the authors propose a novel Two-Phase Gradient Descent (TPGD) algorithm. The innovation lies in splitting the optimization process into two distinct, strategically designed stages:

Phase I: Warm-Start Feature Learning

Starting from a random initialization, the algorithm first performs unregularized gradient descent. The objective in this phase is not to find the perfect solution, but rather to navigate into the "right neighborhood." The authors mathematically prove that despite the non-convex landscape, this initial phase effectively performs feature learning, successfully identifying the correct subspace for the shared representation $B$.

Phase II: Refined Optimization with Correction

Once the algorithm reaches the correct neighborhood, it transitions to a regularized objective. To handle the inherent "rotational degrees of freedom" in matrix factorization (where rotating $B$ and counter-rotating $W$ yields the identical predictions), the authors introduce a specific correction term: $\frac{1}{8} \|B^\top B - WW^\top\|_F^2$. This term elegantly decouples the shared and task-specific parameters. By leveraging a Regularity Condition (RC), the authors prove strict convergence despite the objective's rotational symmetries.

Key Theoretical Breakthroughs

This paper establishes several major theoretical milestones for likelihood-based MTL:

  • The "Factor of $k$" Improvement: Previous state-of-the-art methods suffered from an estimation error of $\widetilde{\mathcal{O}}(dk^2/TN)$, where $d$ is the input dimension, $k$ is the representation dimension, $T$ is the task count, and $N$ is the samples per task. TPGD reduces this error bound to $\widetilde{\mathcal{O}}(dk/TN)$. In high-dimensional settings where $k$ is large, this factor-of-$k$ reduction represents a massive leap in data efficiency.
  • Constant Iteration Complexity: The algorithm is guaranteed to converge in $\widetilde{\mathcal{O}}(1)$ iterations. This means the required number of optimization steps does not explode as problem dimensions scale, making TPGD highly practical for large datasets.
  • Mathematical Justification for Curriculum Learning: By analyzing environments with heterogeneous noise, the authors provide a rigorous theoretical foundation for Curriculum Learning. They prove that training on "easy" (low-noise) tasks first to learn the shared representation $B$, and subsequently introducing "hard" (high-noise) tasks, yields significantly better performance than training on all tasks simultaneously.

Empirical Validation and Results

Because the paper is fundamentally theoretical, validation was conducted using synthetic linear MTL environments. The input covariates were designed to satisfy the Restricted Isometry Property (RIP), a standard high-dimensional statistical assumption ensuring data is sufficiently "spread out" to allow structural recovery.

The results confirm the theory:

  1. Near-Optimality: TPGD matches the information-theoretic lower bound for this class of problems, proving that no algorithm can achieve a significantly better error rate.
  2. Efficiency: In numerical simulations, TPGD reached stable, low-error solutions in far fewer iterations than existing baselines like Alternating Minimization Gradient Descent (AltMinGD) or Normalized Stochastic Gradient Descent (NSGD).
  3. Transfer Learning: The shared representation $B$ learned via TPGD transfers exceptionally well. When applied to a new, unseen task ($T+1$), the model requires very few samples to achieve high accuracy.

Limitations and Future Directions

While TPGD represents a significant leap forward, the authors note a few limitations that pave the way for future research:

  • Linearity Constraint: The current proofs apply strictly to shared linear representations. Extending these near-optimal guarantees to the non-linear multi-layer neural networks (e.g., ReLU networks) used in modern deep learning remains a critical next frontier.
  • RIP Dependency: The theoretical guarantees rely heavily on the RIP assumption. Real-world datasets often feature highly correlated covariates that violate RIP, suggesting a need for more robust algorithmic adaptations in the future.
  • Hyperparameter Sensitivity: Phase I requires a specific scaling parameter ($\alpha$) for initialization. While the paper provides theoretical bounds for $\alpha$, finding the optimal value in practice without prior knowledge of ground-truth noise levels can be challenging.

Summary updated

BibTeX
@inproceedings{ding2026near,
  author = {Shihong Ding and Fangyu Du and Cong Fang},
  title = {{Near-Optimal and Efficient First-Order Algorithm for Multi-Task Learning with Shared Linear Representation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=TnquAvyTtL},
}
Figure