Manuscript Offprint

arXiv:2610.20075

A Large-Dimensional Analysis of Least-Squares Federated Learning via Generalized Total Variation Minimization

Ekkehard Schnoor, Malik Tiomoko, Alexander Jung

Abstract

Federated learning over decentralized networks inherently trades off the suppression of local finite-sample noise through collaboration against the bias that collaboration introduces between heterogeneous nodes. We study this tension by performing a large-dimensional analysis of Generalized Total Variation Minimization with least-squares models. Using tools from random matrix theory, we show that Lipschitz observations of the global GTVMin solution concentrate in large dimensions, universally for any underlying network structure. We provide exact analytic expressions for the asymptotically precise performance under both i.i.d. and non-i.i.d. Gaussian mixture distributions on a fixed network. For the latter, these expressions quantify how regularization balances local adaptation against collaboration. Our theoretical results are confirmed by experiments on synthetic and real-world data.

1 Introduction

Federated learning (FL) trains models across many nodes that keep their data locally and only exchange model parameters over a communication network (McMahan et al., 2017; Kairouz et al., 2021). If the nodes are statistically homogeneous (i.i.d.), the natural goal is to recover the model that would be obtained by pooling all data. In practice, however, nodes are usually heterogeneous (non-i.i.d.). A single global model may then be misspecified for individual nodes, and one has to balance local adaptation against collaboration (Cheng et al., 2023).

Generalized Total Variation Minimization (GTVMin) formulates this trade-off on a graph (Jung, 2025). At each node, a local model is trained, and a graph-Laplacian strength penalty with a regularization parameter α≥0\alpha \geq 0 encourages connected nodes to learn similar models. For α=0\alpha = 0, every local model is trained separately. As α→∞\alpha \to \infty, the models on a connected graph reach consensus, i.e., they share the same model. Intermediate values of α\alpha give personalized models. However, it is not well understood how the generalization error depends on α\alpha, on the graph, and on the differences between the local data distributions. We answer this question for least-squares models in the high-dimensional regime, where the feature dimension pp and the local sample sizes nin_i grow proportionally while the number of nodes NN is fixed. Our analysis relies on the concentration of measures and deterministic equivalents from random matrix theory (RMT) (Couillet and Liao, 2022). Our main contributions are as follows.

  • We show that the GTVMin solution concentrates, independently of the collaboration strength and the graph, including growing networks (Section 3.1).

  • We derive each node’s asymptotically precise test error for both homogeneous and heterogeneous Gaussian data (Sections 3.3 and 3.4).

  • We validate the predictions on synthetic data and 55 real-data settings, and use the theory to tune α\alpha from training data (Section 4).

Related work. A common approach regularizes local models toward a global anchor, as in the global/local mixture of Hanzely and Richtárik (2020), pFedMe (Dinh et al., 2020) and Ditto (Li et al., 2021). Optimal optimization rates for such objectives are given by Hanzely et al. (2020). Other approaches use meta-learning (Fallah et al., 2020), shared representations (Collins et al., 2021), clustering (Sattler et al., 2021; Ghosh et al., 2020), mixtures of distributions (Marfoq et al., 2021), or model interpolation (Mansour et al., 2020); see Tan et al. (2022) for a survey.

Coupling task-specific models through a similarity penalty goes back to regularized multi-task learning (Evgeniou and Pontil, 2004) and its federated version (Smith et al., 2017). Graph-Laplacian and total-variation penalties appear in the network Lasso (Hallac et al., 2015) and in decentralized collaborative learning of personalized models (Vanhaesebrouck et al., 2017; Zantedeschi et al., 2020). GTVMin (Jung, 2025) includes these formulations. Decentralized optimization for a single shared model is studied, e.g., by Lian et al. (2017) and Koloskova et al. (2020). These works focus on algorithms and convergence. We instead characterize the statistical performance along the entire regularization path.

Deterministic equivalents and concentration of measure are standard tools for the exact analysis of ridge regression and classification (Dobriban and Wager, 2018; Hastie et al., 2022) and of Gaussian-mixture classifiers (Mai and Liao, 2019; Liao and Couillet, 2019; Loureiro et al., 2021). Tiomoko et al. (2021) use them to analyze multi-task least-squares classifiers. Closest to our setting are analyses of distributed least squares by one-shot and iterative parameter averaging (Zhang et al., 2013; Rosenblatt and Nadler, 2016; Dobriban and Sheng, 2021, 2020), and of federated estimators (Cheng et al., 2023). Compared with these works, we analyze an arbitrary communication graph and a continuum of collaboration strengths. The graph enters through node-resolved resolvent blocks and, under suitable symmetry, through the Laplacian spectrum.

References (61)

  • A public domain dataset for human activity recognition using smartphones
  • Federated asymptotics: a model to compare federated learning algorithms
  • An analysis of single-layer networks in unsupervised feature learning
  • Exploiting shared representations for personalized federated learning
  • Random Matrix Methods for Machine Learning
  • Personalized federated learning with Moreau envelopes
  • WONDER: Weighted one-shot distributed ridge regression in high dimensions
  • Distributed linear
  • High-dimensional asymptotics of prediction: Ridge regression and classification
  • Regularized multi-task learning
  • Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach
  • An efficient framework for clustered federated learning
  • Network Lasso: Clustering and optimization in large graphs
  • Federated learning of a mixture of global and local models (opens arXiv in a new tab)
  • Lower bounds and optimal algorithms for personalized federated learning
  • Surprises in high-dimensional ridgeless least squares interpolation
  • Alexander Jung. Federated learning: From theory to practice. arXiv preprint arXiv:2505.19183, 2025. (opens arXiv in a new tab)
  • Foundations and Trends in Machine Learning, 14(1–2):1–210, 2021
  • A unified theory of decentralized SGD with changing topology and local updates
  • Gradient-based learning applied to document recognition
  • Ditto: Fair and robust federated learning through personalization
  • Can decentralized algorithms outperform centralized algorithms? a case study for decentralized parallel stochastic gradient descent
  • A large dimensional analysis of least squares support vector machines
  • Concentration of measure and large random matrices with an application to sample covariance matrices (opens arXiv in a new tab)
  • Learning gaussian mixtures with generalized linear models: Precise asymptotics in high-dimensions
  • High dimensional classification via empirical risk minimization: Improvements and optimality (opens arXiv in a new tab)
  • Three approaches for personalization with applications to federated learning (opens arXiv in a new tab)
  • Federated multi-task learning under a mixture of distributions
  • Communication-efficient learning of deep networks from decentralized data
  • On the optimality of averaging in distributed statistical learning
  • Clustered federated learning: Model-agnostic distributed multitask optimization under privacy constraints
  • Federated multi-task learning
  • Towards personalized federated learning
  • Deciphering and optimizing multi-task learning: a random matrix approach
  • Decentralized collaborative learning of personalized models over networks
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Fully decentralized joint learning of personalized models and collaboration graphs
  • Communication-efficient algorithms for statistical optimization
  • The sample mean and centered covariance are
  • On the event (in the limit $p \to \infty$)
  • This suffices for the test-error proof
  • For $t > 1$
  • the corresponding scalar differences tend to zero in probability
  • Let $\mathbf{E}_i = \mathbf{e}_i \otimes \mathbf{I}_p \in \mathbb{R}^{Np \times p}$ insert a vector into block $i$, where $\mathbf{e}_i \in \mathbb{R}^N$ is the $i$th coordinate vector
  • The homogeneous corollary then follows directly
  • The Woodbury identity gives the exact representation
  • Finally, the error denominator stays positive
  • The deterministic signal and quadratic terms are bounded, so continuity of $(a,b) \mapsto \Phi\left(-a/\sqrt{b}\right)$ for $b$ bounded away from zero turns (40)–(41) into (42)
  • Substituting $\mathbf{M} = 2\alpha\left(\mathbf{L}^{(\mathcal{G})} \otimes \mathbf{I}_p\right)$ yields (48)
  • It is not needed for the test-error derivation
  • Subtracting their normal equations gives
  • Extend it to a real-valued function $\widetilde{f}$ on the full data space with the same Lipschitz constant; such an extension always exists
  • Integrating the tail bounds the change of mean by $C_0\ell$; absorbing this shift into the tail constants gives the same Gaussian bound about the conditional mean
  • Features are centred and standardized with the mean and standard deviation of the union of all pools
  • The task is the same at every node, but the features differ
  • For node $i$, we form the vector containing the mean of $\mathbf{z}$ and the mean of its squared coordinates over the pool
  • Lines: Theorem 4
  • Lines, dots and crosses as in Figure 5
  • and best: the test errors (%) at $\alpha = 0$, at $\alpha = 10$, and at $\alpha_{\mathrm{test}}^{\star}$;
  • Left: MNIST 3 vs. 5, with nodes 1–3 upright and nodes 4–6 rotated by 90°
  • Unweighted cycle, $\alpha=0.3$, $n_i=2.5p$, bootstrap 95% intervals