Decentralised Federated Learning over Temporal Networks: The Role of Heterogeneities

arXiv cs.LG Papers

Summary

This paper analyzes the effect of structural and temporal heterogeneities in decentralized federated learning over temporal networks, showing that ignoring these heterogeneities leads to unrealistically rapid convergence and that real-world networks slow down diffusion.

arXiv:2607.03171v1 Announce Type: new Abstract: Decentralised federated learning, based on peer-to-peer communication, is increasingly proposed for on-device training of machine learning models, promising a privacy-preserving, communication-efficient training process with no risk of single-point failure. However, the role of structural and temporal inhomogeneities in such fully decentralised settings remains poorly understood. Here, we investigate their effects when model parameters are locally averaged during aggregation. We show that the decentralised federated learning process is governed, both in the early phase and the late, stationary limit, by the same dynamics as a lazy random-walk diffusion process on temporal networks. Based on this mapping, we demonstrate that the typical experimental scenario used in decentralised federated learning leads to unrealistically rapid convergence because of ignoring the temporal and structural inhomogeneities inherent in the communication network. We analyse real-world temporal networks and find that inhomogeneities most often dramatically slow down diffusion, hence the convergence process.
Original Article
View Cached Full Text

Cached at: 07/07/26, 04:41 AM

# Decentralised Federated Learning over Temporal Networks: The Role of Heterogeneities
Source: [https://arxiv.org/html/2607.03171](https://arxiv.org/html/2607.03171)
Arash Badie\-Modiri, Chiara Boldrini, Lorenzo Valerio, János Kertész and Márton KarsaiArash Badie\-Modiri, Chiara Boldrini and Lorenzo Valerio are with the National Research Council, PisaArash Badie\-Modiri, János Kertész and Márton Karsai are with the Central European University, ViennaArash Badie\-Modiri is with Aalto University, EspooMárton Karsai is with the HUN\-REN Rényi Institute of Mathematics, Budapest

###### Abstract

Decentralised federated learning, based on peer\-to\-peer communication, is increasingly proposed for on\-device training of machine learning models, promising a privacy\-preserving, communication\-efficient training process with no risk of single\-point failure\. However, the role of structural and temporal inhomogeneities in such fully decentralised settings remains poorly understood\. Here, we investigate their effects when model parameters are locally averaged during aggregation\. We show that the decentralised federated learning process is governed, both in the early phase and the late, stationary limit, by the same dynamics as a lazy random\-walk diffusion process on temporal networks\. Based on this mapping, we demonstrate that the typical experimental scenario used in decentralised federated learning leads to unrealistically rapid convergence because of ignoring the temporal and structural inhomogeneities inherent in the communication network\. We analyse real\-world temporal networks and find that inhomogeneities most often dramatically slow down diffusion, hence the convergence process\.

## IIntroduction

Decentralised federated learning has emerged as a powerful paradigm for training machine learning models across entities without sharing raw data or requiring central coordination\[[1](https://arxiv.org/html/2607.03171#bib.bib1)\]\. This approach is often studied in the context of data centres, for example in healthcare settings where multiple centres contribute patient data to jointly train a model without directly sharing sensitive information\[[2](https://arxiv.org/html/2607.03171#bib.bib2),[3](https://arxiv.org/html/2607.03171#bib.bib3)\]\. However, decentralised federated learning can also be highly beneficial for end\-user devices such as smartphones and internet\-of\-things devices\[[4](https://arxiv.org/html/2607.03171#bib.bib4)\]or autonomous vehicles\[[5](https://arxiv.org/html/2607.03171#bib.bib5)\], enabling them to contribute to model training using their local data without sharing raw and private data\. Unlike the data\-centre setting \(where robust networking infrastructure allows reliable, persistent, and high\-bandwidth connections\), edge devices communicate opportunistically: they go offline unpredictably, move through space, and may interact only when physical proximity or shared infrastructure allows\. These constraints make the structure and timing of communications inherently irregular and heterogeneous\.

Early works addressed this setting under idealised assumptions of synchronous, peer\-to\-peer communication over simple network topologies\[[6](https://arxiv.org/html/2607.03171#bib.bib6),[7](https://arxiv.org/html/2607.03171#bib.bib7)\]\. While more recent studies have begun to relax these assumptions by incorporating aspects of structural and temporal heterogeneity into the analysis\[[8](https://arxiv.org/html/2607.03171#bib.bib8),[9](https://arxiv.org/html/2607.03171#bib.bib9),[10](https://arxiv.org/html/2607.03171#bib.bib10),[11](https://arxiv.org/html/2607.03171#bib.bib11)\], the forms considered remain narrow in scope\. These works highlight the impact of features such as heterogeneous degree distributions, community structure, and intermittent communication failures on the convergence behaviour of decentralised learning systems\. However, prior work largely treats heterogeneity as static topology variation \(irregular but fixed graphs\) or as one\-shot randomly induced disruption, such as links or nodes deactivated independently at random\. Neither of these captures the richer dynamics present in real\-world temporal networks, where communication patterns may be bursty, temporally correlated, and shaped by memory\-bearing processes that couple structure and timing in non\-trivial ways\.

In parallel, the network science literature has developed a rich theoretical understanding of dynamical processes on complex networks, including diffusion and spreading on systems with intricate structural and temporal patterns \(see\[[12](https://arxiv.org/html/2607.03171#bib.bib12)\]\)\. While these models provide powerful tools for analysing how information propagates in realistic networks, they are typically studied independently of specific applications such as decentralised learning\. Bridging this gap requires connecting learning dynamics with the well\-understood behaviour of diffusion processes on temporal networks\.

In this work, we establish such a connection by modelling decentralised federated learning as a diffusion process over a temporal communication network\. We analyse how local model parameters propagate through time\-varying connectivity, capturing both asynchronous communication and complex temporal heterogeneity within a unified framework\. We do this through two complementary analyses: \(i\) in the early synchronisation phase, where aggregation dominates local learning, we characterise how quickly models converge through the lens of random walks on temporal networks; \(ii\) and in the stationary regime, where we model the spread of perturbations introduced by local training steps as independently diffusing impulses governed by the same diffusion dynamics\. We validate this framework on both synthetic networks \(introducing spatial embedding, bursty renewal processes, and self\-exciting temporal dynamics in isolation\) and on real\-world contact networks drawn from three distinct deployment scenarios, using microcanonical randomised reference models\[[13](https://arxiv.org/html/2607.03171#bib.bib13)\]to isolate the contribution of specific heterogeneity classes\.

Our analysis yields three key findings:

- •The dissemination of learned parameters is governed, both in the early and stationary phases, by the same dynamics as a lazy random\-walk diffusion process on the underlying temporal network, providing a unified and analytically tractable characterisation of decentralised federated learning convergence in both regimes\.
- •Both structural and temporal heterogeneities universally slow down this diffusion process: lower\-dimensional spatial embedding, heavier\-tailed inter\-event time distributions, and stronger self\-excitation all push convergence toward slower regimes, and their effects compound in real\-world networks where multiple heterogeneities co\-occur\.
- •The standard experimental setup used in decentralised federated learning research \(random graphs with regular communication intervals\) is systematically biased toward unrealistically fast convergence; in the real\-world networks we study, a fully randomised baseline with the same number of nodes, links, and total events can mix tens to more than a hundred times faster than the empirical network\.

Together, these results show that network heterogeneity is not a second\-order modelling detail but a primary determinant of convergence speed, with direct implications for system design, protocol evaluation, and the interpretation of simulation\-based benchmarks\.

The remainder of this paper is organised as follows\. Section[II](https://arxiv.org/html/2607.03171#S2)reviews related work on decentralised federated learning and dynamical processes on temporal networks\. Section[III](https://arxiv.org/html/2607.03171#S3)introduces the system model, formalising the decentralised federated learning setup and the temporal network framework\. Section[IV](https://arxiv.org/html/2607.03171#S4)establishes the connection between decentralised federated learning and lazy random\-walk diffusion, covering both the early\-stage synchronisation dynamics and the stationary\-phase response to local learning perturbations\. Section[V](https://arxiv.org/html/2607.03171#S5)presents our experimental results on synthetic networks and real\-world networks, quantifying the effect of structural and temporal heterogeneities on convergence\. Finally, Section[VI](https://arxiv.org/html/2607.03171#S6)discusses the implications of our findings and directions for future work\.

## IIRelated works

Decentralised federated learning is defined on real\-world communication networks which often simultaneously embody many types of temporal and structural heterogeneities\[[14](https://arxiv.org/html/2607.03171#bib.bib14)\]\. Research into temporal networks has shown that simply taking into account timing and order of contacts between nodes, as opposed to using an aggregated static network as a substitute, can strongly affect the rapidity of spreading processes\[[15](https://arxiv.org/html/2607.03171#bib.bib15),[16](https://arxiv.org/html/2607.03171#bib.bib16)\]\. This has also been shown to hold true for diffusion processes, such as random walks, where unlike in epidemic spreading process, the number of “spreading agents” remains conserved\[[17](https://arxiv.org/html/2607.03171#bib.bib17)\]\. Temporal heterogeneities, often manifesting as bursty and/or correlated communication dynamics and heterogeneity in overall frequency of activation, are often present in real\-world systems\[[18](https://arxiv.org/html/2607.03171#bib.bib18),[19](https://arxiv.org/html/2607.03171#bib.bib19)\]\. To understand the behaviour of these systems, we have to uncover the role of temporal inhomogeneities in their dynamics\[[16](https://arxiv.org/html/2607.03171#bib.bib16),[20](https://arxiv.org/html/2607.03171#bib.bib20)\]\.

Similarly, a large body of the literature on complex networks has been devoted to understanding the role of structural heterogeneities\. Heterogeneous degree\-sequence\[[21](https://arxiv.org/html/2607.03171#bib.bib21),[22](https://arxiv.org/html/2607.03171#bib.bib22)\], preferential attachment\[[23](https://arxiv.org/html/2607.03171#bib.bib23)\]and small\-world property\[[24](https://arxiv.org/html/2607.03171#bib.bib24),[25](https://arxiv.org/html/2607.03171#bib.bib25)\]of networks have been at the centre of attention of network scientists for decades\. Other works have studied the effects of spatial limitations on networks, showing that the structure and connectivity in many real\-world networks are affected by limitations imposed by the fact that these systems are embedded in a finite\-dimensional space\[[26](https://arxiv.org/html/2607.03171#bib.bib26)\]\. This research has been complemented through analyses of the roles of mesoscopic structures in the network, for example motifs \(over\-represented local patterns of connectivity\)\[[27](https://arxiv.org/html/2607.03171#bib.bib27),[28](https://arxiv.org/html/2607.03171#bib.bib28)\]and community structure\[[29](https://arxiv.org/html/2607.03171#bib.bib29),[30](https://arxiv.org/html/2607.03171#bib.bib30)\]\. The structural and temporal heterogeneities can combine\. For example, temporal motifs capture over\-represented*temporal and structural*patterns of connectivity that cannot necessarily be detected on a static aggregation of the network\[[31](https://arxiv.org/html/2607.03171#bib.bib31)\]\.

We now turn to overview the related literature on Decentralized Federated Learning \(DFL\), which replaces the client–server architecture of classical FL with peer\-to\-peer communication, where clients alternate local training with neighbourhood model mixing over a graph\. Algorithmically, DFL is closely related to decentralized stochastic optimization: convergence couples stochastic gradients with the connectivity and spectral properties of the mixing operator\. Canonical baselines such as D\-PSGD\[[6](https://arxiv.org/html/2607.03171#bib.bib6)\]and D2\[[7](https://arxiv.org/html/2607.03171#bib.bib7)\]formalize this coupling, and subsequent work studies communication constraints via compressed exchanges\[[32](https://arxiv.org/html/2607.03171#bib.bib32)\]\. Empirical and methodological studies further indicate that even under static graphs, structural heterogeneity \(e\.g\., bottlenecks, modularity\) can dominate early alignment and affect robustness and final accuracy\[[9](https://arxiv.org/html/2607.03171#bib.bib9),[11](https://arxiv.org/html/2607.03171#bib.bib11)\], motivating topology\-aware evaluation and coordination\-free protocols\[[33](https://arxiv.org/html/2607.03171#bib.bib33)\]as well as disruption\-oriented analyses\[[8](https://arxiv.org/html/2607.03171#bib.bib8)\]; surveys summarize protocol choices and open challenges\[[1](https://arxiv.org/html/2607.03171#bib.bib1)\]\.

The mixing step has deep roots in control and distributed computation\. Average\-consensus theory relates agreement rates to spectral properties of averaging weights\[[34](https://arxiv.org/html/2607.03171#bib.bib34)\], and randomized pairwise exchanges used in DFL coincide with classical gossip schemes\[[35](https://arxiv.org/html/2607.03171#bib.bib35)\]\. Switching\-topology consensus establishes conditions \(e\.g\., joint connectivity over time windows\) guaranteeing agreement under time\-varying interactions via products of stochastic matrices\[[36](https://arxiv.org/html/2607.03171#bib.bib36),[37](https://arxiv.org/html/2607.03171#bib.bib37)\]\. Related distributed optimization methods explicitly separate optimization and disagreement errors\[[38](https://arxiv.org/html/2607.03171#bib.bib38)\]; however, their regularity assumptions \(bounded delays, sufficiently frequent exchanges, well\-behaved switching\) may not hold in empirical contact traces\.

Within DFL, several works address communication heterogeneity and time variation at the protocol level\. Hu*et al\.*propose segmented gossip to better exploit heterogeneous link capacities under serverless training\[[39](https://arxiv.org/html/2607.03171#bib.bib39)\], while Hegedűs*et al\.*empirically show that gossip learning can be competitive with centralized FL across regimes\[[40](https://arxiv.org/html/2607.03171#bib.bib40)\]\. For mobility\-driven variation, Lu*et al\.*study privacy\-preserving DFL over time\-varying graphs via Metropolis–Hastings weights and secret sharing\[[41](https://arxiv.org/html/2607.03171#bib.bib41)\]\. In wireless settings, Jeong*et al\.*propose asynchronous decentralized learning robust to failures\[[42](https://arxiv.org/html/2607.03171#bib.bib42)\], and Nguyen*et al\.*analyse time\-varying*directed*networks using gradient tracking and momentum \(DSGTm\-TV\) with row/column\-stochastic mixing\[[43](https://arxiv.org/html/2607.03171#bib.bib43)\]\. Beyond “DFL over a given network,” Zhang*et al\.*design time\-varying mixing matrices for energy\-efficient DFL\[[44](https://arxiv.org/html/2607.03171#bib.bib44)\], and Li*et al\.*target time\-varying and heterogeneous mobile computing networks\[[45](https://arxiv.org/html/2607.03171#bib.bib45)\]\.

The present manuscript provides a complementary network\-science viewpoint: it models pairwise DFL mixing as diffusion on temporal networks and links convergence\-limiting behaviour to temporal mixing and localization\. Building on the observation that early synchronization in static graphs is governed by lazy random\-walk mixing\[[11](https://arxiv.org/html/2607.03171#bib.bib11)\], the paper generalizes to asynchronous contact sequences and proposes the decay of the inverse participation ratio \(IPR\) as a diagnostic of relaxation and localization in temporal diffusion\. This frame of reference explains why common evaluation sets \(regular communications in homogeneous random graphs\) can overestimate convergence by suppressing structural and temporal heterogeneities observed in real traces, and motivates topology\-/time\-adaptive communication policies in heterogeneous temporal environments\.

## IIISystem model

In this work, we focus on a simple decentralised federated learning setup, where nodes communicate one\-to\-one and instantaneously over a dyadic temporal network \(contact network\) on a continuous\-time axis\. The temporal network is defined asG=\(𝒱,ℰ,𝒯\)G=\(\\mathcal\{V\},\\mathcal\{E\},\\mathcal\{T\}\), where𝒱\\mathcal\{V\}is the set of nodes,ℰ\\mathcal\{E\}the set of events and𝒯\\mathcal\{T\}the time window of the measurement of the network\. Each eventem∈ℰe\_\{m\}\\in\\mathcal\{E\}is defined as undirected communication between a pair of nodes at a specific time,em=\(\{i,j\},tm\)e\_\{m\}=\(\\\{i,j\\\},t\_\{m\}\), during which the two nodes exchange their current model parameters \(weights and biases\) and aggregate their own parameters with those of their peers\.

Let each nodei∈𝒱i\\in\\mathcal\{V\}hold parameters111While for the empirical simulations in this paper we elected to use a variant of the parameter initialisation method described in Ref\.\[[11](https://arxiv.org/html/2607.03171#bib.bib11)\], the paper is generally agnostic to the choice of the initialisation method\.wi​\(t\)∈ℝdw\_\{i\}\(t\)\\in\\mathbb\{R\}^\{d\}\. The dynamics at each node consist of alternating local learning updates and communication\-induced aggregation events\. Local learning is modelled as \(possibly stochastic\) updates applied at node\-specific times, written abstractly aswi←𝒰i​\(wi\)w\_\{i\}\\leftarrow\\mathcal\{U\}\_\{i\}\(w\_\{i\}\), e\.g\., one Stochastic Gradient Descent \(SGD\) step𝒰i​\(wi\)=w−η​gi​\(wi;ξ\)\\mathcal\{U\}\_\{i\}\(w\_\{i\}\)=w\-\\eta\\,g\_\{i\}\(w\_\{i\};\\xi\)with𝔼​\[gi​\(w;ξ\)\]=∇fi​\(w\)\\mathbb\{E\}\[g\_\{i\}\(w;\\xi\)\]=\\nabla f\_\{i\}\(w\)for a local objectivefif\_\{i\}\. This operator covers any local training rule\. Each node internally optimises its parameters using itslocal data only, at a constant rate through the local learning process\. A communication eventeme\_\{m\}couples the states of two nodes through an instantaneous aggregation map𝒜\\mathcal\{A\}applied to their pre\-event parameters,

\(wi,wj\)←\(𝒜​\(wi,wj\),𝒜​\(wj,wi\)\)\.\(w\_\{i\},w\_\{j\}\)\\leftarrow\\big\(\\mathcal\{A\}\(w\_\{i\},w\_\{j\}\),\\,\\mathcal\{A\}\(w\_\{j\},w\_\{i\}\)\\big\)\\,\.\(1\)Note that, in this paper, we assume that all events are dyadic and no two events involving the same node occur at the same time\. Effectively, we assume that communications involving the same node happening simultaneously are resolved one at a time in random order, although we briefly discuss the ramifications of simultaneous communications between one node and multiple neighbours in[Section˜IV\-A](https://arxiv.org/html/2607.03171#S4.SS1)\. Therefore, unless otherwise specified, we use simple pairwise averaging as our aggregation rule, i\.e\.,

wi←12​\(wi\+wj\),wj←12​\(wi\+wj\)\.w\_\{i\}\\leftarrow\\tfrac\{1\}\{2\}\(w\_\{i\}\+w\_\{j\}\),\\qquad w\_\{j\}\\leftarrow\\tfrac\{1\}\{2\}\(w\_\{i\}\+w\_\{j\}\)\\,\.\(2\)This symmetric aggregation is a widely used baseline\. The model can be readily generalized to asymmetric mixing rules, whereas accommodating heterogeneous architectures, non\-Euclidean parametrizations, or adaptive mixing would require more substantial modifications\. We briefly discuss possible generalisation of our findings to more involved non\-linear aggregation processes in[Section˜IV\-B](https://arxiv.org/html/2607.03171#S4.SS2)\.

Depending on the phenomenon and the setting under study, temporal networks are sometimes modelled as interval graphs, where a link, once established between two nodes, remains open for a certain amount of time before closing\. During this “on” interval, communication can occur at the discretion of the nodes\. In our target scenario described above, this would be the most realistic modelling of contacts, for example, if two devices stay in proximity for a significant duration\. However, for mathematical tractability, in our theoretical analyses \([Section˜IV](https://arxiv.org/html/2607.03171#S4)\) we did not consider this case, i\.e\., we assume no duration\. In contrast, in the experimental setting \([Section˜V](https://arxiv.org/html/2607.03171#S5)\) we approximate prolonged contacts by having nodes exchange messages \(“ping” each other\) at fixed intervals, so that after a specified time since the last interaction, a new instantaneous contact event is triggered, effectively converting the interval network into a sequence of instantaneous events\.

Under the instantaneous contact assumption, we effectively assume unbounded communication bandwidth, such that model parameters can be exchanged without delay\. This is a deliberate simplification adopted for analytical tractability\. We also neglect medium contention, implicitly assuming that simultaneous contacts do not interfere with each other or require scheduling\. In practice, however, the volume of information that can be transmitted during a contact depends on the underlying communication technology \(e\.g\., Bluetooth, Wi\-Fi\) and its associated bandwidth constraints\. Incorporating finite, neighbourhood\-dependent bandwidth effects into the model is left for future work\.

## IVDecentralised federated learning as a diffusion process

In this section, we establish the connection between the dynamics of decentralised federated learning and a diffusion process on temporal networks\. Previous work has already demonstrated a link between the early\-stage “synchronisation” phase of decentralised federated learning and lazy random walks, under the restrictive assumptions of a static communication graph, discrete time, and synchronous updates in which all nodes communicate simultaneously at each time step\[[11](https://arxiv.org/html/2607.03171#bib.bib11)\]\. We generalise this connection in two directions: in[Section˜IV\-A](https://arxiv.org/html/2607.03171#S4.SS1)we extend the analysis to asynchronous communication on a continuous time axis, focusing on the early\-stage regime where aggregation dominates local learning; in[Section˜IV\-B](https://arxiv.org/html/2607.03171#S4.SS2)we shift to the stationary regime, modelling local learning as a perturbation and showing that its spread through the network is governed by the same lazy random\-walk diffusion operator\.

### IV\-ALazy passive random walk and early\-stage dynamics of decentralised federated learning

We focus on the early\-stage dynamics and track how each node’s initial parameters \(weights and biases attinit\.=0t\_\{\\text\{init\.\}\}=0\) influence the parameters of all nodes at later timestt\. In this regime, the aggregation step dominates local learning in magnitude, so the learning contribution is negligible\[[11](https://arxiv.org/html/2607.03171#bib.bib11)\]\. This lets us focus on the effect of aggregation alone\.

![Refer to caption](https://arxiv.org/html/2607.03171v1/x1.png)Figure 1:The composition of the parameters of each model under simple average aggregation based on initial node parameters, disregarding changes due to training\. The parameters of nodeV4V\_\{4\}just after the final tickt=12t=12displayed in the schematic is a linear composition of the initial parameters of all nodes, with1/81/8of it originating from the initial parameters of nodeV1V\_\{1\}\. This share of influence can be calculated by drawing all possible reverse time\-respecting pathsppfromV4V\_\{4\}just aftert=12t=12toV1V\_\{1\}att=0t=0, shown as the lavender and magenta trajectories, and assigning each one a value of2−i​n​c​\(p\)2^\{\-inc\(p\)\}, wherei​n​c​\(p\)inc\(p\)is the number of events incident to the pathpp, representing the opportunities for dilution along that path\. In this case both paths get a value of1/161/16, adding up to a total of1/81/8\.Consider the example contact network in[Fig\.˜1](https://arxiv.org/html/2607.03171#S4.F1)\. Before the very first contact, the parameters of nodev1v\_\{1\}are influenced only by its own initial valuesw1init\.w^\{\\text\{init\.\}\}\_\{1\}\. When the first contact occurs betweenv1v\_\{1\}andv2v\_\{2\}at timet=4t=4, pairwise averaging splits the influence equally, so the parameters atv1v\_\{1\}becomew1\(t=4\)=12​w1init\.\+12​w2init\.w^\{\(t=4\)\}\_\{1\}=\\tfrac\{1\}\{2\}w^\{\\text\{init\.\}\}\_\{1\}\+\\tfrac\{1\}\{2\}w^\{\\text\{init\.\}\}\_\{2\}\.

More generally, the influence ofwiinit\.w^\{\\text\{init\.\}\}\_\{i\}onwj\(t\)w^\{\(t\)\}\_\{j\}is boosted by each possible time\-respecting path \(sequence of contacts whose timestamps are strictly increasing and each consecutive pair of contacts share at least one node, see\[[14](https://arxiv.org/html/2607.03171#bib.bib14)\]\) betweenvjv\_\{j\}at timettandviv\_\{i\}at timetinit\.=0t\_\{\\text\{init\.\}\}=0\. The actual contribution of that path depends on how many events are incident to the path at any point between 0 andtt, since each incident event dilutes this contribution by a 1/2\. An event is incident to a time\-respecting path if at least one end of the event coincides with the time\-respecting path\. If we denote the contribution of each node’s initial condition onwj\(t\)w^\{\(t\)\}\_\{j\}as

wj\(t\)=∑iai​j​\(t\)​wiinit\.,w^\{\(t\)\}\_\{j\}=\\sum\_\{i\}a\_\{ij\}\(t\)w^\{\\text\{init\.\}\}\_\{i\}\\,,\(3\)we can writeai​j​\(t\)a\_\{ij\}\(t\)as

ai​j​\(t\)=∑p∈Pvi​\(0\)→vj​\(t\)2−\|i​n​c​\(p\)\|,a\_\{ij\}\(t\)=\\sum\_\{\\mathclap\{p\\in P\_\{v\_\{i\}\(0\)\\rightarrow v\_\{j\}\(t\)\}\}\}2^\{\-\|inc\(p\)\|\}\\,,\(4\)wherePvi​\(0\)→vj​\(t\)P\_\{v\_\{i\}\(0\)\\rightarrow v\_\{j\}\(t\)\}is the set of all time\-respecting paths fromviv\_\{i\}at time 0 tovjv\_\{j\}at time t, andi​n​c​\(p\)inc\(p\)denotes the set of all incident events to the path, including the events traversed by the pathppas well as those merely branching off the pathpp\.

This combinatorial expression has a natural probabilistic interpretation\. Consider a lazy random\-walk process starting at nodevjv\_\{j\}at timett, running in the reverse direction of the arrow of time\. As the random walker arrives at each event, it traverses that event with probability 50%, or stays in the node it currently occupies\. The probability of the random\-walk agent arriving atviv\_\{i\}at time 0 is described exactly as[Eq\.˜4](https://arxiv.org/html/2607.03171#S4.E4), with each possible path contributing to the total probability based on the number of “crossroads” encountered on that path\. The above reasoning is valid for continuously distributed event times\.

This shows that the early\-stage mixing dynamics in this system are isomorphic to those of a lazy random\-walk process\. To quantify mixing, we study the variance of a given parameter across different nodes\[[11](https://arxiv.org/html/2607.03171#bib.bib11)\]: lower variance indicates better mixing, hence stronger agreement among nodes’ parameters\. From[Eq\.˜3](https://arxiv.org/html/2607.03171#S4.E3), assuming initial models’ parameters are independently drawn across nodes, we can arrive at

σ2​\(wj\(t\)\)=σ2​\(wiinit\.\)​∑iai​j2​\(t\)\.\\sigma^\{2\}\(w^\{\(t\)\}\_\{j\}\)=\\sigma^\{2\}\(w^\{\\text\{init\.\}\}\_\{i\}\)\\sum\_\{i\}a^\{2\}\_\{ij\}\(t\)\\,\.\(5\)As values ofai​j​\(t\)a\_\{ij\}\(t\)are simply the visit probabilities of a \(time\-reversed\) random walk process starting from a nodejjat timettending atiiat time0, the sum∑iai​j2​\(t\)\\sum\_\{i\}a^\{2\}\_\{ij\}\(t\)corresponds exactly to the*inverse participation ratio*\(IPR\) at timettfor the time\-reversed system\. Inverse participation ratio measures how concentrated the probability mass remains on a small subset of nodes\. Equivalently, it can be interpreted as the collision probability that two independent copies of the same time\-reversed walk, both started from\(j,t\)\(j,t\), end at the same node at time0\. Its reciprocal,1/∑iai​j2​\(t\)1/\\sum\_\{i\}a\_\{ij\}^\{2\}\(t\), can be understood as the “effective number” of initial nodes contributing appreciably towj\(t\)w\_\{j\}^\{\(t\)\}\.

The inverse participation ratio is a well\-established measure of localisation in the study of disordered systems\[[46](https://arxiv.org/html/2607.03171#bib.bib46)\]and has been used to characterise delocalisation in random walks on networks\[[47](https://arxiv.org/html/2607.03171#bib.bib47)\]\. Its behaviour here is intuitive: att=0t=0, when the walker is certainly at its starting node, the IPR equals11; as the walk delocalises, the IPR decays toward its minimum value of1/N1/N, attained only when the walker is uniformly distributed across allNNnodes\. In general, ast→∞t\\to\\infty, the IPR approaches∑iπi2\\sum\_\{i\}\\pi\_\{i\}^\{2\}, whereπi\\pi\_\{i\}is the stationary distribution of the walk, recovering1/N1/Nin the special case of a uniform stationary distribution\. Thus, lower IPR values indicate stronger delocalisation, while higher values indicate stronger localisation\.

Throughout this paper, we use the rapidity of this decay \(the trajectory of the inverse participation ratio as a function of time\) as a measure of the delocalisation or “relaxation” of the diffusion process across different networks\. Because parameter variance across nodes is proportional to the inverse participation ratio, faster decay corresponds directly to faster mixing in the decentralised learning system\.

Generalising the same idea for the case where one node communicates simultaneously withkkneighbours is straightforward: in this scenario the equivalent random walk process stays on the node with probability1/\(k\+1\)1/\(k\+1\)\. The generalisation of[Eq\.˜4](https://arxiv.org/html/2607.03171#S4.E4)for this scenario, describing both the random\-walk process as well as the influence ofwiinit\.w^\{\\text\{init\.\}\}\_\{i\}onwj\(t\)w^\{\(t\)\}\_\{j\}, is

ai​j​\(t\)=∑p∈Pvi​\(0\)→vj​\(t\)∏e∈i​n​c​\(p\)\|e\|−1,a\_\{ij\}\(t\)=\\sum\_\{\\mathclap\{p\\in P\_\{v\_\{i\}\(0\)\\rightarrow v\_\{j\}\(t\)\}\}\}\\prod\\nolimits\_\{e\\in inc\(p\)\}\|e\|^\{\-1\}\\,,\(6\)where\|e\|\|e\|is the number of nodes participating in eventee, i\.e\.,k\+1k\+1in the above example\. This process, while distinct from the typical definition of lazy random walk, shares important characteristics with lazy random walks\. For example, since0<1/\(k\+1\)<10<1/\(k\+1\)<1, the mixing time of this process asymptotically grows with the typical lazy random walk up to a constant factor\[[48](https://arxiv.org/html/2607.03171#bib.bib48), Corollary 9\.5\]\. For simplicity, however, the remainder of this manuscript will only consider one\-to\-one, instantaneous communications on a continuous axis of time, assuming that possible simultaneous events are resolved one at a time in a random order\.

### IV\-BStationary dynamics and the response to perturbations

The analysis in[Section˜IV\-A](https://arxiv.org/html/2607.03171#S4.SS1)characterises the early\-stage dynamics, where the aggregation process dominates and local learning contributes negligibly to parameter evolution\. As the system approaches stationarity, the parameters of different nodes have largely aligned, and the dominant source of variation becomes the ongoing local learning process at individual nodes\. Analysing the effect of local learning directly is difficult, as the learning operator is in general non\-linear: a training step at nodeiidepends on the current parameter vectorwi​\(t\)w\_\{i\}\(t\)through the local loss landscape, making learning\-induced changes path\-dependent and typically correlated across nodes\. However, once a learning\-induced perturbationδ​wi\\delta w\_\{i\}is injected at a node, its subsequent redistribution through the network is governed by the aggregation process alone\. And aggregation, being a linear operation, means that the response to any collection of perturbations is simply the superposition of single\-impulse responses\.

Our diffusion characterisation should therefore be read as a statement about*propagation*, and not about*generation*, of updates\. Once a learning\-induced perturbationδ​wi\\delta w\_\{i\}is injected at a node, regardless of its direction and magnitude, its subsequent redistribution through the network is governed by the same linear diffusion operator as in the averaging\-only dynamics\. In particular, conditional on a realised sequence of learning perturbations, their contributions tow​\(t\)w\(t\)superpose linearly\. Each increment spreads according to the same \(time\-dependent\) diffusive relaxation kernel, and the total deviation is the sum of the diffused increments\. Non\-linear effects enter only through the fact that the increments themselves depend on the evolving state, and are therefore neither independent nor identically distributed\.

In an infinitesimally short time periodd​t\\mathrm\{d\}t, the parameters of nodeiievolve as

E​\[wi\(t\+d​t\)−wi\(t\)\]=−12​∑jλi​j​\(t\)​\(wj\(t\)−wi\(t\)\)​d​t\+o​\(d​t\),E\[w\_\{i\}^\{\(t\+dt\)\}\-w\_\{i\}^\{\(t\)\}\]=\-\\frac\{1\}\{2\}\\sum\_\{j\}\\lambda\_\{ij\}\(t\)\\left\(w\_\{j\}^\{\(t\)\}\-w\_\{i\}^\{\(t\)\}\\right\)\\mathrm\{d\}t\\\\ \+o\(\\mathrm\{d\}t\)\\,,\(7\)whereλi​j​\(t\)\\lambda\_\{ij\}\(t\)is the instantaneous interaction rate betweeniiandjj\. This expression has a natural interpretation: at rateλi​j​\(t\)\\lambda\_\{ij\}\(t\), nodeiiaverages with nodejj, which pullswiw\_\{i\}towardwjw\_\{j\}\. The expected drift is therefore proportional to the disagreementwi\(t\)−wj\(t\)w\_\{i\}^\{\(t\)\}\-w\_\{j\}^\{\(t\)\}, summed over all neighboursjjand scaled by the interaction rates\. To express the dynamics compactly, we writew\(t\)=\(w1\(t\),…,wn\(t\)\)w^\{\(t\)\}=\(w^\{\(t\)\}\_\{1\},\\dots,w^\{\(t\)\}\_\{n\}\)for the stacked parameter vector across all nodes, and defineLi​j=\(ei−ej\)​\(ei−ej\)⊤L\_\{ij\}=\(e\_\{i\}\-e\_\{j\}\)\(e\_\{i\}\-e\_\{j\}\)^\{\\top\}, whereeie\_\{i\}is theii\-th standard basis vector\. The weighted Laplacian of the network is thenLλ​\(t\)=∑i<jλi​j​\(t\)​Li​jL\_\{\\lambda\}\(t\)=\\sum\_\{i<j\}\\lambda\_\{ij\}\(t\)L\_\{ij\}\. With this notation, the expected infinitesimal evolution of the full system becomes

E​\[w\(t\+d​t\)−w\(t\)\]=−12​Lλ​\(t\)​w\(t\)​d​t\+o​\(d​t\)\.E\[w^\{\(t\+dt\)\}\-w^\{\(t\)\}\]=\-\\frac\{1\}\{2\}L\_\{\\lambda\}\(t\)w^\{\(t\)\}\\mathrm\{d\}t\+o\(\\mathrm\{d\}t\)\.\(8\)Thus, the propagation of perturbations is governed by the linear operator−12​Lλ​\(t\)\-\\frac\{1\}\{2\}L\_\{\\lambda\}\(t\), which is precisely the diffusive relaxation operator associated with a lazy continuous\-time random walk \(i\.e\., a process that, at each interaction opportunity, moves with probability1/21/2and stays put otherwise\)\. In this sense, parameter deviations diffuse across the network according to the same Laplacian dynamics as the corresponding random walk\.

[Fig\.˜2](https://arxiv.org/html/2607.03171#S4.F2)shows that the relaxation of a small perturbation of magnitude‖δ‖\\\|\\delta\\\|on a single node in an otherwise homogenised decentralised federated learning regime is fairly well\-predicted by the diffusive kernel of the underlying temporal network\. This can be verified by comparing the magnitude of the residual \(orange trajectory in[Fig\.˜2](https://arxiv.org/html/2607.03171#S4.F2), the difference between what diffusive kernel−12​Lλ​\(t\)\-\\frac\{1\}\{2\}L\_\{\\lambda\}\(t\)estimates the parameters of each node should be versus what they actually are\) to the magnitude of the initial perturbation‖δ‖\\\|\\delta\\\|\. For short time horizons, the residual remains limited to only a fraction of the initial perturbation‖δ‖\\\|\\delta\\\|, indicating that the diffusion\-based approximation accurately captures the redistribution of the perturbation\.

When the residuals are calculated from empirical influence \(blue trajectory\), i\.e\., extracted from the actual temporal network events, as opposed to the Laplacian \(orange trajectory\), the initial increase in residual is much more gradual\. Over longer time scales, however, both predictions gradually accumulate bias due to ongoing local learning at different nodes\. These learning\-induced updates introduce additional perturbations that are not accounted for when only the initial impulse is propagated\.

If, instead, we model both the initial perturbation and the subsequent local training updates as independent impulses that each relax according to the same diffusive kernel−12​Lλ​\(t\)\-\\frac\{1\}\{2\}L\_\{\\lambda\}\(t\), the resulting superposed prediction \(green trajectory in[Fig\.˜2](https://arxiv.org/html/2607.03171#S4.F2)\) closely matches the observed dynamics over substantially longer time periods\. This is done by calculating the effect of each local training update as well as the initial perturbation independently, then linearly combining the expected effect for each node at each time\. For the details of this experiment, including the experimental setup, we refer to Appendix[A](https://arxiv.org/html/2607.03171#A1)\.

![Refer to caption](https://arxiv.org/html/2607.03171v1/x2.png)Figure 2:Prediction accuracy for the parameters of each node after a perturbation of magnitude‖δ‖\\\|\\delta\\\|in a decentralised federated setting using the diffusive kernel of the underlying temporal network \(orange\) quickly converges to the prediction based on the the entire history of node contacts \(blue\), but both predictions start diverging from reality because of the effect of local training on the nodes\. If we also take into account each successful local training event as an additional impulse, and sum up the total effects additively using the diffusive kernel method \(green\) the diffusive kernel can predict the trajectory of all network nodes even in fairly long time periods\. Note that the initial peak in the diffusive kernel trajectories \(orange and green\) is due to the random differences between this particular realisation of temporal network\. If the experiment is repeated for an ensemble of networks generated from the same parameters, this difference goes away \(see Appendix[A](https://arxiv.org/html/2607.03171#A1)and[Fig\.˜5](https://arxiv.org/html/2607.03171#A1.F5)\)\.The derivation can be trivially extended for the case of aggregation of more than two nodes at the same time, corresponding to lazy random walk on a temporal hypergraph\. In this case, the probability of remaining at a node at eventeecorresponds to1/\|e\|1/\|e\|where\|e\|\|e\|is the order \(number of incident vertices\) of eventee\. For the sake of simplicity, in this paper we only performed experiments on dyadic temporal networks\.

The linear relaxation for small perturbations is valid also for a class of non\-linear aggregation functions\. For example, the`DecDiff`aggregation method\[[33](https://arxiv.org/html/2607.03171#bib.bib33)\]with the update rule

wi\(t\)=wi\(t−1\)\+w¯i\(t−1\)−wi\(t−1\)‖w¯i\(t−1\)−wi\(t−1\)‖2\+s,w\_\{i\}^\{\(t\)\}=w\_\{i\}^\{\(t\-1\)\}\+\\frac\{\\bar\{w\}\_\{i\}^\{\(t\-1\)\}\-w\_\{i\}^\{\(t\-1\)\}\}\{\\left\\lVert\\bar\{w\}\_\{i\}^\{\(t\-1\)\}\-w\_\{i\}^\{\(t\-1\)\}\\right\\rVert\_\{2\}\+s\}\\,,\(9\)where1≤s<∞1\\leq s<\\inftyis a hyper\-parameter andw¯i\\bar\{w\}\_\{i\}represents the average model in an interaction\. Assuming the parameters of nodeiiand its \(potential\) neighbours diminish in comparison to the constantss, i\.e\.,‖w¯i\(t−1\)−wi\(t−1\)‖2≪s\\left\\lVert\\bar\{w\}\_\{i\}^\{\(t\-1\)\}\-w\_\{i\}^\{\(t\-1\)\}\\right\\rVert\_\{2\}\\ll s, this aggregation method can be expanded into a linear operation\. Letdi\(t−1\):=w¯i\(t−1\)−wi\(t−1\)d\_\{i\}^\{\(t\-1\)\}:=\\bar\{w\}\_\{i\}^\{\(t\-1\)\}\-w\_\{i\}^\{\(t\-1\)\}\. Then the`DecDiff`update reads

wi\(t\)=wi\(t−1\)\+di\(t−1\)∥di\(t−1\)∥2\+s\.w\_\{i\}^\{\(t\)\}=w\_\{i\}^\{\(t\-1\)\}\+\\frac\{d\_\{i\}^\{\(t\-1\)\}\}\{\\lVert d\_\{i\}^\{\(t\-1\)\}\\rVert\_\{2\}\+s\}\\,\.\(10\)If∥di\(t−1\)∥2≪s\\lVert d\_\{i\}^\{\(t\-1\)\}\\rVert\_\{2\}\\ll s, we expand

1∥d∥2\+s=1s​\(1\+∥d∥2s\)−1=1s\+𝒪​\(∥d∥2s2\),\\frac\{1\}\{\\lVert d\\rVert\_\{2\}\+s\}=\\frac\{1\}\{s\}\\Big\(1\+\\frac\{\\lVert d\\rVert\_\{2\}\}\{s\}\\Big\)^\{\-1\}=\\frac\{1\}\{s\}\+\\mathcal\{O\}\\\!\\left\(\\frac\{\\lVert d\\rVert\_\{2\}\}\{s^\{2\}\}\\right\),\(11\)which yields the first\-order linear approximation

wi\(t\)=\\displaystyle w\_\{i\}^\{\(t\)\}=\(1−1s\)​wi\(t−1\)\+1s​w¯i\(t−1\)\+𝒪​\(∥di\(t−1\)∥22s2\)\.\\displaystyle\\Big\(1\-\\frac\{1\}\{s\}\\Big\)w\_\{i\}^\{\(t\-1\)\}\+\\frac\{1\}\{s\}\\,\\bar\{w\}\_\{i\}^\{\(t\-1\)\}\+\\mathcal\{O\}\\\!\\left\(\\frac\{\\lVert d\_\{i\}^\{\(t\-1\)\}\\rVert\_\{2\}^\{2\}\}\{s^\{2\}\}\\right\)\.\(12\)Thus, in the small\-discrepancy regime`DecDiff`reduces to a weighted linear averaging toward the interaction averagew¯i\\bar\{w\}\_\{i\}, and its propagation through the network is governed by the same diffusion operator as pairwise averaging, up to a constant rescaling\. More broadly, any aggregation rule that reduces to a weighted linear average in the small\-discrepancy regime will inherit the same diffusive propagation dynamics, up to a constant rescaling of the effective interaction rate\.

## VResults

Building on the characterisation established in[Section˜IV](https://arxiv.org/html/2607.03171#S4), we now investigate how structural and temporal heterogeneities in the communication network affect the rapidity of the diffusion process, and by extension the convergence behaviour of decentralised federated learning\. Most experimental and analytical works in this area assume that nodes communicate at regular intervals over homogeneous network topologies, either regular structures such as ring networks\[[3](https://arxiv.org/html/2607.03171#bib.bib3)\]or realisations of simple random models such as the Erdős–Rényi model\[[33](https://arxiv.org/html/2607.03171#bib.bib33),[9](https://arxiv.org/html/2607.03171#bib.bib9)\]\. More recent works have begun to incorporate degree heterogeneity\[[9](https://arxiv.org/html/2607.03171#bib.bib9)\]or induce temporal heterogeneity through random link or node deactivation\[[10](https://arxiv.org/html/2607.03171#bib.bib10),[11](https://arxiv.org/html/2607.03171#bib.bib11)\], but these remain limited in scope\. We show that these common assumptions cause a significant and systematic underestimation of the time required for the diffusion process to relax, which in turn governs convergence in decentralised federated learning\.

We proceed in two steps\. First, in[Sections˜V\-A](https://arxiv.org/html/2607.03171#S5.SS1)and[V\-B](https://arxiv.org/html/2607.03171#S5.SS2)we use synthetic generative models to isolate the effect of specific classes of heterogeneity \(spatial embedding, burstiness, and self\-excitation\) introduced one at a time into an otherwise homogeneous baseline\. Second, in[Section˜V\-C](https://arxiv.org/html/2607.03171#S5.SS3)we move to real\-world contact networks, where multiple heterogeneities co\-occur, and use microcanonical randomised reference models\[[13](https://arxiv.org/html/2607.03171#bib.bib13)\]to disentangle their individual contributions\. In both settings, convergence is measured through the decay of the IPR∑iPi2​\(t\)−1/N\\sum\_\{i\}P\_\{i\}^\{2\}\(t\)\-1/N, with faster decay corresponding directly to faster mixing \(see[Section˜IV\-A](https://arxiv.org/html/2607.03171#S4.SS1)\)\.

Our results show that heterogeneities universally slow down the diffusion process, in both synthetic and real\-world networks\. The effect can be dramatic: a fully randomised network with the same number of nodes, links, and total communication events as an empirical network can mix tens to more than a hundred times faster than the original, confirming that standard experimental setups are systematically biased toward unrealistically fast convergence\.

### V\-AStructural heterogeneities

#### V\-A1Spatial dimensionality

In many different types of real\-world networks, the nodes are embedded in some form of geographical or physical space and the formation of links between nodes is affected by the distance between pairs of nodes\[[26](https://arxiv.org/html/2607.03171#bib.bib26)\]\. For example, communication networks such as device\-to\-device ad\-hoc wireless networks\[[49](https://arxiv.org/html/2607.03171#bib.bib49),[50](https://arxiv.org/html/2607.03171#bib.bib50)\]or infrastructure networks\[[51](https://arxiv.org/html/2607.03171#bib.bib51),[52](https://arxiv.org/html/2607.03171#bib.bib52)\]typically exhibit strong distance–decay in tie formation\. Even in systems where spatial constraints are not immediately apparent \(such as mobile phone communication\), interaction patterns often retain a strong spatial signature due to infrastructure and behavioural constraints\[[53](https://arxiv.org/html/2607.03171#bib.bib53)\]\. While this embeddedness in finite\-dimensional space has shown in the past to significantly affect the rapidity and extent of spreading processes\[[54](https://arxiv.org/html/2607.03171#bib.bib54)\], it is often not represented in many commonly used synthetic models \(such as the ones used in Sec\.[V\-B](https://arxiv.org/html/2607.03171#S5.SS2), effectively corresponding to a high\-dimensional regime where spatial effects vanish\)\.

To evaluate the role of spatial embedding on the early\-stage dynamics of decentralised federated learning, we use a geometric random graph model\. Such models capture interactions constrained by add\-dimensional space, such as wireless communication networks and human mobility and interaction networks\[[26](https://arxiv.org/html/2607.03171#bib.bib26)\]\. The geometric graph model used here is parametrised by number of nodesNN, average degree⟨k⟩\\langle k\\rangle, system dimensionsddand temperatureTT\. We model the network topology as a temperature\-controlled random geometric graph on the surface of unit\(d\+1\)\(d\+1\)\-dimensional sphereSd\+1S^\{d\+1\}\. Nodes are placed i\.i\.d\. uniformly on the surface\. The probability of a connection \(edge\) between two nodesuuandvv,u≠vu\\neq v, is

pu​v=min⁡\{1,c​θu​v−d/T\},p\_\{uv\}=\\min\\left\\\{1,c\\theta\_\{uv\}^\{\-d/T\}\\right\\\}\\,,\(13\)whereθu​v\\theta\_\{uv\}is great\-circle \(geodesic\) distance betweenuuandvv, constantccis selected based on a numeric solution so that the resulting graph has the desired expected mean degree⟨k⟩\\langle k\\rangle, andT\>0T\>0is the temperature parameter that controls the strength of distance dependence\. Existence of edges is independent of each other\.

A temperature approaching zero can be interpreted similarly to a threshold model: connections to closer nodes are incomparably more likely than connections to nodes further away\. As the temperature increases, the difference in probabilities due to distance gets smaller\. A geometric random graph model with temperature of infinity shows no effect from dimensionality of the nodes and degenerates to an Erdős–Rényi model\. Throughout this paper we useT=0T=0as a shorthand notation for the above model at the extreme limit ofTT, where it approaches a threshold model in nature\. The model interpolates smoothly between realistic low\-dimensional spatial networks \(smalldd, smallTT\) and the Erdős–Rényi ensemble, which is recovered both in the high\-dimensional limitd→∞d\\to\\inftyand the high\-temperature limitT→∞T\\to\\infty, where the dependence ofpu​vp\_\{uv\}onθu​v\\theta\_\{uv\}vanishes and all node pairs become equally likely to connect\. The standard decentralized federated learning experimental setup \(homogeneous random graphs\) therefore corresponds to the latter end of this spectrum\.

![Refer to caption](https://arxiv.org/html/2607.03171v1/x3.png)Figure 3:Relaxation of the diffusion process on random network models, governed by the same dynamics as decentralised federated learning, showing that the experimental setups commonly used in decentralised learning studies can yield unrealistically rapid diffusion of information\. We analyse the effect of \(a\) spatial dimensionality, \(b\) distance\-decay temperature, \(c\) burstiness induced by a renewal process with power\-law inter\-event times, and \(d\) self\-excitation\. In all panels, the black dashed curve denotes the deterministic baseline with constant inter\-event times \(theδ\\delta\-distributed case\), corresponding to the regular communication schedule often assumed in decentralised learning experiments\. In panels \(a\) and \(b\), the shuffled baseline refers to a randomized network in which the spatial heterogeneity is removed while preserving the corresponding coarse network constraints, serving as a homogeneous reference representing experimental scenarios with no spatial heterogeneity modelled\. In all four experiments, the baseline cases, both spatially shuffled and constantδ\\delta\-distributed inter\-event time, lie at the fast\-mixing end of the spectrum\. In panels \(c\) and \(d\), the grey dashed trajectory denotes the Poisson baseline with exponentially distributed inter\-event times\.For the synthetic network experiment in this section, we generated ensembles of 30 \(or 90 ford=9d=9\) geometric static networks with2152^\{15\}nodes and average degree 10\. For the dimensionality experiment \([Fig\.˜3](https://arxiv.org/html/2607.03171#S5.F3)a\) we used a temperature ofT=0T=0and for the temperature experiment \([Fig\.˜3](https://arxiv.org/html/2607.03171#S5.F3)b\) we used dimensionalityd=2d=2\. Events in both experiments are generated using a Poisson process with mean inter\-event time of 1\.

The results in[Fig\.˜3](https://arxiv.org/html/2607.03171#S5.F3)\(a\) show that the dimensionality significantly affects the relaxation time, with a considerable difference between two or three dimensional systems, common in the real\-world networks with a physical component, and the high\-dimensional networks often used in simulated studies\. The degree\-preserving shuffled baseline \(dashed line\), which removes spatial structure while preserving node degrees, closely tracks the high\-dimensional curves, confirming that it is the spatial embedding, and not the degree sequence, that drives the slowdown\. This*high\-dimensional*\(effectively mean\-field\) system represents the experimental setup often used in decentralised federated learning simulations in the literature\. The slowdown effect of lower dimensionality on diffusion processes matches with previous results on similar phenomena such as spreading processes\[[55](https://arxiv.org/html/2607.03171#bib.bib55),[54](https://arxiv.org/html/2607.03171#bib.bib54),[56](https://arxiv.org/html/2607.03171#bib.bib56)\]\.

Another important parameter is the temperature\.[Figure˜3](https://arxiv.org/html/2607.03171#S5.F3)\(b\) shows that as the temperature decreases toward the threshold model, the effect of low dimensionality is increasingly accentuated: stricter geometric constraints produce slower diffusion, while higher temperatures progressively wash out the spatial structure and recover the fast\-mixing Erdős–Rényi behaviour\.

### V\-BTemporal heterogeneities

While structural heterogeneities, studied in Section[V\-A](https://arxiv.org/html/2607.03171#S5.SS1), are fixed properties of the communication graph, temporal heterogeneities arise independently of topology: the same static network can exhibit vastly different diffusion behaviour depending on the timing of its events\. We study two canonical mechanisms \(heavy\-tailed inter\-event times and self\-excitation\), which together capture the most commonly observed forms of temporal irregularity in real\-world contact networks\. In both cases we use the same underlying spatial network: ensembles of 30 geometric static networks with2152^\{15\}nodes,d=2d=2dimensions,T=0T=0temperature and average degree 10, with event times parametrised to produce a mean inter\-event time of 1\. This holds the static topology fixed across both experiments so that any observed differences in diffusion rapidity are attributable to temporal structure alone\.

#### V\-B1Bursty renewal\-processes

Burstiness refers to the observation that events in many real\-world temporal networks tend to cluster in short time intervals followed by relatively long periods of inactivity\. This is in contrast to the Poissonian assumption that events arrive at a steady constant rate, or the even more simplistic assumption that events happen at precise regular intervals\. Burstiness appears in a wide range of systems, from social communication networks to biological interaction patterns\[[18](https://arxiv.org/html/2607.03171#bib.bib18)\]\.

Burstiness affects the rapidity of diffusion processes because a flurry of events in a narrow window can rapidly spread information or contagion across a network\. At the same time, extended lulls can delay propagation\[[16](https://arxiv.org/html/2607.03171#bib.bib16)\]\. As a result, incorporating burstiness into models of temporal networks is important for accurately capturing how information travels in the systems\.

For the purposes of this section, we model burstiness by assuming that consecutive inter\-event times are independent draws from a power\-law distribution with exponentγ\\gamma, that is, the interaction sequence follows a renewal process with heavy\-tailed waiting times\.

In the experiments here, we vary the power\-law exponentγ\\gamma\. The results in[Fig\.˜3](https://arxiv.org/html/2607.03171#S5.F3)\(c\) show that as burstiness \(γ→2\\gamma\\rightarrow 2\) increases, the rapidity of the relaxation of the diffusion process decreases significantly\. In other words, more strongly heavy\-tailed inter\-event time distributions lead to markedly slower mixing\. For comparison, the case of perfectly regular interactions \(where inter\-event times are deterministic, i\.e\., follow a delta distribution\), shown as the dashed black curve in the figure, represents one of the fastest relaxation regimes\. Similarly, large values ofγ\\gamma, for which the power\-law distribution becomes less heavy\-tailed and closer to exponential\-like behaviour, also lie toward the fast\-mixing end of the spectrum\.

#### V\-B2Self\-exciting processes

Self\-exciting processes are models in which the occurrence of an event between two nodes increases the likelihood of subsequent events happening between the same pair soon after\. The renewal processes studied in Section[V\-B1](https://arxiv.org/html/2607.03171#S5.SS2.SSS1), instead, treat consecutive inter\-event times as independent draws, so the history of a link’s activations carries no information about its future behaviour\. Self\-exciting processes relax this assumption by introducing memory: each event raises the probability of further events on the same link in the near future, producing temporal clustering through a fundamentally different mechanism\.

We model self\-excitation using a Hawkes process\[[57](https://arxiv.org/html/2607.03171#bib.bib57)\], popular in finance, seismology, and social networks, and specifically a Hawkes univariate exponential process\[[58](https://arxiv.org/html/2607.03171#bib.bib58)\], where each event on a link raises the instantaneous rate of subsequent events on that same link, with influence decaying exponentially over time\. The process is parametrised by a background rateμ\\mu, which drives spontaneous activations, an infectivity factorα\\alpha, which controls the expected number of additional events triggered by each activation, and a decay rateθ\\theta, controlling how quickly the self\-exciting influence of each event fades\. Constrainingα\+μ=1\\alpha\+\\mu=1yields a process with mean inter\-event time of 1, whereα\\alphacontrols the fraction of events generated by self\-excitement andμ=1−α\\mu=1\-\\alphathe fraction driven by the constant background rate\. The special caseα=0\\alpha=0degenerates to a Poisson process, i\.e\., renewal process with exponential inter\-event times, firing at a constant rate of 1\. In our experiment, for the sake of simplicity, we used equal values ofμ\\mu,α\\alphaacross all edges, and fixedθ=1\\theta=1\.

The results in[Fig\.˜3](https://arxiv.org/html/2607.03171#S5.F3)\(d\) show that as a larger fractionα\\alphaof events are generated as a result of self\-excitement and a smaller fractionμ=1−α\\mu=1\-\\alphathrough random constant background rate, the diffusion process dramatically slows down\. In other words, stronger temporal clustering of events leads to slower relaxation\. Once again, the deterministic baseline with constant inter\-event times \(the delta\-distributed case, black dashed line\) lies at the fastest end of the spectrum\. The Poisson baseline with exponentially distributed inter\-event times \(theα=0\\alpha=0,μ=1\\mu=1limit of the Hawkes process, grey dashed line\) is slower than the regular\-interval case but still faster than all self\-exciting cases shown here\.

### V\-CHeterogeneities in real\-world network

While it is worthwhile to study the effect of specific types of temporal and spatial heterogeneities in isolation, it is reasonable to assume that the co\-occurrence of various heterogeneities might induce effects beyond the sum of their individual contributions\. At the same time, these heterogeneities might be correlated in non\-trivial ways, for example where structural and temporal dynamics of a node or a group of nodes are both influenced by confounding factors not captured by a temporal network representation of the system\.

To disentangle their individual contributions, we start from real\-world datasets and applymicrocanonical randomised reference models\[[13](https://arxiv.org/html/2607.03171#bib.bib13)\]: for a given heterogeneity class to be studied, one constructs an ensemble of networks in which that heterogeneity is destroyed by randomisation while all other properties of the system \(including its size, density, and the heterogeneities not under study\[[16](https://arxiv.org/html/2607.03171#bib.bib16)\]\) are preserved exactly in every realisation\. By comparing the diffusion behaviour of the original network against such an ensemble, one can isolate the contribution of the targeted heterogeneity class to the observed slowdown\.

#### V\-C1Datasets and pre\-processing steps

The three datasets were selected so as to cover qualitatively distinct communication regimes that are representative of plausible deployment environments for decentralised federated learning\. For these experiments, we selected \(1\) a dataset of human proximity from a high school, recorded using RFID devices\[[59](https://arxiv.org/html/2607.03171#bib.bib59)\], \(2\) a dataset of cab trajectories in San Francisco\[[60](https://arxiv.org/html/2607.03171#bib.bib60)\]and \(3\) Wi\-Fi connection logs from KTH campuses\[[61](https://arxiv.org/html/2607.03171#bib.bib61)\]\.

The first dataset aims to represent the hypothetical scenario where the ad\-hoc communications between devices are governed mostly by the same dynamics as human face\-to\-face communication\. Each node represents a high\-school student equipped with an RFID devices, and an event is recorded once every 20 seconds if the RFID devices of two students record a face\-to\-face interaction\. This dataset shows strong diurnal and weekly activity rhythm, bursty dynamics as well as a heterogenous mixing pattern between nodes belonging to different groups, properties often shared with other human social communication networks and proximity networks\[[19](https://arxiv.org/html/2607.03171#bib.bib19),[62](https://arxiv.org/html/2607.03171#bib.bib62),[63](https://arxiv.org/html/2607.03171#bib.bib63)\]\.

The second dataset simulates a scenario where the ad\-hoc short\-range communications between devices are governed by the same dynamics as opportunistic communications between vehicles moving on a dense urban road network\. This is relevant to decentralised learning tasks in which vehicles exchange model updates when they come within communication range\. Each event represents a taxi operating in the San Francisco Bay Area\. While the original dataset provided location trajectories, we created an event in each 60\-second time bin between two vehicles if they come within a 100\-meter straight\-line distance of each other in that bin\.

The final dataset emphasises a mixture of characteristics of human activity and spatially fixed infrastructure\. This is relevant to decentralised learning tasks in which movement of devices follows human mobility patterns, but interactions between those devices are mediated with fixed infrastructure such as cell towers or WiFi access points\. In this scenario, an event is created between two nodes \(students and staff at KTH\) once in every hour they are connected to any of the access points of the same building\. Since logs do not include sign\-offs, each connectivity WiFi log item is taken to indicate twenty minutes of connection to that access point, unless a new log item from the same user is observed\.

All datasets were pre\-processed as follows: after clipping the events to the desired time window\[tstart,tend\]\[t\_\{\\text\{start\}\},t\_\{\\text\{end\}\}\], a static directed reachability graph was created, where nodeiiis connected to nodejjif there is a valid, time\-respecting path between the two nodes by traversing the events that starts at nodeiiattstartt\_\{\\text\{start\}\}arrives at nodejjbeforetstart\+3/4​\(tend−tstart\)t\_\{\\text\{start\}\}\+3/4\(t\_\{\\text\{end\}\}\-t\_\{\\text\{start\}\}\)\. The largest strongly connected component of this connectivity graph is used for selecting a well\-connected core of the original temporal network where all nodes are eventually reachable from all others\. This is done to avoid inclusion of nodes or small subset of nodes where the connection to the rest of the network is tenuous or non\-existent, e\.g\., a vehicle that is not active at all or only active for a brief period before the end of the observation window\. Statistics about the resulting processed temporal networks are presented in[Table˜I](https://arxiv.org/html/2607.03171#S5.T1)\.

TABLE I:Datasets used in this work after pre\-processing\.
#### V\-C2Randomisation models

To identify which empirical heterogeneities limit diffusion, we compare each dataset to ensembles of randomized reference networks in which selected structural or temporal organisation is destroyed while coarse properties of the trace are preserved\[[13](https://arxiv.org/html/2607.03171#bib.bib13),[16](https://arxiv.org/html/2607.03171#bib.bib16)\]\. The logic is contrastive: if randomising a particular feature accelerates diffusion, that feature was contributing to the slowdown in the original network; the more it accelerates, the larger its contribution\. We summarise the set of all types of randomizations considered in Table[II](https://arxiv.org/html/2607.03171#S5.T2), while we refer the interested reader to Appendix[B](https://arxiv.org/html/2607.03171#A2)for the full description of how they are obtained\.

In the structural controls, whole link timelines are reassigned between node pairs\. The most conservative variant, Topology\-constrained, preserves the exact static projection of the temporal network \(i\.e\., which pairs of nodes have at least one contact\) while randomising when and how often they interact\. Degree\-constrained relaxes this further by preserving only the number of contacts per node, allowing the identity of neighbours to change\. The least constrained variant, Link, preserves only the total number of distinct links, randomising both the degree sequence and the contact topology\. Progressing from Topology\-constrained to Link therefore reveals how much of the structural slowdown is attributable to the fine\-grained topology versus the degree sequence alone\. In the temporal controls, the static contact graph is held fixed and only the timing of events is shuffled\. The most conservative variant, Activity\-constrained, preserves the activity window of each link \(i\.e\., the time between its first and last event\) while redistributing events uniformly within that window\. Weight\-constrained additionally preserves the exact number of events on each link\. Timeline randomises both the activity window and the number of events, preserving only the total event count across the network\. Comparing these variants isolates the contribution of activity window heterogeneity, event frequency heterogeneity, and their combination\.

TABLE II:Summary of randomised reference models used in this work\.†Obtained by sequentially applying Link and Timeline shuffling; the resulting ensemble is itself a valid microcanonical reference model\. Note that this combination yields the closest analogue to the idealised experimental setup commonly used in the DFL literature, effectively producing an Erdős–Rényi network with Poisson\-distributed event times\.

#### V\-C3Results on real\-world traces vs randomized models

Having described the randomisation models, we now examine their effect on the diffusion process across the three datasets\.[Figure˜4](https://arxiv.org/html/2607.03171#S5.F4)is organised by perturbation type: rows correspond to the datasets in[Table˜I](https://arxiv.org/html/2607.03171#S5.T1), panels \(a,d,g\) randomize structure, panels \(b,e,h\) randomize temporal ordering on the fixed static support, and panels \(c,f,i\) combine both\.

![Refer to caption](https://arxiv.org/html/2607.03171v1/x4.png)Figure 4:Randomising structural and temporal heterogeneities increases the rapidity of the diffusion process in various real\-world temporal networks, as measured by the decay of the inverse participation ratio∑iPi2​\(t\)\\sum\_\{i\}P^\{2\}\_\{i\}\(t\)signifying the extent of relaxation\. Three datasets, high\-school face\-to\-face interactions\[[59](https://arxiv.org/html/2607.03171#bib.bib59)\]\(a\-c\), cab trajectories in San Francisco\[[60](https://arxiv.org/html/2607.03171#bib.bib60)\]\(d\-f\) and Wi\-Fi connection logs from KTH campuses\[[61](https://arxiv.org/html/2607.03171#bib.bib61)\]\(g\-i\), exhibit various forms of structural and temporal heterogeneities\. Using microcanonical randomisation methods, we target specific classes of heterogeneities, constructing in each case an ensemble of random networks that preserves large\-scale properties of the system \(e\.g\., density and size\) as well as the effect of other possible heterogeneities not targeted, as described in[Section˜V\-C2](https://arxiv.org/html/2607.03171#S5.SS3.SSS2)\. The results show that both the structural and temporal heterogeneities inherent in the datasets universally and often dramatically slow down the diffusion process\. The typical random network modelling of the system, cyan line in \(c, f, i\), severely overestimates the rapidity of diffusion compared to the original network, shown as the blue line\.Across all three datasets, randomisation accelerates relaxation in Fig\.[4](https://arxiv.org/html/2607.03171#S5.F4)\. In the structural controls \(panels a, d, g – first column of Fig\.[4](https://arxiv.org/html/2607.03171#S5.F4)\), the topology\- and degree\-constrained curves nearly overlap in all three datasets, indicating that preserving the degree heterogeneity \(as Degree const\. does, see Table[II](https://arxiv.org/html/2607.03171#S5.T2)\) is sufficient to reproduce most of the structural slowdown\. The additional topological detail preserved by the topology\-constrained model, such as the specific pattern of links, contributes little beyond what the degree sequence alone already captures\. The substantially faster Link baseline, which removes the degree sequence heterogeneity as well, shows that it is primarily the heterogeneity of node degrees that drives the structural slowdown\. In the temporal controls \(panels b, e, h – second column of Fig\.[4](https://arxiv.org/html/2607.03171#S5.F4)\), the activity\-constrained baseline overlaps almost entirely with the original in all three datasets\. This means that preserving the activity windows of each link \(i\.e\., the time between the first and last event on that link\) is sufficient to reproduce the original slowdown: the internal timing of events within those windows is irrelevant, and the structure of when each link is active and inactive is what primarily governs temporal diffusion\. Interval and weight\-constrained shufflings, which additionally randomise the start time of activity windows and the number of events per link respectively, produce a moderate acceleration whose relative ordering varies slightly across datasets, suggesting that these features play an important role\. Timeline shuffling, which removes all temporal organisation beyond the total event count, consistently produces the largest acceleration across all three datasets, confirming that the full combination of activity window structure and activation frequency heterogeneity is what most severely limits diffusion in real\-world temporal networks\. The combined panels \(c, f, i – third column of Fig\.[4](https://arxiv.org/html/2607.03171#S5.F4)\) compare the Link and Timeline baselines, which are the fastest curves in the structural and temporal controls respectively, individually against their sequential combination, Link\+timeline\. In all three datasets, the Link\+timeline baseline is faster than either Link or Timeline alone, showing that structural and temporal heterogeneities contribute independently to the slowdown and that removing both together produces a greater acceleration than removing either one separately\. The gap between the original network and the Link\+timeline baseline spans several orders of magnitude in IPR across all three datasets, providing a concrete quantification of how severely standard benchmarks, which effectively correspond to this fully randomised regime, overestimate convergence speed in realistic decentralised learning settings\.

Comparing across datasets, the relative importance of structural and temporal heterogeneity as drivers of the slowdown reflects the nature of each deployment scenario\. In the high\-school network, temporal heterogeneities play a comparatively larger role than structural ones: the strong diurnal and weekly rhythms of face\-to\-face interaction create pronounced activity window structure that structural randomisation alone cannot recover\. In the cab and WiFi networks, by contrast, structural heterogeneity is the primary limiting factor, as activity in these systems is distributed more continuously across time, making the topology of the contact graph the dominant constraint on diffusion speed\.

Comparing these results with those of Section[V\-B](https://arxiv.org/html/2607.03171#S5.SS2), a notable difference emerges: while in generative networks we observed a significant slowdown as a result of heterogeneous inter\-event time distributions \(both for the self\-exciting process and renewal power\-law inter\-event times\), their effects in slowing down real\-world networks were more limited\. This is visible in panels b, e, h of Fig\.[4](https://arxiv.org/html/2607.03171#S5.F4), where the Inter\-event and Activity\-constrained shufflings, which specifically target inter\-event time correlations and distributions, do not produce a major acceleration compared to the original, indicating that fine\-scale inter\-event structure plays a negligible role in the temporal slowdown of these empirical networks\. This can be traced to two structural features of the datasets and their pre\-processing\. First, all three datasets impose a minimum contact time cutoff, for example an event is recorded at most once per minute that two cabs are within a geographical threshold, providing a lower bound on inter\-event times that dampens the most extreme effects of burstiness\. This constraint also reflects a realistic feature of decentralised learning, where useful communications with the same neighbour are bounded by the frequency of local training steps\. Second, the limited time window of the datasets, combined with the connectivity requirement imposed during pre\-processing, effectively caps the upper tail of the inter\-event time distribution\. Together, these constraints push the temporal dynamics of each dataset toward a regime reminiscent of multi\-scale activity patterns common in real\-world systems\[[62](https://arxiv.org/html/2607.03171#bib.bib62),[64](https://arxiv.org/html/2607.03171#bib.bib64)\]: at short time scales interactions follow a relatively regular cadence, while at longer scales the pattern remains bursty\. Burstiness therefore manifests primarily as heterogeneity in link activity windows, where pairs of nodes communicate regularly within a window and rarely outside it, rather than as the heavy\-tailed waiting times that most severely impair diffusion in the synthetic setting\.

## VIConclusion

Decentralised federated learning over realistic communication networks is inherently shaped by the structural and temporal heterogeneities of the underlying contact graph, which arise from the interplay of geographical constraints, communication technology, and the inhomogeneities of human mobility and interaction patterns\. These heterogeneities have long been studied in the context of epidemic spreading, social network dynamics, and transport system design\[[65](https://arxiv.org/html/2607.03171#bib.bib65),[66](https://arxiv.org/html/2607.03171#bib.bib66),[67](https://arxiv.org/html/2607.03171#bib.bib67),[68](https://arxiv.org/html/2607.03171#bib.bib68),[26](https://arxiv.org/html/2607.03171#bib.bib26),[69](https://arxiv.org/html/2607.03171#bib.bib69)\], yet their role in decentralised federated learning has remained largely unexamined\.

In this paper we have established a precise connection between decentralised federated learning and lazy random\-walk diffusion on temporal networks, valid both in the early synchronisation phase and in the stationary regime where local training perturbations propagate through the network\. Building on this connection, we have shown that structural and temporal heterogeneities universally and often dramatically slow down the diffusion process, with their effects compounding when multiple heterogeneities co\-occur as in real\-world networks\. Crucially, the standard experimental setup used in decentralised federated learning research, based on homogeneous random graphs with regular communication intervals, corresponds to the fast\-mixing end of the spectrum and can overestimate convergence speed by one to two orders of magnitude compared to empirically grounded scenarios\. This has direct practical implications for the design and evaluation of decentralised learning protocols, suggesting that realistic benchmarks should account not only for irregular network topologies but also for the bursty, window\-structured nature of real device interactions\.

Several directions remain open for future work\. The diffusion characterisation established here assumes linear or linearisable aggregation rules, which covers widely used algorithms such as FedAvg and its weighted variants but may not extend to arbitrary aggregation methods\. A systematic study of how non\-linear aggregation affects the connection to diffusion processes would broaden the applicability of our framework\. More broadly, the mapping between decentralised learning dynamics and random\-walk diffusion on temporal networks opens the door to leveraging the rich toolkit of network science, including mixing time bounds, spectral methods for temporal graphs, and topology\-aware protocol design, to develop principled strategies for accelerating convergence in realistic heterogeneous settings\.

## References

- \[1\]E\. T\. M\. Beltrán, M\. Q\. Pérez, P\. M\. S\. Sánchez, S\. L\. Bernal, G\. Bovet, M\. G\. Pérez, G\. M\. Pérez, and A\. H\. Celdrán, “Decentralized federated learning: Fundamentals, state of the art, frameworks, trends, and challenges,”*IEEE Communications Surveys & Tutorials*, vol\. 25, no\. 4, pp\. 2983–3013, 2023\.
- \[2\]Z\. Lian, Q\. Yang, W\. Wang, Q\. Zeng, M\. Alazab, H\. Zhao, and C\. Su, “Deep\-fel: Decentralized, efficient and privacy\-enhanced federated edge learning for healthcare cyber physical systems,”*IEEE Transactions on Network Science and Engineering*, vol\. 9, no\. 5, pp\. 3558–3569, 2022\.
- \[3\]Z\. Wang, Y\. Hu, S\. Yan, Z\. Wang, R\. Hou, and C\. Wu, “Efficient ring\-topology decentralized federated learning with deep generative models for medical data in ehealthcare systems,”*Electronics*, vol\. 11, no\. 10, p\. 1548, 2022\.
- \[4\]L\. Wang, Y\. Xu, H\. Xu, M\. Chen, and L\. Huang, “Accelerating decentralized federated learning in heterogeneous edge computing,”*IEEE Transactions on Mobile Computing*, vol\. 22, no\. 9, pp\. 5001–5016, 2022\.
- \[5\]J\.\-H\. Chen, M\.\-R\. Chen, G\.\-Q\. Zeng, and J\.\-S\. Weng, “Bdfl: A byzantine\-fault\-tolerance decentralized federated learning method for autonomous vehicle,”*IEEE Transactions on Vehicular Technology*, vol\. 70, no\. 9, pp\. 8639–8652, 2021\.
- \[6\]X\. Lian, C\. Zhang, H\. Zhang, C\.\-J\. Hsieh, W\. Zhang, and J\. 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\. \[Online\]\. Available:[https://arxiv\.org/abs/1705\.09056](https://arxiv.org/abs/1705.09056)
- \[7\]H\. Tang, X\. Lian, M\. Yan, C\. Zhang, and J\. Liu, “d2d^\{2\}: Decentralized training over decentralized data,” in*Proceedings of the 35th International Conference on Machine Learning \(ICML\)*, ser\. Proceedings of Machine Learning Research, vol\. 80, 2018, pp\. 4855–4863\. \[Online\]\. Available:[https://arxiv\.org/abs/1803\.07068](https://arxiv.org/abs/1803.07068)
- \[8\]L\. Palmieri, C\. Boldrini, L\. Valerio, A\. Passarella, M\. Conti, and J\. Kertész, “Robustness of decentralised learning to nodes and data disruption,”*Computer Communications*, p\. 108250, 2025\.
- \[9\]L\. Palmieri, C\. Boldrini, L\. Valerio, A\. Passarella, and M\. Conti, “Impact of network topology on the performance of decentralized federated learning,”*Computer Networks*, vol\. 253, p\. 110681, 2024\.
- \[10\]Z\. Zhai, X\. Yuan, X\. Wang, and G\. Y\. Li, “Decentralized federated learning with distributed aggregation weight optimization,” 2025\. \[Online\]\. Available:[https://arxiv\.org/abs/2511\.03284](https://arxiv.org/abs/2511.03284)
- \[11\]A\. Badie\-Modiri, C\. Boldrini, L\. Valerio, J\. Kertész, and M\. Karsai, “Initialisation and topology effects in decentralised federated learning,”*Applied Network Science*, vol\. 10, p\. 53, 2025\.
- \[12\]A\. Barrat, M\. Barthélemy, and A\. Vespignani,*Dynamical Processes on Complex Networks*\. Cambridge UP, 2012\.
- \[13\]L\. Gauvin, M\. Génois, M\. Karsai, M\. Kivelä, T\. Takaguchi, E\. Valdano, and C\. L\. Vestergaard, “Randomized reference models for temporal networks,”*Siam Review*, vol\. 64, no\. 4, pp\. 763–830, 2022\.
- \[14\]P\. Holme and J\. Saramäki, “Temporal networks,”*Physics reports*, vol\. 519, no\. 3, pp\. 97–125, 2012\.
- \[15\]M\. Karsai, N\. Perra, and A\. Vespignani, “Time varying networks and the weakness of strong ties,”*Scientific reports*, vol\. 4, no\. 1, p\. 4001, 2014\.
- \[16\]M\. Karsai, M\. Kivelä, R\. K\. Pan, K\. Kaski, J\. Kertész, A\.\-L\. Barabási, and J\. Saramäki, “Small but slow world: How network topology and burstiness slow down spreading,”*Physical Review E*, vol\. 83, no\. 2, p\. 025102, 2011\.
- \[17\]M\. Starnini, A\. Baronchelli, A\. Barrat, and R\. Pastor\-Satorras, “Random walks on temporal networks,”*Physical Review E—Statistical, Nonlinear, and Soft Matter Physics*, vol\. 85, no\. 5, p\. 056115, 2012\.
- \[18\]M\. Karsai, H\.\-H\. Jo, K\. Kaski*et al\.*,*Bursty human dynamics*\. Springer, 2018, vol\. 1\.
- \[19\]A\.\-L\. Barabasi, “The origin of bursts and heavy tails in human dynamics,”*Nature*, vol\. 435, no\. 7039, pp\. 207–211, 2005\.
- \[20\]N\. Masuda, K\. Klemm, and V\. M\. Eguíluz, “Temporal networks: slowing down diffusion by long lasting interactions,”*Physical Review Letters*, vol\. 111, no\. 18, p\. 188701, 2013\.
- \[21\]A\.\-L\. Barabási and R\. Albert, “Emergence of scaling in random networks,”*science*, vol\. 286, no\. 5439, pp\. 509–512, 1999\.
- \[22\]M\. E\. Newman, S\. H\. Strogatz, and D\. J\. Watts, “Random graphs with arbitrary degree distributions and their applications,”*Physical review E*, vol\. 64, no\. 2, p\. 026118, 2001\.
- \[23\]S\. N\. Dorogovtsev, J\. F\. F\. Mendes, and A\. N\. Samukhin, “Structure of growing networks with preferential linking,”*Physical review letters*, vol\. 85, no\. 21, p\. 4633, 2000\.
- \[24\]D\. J\. Watts and S\. H\. Strogatz, “Collective dynamics of “small\-world” networks,”*nature*, vol\. 393, no\. 6684, pp\. 440–442, 1998\.
- \[25\]S\. Milgram*et al\.*, “The small world problem,”*Psychology today*, vol\. 2, no\. 1, pp\. 60–67, 1967\.
- \[26\]M\. Barthélemy, “Spatial networks,”*Physics reports*, vol\. 499, no\. 1\-3, pp\. 1–101, 2011\.
- \[27\]R\. Milo, S\. Shen\-Orr, S\. Itzkovitz, N\. Kashtan, D\. Chklovskii, and U\. Alon, “Network motifs: simple building blocks of complex networks,”*Science*, vol\. 298, no\. 5594, pp\. 824–827, 2002\.
- \[28\]U\. Alon, “Network motifs: theory and experimental approaches,”*Nature Reviews Genetics*, vol\. 8, no\. 6, pp\. 450–461, 2007\.
- \[29\]M\. E\. Newman, “Detecting community structure in networks,”*The European physical journal B*, vol\. 38, no\. 2, pp\. 321–330, 2004\.
- \[30\]M\. Girvan and M\. E\. Newman, “Community structure in social and biological networks,”*Proceedings of the national academy of sciences*, vol\. 99, no\. 12, pp\. 7821–7826, 2002\.
- \[31\]L\. Kovanen, M\. Karsai, K\. Kaski, J\. Kertész, and J\. Saramäki, “Temporal motifs in time\-dependent networks,”*Journal of Statistical Mechanics: Theory and Experiment*, vol\. 2011, no\. 11, p\. P11005, 2011\.
- \[32\]A\. Koloskova, S\. U\. Stich, and M\. Jaggi, “Decentralized stochastic optimization and gossip algorithms with compressed communication,” in*Proceedings of the 36th International Conference on Machine Learning \(ICML\)*, ser\. Proceedings of Machine Learning Research, vol\. 97, 2019, pp\. 3478–3487\. \[Online\]\. Available:[https://arxiv\.org/abs/1902\.00340](https://arxiv.org/abs/1902.00340)
- \[33\]L\. Valerio, C\. Boldrini, A\. Passarella, J\. Kertész, M\. Karsai, and G\. Iñiguez, “Coordination\-free decentralised federated learning on complex networks: Overcoming heterogeneity,”*arXiv preprint arXiv:2312\.04504*, 2023\.
- \[34\]R\. Olfati\-Saber, J\. A\. Fax, and R\. M\. Murray, “Consensus and cooperation in networked multi\-agent systems,”*Proceedings of the IEEE*, vol\. 95, no\. 1, pp\. 215–233, 2007\.
- \[35\]S\. Boyd, A\. Ghosh, B\. Prabhakar, and D\. Shah, “Randomized gossip algorithms,”*IEEE Transactions on Information Theory*, vol\. 52, no\. 6, pp\. 2508–2530, 2006\. \[Online\]\. Available:[https://web\.stanford\.edu/˜boyd/papers/pdf/gossip\.pdf](https://web.stanford.edu/~boyd/papers/pdf/gossip.pdf)
- \[36\]A\. Jadbabaie, J\. Lin, and A\. S\. Morse, “Coordination of groups of mobile autonomous agents using nearest neighbor rules,”*IEEE Transactions on Automatic Control*, vol\. 48, no\. 6, pp\. 988–1001, 2003\.
- \[37\]L\. Moreau, “Stability of multiagent systems with time\-dependent communication links,”*IEEE Transactions on Automatic Control*, vol\. 50, no\. 2, pp\. 169–182, 2005\.
- \[38\]A\. Nedić and A\. Ozdaglar, “Distributed subgradient methods for multi\-agent optimization,”*IEEE Transactions on Automatic Control*, vol\. 54, no\. 1, pp\. 48–61, 2009\.
- \[39\]C\. Hu, J\. Jiang, and Z\. Wang, “Decentralized federated learning: A segmented gossip approach,” 2019\. \[Online\]\. Available:[https://arxiv\.org/abs/1908\.07782](https://arxiv.org/abs/1908.07782)
- \[40\]I\. Hegedűs, G\. Danner, and M\. Jelasity, “Gossip learning as a decentralized alternative to federated learning,” in*Distributed Applications and Interoperable Systems \(DAIS 2019\)*, ser\. Lecture Notes in Computer Science, vol\. 11534\. Springer, Cham, 2019, pp\. 74–90\.
- \[41\]Y\. Lu, Z\. Yu, and N\. Suri, “Privacy\-preserving decentralized federated learning over time\-varying communication graph,” 2022\. \[Online\]\. Available:[https://arxiv\.org/abs/2210\.00325](https://arxiv.org/abs/2210.00325)
- \[42\]E\. Jeong, M\. Zecchin, and M\. Kountouris, “Asynchronous decentralized learning over unreliable wireless networks,” 2022\. \[Online\]\. Available:[https://arxiv\.org/abs/2202\.00955](https://arxiv.org/abs/2202.00955)
- \[43\]D\. T\. A\. Nguyen, S\. Wang, D\. T\. Nguyen, A\. Nedić, and H\. V\. Poor, “Decentralized federated learning with gradient tracking over time\-varying directed networks,” 2024\. \[Online\]\. Available:[https://arxiv\.org/abs/2409\.17189](https://arxiv.org/abs/2409.17189)
- \[44\]X\. Zhang, T\. Nguyen, and T\. He, “Time\-varying mixing matrix design for energy\-efficient decentralized federated learning,” 2025, conference version announced for IEEE INFOCOM 2026\. \[Online\]\. Available:[https://arxiv\.org/abs/2512\.24069](https://arxiv.org/abs/2512.24069)
- \[45\]B\. Li, W\. Gao, X\. Deng, J\. Xie, Z\. Xiong, M\. Siew, B\. Guo, S\. Mao, and Z\. Han, “Decentralized federated learning over time\-varying and heterogeneous mobile computing networks,”*IEEE Transactions on Mobile Computing*, 2025, early Access / publication details may vary by issue assignment\.
- \[46\]F\. Evers and A\. D\. Mirlin, “Anderson transitions,”*Reviews of Modern Physics*, vol\. 80, no\. 4, pp\. 1355–1417, 2008\.
- \[47\]G\. D\. Paparo, M\. Müller, F\. Comellas, and M\. A\. Martin\-Delgado, “Quantum google in a complex network,”*Scientific reports*, vol\. 3, no\. 1, p\. 2773, 2013\.
- \[48\]Y\. Peres and P\. Sousi, “Mixing times are hitting times of large sets,”*Journal of Theoretical Probability*, vol\. 28, no\. 2, pp\. 488–519, 2015\.
- \[49\]R\. Hekmat and P\. Van Mieghem, “Connectivity in wireless ad\-hoc networks with a log\-normal radio model,”*Mobile networks and applications*, vol\. 11, no\. 3, pp\. 351–360, 2006\.
- \[50\]P\. Gupta and P\. R\. Kumar, “The capacity of wireless networks,”*IEEE Transactions on information theory*, vol\. 46, no\. 2, pp\. 388–404, 2002\.
- \[51\]A\. Vázquez, R\. Pastor\-Satorras, and A\. Vespignani, “Large\-scale topological and dynamical properties of the internet,”*Physical Review E*, vol\. 65, no\. 6, p\. 066130, 2002\.
- \[52\]C\. Buhl, J\. Gautrais, N\. Reeves, R\. V\. Solé, S\. Valverde, P\. Kuntz, and G\. Theraulaz, “Topological patterns in street networks of self\-organized urban settlements,”*The European Physical Journal B\-Condensed Matter and Complex Systems*, vol\. 49, no\. 4, pp\. 513–522, 2006\.
- \[53\]R\. Lambiotte, V\. D\. Blondel, C\. De Kerchove, E\. Huens, C\. Prieur, Z\. Smoreda, and P\. Van Dooren, “Geographical dispersal of mobile communication networks,”*Physica A: Statistical Mechanics and its Applications*, vol\. 387, no\. 21, pp\. 5317–5325, 2008\.
- \[54\]A\. Badie\-Modiri, A\. K\. Rizi, M\. Karsai, and M\. Kivelä, “Directed percolation in random temporal network models with heterogeneities,”*Physical Review E*, vol\. 105, no\. 5, p\. 054313, 2022\.
- \[55\]J\. M\. Moore, M\. Small, G\. Yan, H\. Yang, C\. Gu, and H\. Wang, “Network spreading from network dimension,”*Physical Review Letters*, vol\. 132, no\. 23, p\. 237401, 2024\.
- \[56\]A\. Badie\-Modiri, A\. K\. Rizi, M\. Karsai, and M\. Kivelä, “Directed percolation in temporal networks,”*Physical Review Research*, vol\. 4, no\. 2, p\. L022047, 2022\.
- \[57\]A\. G\. Hawkes, “Point spectra of some mutually exciting point processes,”*Journal of the Royal Statistical Society Series B: Statistical Methodology*, vol\. 33, no\. 3, pp\. 438–443, 1971\.
- \[58\]P\. J\. Laub, Y\. Lee, and T\. Taimre,*The elements of Hawkes processes*\. Springer, 2021\.
- \[59\]J\. Fournet and A\. Barrat, “Contact patterns among high school students,”*PloS one*, vol\. 9, no\. 9, p\. e107878, 2014\.
- \[60\]M\. Piorkowski, N\. Sarafijanovic\-Djukic, and M\. Grossglauser, “Crawdad epfl/mobility,” 2022\. \[Online\]\. Available:[https://dx\.doi\.org/10\.15783/C7J010](https://dx.doi.org/10.15783/C7J010)
- \[61\]L\. Pajevic, G\. Karlsson, and V\. Fodor, “Crawdad kth/campus,” 2022\. \[Online\]\. Available:[https://dx\.doi\.org/10\.15783/c7\-5r6x\-4b46](https://dx.doi.org/10.15783/c7-5r6x-4b46)
- \[62\]R\. D\. Malmgren, D\. B\. Stouffer, A\. E\. Motter, and L\. A\. Amaral, “A poissonian explanation for heavy tails in e\-mail communication,”*Proceedings of the National Academy of Sciences*, vol\. 105, no\. 47, pp\. 18 153–18 158, 2008\.
- \[63\]C\. Cattuto, W\. Van den Broeck, A\. Barrat, V\. Colizza, J\.\-F\. Pinton, and A\. Vespignani, “Dynamics of person\-to\-person interactions from distributed rfid sensor networks,”*PloS one*, vol\. 5, no\. 7, p\. e11596, 2010\.
- \[64\]M\. Karsai, K\. Kaski, A\.\-L\. Barabási, and J\. Kertész, “Universal features of correlated bursty behaviour,”*Scientific reports*, vol\. 2, no\. 1, p\. 397, 2012\.
- \[65\]V\. Colizza, A\. Barrat, M\. Barthélemy, and A\. Vespignani, “The role of the airline transportation network in the prediction and predictability of global epidemics,”*Proceedings of the National Academy of Sciences*, vol\. 103, no\. 7, pp\. 2015–2020, 2006\.
- \[66\]R\. Pastor\-Satorras and A\. Vespignani, “Epidemic spreading in scale\-free networks,”*Physical review letters*, vol\. 86, no\. 14, p\. 3200, 2001\.
- \[67\]S\. Wasserman and K\. Faust,*Social network analysis: Methods and applications*\. Cambridge university press, 1994\.
- \[68\]M\. S\. Granovetter, “The strength of weak ties,”*American journal of sociology*, vol\. 78, no\. 6, pp\. 1360–1380, 1973\.
- \[69\]A\. Badie\-Modiri, “Error and attack tolerance of public transportation networks: a temporal networks approach,” Master’s thesis, Aalto University, 2018\.

## Appendix APerturbation experiments

In this appendix we validate the diffusive relaxation approximation for the propagation of a single\-node perturbation under the decentralised pairwise\-averaging dynamics, using an ensemble of independent temporal realisations\. We fix a static communication graph, a single realisation ofG​\(n,p\)G\(n,p\)model withn=100n=100andp=0\.06p=0\.06\(⟨k⟩=6\.46\\langle k\\rangle=6\.46\), and assume that each undirected link\{i,j\}\\\{i,j\\\}is activated by a homogeneous Poisson process with constant \(and equal\) rateλi,j=1\.0\\lambda\_\{i,j\}=1\.0in time window𝒯∈\[0,10\)\\mathcal\{T\}\\in\[0,10\)\. Across runs we keep the static graph and rates fixed but resample all activation times independently\. For each temporal realisation we initialise all nodes with the same parameter vectorw\(baseline\)w^\{\\text\{\(baseline\)\}\}except a designated source nodess, always set to node 0, which is initialised with a second parameter vectorw\(source\)w^\{\\text\{\(source\)\}\}\. Whenever a contact event\(\{i,j\},t\)\(\\\{i,j\\\},t\)occurs, both nodes apply simple averaging,wi←12​\(wi\+wj\)w\_\{i\}\\leftarrow\\tfrac\{1\}\{2\}\(w\_\{i\}\+w\_\{j\}\)andwj←12​\(wi\+wj\)w\_\{j\}\\leftarrow\\tfrac\{1\}\{2\}\(w\_\{i\}\+w\_\{j\}\)\.

To quantify the spread of the source perturbation, we track for each nodeiithe source influence coefficientαi​\(t\)∈\[0,1\)\\alpha\_\{i\}\(t\)\\in\[0,1\), defined as the weight of the source initialisationw\(source\)w^\{\\text\{\(source\)\}\}in the linear decomposition ofwi​\(t\)w\_\{i\}\(t\)under the averaging operator\. For more information about this, refer to[Fig\.˜1](https://arxiv.org/html/2607.03171#S4.F1)and[Section˜IV](https://arxiv.org/html/2607.03171#S4)\. This yields an empirical trajectoryα\(r\)​\(t\)\\alpha^\{\(r\)\}\(t\)for each realisation\. For this first part of the experiment, we completely disregarded any effects from local training\.

Under the Poisson activation model, the ensemble\-average dynamics are governed by a diffusive relaxation equationα˙​\(t\)=−\(1/2\)​Lλ​α​\(t\)\\dot\{\\alpha\}\(t\)=\-\(1/2\)L\_\{\\lambda\}\\alpha\(t\), whereLλ=Dλ−ΛL\_\{\\lambda\}=D\_\{\\lambda\}\-\\Lambdais the rate\-weighted Laplacian andΛi​j=λi,j\\Lambda\_\{ij\}=\\lambda\_\{i,j\}on edges of the static graph and 0 otherwise\. This results in a predicted influence value of

αdiff​\(t\)=exp⁡\[−\(1/2\)​Lλ​t\]​α​\(0\)\.\\alpha\_\{\\mathrm\{diff\}\}\(t\)=\\exp\[\-\(1/2\)L\_\{\\lambda\}t\]\\alpha\(0\)\\,\.\(14\)
![Refer to caption](https://arxiv.org/html/2607.03171v1/x5.png)Figure 5:Influence of the source node \(node 0\) in the parameters of four nodesi∈\{0,1,2,25\}i\\in\\\{0,1,2,25\\\}at timettcan be quite accurately predicted on expectation from the diffusive relaxation operator associated with the lazy random walk diffusion process\. Note that node 0 is the source node, henceα0​\(0\)=1\\alpha\_\{0\}\(0\)=1andαi≠0​\(0\)=0\\alpha\_\{i\\neq 0\}\(0\)=0\. Shaded area shows the 95% confidence interval for the empirical influence across 70 realisations of the same temporal network\.In[Fig\.˜5](https://arxiv.org/html/2607.03171#A1.F5), for selected target nodes we report the empirical mean influence trajectory of a set of nodes𝔼​\[αi​\(t\)\]\\mathbb\{E\}\[\\alpha\_\{i\}\(t\)\]estimated across 70 independent temporal realisations together with 95% confidence intervals\. We overlay the diffusive relaxation operator predictionαdiff,i​\(t\)\\alpha\_\{\\mathrm\{diff\},i\}\(t\)computed from the Laplacian of the underlying temporal graph\.

Essentially, in absence of other perturbations, the evolution as a result of a single perturbationδ=w\(source\)−w\(baseline\)\\delta=w^\{\\text\{\(source\)\}\}\-w^\{\\text\{\(baseline\)\}\}to a single source node can be understood as this: consider the line in the configuration space between the two points atw\(baseline\)w^\{\\text\{\(baseline\)\}\}andw\(source\)w^\{\\text\{\(source\)\}\}\. Right after the perturbation, the source node starts atw\(source\)w^\{\\text\{\(source\)\}\}while the rest of the nodes are atw\(baseline\)w^\{\\text\{\(baseline\)\}\}\. Barring other perturbations, at timettthe position of each nodeiialong that path isw\(baseline\)\+αi​\(t\)​‖δ‖w^\{\\text\{\(baseline\)\}\}\+\\alpha\_\{i\}\(t\)\\\|\\delta\\\|\. The valuesαdiff​\(t\)\\alpha\_\{\\mathrm\{diff\}\}\(t\)describes the expected trajectory of the nodes, driven from the contact rates between nodes, whileαemp​\(t\)\\alpha\_\{\\mathrm\{emp\}\}\(t\)describes the actual trajectory calculated from the specific contact sequence of each realisation, in the manner described in[Section˜IV\-A](https://arxiv.org/html/2607.03171#S4.SS1)\. As can be seen in[Fig\.˜5](https://arxiv.org/html/2607.03171#A1.F5), across multiple runs, the empirical trajectories are described fairly accurately by the diffusive relaxation equation\.

To understand the effect of additional perturbations, we simulate a more realistic setup, where each node performs a local training step \(a single training minibatch\) at times determined through a local Poisson process with rateλtrain=0\.1\\lambda\_\{\\text\{train\}\}=0\.1\. If the performed training step improves the test set loss, the new parameters are adopted for that node\. For the sake of simplicity, all nodes were allocated the same set of training and test items, though each node uses a random batching of items\. Importantly, unlike the previous scenario, local training steps not only move the nodes alongδ\\delta, but also orthogonal to it\. If we take each local training step and the initial perturbation as linear impulses to the system, each defusing independently based on the same diffusive relaxation operator−1/2​Lλ​t\-1/2L\_\{\\lambda\}t, we can estimate the total effect of all impulses for each node\.[Fig\.˜6](https://arxiv.org/html/2607.03171#A1.F6)show that this linear additive process sufficiently predicts the evolution of the system, confirming the connection to diffusion processes\.

![Refer to caption](https://arxiv.org/html/2607.03171v1/x6.png)Figure 6:Residuals for parameters compared to diffusion process predictions\. Whileαemp​\(t\)\\alpha\_\{\\mathrm\{emp\}\}\(t\)and \(on expectation\)αdiff​\(t\)\\alpha\_\{\\mathrm\{diff\}\}\(t\)explain the behaviour of the system when only a single initial perturbation is analysed, additional perturbations \(as a result of local training in nodes other than source\) affect the system trajectory\. However, accounting for each individual perturbation as an additive linear impulse on the system, diffusing based on the same diffusive relaxation kernel, removes the majority of the error in prediction \(b, c\)\. Panel \(a\) displays the number of accepted training steps across 70 runs\. Relative residual is the magnitude of the difference between a node’s predicted position based onαdiff​\(t\)\\alpha\_\{\\mathrm\{diff\}\}\(t\)orαemp​\(t\)\\alpha\_\{\\mathrm\{emp\}\}\(t\)compared to its actual position on the configuration space, as a fraction of the magnitude of the original perturbation\. Shaded area in \(b\) displays the 25th to 75th quantile of relative residual of nodes\. Panel \(c\) shows that the linear addition of the original perturbation and subsequent local training impulses significantly reduces the relative residual\.It is, however, important to note that the major difference between a diffusion process with random perturbations and the decentralised federated learning setup is based on the fact that in the federated learning setup, the local training impulses are not random or independent\. To the contrary, the effect of local training for two nodes close to each other in the configuration space can be correlated with each other based on the local geometry of the loss landscape\.

### Experimental setup

All perturbation\-response experiments use the MNIST handwritten digit classification task\. Inputs are28×2828\\times 28greyscale images, normalised using the standard MNIST mean and standard deviation\. The classifier is a small convolutional neural network consisting of two5×55\\times 5convolutional layers \(16 and 32 channels, ReLU activations, each followed by2×22\\times 2max\-pooling\), then a fully connected layer of width 128 with ReLU and a final linear layer producing 10 logits\. Optimisation uses Adam with learning rateη=10−3\\eta=10^\{\-3\}and weight decay10−310^\{\-3\}\. All evaluations are carried out on the standard MNIST test set\.

To construct a controlled “baseline–source” perturbation direction, we first train two reference models offline\. We sample a set of 10,000 training examples uniformly at random from the MNIST training set and train the*baseline*modelw\(baseline\)w^\{\(\\mathrm\{baseline\}\)\}on this subset until the test loss saturates according to an early\-stopping criterion \(minimum number of epochs, patience window, and a minimum improvement threshold\)\. We then continue training from the baseline weights using an*augmented*dataset obtained by adding 2,000 additional i\.i\.d\. training examples \(disjoint from the first 10,000, so that the augmented set contains the original 10,000 as a subset\)\. The resulting weights define the*source*modelw\(source\)w^\{\(\\mathrm\{source\}\)\}\. This construction ensures that the perturbation directionδ=w\(source\)−w\(baseline\)\\delta=w^\{\(\\mathrm\{source\}\)\}\-w^\{\(\\mathrm\{baseline\}\)\}corresponds to a realistic learning\-induced update caused by extra data, while keeping the two models close enough in parameter space for a linear response approximation to be meaningful\.

In each decentralised simulation run, we initialise all nodesi≠si\\neq swithw\(baseline\)w^\{\(\\mathrm\{baseline\}\)\}and initialise the source nodess\(fixed to node 0\) withw\(source\)w^\{\(\\mathrm\{source\}\)\}\. The communication process follows the temporal network model described above: A single static contact network, based on an Erdős–RényiG​\(n,p\)G\(n,p\)model withn=100n=100andp=0\.06p=0\.06describes the relationship between nodes across all runs\. Each static edgei,j\{i,j\}of theG​\(n,p\)G\(n,p\)network is activated by an independent Poisson process with rateλi,j=1\\lambda\_\{i,j\}=1, and a contact event applies pairwise averaging to all parameters ofiiandjj,wi←12​\(wi\+wj\)w\_\{i\}\\leftarrow\\tfrac\{1\}\{2\}\(w\_\{i\}\+w\_\{j\}\)andwj←12​\(wi\+wj\)w\_\{j\}\\leftarrow\\tfrac\{1\}\{2\}\(w\_\{i\}\+w\_\{j\}\)\. Local training events occur at each node according to an independent Poisson process with rateλtrain=0\.1\\lambda\_\{\\mathrm\{train\}\}=0\.1\. Each local training event performs a single stochastic\-gradient update \(one minibatch\) using Adam on the*shared*10,000\-example baseline subset; i\.e\., all nodes have access to the same training pool, and heterogeneity in local training arises only from random minibatch selection and the current model state\. After a local step, the node evaluates the updated model on the test set and adopts the update only if the test loss decreases by at least a fixed tolerance \(otherwise the node reverts to its pre\-update parameters\)\. This “accept\-if\-improves” rule yields sparse, irregular training impulses that are convenient to treat as perturbations in the linear superposition analysis\.

For the perturbation\-response analysis, we do not store full parameter vectors for each intermediate state; instead, we record a deterministic “fingerprint” consisting of a fixed set of 16 model parameters\. These sampled coordinates are used to compute residual norms relative to the diffusion\-based predictors\. The same sampling specification is used across all nodes and across all runs, ensuring that residual statistics and confidence intervals are comparable across realisations\.

## Appendix BRandomised reference models

For this work, we focus on two specific subclasses of randomised reference models, namely \(1\) Link shuffling and \(2\) timeline shuffling techniques\. In broad strokes, link shuffling methods focuses on randomising structural heterogeneities, while timeline shuffling methods focus on temporal aspects of the system\. Ref\.\[[13](https://arxiv.org/html/2607.03171#bib.bib13)\]provides detailed formal definition and an overview of the properties of each reference model\. In the following, we use the same naming scheme and canonical notation to denote each model, with the mathematical notationP​\[x\]\\mathrm\{P\}\[x\]indicating a randomised reference model where valuexx\(be it a scalar, matrix or a graph\) is exactly preserved in each realisation\. For each randomisation, an ensemble of ten realisations were created\.

*Topology\-constrained link shuffling*\(P​\[ℒ,pℒ​\(𝚯\)\]\\mathrm\{P\}\[\\mathcal\{L\},p\_\{\\mathcal\{L\}\}\(\\mathbf\{\\Theta\}\)\]\) shuffles entire timelines of events between pairs of nodes, while exactly keeping the static network projection of the temporal network fixed, meaning that whether or not two nodes have at least one event between them is preserved in the randomisation\. On the other hand,*Degree\-constrained link shuffling*\(P​\[𝐤,pℒ​\(𝚯\)\]\\mathrm\{P\}\[\\mathbf\{k\},p\_\{\\mathcal\{L\}\}\(\\mathbf\{\\Theta\}\)\]\) merely preserves the exact degree sequence of the static projection, i\.e\., the number of neighbours each node is preserved\.

In all observations,*topology\-constrained*and*degree\-constrained*link shuffling produce almost identical results but distinctly different from both the original network \(P​\[G\]\\mathrm\{P\}\[G\]\) and the unconstrained*link shuffling*\(P​\[pℒ​\(𝚯\)\]\\mathrm\{P\}\[p\_\{\\mathcal\{L\}\}\(\\mathbf\{\\Theta\}\)\]\) where entire timelines are shuffled with the only constraint that only number of static projection links are exactly preserved, with no regard for its structure\. This shows that while properties such as temporal motifs might play a fairly significant role in slowing down the diffusion process on networks \(since they are randomised away by all link shuffling methods\), at the scale of these system we do not observe a significant effect of the system dimensionality or static network motifs, except insofar as they might affect the degree sequence or the less well connected nodes that were left out of the experiment in the pre\-processing step\. Such hypothetical effects would be reflected in the form of a significant difference between*topology\-constrained*and*degree\-constrained*link shuffling\.

On the other hand, we note the significant effect of unconstrained*link shuffling*compared to*degree\-constrained link shuffling*, highlighting the role of degree sequence heterogeneity\. Interestingly, since*link shuffling*randomises all structural heterogeneities of the systems, certain temporal patterns become easy to spot on the trajectory of inverse participation ratio over time\. Specifically it is easy to observe diurnal \(and for the case of high\-school dataset[4](https://arxiv.org/html/2607.03171#S5.F4)\(a\), weekly\) patterns of activity where inactive periods \(e\.g\., nights and weekends\) are marked by plateaus\.

*Inter\-event time shuffling*\(P​\[πℒ​\(𝚫​τ\),𝐭1\]\\mathrm\{P\}\[\\mathbf\{\\pi\}\_\{\\mathcal\{L\}\}\(\\mathbf\{\\Delta\\tau\}\),\\mathbf\{t\}^\{1\}\]\) independently shuffles the inter\-event time sequence of each timeline, thereby randomising the possible inter\-event time correlations \(e\.g\., memory effects\) and possible memory effects, as well as possible temporal motifs, while preserving the probability distribution of inter\-event times as well as the time of the first event𝐭1\\mathbf\{t\}^\{1\}on the timeline\. By comparison,*interval shuffling*\(P​\[πℒ​\(𝚫​τ\)\]\\mathrm\{P\}\[\\mathbf\{\\pi\}\_\{\\mathcal\{L\}\}\(\\mathbf\{\\Delta\\tau\}\)\]\) also randomises the start time of the first event on each timeline, as well as the order of inter\-event times\. Comparing these with the original network shows that the inter\-event time memory plays a fairly insignificant role in these systems, while the activity window of each timeline \(the window between first and last activation\) does play some role\. This is further confirmed by comparing*activity\-constrained timeline shuffling*\(P​\[πℒ​\(τ\),𝐭1,𝐭w\]\\mathrm\{P\}\[\\mathbf\{\\pi\}\_\{\\mathcal\{L\}\}\(\\mathbf\{\\tau\}\),\\mathbf\{t\}^\{1\},\\mathbf\{t\}^\{w\}\]\), which redistributes event at random in each timeline, while preserving activity windows \(time of the first and last event\) of each timeline, which is in all cases only negligibly different compared to the original network\.

While*weight\-constrained timeline shuffling*\(P​\[𝐰\]\\mathrm\{P\}\[\\mathbf\{w\}\]\) and the unconstrained*timeline shuffling*\(P​\[ℒ\]\\mathrm\{P\}\[\\mathcal\{L\}\]\), similar to all timeline shuffling methods mentioned before, both preserve the underlying static network projection of the system, they randomise activation window and inter\-event time distribution of the network\. The major difference stems from the fact that*weight\-constrained timeline shuffling*additionally constrains the exact number of activations of each link between two nodes\. As we see in the case of cab and Wi\-Fi network, this heterogeneity of activation frequencies can potentially play a major role in the rapidity of the diffusion process\.

Combining temporal and structural randomisation methods, i\.e\., consecutive application of*link*and*timeline shuffling*, shows that in all cases structural and temporal heterogeneities both independently contribute to the slowing down of the diffusion\. The resulting randomised network is essentially aG​\(N,m\)G\(N,m\)Erdős–Rényi model network \(with same number of nodes and links as the original\) and exactly the same total number of activations as the original network, but distributed randomly at random times among theMMlinks, resulting in an exponential inter\-event time distribution\. In the case of high\-school network, temporal heterogeneities play a comparatively larger role in slowing down the network than the structural ones, while on the other two datasets the opposite is true\.

Similar Articles