NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Decentralized Communication-Efficient Multi-Task Representation Learning

Shana Moothedath, Namrata VaswaniarXiv 2022

TL;DR

This paper introduces Dec-MTRL, the first provably accurate decentralized algorithm for multi-task representation learning. By leveraging a shared low-rank structure, it allows distributed nodes to collaboratively learn a common feature space with high communication efficiency and significantly lower sample requirements than learning tasks independently.

What Problem Does This Paper Address?

Multi-task representation learning (MTRL) is a powerful paradigm for "data-scarce" settings. The core idea is that multiple related tasks share a common low-dimensional representation (a subspace). By learning this shared structure, models can improve performance even when individual tasks have very few data points.

While MTRL is well-understood in centralized settings (where all data lives on one server), many modern applications—like privacy-preserving healthcare or geographically distributed sensor networks—require decentralized learning. In these scenarios, there is no central coordinator; nodes only communicate with their immediate neighbors.

The challenge is twofold:

  1. Non-convexity: Recovering a low-rank matrix is a non-convex optimization problem, making convergence difficult to prove.
  2. Subspace Averaging: In decentralized settings, nodes often try to "average" their local estimates. However, subspace basis matrices cannot be simply averaged numerically; doing so doesn't result in a valid basis for the "mean" subspace.

Methods

The authors propose the Dec-MTRL algorithm, which alternates between local task updates and global representation updates. The process consists of three main stages:

  1. Spectral Initialization: To handle non-convexity, the algorithm needs a good starting point. The authors develop a decentralized version of the power method to estimate the top singular vectors of the task matrix.
  2. Local Minimization (over $B$): Each node $g$ independently solves a least-squares problem to update the coefficients ($b_t$) for its specific tasks, keeping the shared representation ($U$) fixed.
  3. Decentralized Projected Gradient Descent (for $U$): Nodes compute local gradients for the shared representation. They then use an Average Consensus (AvgCons) algorithm to aggregate these gradients across the network. Finally, they perform a projected gradient step followed by a QR decomposition to ensure the representation remains a valid orthonormal basis.

To simplify the theoretical analysis and ensure independence between iterations, the authors employ a sample-splitting strategy, where different subsets of data are used for each iteration.

The initialization procedure for Dec-MTRL uses a consensus-based power method to find a starting subspace.

Datasets

The paper evaluates the algorithm using synthetic numerical simulations.

  • Data Generation: Input matrices $X_t$ are generated as i.i.d. standard Gaussian. The ground truth task matrix $\Theta^\star$ is constructed as a product of a $d \times r$ orthonormal basis $U^\star$ and an $r \times T$ coefficient matrix $B^\star$.
  • Network Topology: The communication network is modeled as an Erdos-Renyi (ER) graph, where edges between nodes exist with a certain probability $p$.

Key Insights and Ideas

  • Sample Efficiency: The authors prove that the total number of samples needed ($nT$) scales with the intrinsic rank $r$ rather than the full dimension $d$. Specifically, they show that roughly $r^2$ samples per task are sufficient, whereas learning tasks independently would require at least $d$ samples per task.
  • Linear Convergence: Despite the non-convex nature of the problem, the algorithm is shown to converge at a linear rate to the global minimizer, provided the initialization is sufficiently close.
  • Communication Optimality: The communication complexity per node per iteration is $O(dr)$, which is the size of the shared representation $U$. This is essentially the minimum information required to reach a consensus on the shared features.
  • Why Standard DGD Fails: The paper highlights that standard Decentralized Gradient Descent (DGD) fails for this problem because it attempts to average subspace estimates ($U^{(g)}$) directly. Because these matrices represent points on a Grassmannian manifold, their numerical average is not a valid subspace basis. Dec-MTRL avoids this by performing consensus on the gradients instead.

Key Results

  • Theoretical Guarantees: Theorem 4.1 provides non-asymptotic bounds on sample and iteration complexity. It guarantees that the subspace estimation error $SD_2(U^{(g)}, U^\star)$ stays below a target $\epsilon$ with high probability.
  • Simulation Performance: In experiments with $d=600$ and $n=50$, Dec-MTRL successfully converged to near-zero error, while standard DGD approaches (even with spectral initialization) failed to converge.
  • Robustness to Connectivity: The algorithm's performance improves as the network connectivity ($p$) increases, but it remains functional even in sparse networks, provided they are connected.

Limitations and Future Work

  • Consensus Iterations: Currently, the number of consensus iterations ($T_{con}$) required at each step depends on the final desired accuracy level ($\epsilon$). The authors aim to find a version where $T_{con}$ is independent of $\epsilon$.
  • Initialization: While the spectral initialization works, the authors suggest there is room to improve the theoretical guarantees for the initialization phase itself.
  • Gaussian Assumption: The current proof relies on the data $X_t$ being Gaussian. Extending these provable guarantees to more general data distributions is a noted direction for future research.

Summary updated

BibTeX
@misc{moothedath2022decentralized,
  author = {Shana Moothedath and Namrata Vaswani},
  title = {{Decentralized Communication-Efficient Multi-Task Representation Learning}},
  year = {2022},
  eprint = {2204.08117},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.08117},
}
Figure