Accuracy of the Graphon Mean Field Approximation for Interacting Particle Systems

Published Online:https://doi.org/10.1287/stsy.2024.0070

Abstract

We consider a system of N particles whose interactions are characterized by a (weighted) graph GN. Each particle is a node of the graph with an internal state. This state changes according to Markovian dynamics that depend on the states of neighboring particles. We study the limiting properties of the state dynamics, focusing on the dense graph regime, in which the average degree of a node grows linearly with N. We show that, when GN converges to a piecewise Lipschitz graphon G, the behavior of the system converges to a deterministic limit, the graphon mean field approximation. We obtain convergence rates depending on the system size N and cut-norm distance between GN and G. We apply these results for two subcases: when GN is a discretization of the graph G with individually weighted edges; when GN is a random graph obtained by sampling edges with probabilities obtained from G. In the case of weighted interactions, we obtain a bound of order O(1/N). In the random graph case, the error is of order O(log(N)/N) with high probability. We illustrate the applicability of our results and the numerical efficiency of the approximation through two examples: a graph-based load-balancing model and a heterogeneous bike-sharing system.

Funding: This work was supported by the ANR (Agence National de la Recherche), via the project REFINO (ANR-19-CE23-0015).

Supplemental Material: The online appendix is available at https://doi.org/10.1287/stsy.2024.0070.

1. Introduction

Mean field approximations are ubiquitously used in the study of large-scale stochastic systems. Its mathematical foundations date back to the 1960s and 1970s with the seminal papers of Kurtz (1970, 1971), McKean (1967), and Norman (1972). Whereas originating from statistical physics, the mean field methodology has found application in many areas, such as communication networks Le Boudec et al. (2007), load balancing Mitzenmacher (2001), and the study of epidemics Roy et al. (2023). The fundamental idea of the mean field method is to represent the particle process by a Markovian state descriptor based on averaged quantities of the system. A quantity commonly used in this context is state occupancy processes, for example, the averaged load of stations for a bike sharing system (Fricker and Gast 2016) or the fraction of servers having at least a certain queue length for load-balancing systems (Mitzenmacher 2001). To apply the classic mean field method, it is crucial that the particles of the system are homogeneous and, therefore, interchangeable, ensuring the Markov property for the mentioned aggregate quantities. Its applicability to real-world scenarios is often hindered by the intrinsically heterogeneous behavior of realistic models as heterogeneity breaks the quintessential exchangeability assumption. Therefore, it is necessary to keep track of the evolution of the whole set of particles in the system, which makes the application of classic mean field methods complicated if not infeasible.

To overcome these difficulties, mean field models that use graphons as a description of diversity of individuals and the variation of their interaction have been proposed (Budhiraja et al. 2019, Vizuete et al. 2020, Bayraktar et al. 2023, Keliger 2023, Bet et al. 2024). One example for when this approach finds widespread application are epidemic models for which graphons characterize the epidemic propagation (Decreusefond et al. 2012, Aurell et al. 2022, Delmas et al. 2023, Roy et al. 2023). For many settings, results show that deterministic graphon-based models are limiting processes for sequences of graph-based interacting and densely connected particle systems. Whereas the use of the graphon mean field model is well-justified, the bias and convergence speed in its application can vary immensely depending on the convergence properties of the considered graph sequence. Surprisingly, the literature concerning the issue of convergence rates and accuracy is relatively sparse. This paper contributes to filling this gap as we derive generic bounds on the bias for the graphon approximation for finite-sized and densely connected interacting particle systems.

1.1. Contributions

We provide bias bounds for the graphon mean field approximation for finite-sized systems consisting of NN interacting particles for which the graph GN models the connection of the population. Our results show that it is possible to derive bias bounds that largely depend on the convergence properties of the graph sequence GN and of its limiting graphon G. To be more precise, we start from a stochastic interacting particle model of finite size N, where each individual k is characterized by a time-varying state Sk(t). The connection of the particle to the population is given by the edges (k,l) of a graph GN. Based on this description, we construct a (deterministic) integro-differential equation based on the graphon G and show that it has a unique solution xG(t) that we call the graphon mean field approximation. This differential equation is constructed such that, for fixed N, xGk/N,s(t) approximates the probability of particle k[N] to be in state s at time t. Denoting P(SkGN(t)=s) this probability, our main result shows that

P(SkGN(t)=s)=xGk/N,s(t)+O(1N+GNGL2),
where GNGL2 is the L2 distance of the step graphon representation of GN and the graphon G. The L2 norm that we use is essentially equivalent to the distance implied by graphon cut norm (see the discussion in appendix B of Avella-Medina et al. 2018).

To show the extent of the result, we consider two specific graph-sampling strategies for GN. In the first case (which we denote deterministic sampling), GN is the discretization of the limiting graphon G with GklNGk/N,l/N(0,1] being the strength of interaction between two particles. We consider this case as it illustrates how our result can be used to model a system composed of heterogeneous particles. In the second case (which we call stochastic sampling), GN is a random graph generated from G, where an edge is present between two nodes k and with probability G(k/N,l/N). The second case corresponds to a generalization of Erdős–Rényi graph and stochastic block models to possibly nonuniform probabilities.

Imposing some mild assumptions, such as a piecewise Lipschitz condition on the graphon G or symmetry of G, in the case of stochastic sampling, we can bound the distance between the graph GN and the graphon G by

GNGL2={O(N1).(Deterministic Sampling)O(log(N)N) w.h.p.,(Stochastic Sampling)
where, with high probability (w.h.p.) means that the right-hand side in case of the stochastic sampling holds with probability at least 12/N. The precise assumptions and results1 are given in Corollaries 1 and 2. We point out that the main result applies to the considered cases but is not limited to those. It is possible to consider other graph-sampling strategies that satisfy our assumptions and for which the L2 distance between the step graphon representation of GN and the graphon G can be bounded. To illustrate our results and emphasize their applicability, we provide two examples, one each for the stochastic and deterministic sampling method. Our first example considers a load-balancing system with stochastically drawn connections between servers. Jobs in the load-balancing system arrive at a server site, at which each server similarly acts as a dispatcher and keeps or forwards the job according to the join-the-shortest-of-two-queues (JSQ-2) policy based on its connected neighbors. The second example illustrates the application of deterministic sampling for a bike-sharing system with particles being stations and the graphon determining the popularity of the stations. In both cases, a simple discretized version of the integro-differential equation already yields precise estimations of the system dynamics, whereas the numerical complexity of the approximation only slightly increases compared with the homogeneous case.

1.2. Organization

The paper is organized as follows. In Section 2, we introduce the heterogeneous particle model. Section 3 defines graphon, related sampling methods, and related preliminary results. Our definition of the approximation, the main results, and the proofs are displayed in Section 4. In Section 5, we present the two numerical examples. Finally, we conclude in Section 7 in which we discuss limitations and future work.

1.3. Related Work

1.3.1. Dynamical Systems on Random Graphs.

In recent years, there has been growing interest in the behavior of interacting particles that are interconnected by an underlying graph topology (e.g., Abbe 2018, Bhamidi et al. 2019, Bayraktar and Wu 2021, Bet et al. 2024, and previously mentioned references). For a general introduction to the topic of random graph networks and limiting graphon functions for dense graphs, we refer to the works Van Der Hofstad (2017) and Lovász (2012). The majority of papers focus on dense graphs, having edges of order N2 such as Erdős–Rényi type graphs or graphs generated by stochastic block models. Additional related work can be found in the game-theoretic setting for graphon mean field games; see, for example, Caines and Huang (2021) and Aurell et al. (2022). In the not-so-dense setting, available results are more limited with some newer references being Bayraktar et al. (2023) and Delmas et al. (2023). In the case of sparse graphs, such as d-regular graphs or random geometric graphs, the typical mean field methods break down as they fail to capture the importance of the spatial graph structure and its implications on the local dynamics of particles. Some recent works in this setting include Ganguly and Ramanan (2024), Ramanan (2022), and Ganguly (2022).

1.3.2. Load Balancing on Graphs.

Our load-balancing example is inspired by the recent works of Rutten and Mukherjee (2023), Zhao and Mukherjee (2024), Zhao et al. (2024), and Budhiraja et al. (2019). Here, the authors study a variety of load-balancing systems with dynamics based on compatibility or locality constraints, and these give rise to intricate connectivity between dispatchers and servers. Whereas not directly transferable into the framework of this paper, the authors similarly deal with graph-based systems and limit approximations that are strongly related to the ones our framework suggests. Note that the techniques developed in these papers are very model-specific and allow for transitions to depend on the states of multiple queues, whereas our approach aims at deriving results for a more general framework for transition rates with the restriction to the case of pair interactions.

1.3.3. Generator and Stein’s Method.

For our proofs, we adapt techniques used in Gast and Van Houdt (2017), Allmeier and Gast (2022), and Gast (2017), which, in turn, rely on the use of Stein’s (1986) method. The method is used to estimate and bound the distance between two random variables through their respective generators. Since the publication of works Braverman et al. (2017) and Braverman and Dai (2017), Stein’s (1986) method has seen an increase in the stochastic network community and is an actively evolving area.

2. Heterogeneous Network Particle System

2.1. The Interaction Model

We consider particle systems with NN interacting particles. Connections between particles are characterized by a (possibly weighted) adjacency matrix GN[0,1]N×N, with GklN indicating the connection strength between particle k and l. Each of the particles has a finite state space S, where the state of the kth object at time t0 is denoted by SkGN(t). As we see later, GN can correspond to a random graph for which GklN{0,1} indicates the presence or absence of an undirected edge between the particles k and l or can be an arbitrary weight matrix; see Section 3. The state of the whole system is denoted by SGN(t)(S1GN,,SNGN)(t)SN. We assume that the process SGN(SGN(t))t0 is a continuous time Markov chain with the dynamics of the system described as in the following. Each particle k[N] changes its state from sk to skS in one of two ways:

  • (Unilateral) The change of state occurs at rate rk,skskN,uni independently of the other particles.

  • (Pairwise) The change of state is triggered by another particle l[N] that is in state slS. This occurs at rate rk,l,sksk,slN,pairGklN/N.

Note that the rate functions are assumed to be heterogeneous; that is, they can depend on the items k and l. The rates have a 1/N factor as each particle can potentially interact with all N1 remaining particles. Hence, our condition implies that the total rate of transitions of the particle system is of order O(N) and that the transition rates for all particles are of the same order. We show in Example 5.1 that our result can also be used if the scaling factor depends not on the system size N but on the average degrees. We further want to point out that we restrict our framework to the interaction of two particles, and these can be utilized to model many relevant interacting particle systems on graphs such as, for example, epidemic spreading, power-of-two-choices load-balancing, or bike-sharing systems. It is nonetheless possible to use the same underlying approach to extend the framework and results to interactions between more than two particles by modeling, for instance, the interaction between more than two particles as hypergraphs. This, however, comes at the cost of increasingly cumbersome notations and limited added theoretical insight.

2.2. The Binary State Representation

In order to ease computations and definitions, we use a binary representation of the state based on indicator functions. We denote the new representation by XGN=(XGNk,s(t))t0k[N]sS, where

XGNk,s(t)𝟙{SkGN(t)=s}{1if object k is in state s at time t,0otherwise.(1)

The space of attainable states is denoted by XN{0,1}N×S.

Whereas this representation is less compact than the original, it allows for an easier definition of transition rates as well as the definition of the mean field approximation. Denote by ek,sN a matrix of size N×|S| whose (k,s) component is equal to one, all other entries being zero. For each k[N], and sk,skS, XGN jumps to XGN+ek,skNek,skN at rate

Xk,skrk,skskN,uni+Xk,skl[N]slSrk,l,sksk,slN,pairGklNNXl,sl.(2)

In the above equation, the first term of the rate corresponds to the unilateral transition of the particle k[N] changing its state from sk to sk as this transition occurs at intensity rk,sksk if particle k is in state sk (i.e., Xk,sk=1). The second term describes the pairwise transitions leading to the state change of particle k from sk to sk. Similar to the unilateral one, the transition can only happen if particle k is in state sk, represented in the rate by the prefactor Xk,sk. The remaining factor corresponds to the interaction with other particles, expressed by the weighted sum over all other particles and their states. The intensity of the transition is scaled by rk,l,sksk,slN,pair, and the connectivity of the particles is given by the connectivity matrix GN[0,1]N×N.

2.3. Drift of the System of Size N

By using the state representation XGN, we define what we call the drift of the system of N particles as the expected change for XGN in state XX(N). It is equal to the sum of all possible transitions of the changes induced by this transition times the rate at which the transition occurs. We denote this quantity as FGN(X). By using Equation (2), it is equal to

FGN(X)=k[N],sk,skS(ek,skNek,skN)[Xk,skrk,skskN,uni+Xk,skl[N]slSrk,l,sksk,slN,pairGklNNXl,sl].

The quantity FGN(X) is a vector-valued function of X. By reorganizing the above sum, Fk,sGN(X)—its (k,s) component—is equal to

Fk,skGN(X)=sS[Xk,srk,skskN,uniXk,srk,skskN,uni+l[N]slS(Xk,skrk,l,sksk,slN,pairXk,srk,l,ssk,slN,pair)GklNNXl,sl].

In the following, it is convenient to replace the above sum by matrix multiplications. To do so, let us denote by Xk the vector (Xk,s)sS. The above equation can be written as

Fk,sGN(X)=Rk,sN,uniXk+XkTl[N]Rk,l,sN,pairXlGklNN,(3)
where Rk,sN,uni is a row vector whose s component is rk,ssN,uni if ss and s˜rk,ss˜N,uni for s=s and Rk,l,sN,pair is a matrix whose (s,sl) component is rk,l,ss,slN,pair if ss and s˜rk,l,ss˜,slN,pair if s=s.

2.4. Representation of XGN, GN, and FGN as Functions from (0,1]

To study the limit as N goes to infinity, it is convenient to view the functions XGN not as a vector with N components (XGNk)k[N] but as a step function (XuN)u(0,1], where for any state sS, we set

Xu,sGNXk,sGN{0,1} for u((k1)/N,k/N].

By abuse of notation, we do not introduce separate notations for the discrete and continuous variables but make the distinction by reserving the subscript letters k,l[N] for the discrete case and u,v(0,1] for the continuous variable.

Similarly, we also write GuvN=GklN for u((k1)/N,k/N] and v((l1)/N,l/N], Fu,sGN=Fk,sGN, and Rk,sN,uni=Ru,sN,uni. By using this notation, the sum of k[N]—for instance in (3)—can be replaced by an integral, that is, Fk,sGN(X)=Fu,sGN(X)=Ru,sN, uniXu+XuT01Ru,v,sN, pairXvGuvNdv for u((k1)/N,k/N].

2.5. Notations

Throughout the paper, matrices and vectors are written in bold letters, that is, X,x,, and regular letters are used to denote scalars such as Xu,s,ru,ssuni. The indices s,sk,sk,sl, are reserved for the states; k, l, ... are reserved for particles; and u, v are reserved for values in the unit interval. When we write that a quantity h is of order O(1/N) or h=O(1/N) equivalently, this means that there exists a constant C such that hCN. Such a constant C might depend on the model considered (the graphon or the rate functions). Most of our results are expressed in terms of L2 norm (see the definition in Section 3.3). The space L2(0,1] refers to the quotient space of the square Lebesgue integrable functions. Throughout, we deal with vectors of L2(0,1] functions, that is, f,gL2(0,1]S. For two vectors g, f we denote the scalar product by f,gL2(0,1]=sS01fu,sgu,sdu and the induced norm fL2=sS01fu,s2du. For a function G:(0,1]2R denote by Gf the function defined as (Gf)u,s=01Guvfv,sdv. We denote the L2 norm-operator of G as

GL2=sup{fL2(0,1],fL2(0,1]1}GfL2=sup{fL2(0,1],fL2(0,1]1}01(01Guvfv,sdv)2du.

3. Limiting Graph and Graphon

In this section, we specify the properties that the interaction graph GN needs to satisfy as N goes to infinity. To do so, we introduce the notion of graphon and define the associated cut-norm. We also introduce two sampling methods that can be used to generate a graph with N nodes from a graphon. This section only reviews the material that is necessary for our results, and we refer to the famous book Lovász (2012) for a detailed introduction to graphons.

3.1. Graphons

In this paper, what we call a graphon is a measurable function2 G:(0,1]2(0,1]. The notion of graphon can be viewed as a generalization of the notion of graph. Indeed, for any N, a weighted graph GN can be viewed as a piecewise constant function defined on (0,1]2, where the value of this function at a point (u,v)(0,1]2 is equal to GklN whenever u((k1)/N,k/N] and v((l1)/N,l/N]. Hence, a finite graph is a graphon that has a special structure. The notion of graphon generalizes the notion of a finite graph by allowing G to be any measurable function. We provide an illustration of a graphon and of a finite graph viewed as a graphon on Figure 1.

Figure 1. Exemplary Connectivity Functions Sampled After the Methods of Section 3.2 and Their Corresponding Graphon

Throughout the paper, we consider piecewise Lipschitz continuous graphons, which are defined as follows.

Definition 1

(Piecewise Lipschitz Graphon). A graphon G is called piecewise Lipschitz if there exists a constant LG and a finite partition of (0,1] of nonoverlapping intervals Ak=(ak1,ak] with 0=a0<a1<<aKG=0 for a finite KGN such that, for any k1,k2[K+1] and pairs (u,v),(u,v)Ak1×Ak2,

|GuvGuv|LG(|uu|+|vv|).

A particular case of a piecewise Lipschitz continuous graphon is the case of a step graphon, that is such that the Lipschitz constant LP=0. This implies that the function G is constant on all intervals Ai×Aj. For instance, all finite graphs can be seen as step graphons by using the partition such that Ak=(k1/N,k/N] with N being the number of nodes in the graph.

3.2. Generation of a Finite Graph GN from a Graphon G

Based on a given graphon G, we consider two distinct sampling methods to generate a finite graph GN from G:

  • In the first case, termed deterministic sampling, GN is a discretization of G on N2 uniformly sampled points, that is, GklN=G(k/N,l/N) for k,l[N].

  • For the second case, termed stochastic sampling, and under the preliminary assumption that the graphon is symmetric, the values GN are drawn according to independent Bernoulli random variables, that is, GklN=Bernoulli(G(k/N,l/N)), and GlkN=GklN for all k<l.

In the case that the graphon is constant for all u,v(0,1], the stochastic sampling method is equivalent to sampling an Erdős–Rényi graph. If the graphon is block-wise constant, the sampling is similar to the stochastic block model; see Van Der Hofstad (2017).

3.3. Graphon Distances and Convergence

To measure the distance between two graphs (and, in particular, to quantify how fast a finite graph GN converges to G), we use the L2 operator norm as defined in Section 2.5. More precisely, for a measurable function f:(0,1]R, we denote by fL2(0,1]=01fu2du the L2 norm of f. For a graphon G, we denote by G the operator norm of G in L2, that is

GL2=sup{fL2(0,1] such that fL2(0,1]1}GfL2.

The distance between two graphons (or finite graphs) G and G is measured as GG.

To bound the L2 distance between a piecewise Lipschitz graphon and the function associated with a randomly sampled graph, we utilize the results displayed in Avella-Medina et al. (2018). The authors show that, for a large enough (see Definition 2) number N of graph nodes, in our case particles, the distance between the graphon and the graph function can be upper bounded as follows.

Lemma 1

(Theorem 1 from Avella-Medina et al. 2018). Let G be a symmetric piecewise Lipschitz graphon and let GN be a stochastic sampling of it as defined in Section 3.2. Then, for large enough N (as in Definition 2) with probability as least 1δ the distance in the L2 operator norm between the graphon G and the sampled graph GN is bounded by

GGNL24log(2N/δ)N+2(LG2KG2)N2+KGNψδ,G(N).(4)

Definition 2

(Large Enough N (Avella-Medina et al. 2018). Given a piecewise Lipschitz graphon G with partition of (0,1] of nonoverlapping intervals Ak=(ak1,ak] as in Definition 1 and δ<e1. The quantity N is called large enough if

2N<mink{0..KG}(akak1),(5a)
1Nlog(2Nδ)+2KG+3LGN<supu(0,1]01Gu,vdvand(5b)
NeN/5<δ.(5c)

Implied by Theorem 1, by setting δN=2N, we see that the distance between a piecewise Lipschitz graphon and a sampled graph is with high probability of order GGNL2(0,1]=O(log(N)N). The meaning of “with high probability” in this context is that the right-hand side holds with probability at least 12/N.

4. Main Results

4.1. Assumptions

In Section 2, we constructed a model that depends on a scaling parameter N. We now state the assumptions that we use to state the accuracy of the graphon mean field approximation.

  • (A1) The state space S is finite.

  • (A2) The graphon G is piecewise Lipschitz continuous.

  • (A3) There exists bounded and piecewise Lipschitz-continuous rate functions for ru,susuuni and ru,v,susu,svpair for u,v(0,1] and su,su,svS such that the rates function of the original N particle systems have the relation:

    rk/N,skskuni=rk,skskN,uni and rk/N,l/N,sksk,slpair=rk,l,sksk,slN, pair for k,l[N].(6)

The first assumption on the finiteness of the state-space is not necessary per se but simplifies the exposition of the results. Our results can be generalized to countable state-space S but at the price of extra assumptions that would clutter the readability of the paper. Imposing a finite state-space simplifies the definition of the L2 space. To allow for nonfinite S, one needs to add not just a uniform bound on the transition rates (such as (A3)) but a bound on their norm in this infinite-dimensional space: in our proof, some bounds depend on |S| (see, for instance, Online Lemma 7) because (A3) only provides a bound on the infinite-norm of the rate functions. When S is finite, all such norms are equivalent. The second assumption is a regularity assumption that we use to obtain bounds on the rate at which a sequence of graphs converges to graphons. As shown in Lovász (2012, lemma 11.33), some regularity assumptions on G are needed to show the convergence. In practice, our bounds depend on the distance between the original graph GN and the graphon G. The last assumption ensures that the particle transition rates for the finite and the graphon system are equal. We point out that assumption (A3) can be generalized by replacing the equality in (6) with bounds for the distance of rN,· and r·, therefore modifying the bounds of the theorem to include terms of the form rN,·r·.

4.2. The Graphon Mean Field Approximation

The graphon mean field approximation aims at approximating the dynamics of the original system X. We define the graphon-related drift similarly to the drift of the particle system in Equation (3). For u,v(0,1], the graphon-based drift is defined by

Fu,sG(x)=Ru,sunixu+xuT01Ru,v,spairGu,vxvdv,(7)
where Runi and Rpair are the functions corresponding to runi and rpair as we did for RN,uni and RN,pair in Section 2.4. This equation is identical to the original drift Equation (3) except that we replace the sum over discrete variables by integrals over u,v(0,1].

Based on the drift function FG and the initial condition x0, we call the graphon mean field approximation the solution of the differential equation

xG(t,x0)=x0+0tFG(xG(τ,x0))dτ.(8)

Lemma 2.

Let FG denote the deterministic drift defined in Equation (7) and xG(t,x0) the value of the solution of the graphon mean field approximation at time t with initial condition x0 as in Equation (8). It holds that, for all t and all initial conditions x0, xG(t,x0) is well-defined and unique (in L2) and is differentiable with respect to its initial condition. Furthermore, this derivative is Lipschitz continuous.

The proof is postponed to Section 6.1.

4.3. Accuracy of the Approximation

The following result provides a bound on the distance between the stochastic system and the graphon mean field approximation. This bound is stated as the L2 distance between E[XGN] and xG. Recall that, by definition, E[XGNk,s(t)]=P(Sk(t)=s) is the probability for an item k to be in state s at time t. Hence, our theorem shows that the graphon mean field model is an accurate approximation of the state distribution of the particles. The statement of the theorem should be interpreted as saying that the distribution of the particles over the states S for any time t0 is approximated by the graphon mean field approximation xG with accuracy depending on the system size N as well as the distance between GN and graphon G. In particular, if GN converges to G (for the graphon norm), then the graphon mean field approximation is asymptotically exact.

Theorem 1

(L2 Convergence). Let XGN(t)=(XGNk,s)(t)k[N],sS be the stochastic particle system of size N related to a graph instance GN. Let xG(t)=(xGu,s(t,x0))u(0,1],sS be the mean field approximation of the particle system as defined in Equation (8) for an initial condition x0=XGN(0).3 Assume additionally that conditions (A1)(A3) are fulfilled and let t>0 be arbitrary but fixed. Then, there exist constants CA,CB0 such that

E[XGN(t)|XGN(0),GN]xG(t)L2CAN+CBGNG.(9)

The proof of Theorem 1 is postponed to Section 6.2. The constants CA,CB of Equation (9) depend on the uniform bound of the rates, the time t, and the Lipschitz constants of the graphon. In the subsequent Corollaries 1 and 2, we see that, if the GN is generated by one of the methods illustrated in Section 3.2, precise bounds on the distance GNG can be obtained. To illustrate our results and underline that the constants are small in practice, we provide examples in Section 5. We point out that Theorem 1 is applicable for a wide range of construction methods for GN. The subsequent corollaries illustrate cases of stochastic and deterministic sampling methods. We emphasize, however, that any method that allows the construction of densely connected graphs, for which bounds of GNG are attainable, is viable. At last, we want to point out that, by using the same framework, it seems feasible to extend our results to interactions of triplets or higher order interactions. Yet, because of our generic choice of transition rates, this would be linked to increasingly heavy notations for the dynamics, only giving little more insight into the accuracy of the graphon mean field method.

A nice interpretation of Theorem 1 is in terms of total variation distance. Indeed, by definition of XsGN(t) as an indicator function (1), we have E[Xs,uGN(t)]=P(SNu(t)=s). The total variation distance between two distributions μ and ν is equal to 12sS|μsνs|=12μν1. Hence, by the Cauchy–Schwarz inequality, one has

01P(SuN/N(t)=·)xu,·G(t)TVdu12E[XGN(t)]xG(t)L2CA2N+CB2GNG.

The above equation shows that, on average, the law of a particle k converges to xk/N,·G(t). Note that this does not mean that the law of each particle k converges to xk/N,·G(t). For instance, changing all edges of a single particle only changes GN by a factor O(1/N).

4.4. Case-Specific Bounds for GNGL2

The subsequent corollaries give specific bounds for the case that GN was generated as described in Section 3.2. In the first case, if GN is obtained though discretization of G, Corollary 1 shows that the accuracy is of order O(1/N). Our second Corollary 2 specifies big-O convergence rates if the graph GN is sampled stochastically from the graphon. In this case, the accuracy is with high probability of order O(logNN).

4.4.1. Case 1: Graphon Discretization.

The corollary provides a bound on the accuracy of the approximation in the case that the graph GN is obtained as a discretized version of G. The result gives bounds on the difference between the distributions of the particles in the stochastic system and the approximate values obtained through the graphon mean field approximation.

Corollary 1

(Dense Heterogeneous System). Assume (A1)(A3) and let xG and XGN be defined as in Theorem 1. Let k[N],sS and t0 be arbitrary but fixed. If GN is generated by the deterministic sampling method of Section 3.2, that is, a discretization of the graphon G, it holds that

E[XGN(t)|XGN(0),GN]xG(t,XGN(0))L2CA+CBCGNN.(10)

The proof is postponed to Section 6.3. The constants CA,CB are as in Theorem 1. The additional constant CGN relates to the discretization error of the deterministic sampling method. For this case, it is noteworthy that the accuracy of the approximation aligns with the results one obtains for the homogeneous setting as described in Gast (2017) and Gast and Van Houdt (2017), allowing for heterogeneous connectivity and rates among the population.

4.4.2. Case 2: Random Graph.

Our second corollary provides accuracy bounds for interacting particle systems on dense random graphs. By the definition of the graph-sampling methods, see Section 3.2, with high probability, the number of connected neighbors for each particle is of order N. This ensures that, for large enough systems that the neighborhood of each node serves as a local representation of the overall system state. This leads to the following result.

Corollary 2

(Graphon System Approximation). Assume the conditions (A1)(A3) as in Theorem 1 for a symmetric graphon G. Let XGN(t)=(XGNk,s)(t)k[N],sS be a stochastic particle system of size N with GN obtained through the stochastic sampling method as defined in Section 3.2. Let t0 and k[N],sS be arbitrary but fixed. Then, with probability at least 12/N and for large enough N, as defined in Definition 2, the graph GN is sampled such that

E[XGN(t)|XGN(0),GN]xG(t,XGN(0))L2CAN+CBψG(N),(11)

where ψG(N)8log(N)N+2(LG2KG2)N2+KGN with LG being the Lipschitz constant of the graphon G and KG the size of the partition as defined in (1).

In the above theorems, the constants LG and KG are a measure of heterogeneity of the nodes of the graphon. If G represents a stochastic bloc model, then LG=0 and KG corresponds to the number of blocks. If the graphon represents a continuous popularity (as in Figure 1 or in our bike-sharing example), then KG=0. A graphon with a large KG or a large LG would represent a graph in which the nodes have a very heterogeneous behavior.

The proof of the corollary is postponed to Section 6.3.

5. Numerical Experiments

In this section, we present two examples that support the statements of our theoretical results and illustrate the applicability of the framework. For the first example, we look at a load-balancing model with communication restrictions of the servers imposed by a graph. In this example, the focus is on the stochastically sampled graph, which imposes heterogeneous rates because of the connectedness of the servers. For the dynamics of the system, we see each node as a dispatcher–server pair applying the JSQ(2) policy with respect to itself and connected servers whenever a job arrives. For the second example, we consider a heterogeneous bike-sharing system. Here, the focus lies on the heterogeneity of the popularity of the stations, which affects the flow of bikes through the system.

5.1. Load-Balancing Example

5.1.1. Model.

The considered load-balancing model is a jump process in the Markovian setting. We consider a system in which the server–dispatcher pairs are connected through a graph structure in which each server–dispatcher is represented by a node. All servers have a finite maximal queue length KLN. The connections between the server–dispatcher pairs are denoted by GklN and are sampled according to Section 3.2 using the stochastic sampling method. The graphon G used to sample the edges is the same as Figure 1(a). Based on the described connectivity structure, jobs arrive to a server–dispatcher pair following a Poisson arrival process with rate λL>0. Arriving jobs are distributed according to the JSQ(2) policy idea; that is, the dispatcher considers its own server state as well as another randomly sampled but connected server and forwards the job to the server with the lesser load. In the case that both servers have the same queue length, the job is assigned randomly among the two. In case both servers have a full queue, the job is discarded. The service time of a job is exponentially distributed with mean μL, and jobs are handled in first come, first served order. For a system of size N with graph instance GN and state XGN=(XGNk,s)k[N],s=0..KL the transitions of the system are

XGNXGN+ek,s+1Nek,sN(12)

 at rate λLXGNk,sl[N](GklNd(N)(k)+GklNd(N)(l))(12Xl,s+sls+1Xl,sl)𝟙s<KL,(13)

XGNXGN+ek,s1Nek,sN at rate XGNk,sμL𝟙s>0,(14)
where ek,s is a N×|S| matrix having a one at the (k,s) entry and zero values everywhere else and d(N)(k) is the degree of node k. Equation (14) corresponds to the completion of a job by server k when the queue is of size 1sKL. The second type of transition, Equation (13), corresponds to adding a job to k having 0sKL1 jobs in the buffer. In this case, the queue size is increased by one from s to s+1. To explain the transition rate, we see that the servers k can be selected in two ways. By selecting k or another connected server l first and the other second. In the case that both queues have equal length, the chance that the job arrives at server k is 1/2. If both buffers are full, the job is discarded. In the case that a node associated to server l is isolated, that is, has no edges, we define GklNd(N)(l) to be zero.

5.1.2. Drift and Graphon Mean Field Approximation.

For the deterministic drift, we replace the values of GNd(N)(k) by the ones of the graphon Gd(v) with d(v)01Gv,νdν and the sums over particles by an integral over (0,1]. For a given state x=(xs)s=0,,KL with xsL2(0,1], the drift evaluated at (u,s)(0,1]×{0,,KL} is defined by

Fu,sG(x)=xu,s𝟙s<KL01λL(Gu,vd(u)+Gu,vd(v))(12xv,s+svs+1xv,sv)dvxu,sμL𝟙s>0.

The graphon mean field approximation is then defined as in Equation (8).

5.1.3. Derivation of Accuracy Bounds.

Whereas edges between the server–dispatcher pair are sampled according to the stochastic sampling method of Section 3.2, the dependence of the rates on the node degree prevents a direct application of the results of Corollary 2. In particular, to apply Corollary 2, it is assumed that the graph edges are scaled by a factor of 1/N instead of the node degree. Yet we can obtain accuracy bounds similar to the one given by the corollary by changing the definition of the graph GN.

Corollary 3.

In the load-balancing example, there exists C>0 such that, with probability at least 12/N and for large enough N, the graph GN is sampled such that

E[XGN(t)|XGN(0),GN]xG(t,XGN(0))L2Clog(N)N.(15)

Proof.

For a sketch of the proof, we start by defining G˜klN(GklNd(N)(k)+GklNd(N)(l))N16, rk,l,ss+1,slN,pair=λL(12𝟙sl=s+𝟙sl>s)𝟙s<KL, and rk,ss1N,uni=μL𝟙s>0 with rN,pair being the pairwise transitions and rN,uni the unilateral transitions for s,s,sl{0,,KL}. This allows us to obtain the drift of the stochastic system similar to the one introduced in Equation (3), namely

Fk,sGN(X)=Xk,sslsl[N]16G˜klNNrk,l,ss+1,slN,pairXl,sXk,srk,ss1N,uni.

We proceed similarly for the drift of the graphon mean field approximation by defining G˜uv(Gu,vd(u)+Gu,vd(v))116, rk,l,ss+1,slpairλL(12𝟙sl=s+𝟙sl>s)𝟙s<KL and rk,ss1N,uniμL𝟙s>0 to rewrite

Fu,sG(x)=xu,s01svs16G˜uvrk,l,ss+1,svpairxv,svdvxu,srk,ss1N,uni.

Note that, for the above reformulations, the result of our main Theorem 1 is still applicable and yields constants CA,CB0 such that E[XGN(t)|GN]xG(t)L2CAN+CBG˜NG˜L2. Using the definition of the G˜N,G˜, we obtain G˜NG˜L2116(GNGL2NminkdN(k)+supu(0,1]|k=1NNdN(k)1u(k1/N,k/N]1d(u)|). For GNGL2, we can use the bound as in Corollary 2, which is of order O(logNN) with probability at least 12N and large enough N (as in Definition 2). To obtain similar bounds for the node degree, the multiplicative Chernoff bound can be used, that is, P(NdN(k)N(1γ)E[dN(k)])=P(dN(k)(1γ)E[dN(k)])exp(E[dn(k)]γ23). Taking γ=3logNE[dN(k)] yields P(NdN(k)N(1γ)E[dN(k)])2N. By the triangle inequality, we have |k=1NNdN(k)1u(k1/N,k/N]1d(u)||k=1N(NdN(k)E[NdN(k)])1u(k1/N,k/N]|+|k=1NE[NdN(k)] 1u(k1/N,k/N]1d(u)|. We apply the Chernoff bound to the first summand to show that the difference concentrates around zero, that is, P(NdN(k)N(1γ)E[dN(k)])12/N, and therefore, NdN(k)NE[dN(k)]N(1(1γ)E[dN(k)]1E[dN(k)])=O(logNN) with probability at least 12/N. The case NdN(k)N(1γ)E[dN(k)] follows using the same arguments. For the second summand, we use the statement of Online Lemma 8 to obtain an error bound of order O(1/N). This shows that, for large enough N, G˜NG˜L2 is of order O(logNN). Combining the two terms, we obtain a bound of order O(1/N)+O(log(N)/N)=O(log(N)/N). □

5.1.4. Implementation.

For the simulation, we set the parameters of the load-balancing system as follows: the arrival rate is set to λL=1, the server rate to μL=1.1 for all servers, and the maximal server capacity is KL=10. For each system size N, we sample a graph that remains fixed for all simulations and obtain the sample mean by averaging more than 2,000 sampled trajectories for all system sizes. To compute the solution of the graphon mean field approximation, we discretize the drift by a simple step discretization. To be more precise, let γN be the discretization parameter and Uγ={Uiγ}i=1..γ be the even partition of the interval (0,1] with Uiγ(i1/γ,i/γ]. We define by FBγ(x)u,si=1γ𝟙Uiγ(u)FB(x)i/γ,s the values of the discretized version of FB. Throughout the numerical experiments, we set γ=100. We choose this simple discretization method as it provides good approximation results and low computation times, that is, for a rudimentary implementation using a NumPy ordinary differential equation (ODE) solver, we are able to solve the discretization in a few seconds.4 Figures 2 and 3 show the results of our numerical experiments. Figure 2 shows the approximation accuracy for a single server and different system sizes. We see that already for N=40 the sample mean is very close to the approximation value, which supports the statement of Corollary 2. In Figure 3, we compare the values for the fraction of servers with at least s jobs for s=1,,4 as described in the figure caption. Remarkably, here, even for small system sizes, the values obtained by the sample mean are close to the ones obtained by the approximation. As we observe by Corollary 2 suggested behavior for single particles in Figure 2, the increased accuracy for N=20,30 is likely caused by an averaging effect and a well-connected graph instance GN.

Figure 2. The Evolution of P(XGNk,s(t)=1)=E[XGNk,s(t)], the Probability for a Server–Dispatcher Pair to Have s=0,,3 Jobs for t[0,2]
Notes. In each plot, the results for one system size N=20,30,40 are displayed. Throughout, the sample mean values are plotted against the values of the graphon mean field approximation.
Figure 3. A Comparison of the Values for the Fraction of Servers with at Least s Jobs Obtained by the Sample Mean and the Approximation
Note. The quantities are calculated as E[Qs(t)]=E[k[N]1NssXGNk,s] for the sample mean and qs(t)=01ssxGu,sdu for the approximation.

5.2. Heterogeneous Bike-Sharing System

5.2.1. Model.

We consider a bike-sharing model following the setup used in Fricker and Gast (2016) and Fricker et al. (2012). The model consists of NN bike stations, representing the particles in the system. Each station has finite capacity KBN. The system has a fleet of bikes of size MαN, which, at time t=0, is evenly distributed among the stations, that is, α bikes per station. The evolution of the system depends on the movement of bikes. We differ between the two cases; bikes in the system can either be stationary or in transit between stations. To align with the notations used in the theory part of the paper, we denote by SkN(t),i[N] the number of bikes at station i for time t0. For the system, heterogeneity comes from the varying popularity of stations. Hence, we denote by pB:(0,1]R0 the popularity function. Based on the popularity function pB, we define the graphon of the bike-sharing system by GB(u,v)pB(v)/01pB(ν)dν. For the system of size N, connectivity for the stations is obtained by deterministic sampling as described in Section 3.2; that is, we discretize the graphon based on the system size N. For two stations k,l[N], connectivity is, therefore, defined by GklN,BGB(k/N,l/N)=pB(l/N)/01pB(ν)dν. Based on the connectivity between stations, it remains to define the dynamics of the system. For a given state (S1,,SN)[KB]N, the bikes move between stations in the following way:

  • Customers arrive at a station k[N] with rate λB leading to the transitions

    SSekN  at rate    λB𝟙Sk>0.

  • The travel time of bikes between stations is exponentially distributed with rate μB>0. Hence, for station k[N], the arrival rate of bikes is the product of the scaled popularity of station times the traveling bikes (MkSkN) weighted by the travel time, that is, pB(k/N)01pB(ν)dν(MkSkN)μB. This implies the transition

    SS+ekNat ratepB(k/N)01pB(ν)dν(MkSkN)μB1Sk<KB.

For the above, the notation ekN refers to the unit vector of size N having a one at entry k and zeros everywhere else.

5.2.2. Drift and Limiting System.

To define the limiting system, we derive the drift implied by the above transitions and the defined graphon GB. We start by considering the indicator state representation as outlined in Section 2, that is, the drift is a vector of size K+1 of L2(0,1] functions. In contrast to the stochastic rates, for the drift, the sum over particles is replaced by an integral over and the values of GN replaced by the graphon values. For a state x=(xs)s=0,,K with xsL2(0,1], the drift of the system at (u,s)(0,1]×S={0,,KB} is defined by

Fu,sG(x)xu,s(pB(u)01pB(ν)dν(M01s=0KBxv,sdv)μB𝟙s<KBλB𝟙s>0).

By definition of the system and particularly the graphon, it is immediate that the assumptions of Theorem 1 and Corollary 1 hold, therefore guaranteeing the accuracy of the approximation.

5.2.3. Implementation and Results.

For our simulations, we set the popularity function of the bike-sharing system to pB(v)10.5v. The travel rate and customer arrival rate are μB=1 and λB=1, respectively. For the plots of Figures 4 and 5, we calculate the sample mean by averaging more than 7,500 simulations for each system size. For each plot in Figure 4, the mean field trajectory for a single item and state is plotted against the sample mean. Here, the horizontal axis represents time t and the vertical axis the probability for the item to be in the state. In Figure 5, a comparison of the sample mean against the values of the approximation for fixed time and state is shown. As used for the theoretical results, the state of the stochastic system is represented as a step function with constant value E[XGNk,s] on the intervals (k1/N,k/N] for k=1..N. In accordance with our theoretical results, the plot shows that, with increasing system size, the graphon mean field approximation becomes more accurate and captures the state distribution of the particles well.

Figure 4. The Sample Mean of E[XGNk,s(t)] for N=20,50 and the Value of the Graphon Mean Field Approximation xk/N,sG(t) for t[0,3]
Note. The plots are generated for the states s=3,6,10 and k=14,35.
Figure 5. For a Fixed t=2.5 and State s=3, the Plots Compare the Graphon Mean Field Approximation xG Against Sample Means for Systems of Size N=20,50
Notes. As for the main theorem of our results, we represent the values of the stochastic system as a step function with constant values on the intervals (k1/N,k/N],k[N]. The figure shows that, for increasing system size, the values of the stochastic system indeed approach the trajectory of the deterministic system. In the upper plots, the approximation is plotted against values of the sample mean for one system size N=20,50 each. In the lower plot, both functions are overlain for better comparison.

6. Proofs

This section provides the proofs of the main statements of this paper.

6.1. Proof of Lemma 2

Proof.

We prove the uniqueness and continuous differentiability of the differential Equation (8) as well as the Lipschitz properties of the drift. The proof is the consequence of two lemmas:

  • We show in Lemma 3 that the drift is locally Lipschitz continuous in L2. By Driver (2003), this implies the existence of a local solution and the uniqueness of this solution.

  • In Lemma 4, we show that the directional derivatives of FG are well-defined and Lipschitz continuous. This property ensures that the xG is also continuously differentiable (for a proof of this property in general Banach spaces, see, for example, Driver 2003). □

Lemma 3

(Local Lipschitz Continuity of the Drift). Let LFG=2(CR|S|+2CR|S|2G), where CR is the bound on the rate functions, ⦀G⦀ the operator norm of the graphon G and |S| the size of the finite state space. Then, for all x.=(x.,s)sS,y.=(y.,s)sS with x.,s,y.,sL2(0,1], and xL2,yL21 with |xu,s|,|yu,s|1 almost everywhere,5 we have

FG(x)FG(y)L2LFGxyL2.

Proof.

Define F^u,sG(x,y)Ru,sunixu+xuT01Ru,v,spairGu,vyvdv, that is, we replace xv by yv under the integral. Applying the triangle inequality to the L2 norm gives

FG(x)FG(y)L2=FG(x)F^G(x,y)+F^G(x,y)F(y)L2FG(x)F^G(x,y)L2+F^G(x,y)FG(y)L2.

Writing out the definitions and using the bounds of the rate vectors or matrices and the bound of the graphon, one immediately obtains

FG(x)F^G(x,y)L2=sS01(Ru,sunixu+xuT01Ru,v,spairGu,vxvdvRu,sunixuxuT01Ru,v,spairGu,vyvdv)2du=sS01(xuT01Ru,v,spairGu,v(xvyv)dv)2du2|S|3CRGxyL2,
and
F^G(x,y)FG(y)L2=sS01(Ru,suni(xuyu)+(xuyu)T01Ru,v,spairGu,vyvdv)2du(2CR|S|2+2|S|3CRG)xyL2.

Last, we conclude that FG(x)FG(y)L2(2(CR|S|2+2CR|S|3G))xyL2, where the |S|2 and |S|3 terms come from the vector and matrix notation used for the unilateral and pairwise rates as well as the sum over S. □

Lemma 4

(Lipschitz Continuous Directional Derivative of FG). The directional derivative of the drift FG for x=(xs)sS with xsL2(0,1] is given by

DxFu,sG(x)(h)Ru,sunihu+huT01Ru,v,spairGu,vxvdv+xuT01Ru,v,spairGu,vhvdv,(16)
where Ru,suni,Ru,v,spair, and G are Lebesgue integrable functions. Furthermore DxFu,sG(x)(h) is Lipschitz-continuous in x.

Proof.

Recall the definition of Fu,s(x)=Ru,sunixu+xuT01Ru,v,spairGu,vxvdv. We define DxFu,sG(x)(h) for (u,s)(0,1]×S as in Equation (16). To see that DxFG(x)(h) is a directional derivative of FG in xL2(0,1]S in direction hL2, we show that it fulfills

limϵ01ϵFG(x+ϵh)FG(x)DxFG(x)(ϵh)L2=0.

Fix ϵ>0. By definition,

FG(x+ϵh)FG(x)DxFG(x)(h)L22=01s(Ru,suni(xu+ϵhu)+(xu+ϵhu)T01Ru,v,spairGu,v(xv+ϵhv)dvRu,sunixuxuT01Ru,v,spairGu,vxvdvϵRunihuϵhuT01Ru,v,spairGu,vxvdvϵxuT01Ru,v,spairGu,vhvdv)2du=01s(ϵRu,sunihu+ϵxuT01Ru,v,spairGu,vhvdv+ϵhuT01Ru,v,spairGu,vxvdv+ϵ2huT01Ru,v,spairGu,vhvdvϵ(RunihuhuT01Ru,v,spairGu,vxvdvxuT01Ru,v,spairGu,vhvdv))2du=01s(ϵ2huT01Ru,v,spairGu,vhvdv)2du.

Dividing by ϵ and taking ϵ0 shows that DxFG(x)(h) is indeed a directional derivative of FG in x. By definition, DxFu,sG(x)(h) is linear in x and as Ru,suni,Ru,v,spair, and Gu,v are bounded functions, the Lipschitz continuity in L2 follows. □

6.2. Proof of Theorem 1

In the following, we present the proof of Theorem 1.

Proof.

Let XtGN be the L2(0,1]|S| representation of the stochastic system as defined in Section 2.4. For a fixed t0, define

νN(τ)=E[xG(tτ,XGN(τ))](17)
for which we suppress the dependence of the expectation on the graph GN and initial state XGN(0) from here on. Using the definition of νN, we rewrite
E[XGN(t)]xG(t,XGN(0))L2=sS01(E[XGNu,s(t)]xGu,s(t,XGN(0)))2du=sS01(νu,sN(t)νu,sN(0))2du.(18)

To compare the drift of the ODE against the drift of the stochastic process and ultimately bound them, we first want to rewrite νu,sN(t)νu,sN(0)=0tddτνu,sN(τ), with ddτνN(τ) being the quantity that fulfills νN(b)νN(a)=abddτνN(τ)dτ for arbitrary a,b[0,t] with a<b. In Online Lemma 5, we show that ddτν(τ) exists almost everywhere for τ(0,t) and is almost everywhere equal to

E[s01[DxxG(tτ,XGN(τ))(FG(XGN(τ))FGN(XGN(τ)))]v,sdv](19)

+E[R˜1(xG(tτ,XGN(τ)))]dτ,(20)
where the term R˜1 is defined in Equation (22) and refers to a Taylor remainder term.

In the above sum, DxxG(τ,XGN(τ))(FG(XGN(τ))FGN(XGN(τ))) is the directional derivative of xG in its initial condition in direction FG(XGN(τ))FGN(XGN(τ)). We aim to bound the sum by using the properties of the derivative of xG and the differences between the drift of the deterministic and stochastic system with respect to the L2 norm. The technical details to bound the remainder term and the difference between the drifts are moved to Online Lemmas 6 and 7. From the application of the latter lemmas, one obtains the bounds

CDx(0)(2LRpair+16CRpair2KRpairN16CRpair2KRpair2N2+CRpair2|S|2GGN)
for Equation (19) and CR˜/N for Equation (20). It follows by applying the bounds and rearranging terms that
E[XGN(t)]xG(t,XGN(0))L2CAN+CBGNG
for some finite constants CA,CB>0 additionally to the previous bound also depend on t. This concludes the proof. □

6.3. Proof of Corollary 2 and Corollary 1

In this section, we prove the corollaries of Theorem 1. In each case, we use an additional lemma to obtain a bound on GNG.

Proof (Proof of Corollary 2).

By the application of Theorem 1, we have

E[XGN(t)]xG(t,XGN(0))L2=CAN+CBGNG.

It, therefore, remains to bound the L2 distance GNG between the graphon G and graph GN. By application of Lemma 1 with probability at least 1δ and for large enough N

GNG4log(2N/δ)N+2(LG2KG2)N2+KGNψδ,G(N).

Defining and substitution δ=2/N into the above equation concludes the proof. □

Proof (Proof of Corollary 1).

The corollary is a direct implication of Theorem 1 and Online Lemma 8: because of GN representing a discretized version of G, it directly follows that GGN is of order O(1/N), which concludes the proof. □

7. Conclusion and Discussion

In this paper, we study an approximation for a system of particles interacting on a graph. We show that, when the interacting graph converges to a graphon, the underlying behavior of the stochastic system converges to a deterministic limit, which we call the graphon mean field approximation. Whereas this result is similar to other results in the literature—showing that graphon mean field approximations are asymptotically exact in some settings—our main contribution is to provide precise bounds on the accuracy of this approximation. We show indeed that the distance between the original finite-N system and the graphon mean field approximation can be bounded by a term O(1/N) that depends on the number of particles of the system plus a term O(GNG) that depends on the distance between the original graph GN and the graphon G when measured as an L2 operator.

This paper aims to be methodological. It shows that it is possible to obtain bounds for a system with a graph structure and not mere asymptotic convergence results. To keep the presentation reasonable, we intentionally consider a relatively simple model, for instance, by restricting our attention to pairwise interactions between nodes or unilateral jumps and by considering that the rate functions rN are discretized versions of the limiting rates r. We believe that, by doing so, the proof is easier to follow and could then be adapted to more general cases. In particular, there are two direct follow-ups of this work.

First, the focus of this paper is to study the case of dense graphs that converge to graphons. This implies that the average degree of a node is linear in the number of edges. We believe that our methodology could be adapted in the not-so-dense case in which the average degree, say d(N), goes to infinity at a sublinear rate. To do so, the scaling model should be changed: our model assumes that GN converges to G and that rates of transitions are of order O(1/N). One needs to consider graphs such that NGN/d(N) converges to the graphon G and to have interaction rates of order 1/d(N). Once this is done, the part of our methodology that uses generators (Section 6.2 and Online Lemma 6) would still be applicable but would give us a rate of O(1/d(N)) instead of O(1/N). We believe that most of the rest of the proof (that concerns the Lipschitz continuity of the graphon mean field approximation) would continue to hold except for Lemma 1 (on stochastic sampling) that requires the average degree to be relatively large. For the case of sparse graphs, the number of neighbors per node remains bounded when the number of nodes N goes to infinity. This requires a fundamentally different approach: studying such a problem is out of the scope of our tools because the graphon mean field approximation is not asymptotically exact for sparse graphs.

Second, in this paper, we restrict our attention to finite-time convergence. We believe that, if the graphon dynamics has a fixed point that attracts all trajectories and one could bound the rate at which the convergence to this fixed point occur, then a bound on the steady-state convergence can be obtained, for instance, by adapting the methodology of Stein presented in Gast (2017) and Ying (2016). The main technical difficulty would be to adapt the perturbation theory from these papers to the case of the solution of the graphon mean field approximation.

Acknowledgments

The authors thank the anonymous reviewers for their insightful comments about the paper.

Endnotes

1 The constants hidden behind the big-O notation are essentially linear on the number of discontinuity points plus the Lipschitz constant.

2 In the literature, graphons are often restricted to symmetric functions because they are limits of undirected graphs. In our case, we allow the interactions between nodes to be asymmetric. We, therefore, allow for asymmetric graphon. Considering a symmetric or asymmetric function G would not change the proofs.

3 Here, XGN(0) is interpreted as a vector in L2(0,1]|S|.

4 For intricate intensity and graphon functions, it might be necessary to refine and tune the discretization approach.

5 Here, almost everywhere means that the property holds except on a subset of (0,1] with measure zero.

References

  • Abbe E (2018) Community detection and stochastic block models. Foundations Trends® Comm. Inform. Theory 14(1–2):1–162.Google Scholar
  • Allmeier S, Gast N (2022) Mean field and refined mean field approximations for heterogeneous systems: It works! Proc. ACM Measurement Anal. Comput. Systems, vol. 6 (Association for Computing Machinery, New York), 1–43.Google Scholar
  • Aurell A, Carmona R, Dayanıklı G, Laurière M (2022) Finite state graphon games with applications to epidemics. Dynam. Games Appl. 12(1):49–81.Google Scholar
  • Avella-Medina M, Parise F, Schaub MT, Segarra S (2018) Centrality measures for graphons: Accounting for uncertainty in networks. IEEE Trans. Network Sci. Engrg. 7(1):520–537.Google Scholar
  • Bayraktar E, Wu R (2021) Mean field interaction on random graphs with dynamically changing multi-color edges. Stochastic Processes Appl. 141:197–244.Google Scholar
  • Bayraktar E, Chakraborty S, Wu R (2023) Graphon mean field systems. Ann. Appl. Probab. 33(5):3587–3619.Google Scholar
  • Bet G, Coppini F, Nardi FR (2024) Weakly interacting oscillators on dense random graphs. J. Appl. Probab. 61(1):255–278.Google Scholar
  • Bhamidi S, Budhiraja A, Wu R (2019) Weakly interacting particle systems on inhomogeneous random graphs. Stochastic Processes Appl. 129(6):2174–2206.Google Scholar
  • Braverman A, Dai JG (2017) Stein’s method for steady-state diffusion approximations of M/Ph/n+M systems. Ann. Appl. Probab. 27(1):550–581.Google Scholar
  • Braverman A, Dai JG, Feng J (2017) Stein’s method for steady-state diffusion approximations: An introduction through the Erlang-A and Erlang-C models. Stochastic Systems 6(2):301–366.LinkGoogle Scholar
  • Budhiraja A, Mukherjee D, Wu R (2019) Supermarket model on graphs. Ann. Appl. Probab. 29(3):1740–1777.Google Scholar
  • Caines PE, Huang M (2021) Graphon mean field games and their equations. SIAM J. Control Optim. 59(6):4373–4399.Google Scholar
  • Decreusefond L, Dhersin JS, Moyal P, Tran VC (2012) Large graph limit for an SIR process in random network with heterogeneous connectivity. Ann. Appl. Probab. 22(2):541–575.Google Scholar
  • Delmas JF, Frasca P, Garin F, Tran VC, Velleret A, Zitt PA (2023) Individual based SIS models on (not so) dense large random networks. Preprint, submitted February 26, https://arxiv.org/abs/2302.13385.Google Scholar
  • Driver BK (2003) Analysis tools with applications. Lecture notes. https://mathweb.ucsd.edu/∼bdriver/240-01-02/Lecture_Notes/anal.pdf.Google Scholar
  • Fricker C, Gast N (2016) Incentives and redistribution in homogeneous bike-sharing systems with stations of finite capacity. EURO J. Transportation Logist. 5(3):261–291.Google Scholar
  • Fricker C, Gast N, Mohamed H (2012) Mean field analysis for inhomogeneous bike sharing systems. Proc. 23rd Internat. Meeting Probabilistic Combin. Asymptotic Methods Anal. Algorithms (Montreal, Canada).Google Scholar
  • Ganguly A (2022) Non-Markovian interacting particle systems on large sparse graphs: Hydrodynamic limits and marginal characterizations. Unpublished PhD thesis, Brown University, Providence, RI.Google Scholar
  • Ganguly A, Ramanan K (2024) Hydrodynamic limits of non-Markovian interacting particle systems on sparse graphs. Electronic J. Probab. 29:1–63.Google Scholar
  • Gast N (2017) Expected values estimated via mean-field approximation are 1/N-accurate. Proc. ACM Measurement Anal. Comput. Systems 1(1):1–26.Google Scholar
  • Gast N, Van Houdt B (2017) A refined mean field approximation. Proc. ACM Measurement Anal. Comput. Systems 1(2):1–28.Google Scholar
  • Keliger D (2023) Universality of sis epidemics starting from small initial conditions. Preprint, submitted August 16, https://doi.org/10.2139/ssrn.4543174.Google Scholar
  • Kurtz TG (1970) Solutions of ordinary differential equations as limits of pure jump Markov processes. J. Appl. Probab. 7(1):49–58.Google Scholar
  • Kurtz TG (1971) Limit theorems for sequences of jump Markov processes approximating ordinary differential processes. J. Appl. Probab. 8(2):344–356.Google Scholar
  • Le Boudec JY, McDonald D, Mundinger J (2007) A generic mean field convergence result for systems of interacting objects. Fourth Internat. Conf. Quant. Evaluation Systems (IEEE, Piscataway, NJ), 3–18.Google Scholar
  • Lovász L (2012) Large Networks and Graph Limits, Colloquium Publications, vol. 60 (American Mathematical Society, Providence, RI).Google Scholar
  • McKean HP (1967) Propagation of chaos for a class of non-linear parabolic equations. Stochastic Differential Equations, Lecture Series in Differential Equations, Session 7, Catholic University, 41–57.Google Scholar
  • Mitzenmacher M (2001) The power of two choices in randomized load balancing. IEEE Trans. Parallel Distributed Systems 12(10):1094–1104.Google Scholar
  • Norman MF (1972) Markov Processes and Learning Models, vol. 84 (Academic Press, New York).Google Scholar
  • Ramanan K (2022) Beyond mean-field limits for the analysis of large-scale networks. Queueing Systems 100(3–4):345–347.Google Scholar
  • Roy A, Singh C, Narahari Y (2023) Recent advances in modeling and control of epidemics using a mean field approach. Sādhanā 48(4):207.Google Scholar
  • Rutten D, Mukherjee D (2023) Mean-field analysis for load balancing on spatial graphs. Proc. 2023 ACM SIGMETRICS Internat. Conf. Measurement Model. Comput. Systems (Association for Computing Machinery, New York) ,27–28.Google Scholar
  • Stein C (1986) Approximate computation of expectations. Lecture Notes-Monograph Ser. 7:i–164.Google Scholar
  • Van Der Hofstad R (2017) Random Graphs and Complex Networks (Cambridge University Press, Cambridge, UK).Google Scholar
  • Vizuete R, Frasca P, Garin F (2020) Graphon-based sensitivity analysis of sis epidemics. IEEE Control Systems Lett. 4(3):542–547.Google Scholar
  • Ying L (2016) On the approximation error of mean-field models. ACM SIGMETRICS Performance Evaluation Rev. 44(1):285–297.Google Scholar
  • Zhao Z, Mukherjee D (2024) Optimal rate-matrix pruning for heterogeneous systems. ACM SIGMETRICS Performance Evaluation Rev. 51(4):26–27.Google Scholar
  • Zhao Z, Mukherjee D, Wu R (2024) Exploiting data locality to improve performance of heterogeneous server clusters. Stochastic Systems 14(3):229–272.LinkGoogle Scholar