Manuscript Offprint
arXiv:2610.20075A Large-Dimensional Analysis of Least-Squares Federated Learning via Generalized Total Variation Minimization
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 encourages connected nodes to learn similar models. For , every local model is trained separately. As , the models on a connected graph reach consensus, i.e., they share the same model. Intermediate values of give personalized models. However, it is not well understood how the generalization error depends on , 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 and the local sample sizes grow proportionally while the number of nodes 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 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.
2.1 Generalized Total Variation
Consider an FL network modeled as an undirected weighted graph with the node set and the edge set of unordered pairs of distinct nodes. Each node represents a device (or client) with a local dataset of size with a feature matrix and a label vector (with shared dimension ), a local linear hypothesis with the local parameters and a local loss
An edge , , has a weight , encoding (assumed) statistical similarity between the nodes and , and motivating the preference . We set and for . All local parameter vectors are “stacked” into one global weight vector ,
Similarly we stack targets , and (where ) is the global data matrix obtained by horizontally concatenating all the local feature matrices. The weighted graph Laplacian of is
Note is a symmetric positive-semidefinite matrix with eigenvalues . The stacked vector stack (any ) is an eigenvector of with eigenvalue 0, where is the Kronecker product. The Laplacian relates to the pairwise discrepancy as follows (Jung, 2025, eq. (41)),
(4)
(5)
This is the generalized total variation (GTV) of the local parameters across the network . Combining local losses (1) and the penalty (5) leads to the objective
Ignoring terms that do not depend on w and thus are irrelevant for optimization, define the (training) loss
where . The block-diagonal matrix and the stacked vector are given by
We denote the ith diagonal block of by and the ith block of by , i.e.,
Our goal is to solve the quadratic objective in (7), i.e.,
It is straightforward to compute the gradient of the global loss L from (7), which is obtained as follows by
where the global positive-semi-definite Hessian H is
Stationary points are given by zero-gradient condition
and, if is invertible, we obtain the unique solution . The block-diagonal matrix collects the empirical second-moment matrices appearing in the local linear regression, and couples them across the edges of . When , then decouples and (15) reduces to independent local regressions . As computing the inverse is computationally expensive, we may employ gradient-based optimization. For a step size , define the fixed-point operator ,
(16)
By the fixed-point formulation (Jung, 2017), any solution of (15) is a fixed point, i.e., . Our notation emphasizes the dependency on the random data (making a random function), and below we investigate when the fixed-point iteration
converges to the solution . If and , its contraction factor is , and convergence holds from every initialization. Unrolling block by block, (17) reads as
Each node thus performs the same gradient step as in the local linear regression case (the first summand in the update), plus a weighted pull towards its graph neighbors (the second term in the update).
####### 2.2 The i.i.d. and non-i.i.d. regimes
The GTVMin penalty in (7) controls the degree of collaboration between the nodes, and the optimal choice of depends on the similarity of their data-generating processes. We distinguish between the following scenarios, the i.i.d. and the non-i.i.d. regimes. Homogeneous data (i.i.d.). All nodes share one distribution, so their population minimizers coincide: collaboration adds no population-model mismatch and suppresses finite-sample noise. Under our model with equal sample sizes and a connected graph, the asymptotic optimum is thus , recovering pooled least squares over all samples.
Heterogeneous data (non-i.i.d.). The local distributions differ, so a single consensus model need not be optimal: collaboration can suppress noise but drag each model toward an incorrect shared solution. The optimal balances collaboration against personalization; Section 3.4 quantifies this tradeoff without assuming an interior or unique optimum.
Consensus. On a connected graph G with positive-definite local second-moment matrices from (10), the consensus limit as is given by
For unequal sample sizes this minimizes the equally weighted sum of node losses, as specified in (7); for equal sample sizes it is pooled least squares.
2.3 Data Model and Assumptions
We make the following assumption on the data distribution. At node , labels and features follow the Gaussian mixture model
with local means and covariances . The class sizes are arbitrary and may differ across nodes. Training data are independent within and across nodes, and the test data is independent of the training data. Since , the squared residual equals with the signed observation , s.t. the labels disappear from the problem. We evaluate the classifier on a fresh observation from node . It makes an error when . Given the training data, is Gaussian, so for a deterministic the error is exactly
where is the standard normal distribution function.
Assumption 1 (Proportional dimensions). The number of nodes and the Laplacian are fixed, , and for . The deterministic parameters may depend on , with uniformly bounded and for some .
Since , each is invertible with high probability (Appendix A), so and the minimizer is unique for every and every graph. Homogeneous nodes share , and ; in the heterogeneous case, all three may differ. The error is random because depends on the training set. In high dimension it becomes essentially deterministic, and two independent training sets give almost the same test error. The signal and the noise in (22) aggregate many independent samples, each with a small influence, and their fluctuations vanish at rate (Theorem 1). Sections 3.3 and 3.4 compute their deterministic limits.
3 Theoretical Main Results
We first establish the concentration of the GTVMin solution in Section 3.1. We then derive the test-error formulas for homogeneous and heterogeneous data in Sections 3.3 and 3.4, respectively.
3.1 Concentration of the GTVMin Solution
We first show that Lipschitz observables of the GTVMin solution concentrate around their conditional means, uniformly over the collaboration strength and the graph. Write , and let and denote the signed data matrix and centered sample covariance at node . For the constants of Appendix A, let us define
The bound (24) below implies that as , provided . Thus the smallest local sample size must grow faster than the logarithm of the number of nodes; the network itself may also grow.
Theorem 1 (Observable concentration). Assume (21) with , and for all . There are constants , depending only on and not on , the graph or , such that
If , then for every , every weighted graph and every that is 1-Lipschitz with respect to ,
(25)
In words, the theorem controls fluctuations of every 1-Lipschitz observable around its conditional mean at scale , hence in the proportional regime. Since the constants do not depend on N, the theorem also covers growing networks. It holds for arbitrary edge weights, without bounds on node degrees or on the largest Laplacian eigenvalue.
For fixed , the theorem also controls fluctuations in the test-error formula (22). The signal is Lipschitz, and the quadratic noise is Lipschitz on the bounded set of fitted coefficients, as explained in the proof idea below. Their Lipschitz constants do not depend on , so both fluctuate at scale . Together with the noise being bounded away from zero with high probability (Appendix C.1), this gives the same fluctuation scale for their ratio and the test error. Sections 3.3 and 3.4 derive the corresponding deterministic approximations. Figure 1 (right) illustrates the scale.
3.2 Preparations
Let us begin by introducing some necessary notation required to compute the test error in both the homogeneous and heterogeneous cases. With the short-hand
define and implicitly through the following fixed-point system,
Here, the symmetric positive definite matrix in (27) is partitioned into blocks of size . Furthermore, we define the matrix given by
This matrix is needed to express the test error. We need the following technical result as a preparation.
Proposition 2 (Existence and stability). If for every node, (28) has a unique positive solution, with . Iteration of its right-hand side from converges to this solution. Moreover, we obtain
where denotes spectral radius in (30), and using the Neumann series and an entrywise comparison in (31).
3.3 Test Error: Homogeneous Case
The previous result makes the test-error formulas well defined, as the fixed point uniquely determines T and J, and (31) allows solving for v in (33) and (39). Entrywise nonnegativity also ensures in (45). The proof in Appendix B applies to any bounded deterministic positive-semidefinite coupling matrix M, not just a graph Laplacian. It also gives the stability needed when differentiating the fixed point. We denote the deterministic approximation to the conditional test error by .
Corollary 3 (Homogeneous test error). Under Assumption 1 with class-wise means , common covariance , local sample size and , the homogeneous test error is given by
where the vector is given by
Then in probability and in mean.
The parameter measures class separation and is independent of . In the homogeneous case, collaboration affects the asymptotic test error only through the variance correction in (32).
Special Case. The formula simplifies further when the orthogonal projector onto each eigenspace of has constant diagonal; this condition holds, for example, for cycles and complete graphs with uniform edge weights. Then all equal a common , and every row of has the same sum . Consequently, all nodes have the same predicted test error. Writing for the Laplacian eigenvalues, listed with multiplicity, we obtain
Here . The scalar plays the role of an effective aspect ratio in the error formula. In this special case, the graph enters only through its Laplacian eigenvalues. The local and pooled endpoints admit simple expressions even without this graph symmetry. For every connected graph,
(36)
These terms correspond to least-squares classification with n local observations and Nn pooled observations, respectively. In the spectral formula above, these endpoints correspond to and . For disconnected graphs, the pooled expression uses the size of the node's connected component in place of N.
3.4 Test Error: Heterogeneous Case
We now allow means, covariances, and sample sizes to differ across nodes. We keep using the fixed-point solution and the matrix from (27)–(29). Recall that is the second-moment matrix at node . Define and by
The vector determines the approximations to linear functions of the fitted coefficients, as stated in Theorem 4 below. Its block depends on the distributions across the graph and can differ from the local least-squares coefficient . To compute the remaining quadratic contribution to test error, define
where and . Here
is the expected squared prediction error of on a fresh observation from node . The nonnegative correction accounts for training-sample fluctuations in the quadratic term .


Figure 1: Homogeneous data and concentration, with common and . Left: node-average test error with , and . Path, cycle and complete graphs each have total edge weight 6. Lines: theoretical predictions; points: Monte Carlo means. Right: standard deviation of the unit-norm observable on an unweighted cycle, with , , and . The guide is anchored at , . Points use 240 independent training draws; error bars are 95% intervals, with bootstrap intervals for the standard deviations.
Theorem 4 (Heterogeneous test error). Under Assumption 1, for every node i, it holds that
Consequently, the heterogeneous test error is given by
and we have in probability and in mean. The denominator in (42) is asymptotically bounded below by a positive constant for any values of .
To interpret the effect of collaboration in Theorem 4, we compare the deterministic coefficient with the optimal local least-squares coefficient,
(43)
The residual in (39) then separates into the minimum local squared prediction error and the additional error caused by differing from ,
(44)
Writing , we can decompose (39) as
where the two vectors and are given by
By Proposition 2, is entrywise nonnegative: mismatch adds to the quadratic correction. For , (38) also gives
For , (equivalently, for every node) holds exactly when the local least-squares coefficients agree within each connected component. The data distributions themselves may still differ.
4 Experiments
We first confirm our theoretical predictions on Gaussian data (Section 4.1), then assess their accuracy and use for choosing on real data (Section 4.2).

Figure 2: Heterogeneous three-node path with , , , and . Covariances are diagonal: entries of and are evenly spaced from 0.5 to 1.5 and from 1.4 to 0.6, respectively; has half its diagonal entries equal to 0.4 and half equal to 2. Left: predicted and measured node-average test error. Right: node-specific quadratic noise terms. Lines: Theorem 4; points and 95% intervals: 240 independent training draws, shared across values of .
4.1 Gaussian Data
Figure 1 (left) shows close agreement between the predicted and measured test errors on three graph structures. Collaboration reduces the homogeneous test error towards the pooled error, with the graph determining how quickly it is approached. The right panel shows fluctuations of a Lipschitz-continuous observable, confirming the scale of Theorem 1.
The heterogeneous example in Figure 2 has an intermediate best collaboration strength. Beyond this point, the error initially rises while the quadratic noise still decreases: the loss of local signal outweighs the noise reduction. Stronger collaboration eventually also increases the quadratic noise.
Figure 3 isolates the importance of connecting similar tasks. The two graphs have identical Laplacian spectra but different test errors. Grouping similar tasks makes stronger collaboration useful, and the theory captures both error curves and their preferred collaboration strengths.
4.2 Real-World Data
We evaluate 55 settings on MNIST (LeCun et al., 1998), Fashion-MNIST (Xiao et al., 2017), CIFAR-10 (Krizhevsky, 2009), HAR (Anguita et al., 2013) and Adult (Kohavi, 1996). These include random splits, controlled feature and label shifts, and natural user or silo partitions. Figure 4 and Table 1 show that the predictions remain useful approximations beyond the Gaussian setting.
(a) prediction

(b) source of the gap
MNIST F-MNIST CIFAR-10 HAR Adult
Figure 4: Real-data predictions. Each node’s data are split into a pool (70%) and a held-out test set (30%). Predictions use the signed-observation moments of the pool; measured errors average 100 independent training draws from it, shared across the grid. (a) Predicted versus held-out test error for all 55 settings and grid values. (b) Largest gap to (22) versus the spread of whitened squared norms relative to its Gaussian value (index 1). Feature, partition and graph details are given in Appendix E and the code.
The prediction gaps tend to increase with departures from Gaussian data (Figure 4b). Gaussian simulations with matching means and covariances agree more closely with the theory, suggesting that these departures explain much of the discrepancy. Held-out error can also differ from (22) because real-data classification scores need not be Gaussian.

2 cross-task edges

6 cross-task edges

Collaboration strength
Figure 3: Six nodes with , and . Nodes 1, 2, 3 have mean (blue), and nodes 4, 5, 6 have mean (orange). Unit-weight cycles follow the orders (1, 2, 3, 4, 5, 6) and (1, 4, 2, 5, 3, 6), giving identical Laplacian spectra but two and six edges between different tasks, respectively. Lines: Theorem 4. Points: means over 240 independent training draws, shared across graphs and values of , with 95% intervals.
Table 1: Prediction gaps and tuning regrets on 55 real-data settings, in percentage points (pp). Gap: median across settings of the largest absolute prediction error over the grid. “Gauss” evaluates (22) on the fitted coefficients with pool moments; “test” uses held-out classification error. Regret: extra held-out error at the theory-selected relative to the lowest mean error on the grid, summarized by its median and maximum. Predictions use pool moments.
| Group | Gap (pp) | Regret (pp) | |||
|---|---|---|---|---|---|
| # | Gauss | test | med. | max | |
| i.i.d. splits | 9 | 0.8 | 1.8 | 0.07 | 0.17 |
| Dirichlet, | 6 | 1.0 | 2.0 | 0.12 | 0.18 |
| Dirichlet, | 12 | 1.1 | 2.5 | 0.06 | 0.25 |
| Rotations | 12 | 2.1 | 2.3 | 0.05 | 0.24 |
| Task alignment | 4 | 1.1 | 2.2 | 0.02 | 0.18 |
| HAR users | 8 | 1.6 | 3.2 | 0.14 | 1.29 |
| Adult silos | 4 | 4.2 | 1.6 | 0.15 | 0.19 |
| All | 55 | 1.2 | 2.3 | 0.09 | 1.29 |
Choosing by minimizing the predicted error usually gives a test error close to the best grid value (Table 1). With moments estimated only from the training data, the resulting rule also performs similarly to cross-validation (Table 2). Comparisons with local training, consensus, fine-tuning and global/local mixtures show that the useful strength and form of collaboration depend on the differences between nodes: graphs following the task structure perform well on the heterogeneous benchmarks, whereas consensus is best on nearly homogeneous Adult.
Table 2: Test error (%) on six real-data settings, averaged over 20 training draws. Plug-in theory uses training-sample means and Ledoit–Wolf covariance estimates; oracle theory uses pool moments. Fine-tuning starts from consensus; mixture is the global/local method of Hanzely and Richtárik (2020). The 95% intervals are at most , except for local HAR. Bold: lowest reported error excluding hindsight, which gives the lowest measured GTVMin error on the tested grid. Fore the setup details, see Appendix E.
| Method | MNIST rot. | FMN. rot. | CIFAR subp. | CIFAR Dir. | HAR users | Adult silos |
|---|---|---|---|---|---|---|
| Local | 10.97 | 22.32 | 17.35 | 15.41 | 20.77 | 25.77 |
| Consensus | 18.43 | 21.88 | 12.19 | 11.43 | 14.85 | 23.15 |
| Fine-tuning | 9.44 | 17.58 | 11.88 | 10.65 | 14.49 | 23.44 |
| Mixture | 9.08 | 17.35 | 11.84 | 10.58 | 14.74 | 23.56 |
GTVMin, chosen by
| CV (5-fold) | 8.47 | 17.90 | 11.64 | 10.52 | 14.37 | 23.51 |
|---|---|---|---|---|---|---|
| Plug-in theory | 8.37 | 17.86 | 11.81 | 10.44 | 14.39 | 23.78 |
| Oracle theory | 8.37 | 17.83 | 11.53 | 10.37 | 14.22 | 23.29 |
| Best (hindsight) | 8.29 | 17.73 | 11.45 | 10.25 | 13.91 | 22.95 |
References
Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra, and Jorge Luis Reyes-Ortiz. A public domain dataset for human activity recognition using smartphones. In European Symposium on Artificial Neural Networks (ESANN), pages 437–442, 2013.
Gary Cheng, Karan Chadha, and John Duchi. Federated asymptotics: a model to compare federated learning algorithms. In International Conference on Artificial Intelligence and Statistics, pages 10650–10689. PMLR, 2023.
Adam Coates, Andrew Ng, and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In International Conference on Artificial Intelligence and Statistics (AISTATS), pages 215–223, 2011.
Liam Collins, Hamed Hassani, Aryan Mokhtari, and Sanjay Shakkottai. Exploiting shared representations for personalized federated learning. In International Conference on Machine Learning (ICML), 2021.
Romain Couillet and Zhenyu Liao. Random Matrix Methods for Machine Learning. Cambridge University Press, 2022.
Canh T. Dinh, Nguyen H. Tran, and Tuan Dung Nguyen. Personalized federated learning with Moreau envelopes. In Advances in Neural Information Processing Systems (NeurIPS), volume 33, pages 21394–21405, 2020.
Edgar Dobriban and Yue Sheng. WONDER: Weighted one-shot distributed ridge regression in high dimensions. Journal of Machine Learning Research, 21(66):1–52, 2020.
Edgar Dobriban and Yue Sheng. Distributed linear
regression by averaging. The Annals of Statistics, 49(2):918–943, 2021.
Edgar Dobriban and Stefan Wager. High-dimensional asymptotics of prediction: Ridge regression and classification. The Annals of Statistics, 46(1):247–279, 2018.
Theodoros Evgeniou and Massimiliano Pontil. Regularized multi-task learning. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 109–117, 2004.
Alireza Fallah, Aryan Mokhtari, and Asuman Ozdaglar. Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
Avishek Ghosh, Jichan Chung, Dong Yin, and Kannan Ramchandran. An efficient framework for clustered federated learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
David Hallac, Jure Leskovec, and Stephen Boyd. Network Lasso: Clustering and optimization in large graphs. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 387–396, 2015.
Filip Hanzely and Peter Richtárik. Federated learning of a mixture of global and local models. arXiv preprint arXiv:2002.05516, 2020.
Filip Hanzely, Slavomír Hanzely, Samuel Horváth, and Peter Richtárik. Lower bounds and optimal algorithms for personalized federated learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
Trevor Hastie, Andrea Montanari, Saharon Rosset, and Ryan J. Tibshirani. Surprises in high-dimensional ridgeless least squares interpolation. The Annals of Statistics, 50(2):949–986, 2022.
Alexander Jung. A fixed-point of view on gradient methods for big data. Frontiers in Applied Mathematics and Statistics, 3:18, 2017.
Alexander Jung. Federated learning: From theory to practice. arXiv preprint arXiv:2505.19183, 2025.
Peter Kairouz, H. Brendan McMahan, et al. Advances and open problems in federated learning. Foundations and Trends in Machine Learning, 14(1–2):1–210, 2021.
Ron Kohavi. Scaling up the accuracy of naive-Bayes classifiers: A decision-tree hybrid. In Proceedings of the International Conference on Knowledge Discovery and Data Mining (KDD), pages 202–207, 1996.
Anastasia Koloskova, Nicolas Loizou, Sadra Boreiri, Martin Jaggi, and Sebastian Stich. A unified theory of decentralized SGD with changing topology and local updates. In International Conference on Machine Learning (ICML), 2020.
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
Tian Li, Shengyuan Hu, Ahmad Beirami, and Virginia Smith. Ditto: Fair and robust federated learning through personalization. In International Conference on Machine Learning (ICML), 2021.
Xiangru Lian, Ce Zhang, Huan Zhang, Cho-Jui Hsieh, Wei Zhang, and Ji Liu. Can decentralized algorithms outperform centralized algorithms? a case study for decentralized parallel stochastic gradient descent. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
Zhenyu Liao and Romain Couillet. A large dimensional analysis of least squares support vector machines. IEEE Transactions on Signal Processing, 67(4):1065–1074, 2019.
Cosme Louart and Romain Couillet. Concentration of measure and large random matrices with an application to sample covariance matrices. arXiv preprint arXiv:1805.08295, 2018.
Bruno Loureiro, Gabriele Sicuro, Cédric Gerbelot, Alessandro Pacco, Florent Krzakala, and Lenka Zdeborová. Learning gaussian mixtures with generalized linear models: Precise asymptotics in high-dimensions. In Advances in Neural Information Processing Systems (NeurIPS), 2021.
Xiaoyi Mai and Zhenyu Liao. High dimensional classification via empirical risk minimization: Improvements and optimality. arXiv preprint arXiv:1905.13742, 2019.
Yishay Mansour, Mehryar Mohri, Jae Ro, and Ananda Theertha Suresh. Three approaches for personalization with applications to federated learning. arXiv preprint arXiv:2002.10619, 2020.
Othmane Marfoq, Giovanni Neglia, Aurélien Bellet, Laetitia Kameni, and Richard Vidal. Federated multi-task learning under a mixture of distributions. In Advances in Neural Information Processing Systems (NeurIPS), 2021.
Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pages 1273–1282. Pmlr, 2017.
Jonathan D. Rosenblatt and Boaz Nadler. On the optimality of averaging in distributed statistical learning. Information and Inference, 5(4):379–404, 2016.
Felix Sattler, Klaus-Robert Müller, and Wojciech Samek. Clustered federated learning: Model-agnostic distributed multitask optimization under privacy constraints. IEEE Transactions on Neural Networks and Learning Systems, 32(8):3710–3722, 2021.
Virginia Smith, Chao-Kai Chiang, Maziar Sanjabi, and Ameet Talwalkar. Federated multi-task learning. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
Alysa Ziying Tan, Han Yu, Lizhen Cui, and Qiang Yang. Towards personalized federated learning. IEEE Transactions on Neural Networks and Learning Systems, 2022.
Malik Tiomoko, Hafiz Tiomoko Ali, and Romain Couillet. Deciphering and optimizing multi-task learning: a random matrix approach. In International Conference on Learning Representations (ICLR), 2021.
Paul Vanhaesebrouck, Aurélien Bellet, and Marc Tommasi. Decentralized collaborative learning of personalized models over networks. In International Conference on Artificial Intelligence and Statistics (AISTATS), 2017.
Roman Vershynin. High-Dimensional Probability: An Introduction with Applications in Data Science. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, Cambridge, 2 edition, 2026.
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
Valentina Zantedeschi, Aurélien Bellet, and Marc Tommasi. Fully decentralized joint learning of personalized models and collaboration graphs. In International Conference on Artificial Intelligence and Statistics (AISTATS), 2020.
Yuchen Zhang, John C. Duchi, and Martin J. Wainwright. Communication-efficient algorithms for statistical optimization. Journal of Machine Learning Research, 14:3321–3363, 2013.
A Gaussian Decomposition and Spectral Bounds
The test-error proof uses independent Gaussian sample means and centered covariances, together with a bound on the inverses. Unless stated otherwise, Assumption 1 holds, is fixed, and limits are taken as . Deterministic parameters, including , may depend on . We use for the operator norm, and denotes the Frobenius norm.
Write and . The sample mean and centered covariance are
Lemma 5 (Gaussian decomposition). The sample-mean fluctuations are independent of all centered covariances, and different nodes are independent. Moreover,
where has independent standard Gaussian entries. Here .
Proof of Lemma 5. Under (21), the signed observations are independent vectors, irrespective of the class proportions. An orthogonal transformation of the sample indices, with first coordinate , separates the sample mean from independent centered Gaussian columns. This proves the distributional and independence statements; the identity for follows from (49).
Remark 6. Standard Gaussian singular-value bounds (Vershynin, 2026) and the aspect-ratio gap give constants such that, with probability tending to one,
The constants depend only on the distributional bounds and the aspect-ratio gap. On the event (in the limit )
both and , recalling (14), have operator norm at most for every . This suffices for the test-error proof. The upper data bound and the exponential probability bound behind (51) are used only for observable concentration.
B The Fixed Point and Deterministic Equivalents
The fixed point approximates an inverse; its derivative supplies the correction needed for quadratic forms. We prove stability before giving these approximations. Here may be any deterministic positive-semidefinite matrix; the test-error proofs use (26).
B.1 Existence and stability
Proof of Proposition 2. For , let denote the right-hand side of (28), with replaced by . Matrix inverse monotonicity shows that is coordinatewise nondecreasing and
Iteration therefore increases within the interval , and continuity gives a positive fixed point. For ,
so coordinatewise. If two positive fixed points differed, interchange them if necessary so that . At a maximizing coordinate, monotonicity would give , a contradiction. To relate to this fixed point, define by
The matrix is the Jacobian of at . Also, is symmetric and entrywise nonnegative because
For , the identity
gives
Thus . Since
the same bound holds for J, proving (30). Its entries are nonnegative, so the convergent Neumann series gives (31). Under Assumption 1, the weights and ratios are bounded, and stays below one. Thus (56) uniformly bounds both and . Together with , implicit differentiation bounds the first two derivatives under bounded smooth variations of the covariance contributions or of M.
B.2 Deterministic equivalents
The following result is a block-wise version of (Louart and Couillet, 2018, Theorem 3.14).
Lemma 7 (Deterministic equivalent of the inverse). The matrix T in (27)–(28) is a deterministic equivalent of
for bilinear forms with bounded deterministic vectors and traces normalized by p with bounded deterministic test matrices: the corresponding scalar differences tend to zero in probability.
Similarly, the following result is obtained. Let insert a vector into block , where is the th coordinate vector. Set , so that .
Lemma 8 (Deterministic equivalent for the quadratic term). For , define
Then is a deterministic equivalent of . Moreover, , where denotes its th diagonal block.
C Test Error: Heterogeneous and Homogeneous Cases
We first derive the general test-error formula and the identities describing mismatch between nodes. The homogeneous corollary then follows directly.
C.1 Heterogeneous case
Proof of Theorem 4. Using the Gaussian decomposition in (50), define
Then and . The Woodbury identity gives the exact representation
Condition on the centered covariances. The sample-mean fluctuations remain independent Gaussian vectors. Gaussian second moments show that vanishes and differs negligibly from : each centered entry has conditional variance at most on . Since is fixed, Lemma 7 gives convergence in operator norm,
Consequently, for the deterministic vector
we have
Indeed, both matrices inverted in (61) and (63) are bounded below by , and is bounded in probability because is bounded. The random part must still be retained: it vanishes in bounded linear forms but contributes to quadratic forms. For any bounded deterministic , the conditional variance of is at most on . Lemma 7 and (64) therefore give . Set . Equation (63) implies
Substituting this into identifies with (38). Taking proves (40). For the quadratic term, use the same conditional Gaussian calculation with . Equation (64) also holds in bounded quadratic forms, since the vectors involved are bounded in probability. Lemma 8 gives
By (59), (65), and , the expression in parentheses is
The bracket is precisely in (39). To identify its coefficient, let have entries . Equation (58) and symmetry of give , and hence
This proves (41), also for unequal sample sizes. Finally, the error denominator stays positive. Write and let bound the mean norms. Completing the square using (43) gives
Restricting the variational formula for to vectors constant across nodes, which are annihilated by , gives
It follows that
Under Assumption 1, these lower bounds stay positive, independently of . The deterministic signal and quadratic terms are bounded, so continuity of for bounded away from zero turns (40)–(41) into (42). The errors are bounded, so convergence in probability also gives convergence of their absolute difference in mean.
Proof of (44)–(48). The residual identity is (68). Applying gives the variance decomposition (45)–(47), with both terms in ; entrywise nonnegativity gives . To prove (48), subtract from (38) to obtain
Left-multiplying the preceding equation by , the inverse matrix defined in (37), gives . Substituting yields (48). For , is therefore equivalent to . Now, (5) with shows that this occurs exactly when the local coefficients agree within every connected component. Otherwise some , and by (69).
C.2 Homogeneous case
Proof of Corollary 3. Suppose , , and . The vector , with , solves (38), since the Laplacian annihilates constant node vectors and . Uniqueness gives and
Substitution into (39) and (42) proves (33) and (32), with the convergence asserted in Theorem 4.
D Observable Concentration
This separate result additionally uses the upper data bound in (51) and allows growing N under the uniform assumptions of Theorem 1. It is not needed for the test-error derivation.
Proof of Theorem 1. The Gaussian singular-value bounds used in Remark 6 give
A union bound proves (24) for the event defined in the main text. On this event, choose a node attaining and set . Taking the inner product of its normal equation with gives
Every graph term is nonnegative. Since , this proves
also when , with no dependence on the graph or . Equip the full signed dataset with the product Frobenius norm, whose square is . Consider two realizations and
in , and denote their fitted coefficients and sample quantities by corresponding subscripts. Subtracting their normal equations gives
The data bound and (70) imply
Using and summing the squared block bounds yields
Thus, for a 1-Lipschitz , the function is -Lipschitz on . Extend it to a real-valued function on the full data space with the same Lipschitz constant; such an extension always exists. The signed data are jointly Gaussian with covariance operator norm at most , so Gaussian concentration gives
Since , conditioning costs at most a factor two. Integrating the tail bounds the change of mean by ; absorbing this shift into the tail constants gives the same Gaussian bound about the conditional mean. Since on , substitution of (71) proves (25), with constants independent of , the graph, and .
E Real-World Experiments
This section gives the details of the experimental section Section 4.2 of the main paper. The code, including the download of the five datasets, is provided as supplementary material.
E.1 Protocol
At each node, the data are split at random into a pool (70%) and a held-out test set (30%). Features are centred and standardized with the mean and standard deviation of the union of all pools. We then form the signed observations and compute their mean and covariance on the pool of each node. These moments, the sample sizes and the Laplacian give the prediction of Theorem 4.
Each training set consists of samples drawn with replacement from the pool of node i. The pool is then exactly the population of the theory. For every draw, we compute two errors: the Gaussian formula (22) with the pool moments, which is the quantity predicted by the theory, and the 0/1 error on the held-out test set. Each setting uses 100 independent draws, shared across the grid of values of .
E.2 Datasets, partitions and graphs
Table 3 lists the 55 settings. MNIST and Fashion-MNIST use the PCA of the pixels. For rotations, the PCA is fitted on the rotated images of all nodes. CIFAR-10 uses a single layer of random convolutional features (Coates et al., 2011): 64 whitened random patches of size , stride 2, a shifted ReLU and sum pooling over the four quadrants, followed by PCA. No pretrained network is used. For Adult, numeric features (log-transformed when skewed) and one-hot categorical features are reduced by PCA. The attribute that defines the silos is removed, and the classes are balanced within each silo.
We build the nodes in four ways. In random splits, the samples of one task are distributed at random, so all nodes have the same distribution. In rotation settings, node k receives images rotated by degrees,
. The task is the same at every node, but the features differ. In Dirichlet settings, each class of the binary task is a group of original classes, for example vehicles vs. animals in CIFAR-10. Each node draws its proportions of the original classes within each group from a symmetric Dirichlet distribution with parameter . For , all nodes have nearly the same proportions. For , most samples of a node come from one or two original classes. The nodes receive disjoint samples. In alignment settings, nodes 1–3 solve one task and nodes 4–6 another: upright and -rotated digits for MNIST, and two different pairs of vehicle and animal classes for CIFAR-10.
Besides paths, cycles and complete graphs, we use -nearest-neighbour graphs built from simple statistics of each node. For node , we form the vector containing the mean of and the mean of its squared coordinates over the pool. Two nodes are connected by an edge of unit weight if one of them is among the nodes closest to the other in Euclidean distance between these vectors.
Table 3: The 55 real-data settings. Unless stated otherwise, , and . Tasks are written as positive vs. negative class. Dirichlet partitions use . Complete graphs have total edge weight 6 for random splits, 5 for rotations and otherwise; all other graphs have unit weights. #: number of settings.
| Dataset | Partition | Tasks | Graphs | # |
|---|---|---|---|---|
| MNIST | random splitrotations (0°–150°) | 3 vs. 53/5, 4/9, 7/9, 2/7, 1/7 | path, cycle, complete path; complete for 3/5 | 36 |
| Dirichlet alignment (0° and 90°) | digits < 5 vs. 3 vs. 5 | complete, 2-NNtwo cycles | 62 | |
| F-MNIST | random splitrotations (0°–150°) | pullover vs. coatpullover/coat, T-shirt/shirt, sneaker/boot, sandal/sneaker, coat/shirt | path, cycle, complete path; complete for pullover/coat | 36 |
| Dirichlet | T-shirt, pullover, coat, shirt vs. other items | complete, 2-NN | 6 | |
| CIFAR-10 | random split | automobile vs. truck | path, cycle, complete | 3 |
| Dirichlet alignment | vehicles vs. animalsairplane, ship vs. bird, frog; automobile, truck vs. cat, dog | complete, 2-NNtwo cycles | 62 | |
| HAR | 10 groups of 3 users$(N=10, p=30,n_i=75)$ | sitting vs. standing; upstairs vs. downstairs | complete, 3-NN | 4 |
| 30 single users (, , ) | same | complete, 3-NN | 4 | |
| Adult | 6 employment sectors | income above \$50,000 | complete, 2-NN | 2 |
| 5 age groups (, , from 284 to 400) | same | complete, 2-NN | 2 |
55
E.3 Choice of and baselines
Table 2 uses 20 training draws per setting. All rules choose on the grid above.
- CV: 5-fold cross-validation of the node-averaged 0/1 error on the training data.
- Plug-in theory: minimizes the prediction of Theorem 4, computed with the training-sample mean and the Ledoit–Wolf covariance estimate of each node.
- Oracle theory: the same, with the pool moments.
- Consensus: GTVMin with .
- Fine-tuning: , where is the consensus model and is chosen by 5-fold cross-validation.
- Mixture: GTVMin on the complete graph, with chosen by 5-fold cross-validation.
- Best (hindsight): for each draw, the lowest test error over the grid.
Table 4 reports the same results with their confidence intervals.
Table 4: Test error (%) of Table 2 with 95% confidence intervals over 20 training draws.
| Method | MNIST rot. | FMN. rot. | CIFAR subp. | CIFAR Dir. | HAR users | Adult silos |
|---|---|---|---|---|---|---|
| Local | ||||||
| Consensus | ||||||
| Fine-tuning | ||||||
| Mixture | ||||||
| GTVMin, chosen by | ||||||
| CV (5-fold) | ||||||
| Plug-in theory | ||||||
| Oracle theory | ||||||
| Best (hindsight) | ||||||
E.4 Where the gap comes from
We take the i.i.d. split of Fashion-MNIST (pullover vs. coat) on the path graph. At , the Gaussian formula gives an error of 23.2% on the real data, against a prediction of 20.7%. We then replace the data of each node by Gaussian samples with the same mean and covariance. The error becomes 20.4%, against a prediction of 20.5%, and at it is 16.50% against 16.54%. The gap therefore comes from the shape of the real data and not from the finite dimension.
The quantity that differs is the spread of the whitened squared norm : its standard deviation is 0.80 on the real data and 0.14 on the Gaussian samples. Normalizing each sample to a fixed norm does not reduce the gap, because it does not change this spread in whitened coordinates. Replacing the noise term in the derivation by its heteroscedastic version reduces the gap only slightly. The gap is largest at , where each node has the largest effective aspect ratio, and it is small near consensus.
E.5 Additional figures

Figure 5: Random splits into nodes with and , on a path, a cycle and a complete graph with total edge weight 6. Lines: Theorem 4. Dots: held-out test error with 95% intervals over 100 draws. Crosses: Gaussian formula (22) for the path. As in Corollary 3, the error decreases towards that of the pooled model.

-
path (theory)
-
complete (theory) path (Gauss. formula) × complete (Gauss. formula)
-
path (real test)
-
complete (real test)
Figure 6: Rotation shift: node sees the images rotated by degrees, , , , on a unit-weight path and a complete graph with total weight 5. Lines, dots and crosses as in Figure 5. The best is intermediate, and on MNIST full collaboration is worse than local training.
E.6 All settings
Table 6 gives the results of every setting. The columns are:
-
and : the largest difference over the grid between the prediction and, respectively, the Gaussian formula (22) and the held-out test error, in pp;
-
and : the value of selected by the theory, and the one with the lowest mean test error;
-
regret: the extra test error at , in pp;
-
local, cons. and best: the test errors (%) at , at , and at ;
-
NC: the non-Gaussianity index, which equals 1 for Gaussian data.
| Setting [graph] | N | p | |Δ|G | |Δ|T | αde | α*test | regret | local | cons. | best | NC |
|---|---|---|---|---|---|---|---|---|---|---|---|
| iid; CIFAR auto/truck [complete] | 6 | 100 | 0.70 | 2.69 | 1 | 5 | 0.17 | 31.9 | 23.3 | 23.3 | 3.1 |
| iid; CIFAR auto/truck [cycle] | 6 | 100 | 0.70 | 2.69 | 2 | 10 | 0.11 | 31.9 | 23.3 | 23.3 | 3.1 |
| iid; CIFAR auto/truck [path] | 6 | 100 | 0.70 | 2.69 | 5 | 10 | 0.07 | 31.9 | 23.4 | 23.4 | 3.1 |
| iid; F-MNIST pullover/coat [complete] | 6 | 100 | 1.23 | 1.07 | 1 | 10 | 0.10 | 21.3 | 13.8 | 13.8 | 3.7 |
| iid; F-MNIST pullover/coat [cycle] | 6 | 100 | 1.23 | 1.07 | 2 | 10 | 0.08 | 21.3 | 13.8 | 13.8 | 3.7 |
| iid; F-MNIST pullover/coat [path] | 6 | 100 | 1.23 | 1.07 | 5 | 10 | 0.03 | 21.3 | 13.8 | 13.8 | 3.7 |
| iid; MNIST 3/5 [complete] | 6 | 100 | 0.84 | 1.77 | 1 | 5 | 0.04 | 10.9 | 5.1 | 5.1 | 2.0 |
| iid; MNIST 3/5 [cycle] | 6 | 100 | 0.84 | 1.77 | 2 | 5 | 0.03 | 10.9 | 5.1 | 5.1 | 2.0 |
| iid; MNIST 3/5 [path] | 6 | 100 | 0.84 | 1.77 | 5 | 10 | 0.02 | 10.9 | 5.1 | 5.1 | 2.0 |
| Dirichlet; CIFAR vehicle/animal, β=100.0 [complete] | 6 | 100 | 0.87 | 1.78 | 1 | 5 | 0.11 | 20.7 | 12.5 | 12.5 | 3.1 |
| Dirichlet; CIFAR vehicle/animal, β=100.0 [knn] | 6 | 100 | 0.87 | 1.78 | 1 | 5 | 0.18 | 20.7 | 12.5 | 12.5 | 3.1 |
| Dirichlet; F-MNIST upper/rest, β=100.0 [complete] | 6 | 100 | 1.19 | 3.70 | 1 | 10 | 0.08 | 10.7 | 6.3 | 6.3 | 3.3 |
| Dirichlet; F-MNIST upper/rest, β=100.0 [knn] | 6 | 100 | 1.19 | 3.70 | 1 | 10 | 0.09 | 10.7 | 6.3 | 6.3 | 3.3 |
| Dirichlet; MNIST < 5/≥ 5, β=100.0 [complete] | 6 | 100 | 0.96 | 2.02 | 1 | 5 | 0.13 | 26.0 | 17.2 | 17.2 | 2.2 |
| Dirichlet; MNIST < 5/≥ 5, β=100.0 [knn] | 6 | 100 | 0.96 | 2.02 | 1 | 10 | 0.17 | 26.0 | 17.2 | 17.2 | 2.2 |
| Dirichlet; CIFAR vehicle/animal, β=0.1 [complete] | 6 | 100 | 0.92 | 2.12 | 0.2 | 0.3 | 0.08 | 15.5 | 11.4 | 10.5 | 3.1 |
| Dirichlet; CIFAR vehicle/animal, β=0.1 [knn] | 6 | 100 | 0.92 | 2.12 | 0.2 | 0.3 | 0.05 | 15.5 | 11.4 | 10.4 | 3.1 |
| Dirichlet; CIFAR vehicle/animal, β=0.5 [complete] | 6 | 100 | 1.03 | 2.41 | 0.3 | 0.5 | 0.10 | 16.5 | 11.3 | 11.0 | 3.1 |
| Dirichlet; CIFAR vehicle/animal, β=0.5 [knn] | 6 | 100 | 1.03 | 2.41 | 0.5 | 0.5 | 0.00 | 16.5 | 11.3 | 10.9 | 3.1 |
| Dirichlet; F-MNIST upper/rest, β=0.1 [complete] | 6 | 100 | 0.79 | 2.29 | 0.1 | 0.1 | 0.00 | 4.6 | 4.1 | 3.1 | 3.9 |
| Dirichlet; F-MNIST upper/rest, β=0.1 [knn] | 6 | 100 | 0.79 | 2.29 | 0.1 | 0.1 | 0.00 | 4.6 | 4.1 | 3.1 | 3.9 |
| Dirichlet; F-MNIST upper/rest, β=0.5 [complete] | 6 | 100 | 1.19 | 3.06 | 0.3 | 0.3 | 0.00 | 8.2 | 5.9 | 5.5 | 3.8 |
| Dirichlet; F-MNIST upper/rest, β=0.5 [knn] | 6 | 100 | 1.19 | 3.06 | 0.3 | 0.5 | 0.01 | 8.2 | 5.8 | 5.6 | 3.8 |
| Dirichlet; MNIST < 5/≥ 5, β=0.1 [complete] | 6 | 100 | 1.20 | 3.07 | 0.05 | 0.1 | 0.13 | 11.5 | 15.0 | 9.2 | 2.5 |
| Dirichlet; MNIST < 5/≥ 5, β=0.1 [knn] | 6 | 100 | 1.20 | 3.07 | 0.05 | 0.1 | 0.12 | 11.5 | 14.7 | 9.3 | 2.5 |
| Dirichlet; MNIST < 5/≥ 5, β=0.5 [complete] | 6 | 100 | 1.59 | 2.68 | 0.1 | 0.3 | 0.25 | 18.4 | 16.6 | 15.0 | 3.0 |
| Setting [graph] | N | p | |Δ|G | |Δ|T | αde | αtest | regret | local | cons. | best | NC |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Dirichlet; MNIST < 5/≥ 5, β=0.5 [knn] | 6 | 100 | 1.59 | 2.68 | 0.1 | 0.2 | 0.11 | 18.4 | 16.6 | 14.8 | 3.0 |
| rotation; F-MNIST pullover/coat [complete] | 6 | 100 | 2.28 | 1.49 | 0.1 | 0.1 | 0.00 | 22.3 | 21.3 | 17.1 | 5.6 |
| rotation; F-MNIST pullover/coat [path] | 6 | 100 | 2.28 | 1.49 | 0.05 | 0.1 | 0.09 | 22.3 | 21.2 | 17.8 | 5.6 |
| rotation; MNIST 3/5 [complete] | 6 | 100 | 1.48 | 2.52 | 0.02 | 0.05 | 0.13 | 10.9 | 17.9 | 9.1 | 3.3 |
| rotation; MNIST 3/5 [path] | 6 | 100 | 1.48 | 2.52 | 0.1 | 0.1 | 0.00 | 10.9 | 16.4 | 8.3 | 3.3 |
| rotation; F-MNIST 0v6 [path] | 6 | 100 | 2.81 | 0.97 | 0.2 | 0.3 | 0.05 | 23.0 | 19.6 | 18.7 | 5.8 |
| rotation; F-MNIST 4v6 [path] | 6 | 100 | 2.33 | 1.21 | 0.1 | 0.2 | 0.06 | 23.0 | 20.2 | 17.9 | 5.7 |
| rotation; F-MNIST 5v7 [path] | 6 | 100 | 4.38 | 2.40 | 0.05 | 0.05 | 0.00 | 11.3 | 14.8 | 8.1 | 6.3 |
| rotation; F-MNIST 7v9 [path] | 6 | 100 | 1.95 | 2.64 | 0.05 | 0.1 | 0.02 | 8.2 | 7.3 | 6.1 | 5.1 |
| rotation; MNIST 1v7 [path] | 6 | 100 | 1.93 | 3.16 | 0.1 | 0.1 | 0.00 | 3.5 | 2.6 | 1.9 | 6.7 |
| rotation; MNIST 2v7 [path] | 6 | 100 | 0.98 | 2.73 | 0.05 | 0.1 | 0.13 | 5.5 | 6.8 | 3.6 | 3.3 |
| rotation; MNIST 4v9 [path] | 6 | 100 | 1.66 | 2.26 | 0.05 | 0.2 | 0.24 | 9.6 | 14.5 | 6.8 | 4.1 |
| rotation; MNIST 7v9 [path] | 6 | 100 | 3.02 | 2.14 | 0.05 | 0.1 | 0.09 | 9.6 | 12.5 | 7.7 | 5.1 |
| alignment; CIFAR subpop. [alternating] | 6 | 100 | 0.89 | 1.99 | 0.5 | 5 | 0.18 | 17.3 | 12.1 | 12.1 | 3.3 |
| alignment; CIFAR subpop. [grouped] | 6 | 100 | 0.89 | 1.99 | 0.5 | 0.5 | 0.00 | 17.3 | 12.0 | 11.5 | 3.3 |
| alignment; MNIST 0/90° [alternating] | 6 | 100 | 1.22 | 2.41 | 0.01 | 0.01 | 0.00 | 11.0 | 12.8 | 10.3 | 2.9 |
| alignment; MNIST 0/90° [grouped] | 6 | 100 | 1.22 | 2.41 | 0.05 | 0.1 | 0.03 | 11.0 | 12.5 | 8.9 | 2.9 |
| HAR; sit/stand, 10 groups [complete] | 10 | 30 | 3.15 | 4.61 | 0.3 | 0.5 | 0.08 | 20.6 | 14.8 | 14.3 | 2.8 |
| HAR; sit/stand, 10 groups [knn] | 10 | 30 | 3.15 | 4.61 | 0.2 | 0.5 | 0.14 | 20.6 | 14.8 | 14.3 | 2.8 |
| HAR; sit/stand, 30 users [complete] | 30 | 12 | 2.68 | 4.59 | 0.02 | 0.5 | 1.29 | 23.7 | 20.0 | 19.0 | 1.8 |
| HAR; sit/stand, 30 users [knn] | 30 | 12 | 2.68 | 4.59 | 0.01 | 0.2 | 1.28 | 23.7 | 20.0 | 19.0 | 1.8 |
| HAR; up/down, 10 groups [complete] | 10 | 30 | 0.61 | 1.86 | 0.02 | 0.05 | 0.18 | 2.9 | 4.1 | 1.5 | 1.6 |
| HAR; up/down, 10 groups [knn] | 10 | 30 | 0.61 | 1.86 | 0.01 | 0.02 | 0.13 | 2.9 | 4.3 | 1.5 | 1.6 |
| HAR; up/down, 30 users [complete] | 30 | 12 | 0.49 | 1.50 | 0.01 | 0.05 | 0.15 | 2.2 | 4.3 | 0.9 | 1.1 |
| HAR; up/down, 30 users [knn] | 30 | 12 | 0.49 | 1.50 | 0.005 | 0.02 | 0.11 | 2.2 | 4.3 | 0.9 | 1.1 |
| Adult; age [complete] | 5 | 40 | 1.63 | 1.68 | 0.3 | 2 | 0.14 | 24.6 | 23.0 | 23.0 | 7.0 |
| Adult; age [knn] | 5 | 40 | 1.63 | 1.73 | 0.3 | 2 | 0.19 | 24.6 | 23.0 | 23.0 | 7.0 |
| Adult; workclass [complete] | 6 | 40 | 6.77 | 1.47 | 0.5 | 2 | 0.12 | 25.9 | 23.1 | 23.0 | 7.4 |
| Adult; workclass [knn] | 6 | 40 | 6.77 | 1.50 | 0.5 | 5 | 0.15 | 25.9 | 23.0 | 23.0 | 7.4 |
Table 6: Results for all 55 real-data settings.

uped (theory)
uped (Gauss. formula)
alternating (theory)
alternating (Gauss. formula)
CIFAR-10 vehicle/animal subpop.
grouped (real test)
alternating (i
Figure 7: Graph–task alignment on real data, with the two cycles of Figure 3. Left: MNIST 3 vs. 5, with nodes 1–3 upright and nodes 4–6 rotated by 90°. Right: CIFAR-10, nodes 1–3 separate airplanes and ships from birds and frogs, nodes 4–6 automobiles and trucks from cats and dogs. Both cycles have the same Laplacian spectrum and use the same training draws. The grouped cycle, with two edges between different tasks instead of six, has the lower error, as predicted.

HAR up/down (10 groups)

Adult by workclass
Adult by age
complete (theory)
knn (theory)
complete (real test)
knn (real test)
Figure 8: Natural partitions. HAR: 10 nodes of 3 users each, , . Adult: 6 employment sectors or 5 age groups, , unequal . Complete graphs with total weight N, and k-NN graphs built from pool statistics ( for HAR, for Adult). Lines and dots as in Figure 5.

Figure 9: Theorem 1 on real data: standard deviation over 200 training draws of the unit-norm observable , for random splits of Fashion-MNIST (pullover vs. coat) and CIFAR-10 (automobile vs. truck). Unweighted cycle, , , bootstrap 95% intervals. The fitted slopes, given in the legend, are close to for every .