arXiv:2608.26989cs.LGAug 2026

Manuscript Offprint

arXiv:2608.26989

Decentralized Multitask Learning over Learned Task Graphs

Zirui Wan, Stefan Vlaski

Zirui Wan, and Stefan Vlaski

Abstract—This paper investigates decentralized multitask learning over networks when the underlying task relationships are unknown. While existing graph-regularized multitask frameworks typically assume a known structure, practical settings often require learning inter-task dependencies directly from distributed data. We propose a decentralized two-phase strategy that first estimates a generalized graph Laplacian from noisy noncooperative stochastic gradient iterates, and subsequently exploits the learned graph to enable cooperative multitask diffusion learning. This framework is motivated by a Gaussian Markov random field prior, which gives rise to a decentralized maximum likelihood estimator for the graph Laplacian. The analysis quantifies the Laplacian estimation error and its propagation to the steady-state performance of the multitask diffusion recursion, and introduces a topology sensitivity index to capture the effect of network heterogeneity. Simulation results corroborate the theoretical findings and demonstrate that cooperation enabled by the learned task graph significantly improves performance over non-cooperative learning, while approaching the true-graph baseline when the estimation stepsize is sufficiently small.

Index Terms—Decentralized learning, multitask learning, graph signal processing, graph learning, Gaussian graphical models.

I. INTRODUCTION

MODERN distributed networks generate large volumes of data, motivating federated and decentralized learning frameworks that move storage and computation toward the network edge. Early works primarily focused on consensus or single-task formulations, where all agents are required to agree on a common global model or decision [1]–[6]. In many practical applications, however, agents face heterogeneous objectives and non-identical local data distributions, making strict consensus statistically suboptimal [7], [8]. To address such heterogeneity, more recent works have developed implicit or non-parametric approaches, including meta-learning [9], [10] and proximal personalization methods [11], [12]. While effective for personalization, these approaches capture task relationships only implicitly through shared parameters, and therefore offer limited interpretability of the underlying task dependencies. In many settings, however, tasks exhibit structured pairwise relationships that are unknown a priori and must be inferred directly from distributed data. This challenge has motivated the study of multitask learning over graphs, where each agent maintains its own model while leveraging inter-task relationships through explicit structural priors.

A principled approach to incorporating prior knowledge about task relationships into multitask learning is through structured regularization. Consider a networked learning scenario in which each agent k seeks to estimate a parameter vector by minimizing its individual cost function:

wko=arg⁡min⁡wkJk(wk).(1)w_{k}^{o}=\underset{w_{k}}{\arg\min}J_{k}(w_{k}). \tag{1}

When information about inter-task dependencies is available, it can be embedded into the learning process by augmenting the objective with a regularization term that promotes desirable structure in the solution [13]–[15]. This leads to the regularized multitask formulation

arg⁡min⁡WJ(W)+η2W⊤RW,(2)\underset{\mathcal{W}}{\arg\min}\mathcal{J}(\mathcal{W})+\frac{\eta}{2}\mathcal{W}^{\top}\mathcal{R}\mathcal{W}, \tag{2}

where W≜col{w1,…,wK}\mathcal{W} \triangleq \text{col}\{w_1, \ldots, w_K\} concatenates the local parameters wk∈RMw_k \in \mathbb{R}^M from KK agents, J(W)≜∑k=1KJk(wk)\mathcal{J}(\mathcal{W}) \triangleq \sum_{k=1}^K J_k(w_k) denotes the aggregate network cost, R≥0\mathcal{R} \geq 0 encodes structural relationships among tasks, and η>0\eta > 0 controls the strength of coupling across agents.

In networked settings, such prior structure is often expressed through smoothness of the model parameters over an underlying task graph, whereby related agents are encouraged to learn similar parameter vectors. This notion can be captured by choosing R=L≜L⊗IM\mathcal{R} = \mathcal{L} \triangleq L \otimes I_M, where LL is a graph Laplacian that encodes pairwise task similarities. Under this choice, the regularizer η2W⊤LW\frac{\eta}{2} \mathcal{W}^\top \mathcal{L} \mathcal{W} promotes smooth variation of the parameter vectors across the graph, enabling the algorithm to exploit structural dependencies while preserving local adaptability. Moreover, this graph-regularized formulation admits a probabilistic interpretation through Gaussian Markov random field (GMRF) priors, where the Laplacian serves as the precision matrix governing conditional dependencies among tasks over graph [16]–[18]. Such graph-based multitask frameworks have been shown to significantly improve estimation accuracy and tracking performance over independent or consensus-based approaches, particularly in heterogeneous environments where task similarity is localized rather than global [7], [8], [15], [19], [20].

However, a fundamental limitation of most existing graph-based multitask learning approaches is the assumption that the underlying task-relationship graph—including both its connectivity pattern and edge weights—is fully known a priori. In practice, this assumption is often unrealistic, since the true dependencies among tasks are typically implicit, data-driven, and may evolve over time. Consequently, specifying an accurate graph structure in advance is difficult, and the task-relationship graph must instead be inferred directly from the available data, a problem commonly referred to as graph learning.

Zirui Wan and Stefan Vlaski are with the Department of Electrical and Electronic Engineering, Imperial College London, UK (e-mail: zirui.wan22@imperial.ac.uk; s.vlaski@imperial.ac.uk).

Figure

Fig. 1: (Left) Illustration of the proposed two-phase strategy: Phase I, agents operate non-cooperatively to learn the underlying task graph, and Phase II uses the learned graph for cooperative multitask learning. (Right) Network mean-square deviation MSD‾\overline{MSD} versus iteration for two choices of the stepsize. After the graph is learned, the Phase II performance approaches that of the baseline with known task relationships (dashed curves) under the same stepsizes.

Moreover, even when partial structural knowledge is available, existing graph learning methods typically rely on centralized processing, requiring global covariance estimation or large-scale matrix inversion [18], [20]–[22]. Such requirements are incompatible with decentralized settings. These challenges motivate decentralized learning strategies that can jointly infer task relationships and perform multitask learning directly from distributed data, while ensuring statistical accuracy of the learned graph and characterizing how graph estimation errors affect the performance of the resulting multitask learning algorithm.

In this paper, we propose a fully decentralized strategy that jointly learns local models and their inter-task relationships, assuming that only the local connectivity is known. The dependencies among tasks are modeled through a GMRF, whose unknown precision matrix is constrained to lie in the space of valid generalized graph Laplacians (GGLs) [22], [23]. To estimate the graph structure, we employ a decentralized Laplacian learning technique based on the noisy noncooperative estimates of the local models [24]. The resulting Laplacian estimate is then incorporated into the multitask learning algorithm to promote structured cooperation among agents. The overall procedure of the proposed strategy is illustrated in Fig. 1 (left).

Simulation results demonstrate that, despite being learned from noisy data, the estimated Laplacian enables improved performance compared to the non-cooperative baseline, as shown in Fig. 1 (right). From a theoretical perspective, we derive explicit bounds on the Laplacian estimation error in the small-stepsize and high-dimensional regimes, revealing an O(μ)O(\mu) dependence on the non-cooperative learning stepsize μ\mu and quantifying the influence of graph topology on estimation quality. We further analyze how errors in the learned graph propagate and affect the performance of the resulting decentralized multitask learning algorithm.

References (41)