Collaborative Learning with Shared Linear Representations: Statistical Rates and Optimal Algorithms

Xiaochun Niu, Lili Su, Jiaming Xu, Pengkun Yang

TL;DR

This paper resolves a foundational open problem in multi-task and federated learning: determining the minimax optimal statistical rate for recovering a shared low-dimensional linear representation across multiple clients. The authors introduce a computationally efficient spectral estimator based on local averaging and independent data replicas, establishing an optimal two-phase error rate of $\widetilde{\Theta}\left(\sqrt{\frac{dk}{N}} + \sqrt{\frac{Mdk^2}{N^2}}\right)$ that closes the long-standing gap in the literature.

What Problem Does This Paper Address?

In collaborative and federated learning, $M$ clients aim to learn their respective regression tasks by exploiting a shared $k$-dimensional subspace representation $B^\star \in \mathbb{R}^{d \times k}$ (where $k \le d$). While pooling data should intuitively reduce sample complexity, theoretical bounds have remained loose:

  • Prior upper bounds scaled as $\mathcal{O}\left(\sqrt{\frac{dk^2}{N}}\right)$.
  • Prior lower bounds scaled as $\Omega\left(\sqrt{\frac{dk}{N}}\right)$.

Closing this gap was an acknowledged open problem. It was unclear what the true minimax rate was, whether a statistical-computational gap existed, and under what exact conditions collaboration fundamentally outperforms independent client learning.

Methods

The authors design an efficient spectral estimator that approximates the non-convex least squares formulation without needing alternating minimization or strict sample assumptions (e.g., relaxing prior requirements like $N/M = \Omega(d)$ to merely $n_i \ge 2$):

  1. Independent Local Replicas: Each client splits its local dataset into two independent halves and computes local cross-correlation vectors: $$z_i = \frac{2}{n_i} \sum_{j=1}^{n_i/2} y_{ij} x_{ij}, \quad \widetilde{z}_i = \frac{2}{n_i} \sum_{j=n_i/2 + 1}^{n_i} y_{ij} x_{ij}$$
  2. Spectral Aggregation: The server constructs the outer-product aggregation matrix $Z = \sum_{i=1}^M n_i z_i \widetilde{z}_i^\top$ and extracts its top-$k$ singular vectors $\widehat{B}$.
  3. Decoupled Noise: Because $z_i$ and $\widetilde{z}_i$ are independent, $\mathbb{E}[Z] = B^\star \left(\sum_{i=1}^M n_i \alpha_i^\star (\alpha_i^\star)^\top\right) (B^\star)^\top$. This removes diagonal noise biases and handles unknown, non-isotropic covariate covariances $\Gamma_i$ without requiring clients to share raw data.
  4. Sharp Minimax Lower Bound: Using Fano’s inequality on unit-sphere packing nets, the authors construct two distinct hard instance ensembles: deterministic client weights for the $\sqrt{dk/N}$ term, and Gaussian-distributed weights for the $\sqrt{Mdk^2/N^2}$ term.

Datasets

Not discussed in the paper. The paper is purely theoretical and does not conduct experiments on synthetic or empirical benchmark datasets.

Key Insights and Ideas

  • Two Distinct Phases & The Collaboration Penalty: In typical regimes, the error rate matches the standard parameter-counting rate $\widetilde{\Theta}\left(\sqrt{\frac{dk}{N}}\right)$. However, when there are many clients ($M = \Omega(d)$) or local datasets are small ($n = \mathcal{O}(k)$), a second term dominates: $\widetilde{\Theta}\left(\sqrt{\frac{Mdk^2}{N^2}}\right)$. This represents an unavoidable statistical penalty for distributed collaboration.
  • Collaboration Always Helps at the System Level: Contrary to suggestions in earlier work, collaboration always strictly reduces overall system sample complexity compared to independent learning: learning $B^\star$ requires $N = \widetilde{\Theta}(\max\{dk, \sqrt{Mdk^2}\})$ total samples, which is strictly smaller than the $N = \Theta(Md)$ samples required for clients to solve their tasks independently from scratch.
  • Precise Threshold for Individual Benefit: In downstream transfer learning or private fine-tuning, a newly joined client $(M+1)$ only benefits from the shared representation if its local dataset satisfies $n_{M+1} \ll \min\left\{\frac{N}{k}, \frac{N^2}{M k^2}\right\}$. If local data exceeds this threshold, the client is better off learning independently.

Key Results

  • Upper Bound: For general condition numbers $\lambda_1 / \lambda_k$ of the client diversity matrix, with high probability: $$\|\sin \Theta(\widehat{B}, B^\star)\| = \mathcal{O}\left(\left(\sqrt{\frac{d\lambda_1}{N \lambda_k^2}} + \sqrt{\frac{Md}{N^2 \lambda_k^2}}\right) \log^3(d + N)\right)$$
  • Well-Conditioned Minimax Rate: When $\lambda_1 = \Theta(\lambda_k) = \Theta(1/k)$, the upper bound matches the established minimax lower bound up to polylogarithmic factors: $$\Theta\left(\sqrt{\frac{dk}{N}} + \sqrt{\frac{Mdk^2}{N^2}}\right)$$
  • Transfer & Privacy Bounds: For a new client, representation transfer achieves mean-squared error $\widetilde{\mathcal{O}}\left(\frac{dk}{N} + \frac{Mdk^2}{N^2} + \frac{k}{n_{M+1}}\right)$. In $(\varepsilon, \delta)$-differential privacy fine-tuning, the rate gracefully adds only a low-dimensional privacy penalty $\widetilde{\mathcal{O}}\left(\frac{k^2 \log(1/\delta)}{n_{M+1}^2 \varepsilon^2}\right)$ instead of scaling with $d^2$.

Limitations and Future Work

  • Condition Number Dependence: For ill-conditioned diversity matrices ($\lambda_1 / \lambda_k \gg 1$), the upper and lower bounds differ by a factor of $\sqrt{\lambda_1 / \lambda_k}$ in the primary term.
  • Vanishing Noise Regime: The current estimator does not explicitly exploit regimes where noise variance $\sigma^2 \to 0$ (where iterative refinement such as alternating minimization could potentially drive error lower).
  • Model Generality: The theoretical analysis is restricted to linear representation and regression; extending optimal minimax guarantees to generalized linear models (GLMs) or non-linear models remains open.

Summary updated

BibTeX
@inproceedings{niu2024collaborative,
  author = {Xiaochun Niu and Lili Su and Jiaming Xu and Pengkun Yang},
  title = {{Collaborative Learning with Shared Linear Representations: Statistical Rates and Optimal Algorithms}},
  booktitle = {Federated Learning @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=jNZEIQsJes},
}
Figure