Hostname: page-component-586b7cd67f-t8hqh Total loading time: 0 Render date: 2024-11-22T15:51:20.530Z Has data issue: false hasContentIssue false

Network-based kinetic models: Emergence of a statistical description of the graph topology

Published online by Cambridge University Press:  02 February 2024

Marco Nurisso
Affiliation:
Department of Mathematical Sciences “G. L. Lagrange”, Politecnico di Torino, Turin, Italy CENTAI Institute, Turin, Italy
Matteo Raviola
Affiliation:
École Polytechnique Fédérale de Lausanne, Lausanne, Switzerland
Andrea Tosin*
Affiliation:
Department of Mathematical Sciences “G. L. Lagrange”, Politecnico di Torino, Turin, Italy
*
Corresponding author: A. Tosin; Email: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

In this paper, we propose a novel approach that employs kinetic equations to describe the collective dynamics emerging from graph-mediated pairwise interactions in multi-agent systems. We formally show that for large graphs and specific classes of interactions a statistical description of the graph topology, given in terms of the degree distribution embedded in a Boltzmann-type kinetic equation, is sufficient to capture the collective trends of networked interacting systems. This proves the validity of a commonly accepted heuristic assumption in statistically structured graph models, namely that the so-called connectivity of the agents is the only relevant parameter to be retained in a statistical description of the graph topology. Then, we validate our results by testing them numerically against real social network data.

Type
Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2024. Published by Cambridge University Press

1. Introduction

In recent years, kinetic models have gained great popularity as convenient tools to study interacting multi-agent systems [Reference Pareschi and Toscani14], which constitute the modelling paradigm for various socio-economic applications. Since such systems feature interconnected agents, a notion of graph is often naturally required in the models. A prominent prototype is opinion dynamics in social networks, where agents interact only with their own contacts, i.e. their first neighbours in the graph modelling the social network. The vertices of such a graph are the agents while the edges describe the connections among them. The problem is that network-based models become quickly complex as the number of vertices grows, thereby posing challenges from the point of view of both mathematical analysis and computation. It is therefore natural to look for statistical limit descriptions of the graph connections emerging when the size of the graph tends to infinity.

To this purpose, the notion of graphon has been introduced in graph theory [Reference Lovász9]. A graphon is a suitable limit of a sequence of graphs of growing size conceived so as to represent large networks by a continuous model. Informally, given a graph $\mathcal{G}_N$ with, say, $N\in \mathbb{N}$ vertices one first associates with the adjacency matrix $\textbf{M}_N\in \mathbb{R}^{N\times N}$ of $\mathcal{G}_N$ a piecewise constant function $W_N$ , which reproduces the entries of $\textbf{M}_N$ on a $N\times N$ discretisation of $[0,\,1]\times [0,\,1]\subset \mathbb{R}^2$ in sub-squares of side length $1/N$ . Next, one takes the limit $N\to \infty$ of the sequence $\{W_N\}_{N\in \mathbb{N}}$ , under a suitable notion of convergence, to possibly get a limit function $W\;:\;[0,\,1]^2\to [0,\,1]$ , the so-called graphon, which describes the connections of the infinite-size limit graph.

In this paper, we take inspiration loosely from these ideas to incorporate a statistical continuous description of graph connections in Boltzmann-type kinetic equations used to represent statistically the collective dynamics of multi-agent systems. Our main contribution is that, under the classical molecular chaos hypothesis, we obtain kinetic equations able to account for the heterogeneous structure of the connections among the agents. We show that, for particular classes of binary interactions, these equations rely only on a statistical description of the graph topology. In particular, we formally prove that all information about the adjacency matrix of the graph may be lumped in the notion of degree distribution of the graph, i.e. the statistical distribution of the numbers of incoming and outgoing edges of the vertices.

Figure 1. (a) Graphical representation of the interaction framework considered in this work. Each agent is identified with a vertex in a directed graph and is characterised by a probability distribution of their state which evolves in time. (b In an action-reaction interaction between agents $i,\,j\in \mathcal{I}$ connected by the edge $(i,\,j)\in \mathcal{E}$ , the states $v$ , $v_\ast$ of both agents are updated. c. In an action-action interaction, the state $v_\ast$ of agent $j$ is updated only if $(j,\,i)\in \mathcal{E}$ .

In more detail, our approach develops along the following line. The main idea is to augment the state of each agent by including in it, besides the variable, say $v$ , characterising the interaction dynamics, two additional variables representing the incoming and outgoing degrees of the agent. Hence, the kinetic distribution function on the augmented state space describes the distribution of agents possessing a certain characteristic variable $v$ plus a certain number of incoming and outgoing connections. Passing formally to the limit of an infinite number of agents, i.e. of vertices of the graph, we show that this kinetic description converges, at least for certain classes of binary interactions, to a classical Boltzmann-type equation defined on the augmented state space and whose interaction kernel carries the information about the graph degrees. These therefore affect the rate of binary interactions among the agents, which turns out to be all the relevant information about agent connections from a statistical point of view.

It is worth recalling that previous works in this and related contexts approach the problem of upscaling particle descriptions to aggregate descriptions of networked interactions in different ways. Without claiming to be exhaustive, and confining ourselves to particularly recent contributions, we mention [Reference Burger1], where networks are specified by linking structural variables to the agents and introducing interaction rates depending on them; [Reference Burger2], in which the joint evolution of the agents’ states and the network itself is considered; [Reference Coppini, Dietert and Giacomin3, Reference Delattre, Giacomin and Luçon4], in which particular classes of random graphs are studied.

After this introduction, the paper is organised as follows. In Section 2, we derive kinetic equations on graphs starting from graph-mediated particle interactions. Here, the approach is technically reminiscent of that proposed in [Reference Loy and Tosin11, Reference Loy and Tosin12], in particular for the fact that the graph is still a finite-size one and the connections among the vertices are described in detail by the adjacency matrix. A distribution function of the characteristic variable $v$ is associated with every vertex, viz. agent, and a system of coupled kinetic equations is derived, the coupling being dictated by the adjacency matrix of the graph (cf. Figure 1(a)). In Section 3, we show that from this setting a single kinetic equation, defined on the aforementioned augmented state space and which incorporates a degree-based continuous description of the graph connections, naturally emerges in the limit of an infinite number of vertices/agents if one considers a very special class of binary interactions among the agents, that we call polarised memory interactions. In Section 4, we prove that the limiting kinetic equation so obtained can be recast in the form of a classical Boltzmann-type equation, whose interaction kernel features a precise dependence on the incoming and outgoing degrees of a generic representative vertex/agent of the system. In Section 5, we investigate to what extent this result can be extended to a more general class of binary interactions, namely that of separable interactions which includes, as a special case, linear interactions. In Section 6, we prove that a quite natural rank-one approximation of the adjacency matrix of any graph allows for the extension of the results of the previous sections to arbitrary interaction rules. In Section 7, we validate our theoretical findings by comparing numerically the dynamics produced by the original graph-mediated particle interactions and the solution to our Boltzmann-type equation, using data of user connections coming from a real social network. Finally, in Section 8 we draw some conclusions and we briefly sketch further possible research directions.

2. Kinetic description of graph-mediated interactions

2.1. Preliminaries

Since social networks are among the most prominent examples of graphs encountered in social contexts, and various types of dynamics, often involving user opinions, take place on them, in the following we will keep as reference an application in the realm of opinion formation. We will call opinion a variable $v\in \mathcal{O}\subseteq \mathbb{R}$ , which is part of the microscopic state of a generic agent. However, it should be noted that the developments that follow are completely general and can be applied to other contexts as well.

The opinions of the agents evolve because of interactions with other connected agents. The fundamental assumption we make, as usual in collisional kinetic theory, is that only binary interactions are relevant. In other words, we postulate that interactions among three or more agents are much rarer than those between two agents, so that their effect can be neglected.

Let us consider a generic representative agent, whose microscopic state is described by a stochastic process $(X,\,V_t)_{t\geq 0}$ . In more detail, $X\in \mathcal{I}$ is the location of the agent on a graph $\mathcal{G}=(\mathcal{I},\,\mathcal{E})$ , $\mathcal{I}$ being the set of vertices and $\mathcal{E}$ the set of edges of $\mathcal{G}$ . In practice, every agent is a vertex of $\mathcal{G}$ . We assume that the graph is static, i.e. that connections among the agents do not change in time. Conversely, $V_t\;:\;\Omega \to \mathcal{O}$ is a random variable from an abstract sample space $\Omega$ to the space of the opinions $\mathcal{O}$ denoting the opinion of the agent at time $t\geq 0$ . This random variable evolves in time due to binary interactions with other agents mediated by the connections encoded in $\mathcal{E}$ , thereby producing a stochastic process $\{V_t,\,t\in [0,\,+\infty )\}$ . Overall, we describe statistically the microscopic state $(X,\,V_t)$ of the agent by means of a probability measure $f=f(x,v,t)$ , which we understand as discrete in $x\in \mathcal{I}$ and generically continuous in $v\in \mathcal{O}$ . Hence $f$ can be given the form

(2.1) \begin{equation}f(x,v,t)=\frac{1}{N}\sum_{i\in \mathcal{I}}f_{i}(v,t)\otimes \delta (x-i)\end{equation}

where $N=\left \vert \mathcal{I}\right \vert$ is the total number of agents, viz. vertices, of the graph while $\delta (\!\cdot\!)$ denotes the Dirac delta distribution centred at the origin. Moreover, $f_i=f_i(v,t)\;:\;\mathcal{O}\times [0,\,+\infty )\to \mathbb{R}_+$ is the probability density of the opinion $V_t$ of the agent $X=i$ . See Figure 1(a). We require

\begin{align*} \int _{\mathcal{O}} f_i(v,t)\,dv=1, \qquad \forall \,t\geq 0,\ \forall \,i\in \mathcal{I}, \end{align*}

which implies consistently $\int _{\mathcal{I}}\int _{\mathcal{O}} f(x,v,t)\,dv\,dx=1$ at all times. Notice that then

\begin{align*} \operatorname{Prob}\!(X=i)=\frac{1}{N}, \qquad \forall \,i\in \mathcal{I}, \end{align*}

meaning that every agent has the same probability to be sampled for an interaction. This corresponds to an a priori uniform importance of each agent within the graph. Of course, one may reasonably expect that more connected agents – the so-called influencers – contribute more to the formation of opinions on the social network. However, we believe that this should be an emergent feature of the model rather than an ad hoc assumption.

2.2. Interaction algorithms

An interaction algorithm is a rule describing how agents interact in pairs and modify consequently their opinions over time. In particular, in a given time step $\Delta{t}\gt 0$ we assume that an agent $(X,\,V_t)\in \mathcal{I}\times \mathcal{O}$ changes their opinion to $V_{t+\Delta{t}}\in \mathcal{O}$ because of an interaction with another agent $(X^\ast,\,V^\ast _t)\in \mathcal{I}\times \mathcal{O}$ according to the following scheme:

(2.2) \begin{equation} V_{t+\Delta{t}}=(1-\Theta )V_t+\Theta V'_{\!\!t}, \end{equation}

where $\Theta \in \{0,\,1\}$ is a random variable taking into account whether the interaction between the two agents actually produces ( $\Theta =1$ ) or not ( $\Theta =0$ ) an opinion change. Furthermore, $V_t'\in \mathcal{O}$ is the new opinion acquired by agent $(X,\,V_t)$ in consequence of a successful interaction.

In more detail, we let

\begin{align*} \Theta \sim \operatorname{Bernoulli}\!\left (B(X,X^\ast )\Delta{t}\right ), \end{align*}

meaning that the probability of a successful interaction is proportional to the interaction time step $\Delta{t}$ through an interaction kernel $B=B(X,X^\ast )$ , which encodes the information about the edges of the graph, viz. the connections among the agents. Specifically, we assume:

(2.3) \begin{equation} B(X,X^\ast )=1\quad \text{if } (X,\,X^\ast )\in \mathcal{E}, \qquad B(X,X^\ast )=0\quad \text{if } (X,\,X^\ast )\not \in \mathcal{E}, \end{equation}

where the ordered pair $(X,\,X^\ast )$ denotes the edge from vertex $X$ to vertex $X^\ast$ . For consistency, we require $\Delta{t}\leq 1$ , which imposes a limitation on the maximum admissible time step. However, we anticipate that this limitation will be unimportant when considering the continuous time limit $\Delta{t}\to 0^{+}$ .

We model the post-interaction opinion as a random variable $V'_{\!\!t}\;:\;\Omega \to \mathcal{O}$ depending in general on the pre-interaction opinions $V_t$ , $V^\ast _t$ of the interacting agents:

\begin{align*} V'_{\!\!t}(\omega )=\Psi (V_t(\omega ),V^\ast _t(\omega ),\omega ), \qquad \omega \in \Omega, \end{align*}

$\Psi \;:\; \mathcal{O}^2\times \Omega \to \mathcal{O}$ being a possibly stochastic given function.

Also, the agent $(X^\ast,\,V^\ast _t)$ may simultaneously change opinion within the same binary interaction. The way in which this happens may vary depending on the characteristics of the interactions allowed by the social network.

2.2.1.Action-reactioninteractions

Assume the social network is such that an interaction of the agent in vertex $X$ with the agent in vertex $X^\ast$ necessarily implies also the interaction of the agent in vertex $X^\ast$ with the agent in vertex $X$ . Technically, the ‘forward’ interaction of $X$ with $X^\ast$ takes place only if the edge $(X,\,X^\ast )$ exists in $\mathcal{G}$ , i.e. if $(X,\,X^\ast )\in \mathcal{E}$ , whereas the ‘backwards’ interaction of $X^\ast$ with $X$ may take place regardless of the existence of the edge $(X^\ast,\,X)$ in $\mathcal{G}$ . In other words, while the agent in vertex $X$ needs to decide actively to interact with the agent in vertex $X^\ast$ the latter simply reacts passively to the action of the former. See Figure 1(b).

Therefore, agent $(X^\ast,\,V^\ast _t)$ updates their opinion through a rule analogous to that of agent $(X,\,V_t)$ :

\begin{align*} V^\ast _{t+\Delta{t}}=(1-\Theta )V^\ast _t+\Theta V^{\ast \prime }_t, \end{align*}

in particular with the same random variable $\Theta$ whose law depends on $B(X,X^\ast )$ but not on $B(X^\ast,X)$ . Furthermore, the interaction kernel $B$ need not be symmetric. The post-interaction opinion

\begin{align*} V^{\ast \prime }_t(\omega )=\Psi _\ast (V^\ast _t(\omega ),V_t(\omega ),\omega ), \qquad \omega \in \Omega \end{align*}

is defined through a function $\Psi _\ast \;:\; \mathcal{O}^2\times \Omega \to \mathcal{O}$ possibly different from $\Psi$ .

Summarising, for ‘action-reaction’ interactions we consider the following general algorithm:

(2.4) \begin{align} \begin{aligned}[c] V_{t+\Delta{t}} &= (1-\Theta )V_t+\Theta \Psi (V_t,V^\ast _t,\omega ) \\[5pt] V^\ast _{t+\Delta{t}} &= (1-\Theta )V^\ast _t+\Theta \Psi _\ast (V^\ast _t,V_t,\omega ). \end{aligned} \end{align}

The interacting agents $(X,\,V_t)$ , $(X^\ast,\,V^\ast _t)$ are sampled randomly and uniformly at each time step.

2.2.2.Action-action’ interactions

Assume instead that the social network allows for an interaction of vertex $X$ with vertex $X^\ast$ , and simultaneously of vertex $X^\ast$ with vertex $X$ , only if each vertex is explicitly linked to the other, i.e. only if $(X,\,X^\ast ),\,(X^\ast,\,X)\in \mathcal{E}$ . In other words, agents in either vertex need to take an action actively to interact with each other; none of them simply reacts to the action of the other. See Figure 1(c).

Then, the random variable discriminating whether agent $(X^\ast,\,V^\ast _t)$ updates their opinion in the time step $\Delta{t}$ is in general different from $\Theta$ :

\begin{align*} \Theta _\ast \sim \operatorname{Bernoulli}\!\left (B(X^\ast,X)\Delta{t}\right ) \end{align*}

and

\begin{align*} V^\ast _{t+\Delta{t}}=(1-\Theta _\ast )V^\ast _t+\Theta _\ast V^{\ast \prime }_t \end{align*}

with

\begin{align*} V^{\ast \prime }_t(\omega )=\Psi _\ast (V^\ast _t(\omega ),V_t(\omega ),\omega ), \qquad \omega \in \Omega. \end{align*}

Again, the interaction kernel $B$ need not be symmetric.

Overall, for ‘action-action’ interactions we consider the following general algorithm:

(2.5) \begin{align} \begin{aligned}[c] V_{t+\Delta{t}} &= (1-\Theta )V_t+\Theta \Psi (V_t,V^\ast _t,\omega ) \\[5pt] V^\ast _{t+\Delta{t}} &= (1-\Theta _\ast )V^\ast _t+\Theta _\ast \Psi _\ast (V^\ast _t,V_t,\omega ), \end{aligned} \end{align}

the interacting agents $(X,\,V_t)$ , $(X^\ast,\,V^\ast _t)$ being sampled again randomly and uniformly at each time step.

Remark 2.1. If the interaction kernel $B$ is symmetric, i.e.

\begin{align*} B(X,X^\ast )=B(X^\ast,X), \qquad \forall \,X,\,X^\ast \in \mathcal{I}, \end{align*}

then ‘action-reaction’ interactions may be interpreted as ‘action-action’ interactions over an undirected graph. Indeed, the symmetry of $B$ together with the presence of $\Theta$ in both interaction rules of algorithm (2.4) implies that vertex $X^\ast$ is linked to vertex $X$ whenever the converse is true and that the edge connecting them is the same in both directions.

On the other hand, for a general non-symmetric interaction kernel $B$ ‘action-action’ interactions may be regarded as binary interactions on a directed graph.

2.3. Derivation of kinetic equations

A kinetic description of algorithms (2.4), (2.5) amounts to evolution equations for the probability distributions $f_i$ of the opinion of the agents. To derive them, we adopt a classical procedure of the kinetic theory of multi-agent systems, see e.g. [Reference Fraia and Tosin5, Appendix A] or [Reference Pareschi and Toscani14].

In the following, we develop explicit calculations for the case of ‘action-reaction’ interactions, i.e. for the interaction algorithm (2.4). Afterwards, we will indicate the necessary modifications to treat also the case of ‘action-action’ interactions with algorithm (2.5).

Let $\Phi =\Phi (x,v)\;:\;\mathcal{I}\times \mathcal{O}\to \mathbb{R}$ be an arbitrary observable (test function), i.e. any quantity that can be computed out of the knowledge of the microscopic state of a generic representative agent of the system. From the first equation in (2.4), taking the expectation of the post-interaction observable, we have:

\begin{align*}{\mathbb{E}}[\Phi (X,V_{t+\Delta{t}})] &={\mathbb{E}}\Bigl [{\mathbb{E}}\bigl [\Phi \bigl (X,(1-\Theta )V_t+\Theta \Psi (V_t,V^\ast _t,\omega )\bigr )\vert X,X^\ast \bigr ]\Bigr ] \\[5pt] &={\mathbb{E}}\!\left [\Phi (X,V_t)\left (1-B(X,X_\ast )\Delta{t}\right )+\Phi \bigl (X,\Psi (V_t,V^\ast _t,\omega )\bigr )B(X,X^\ast )\Delta{t}\right ]. \end{align*}

Rearranging the terms and dividing both sides by $\Delta{t}$ gives

\begin{align*} \frac{{\mathbb{E}}[\Phi (X,V_{t+\Delta{t}})]-{\mathbb{E}}[\Phi (X,V_t)]}{\Delta{t}}={\mathbb{E}}\left [B(X,X^\ast )\bigl (\Phi (X,\Psi (V_t,V^\ast _t,\omega ))-\Phi (X,V_t)\bigr )\right ], \end{align*}

whence taking the limit $\Delta{t}\to 0^{+}$ yields formally

(2.6) \begin{equation} \frac{d{\mathbb{E}}[\Phi (X,V_t)]}{dt}={\mathbb{E}}\left [B(X,X^\ast )\bigl (\Phi (X,\Psi (V_t,V^\ast _t,\omega ))-\Phi (X,V_t)\bigr )\right ]. \end{equation}

Similar calculations based on the second equation in (2.4) produce

(2.7) \begin{equation} \frac{d{\mathbb{E}}[\Phi (X^\ast,V^\ast _t)]}{dt}={\mathbb{E}}\left [B(X,X^\ast )\bigl (\Phi (X^\ast,\Psi _\ast (V^\ast _t,V_t,\omega ))-\Phi (X^\ast,V^\ast _t)\bigr )\right ]. \end{equation}

We now observe that both pairs $(X,V_t)$ and $(X^\ast,V^\ast _t)$ refer to a generic representative agent of the system, hence they have the same probability law. In particular, ${\mathbb{E}}[\Phi (X,V_t)]={\mathbb{E}}[\Phi (X^\ast,V^*_t)]$ so that, summing (2.6) and (2.7), we deduce

\begin{align*} \frac{d{\mathbb{E}}[\Phi (X,V_t)]}{dt}=\frac{1}{2}{\mathbb{E}}\Bigl [B(X,X^\ast )\Bigl (&\Phi (X,\Psi (V_t,V^\ast _t,\omega ))+\Phi (X^\ast,\Psi _\ast (V^\ast _t,V_t,\omega )) \\[5pt] &-\Phi (X,V_t)-\Phi (X^\ast,V^\ast _t)\Bigr )\Bigr ] \end{align*}

and finally, making use of the probability measure $f$ to compute the remaining expectations,

(2.8) \begin{align} \begin{aligned}[b] &\frac{d}{dt}\int _{\mathcal{I}}\int _{\mathcal{O}}\Phi (x,v)f(x,v,t)\,dv\,dx= \\[5pt] &=\int _{\mathcal{I}^2}\int _{\mathcal{O}}\int _{\mathcal{O}} B(x,x_\ast )\frac{\left \langle \Phi (x,v')+\Phi (x_\ast,v'_{\!\!\ast})-\Phi (x,v)-\Phi (x_\ast,v_\ast )\right \rangle }{2}f(x,v,t)f(x_\ast,v_\ast,t)\,dv\,dv_\ast \,dx\,dx_\ast, \end{aligned} \end{align}

where we have denoted

(2.9) \begin{equation} v'=\Psi (v,v_\ast,\omega ), \qquad v'_{\!\!\ast}=\Psi _\ast (v_\ast,v,\omega ) \end{equation}

for brevity and where $\left \langle \cdot \right \rangle$ denotes expectation with respect to the possible stochasticity of the functions $\Psi$ , $\Psi _\ast$ .

Notice that (2.8) is required to hold for all test functions $\Phi$ . As such, it is a weak equation for the distribution function $f$ . The corresponding strong form might be given but it is irrelevant for the sequel, therefore we neglect it.

Remark 2.2. Equation (2.8) is written under the assumption of propagation of chaos, meaning that any two potentially interacting agents are sampled independently of each other. This assumption is classically used, e.g. in the Boltzmann-type kinetic theory to obtain a closed equation for the one-particle distribution function $f$ , as it allows one to factorise the joint probability measure $f_2=f_2(x,x_\ast,v,v_\ast,t)$ of the interacting agents in the product $f(x,v,t)f(x_\ast,v_\ast,t)$ .

From (2.8), with a convenient choice of the test function $\Phi$ , it is possible to recover a system of (weak) equations for the $f_i$ ’s. Let $\Phi (x,v)=\phi _i(x)\varphi (v)$ , where $\phi _i\;:\;\mathcal{I}\to \mathbb{R}$ is such that $\phi _i(i)=1$ while $\phi _i(x)=0$ for all $x\in \mathcal{I}\setminus \{i\}$ and $\varphi \;:\; \mathcal{O}\to \mathbb{R}$ is arbitrary. Then, plugging (2.1) into (2.8) yields:

(2.10) \begin{align} \begin{aligned}[b] \frac{d}{dt}\int _{\mathcal{O}}\varphi (v)f_i(v,t)\,dv &= \frac{1}{2N}\sum _{j\in \mathcal{I}}B(i,j)\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v')-\varphi (v)\right \rangle f_i(v,t)f_j(v_\ast,t)\,dv\,dv_\ast \\[5pt] &\phantom{=} +\frac{1}{2N}\sum _{j\in \mathcal{I}}B(j,i)\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v'_{\!\!\ast})-\varphi (v_\ast )\right \rangle f_j(v,t)f_i(v_\ast,t)\,dv\,dv_\ast, \quad i\in \mathcal{I}. \end{aligned} \end{align}

This equation can also be obtained, still under the assumption of propagation of chaos, from the kinetic equation derived in [Reference Burger1], which stems from a BBGKY-type hierarchy. Moreover, (2.10) can be conveniently recast in matrix form by introducing the vector-valued distribution function $\textbf{f}(v,t)\;:\!=\;(f_i(v,t))_{i\in \mathcal{I}}$ and the matrix $\textbf{M}\;:\!=\;(B(i,j))_{i,j\in \mathcal{I}}\in \mathbb{R}^{N\times N}$ :

(2.11) \begin{align} \begin{aligned}[b] \frac{d}{dt}\int _{\mathcal{O}}\varphi (v)\textbf{f}(v,t)\,dv &= \frac{1}{2N}\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v')-\varphi (v)\right \rangle \textbf{f}(v,t)\odot \textbf{M}\textbf{f}(v_\ast,t)\,dv\,dv_\ast \\[5pt] &\phantom{=} +\frac{1}{2N}\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v'_{\!\!\ast})-\varphi (v_\ast )\right \rangle \textbf{M}^T\textbf{f}(v,t)\odot \textbf{f}(v_\ast,t)\,dv\,dv_\ast, \end{aligned} \end{align}

where $\odot$ denotes the Hadamard product and $\textbf{M}^T$ the transpose matrix of $\textbf{M}$ . Note that $\textbf{M}$ is the adjacency matrix of $\mathcal{G}$ .

In the case of ‘action-action’ interactions, owing to the second equation in (2.5), equation (2.7) is replaced by

(2.12) \begin{equation} \frac{d{\mathbb{E}}[\Phi (X^\ast,V^\ast _t)]}{dt}={\mathbb{E}}\left [B(X^\ast,X)\bigl (\Phi (X^\ast,\Psi _\ast (V^\ast _t,V_t,\omega ))-\Phi (X^\ast,V^\ast _t)\bigr )\right ], \end{equation}

which, added to (2.6), produces now

\begin{align*} \frac{d}{dt}\int _{\mathcal{I}}\int _{\mathcal{O}} &\Phi (x,v)f(x,v,t)\,dv\,dx= \\[5pt] &=\frac{1}{2}\int _{\mathcal{I}^2}\int _{\mathcal{O}}\int _{\mathcal{O}} B(x,x_\ast )\left \langle \Phi (x,v')-\Phi (x,v)\right \rangle f(x,v,t)f(x_\ast,v_\ast,t)\,dv\,dv_\ast \,dx\,dx_\ast \\[5pt] &\phantom{=} +\frac{1}{2}\int _{\mathcal{I}^2}\int _{\mathcal{O}}\int _{\mathcal{O}} B(x_\ast,x)\left \langle \Phi (x_\ast,v'_{\!\!\ast})-\Phi (x_\ast,v_\ast )\right \rangle f(x,v,t)f(x_\ast,v_\ast,t)\,dv\,dv_\ast \,dx\,dx_\ast \end{align*}

in place of (2.8) and finally

(2.13) \begin{align} \begin{aligned}[b] \frac{d}{dt}\int _{\mathcal{O}}\varphi (v)\textbf{f}(v,t)\,dv &= \frac{1}{2N}\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v')-\varphi (v)\right \rangle \textbf{f}(v,t)\odot \textbf{M}\textbf{f}(v_\ast,t)\,dv\,dv_\ast \\[5pt] &\phantom{=} +\frac{1}{2N}\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v'_{\!\!\ast})-\varphi (v_\ast )\right \rangle \textbf{M}\textbf{f}(v,t)\odot \textbf{f}(v_\ast,t)\,dv\,dv_\ast, \end{aligned} \end{align}

in place of (2.11). Notice that if $B$ is symmetric, then so is $\textbf{M}$ , and hence, (2.11) and (2.13) coincide.

3. Statistical description of the connections

System (2.10), or equivalently (2.11), describes the evolution of the probability density of the opinion of each user of the social network. Therefore, it is in general not easily amenable to analytical or numerical investigations, because one may reasonably expect that the total number $N$ of agents, hence of kinetic equations, is quite large in all realistic applications.

To get rid of the necessity to track, also at the kinetic level, individual agents, viz. vertices of $\mathcal{G}$ , one may look for the global opinion distribution on the social network, i.e. the $v$ -marginal distribution of $f$ in (2.1):

\begin{align*} F(v,t)\;:\!=\;\int _{\mathcal{I}} f(x,v,t)\,dx=\frac{1}{N}\sum _{i\in \mathcal{I}}f_i(v,t)=\frac{1}{N}\textbf{1}^T\textbf{f}(v,t), \end{align*}

where $\textbf{1}^T=(1,\,\dots,\,1)\in \mathbb{R}^N$ .

Let us focus preliminarily on ‘action-reaction’ interactions. Premultiplying (2.11) by $\frac{1}{N}\textbf{1}^T$ , we get

(3.1) \begin{equation} \frac{d}{dt}\int _{\mathcal{O}}\varphi (v)F(v,t)\,dv=\frac{1}{2N^2}\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v')+\varphi (v'_{\!\!\ast})-\varphi (v)-\varphi (v_\ast )\right \rangle \textbf{f}^T(v,t)\textbf{M}\textbf{f}(v_\ast,t)\,dv\,dv_\ast \end{equation}

which however is not a closed equation for $F$ , because the right-hand side still requires the detailed knowledge of the connections of the graph and of the opinion distribution of each agent.

In order to draw self-consistent information from (3.1), we restrict at first to classes of sufficiently simple interaction dynamics, yet capable of giving rise to non-trivial collective trends. To this purpose, we introduce the following

Definition 3.1. We say that an interaction rule

\begin{align*} v'=\Psi (v,v_\ast,\omega ) \end{align*}

has perfect memory if $\Psi$ is constant w.r.t. $v_\ast$ , so that the post-interaction opinion $v'$ of the agent with pre-interaction opinion $v$ is independent of the opinion $v_\ast$ of the other interacting agent.

Conversely, we say that the above interaction rule is memoryless if $\Psi$ is constant w.r.t. $v$ , so that the post-interaction opinion $v'$ of the agent with pre-interaction opinion $v$ depends only on the opinion $v_\ast$ of the other interacting agent (plus possibly independent stochastic effects).

We call polarised memory interactions the class of perfect memory and memoryless interactions.

Remark 3.2. In the context of opinion formation, the term memory introduced in Definition 3.1 may be understood as a synonym of conviction. Specifically, a perfect memory interaction is one in which an agent has a so strong conviction that they disregard completely the opinion of the other agent when forming their own post-interaction opinion. This is, for instance, the case of opinion leaders. Conversely, a memoryless interaction is one in which an agent has a so weak conviction that their post-interaction opinion is influenced completely by the opinion of the other agent and is independent of their own pre-interaction opinion. This may happen, e.g. among opinion followers.

In the following, however, we keep the term ‘memory’ as it is somehow more general and, as such, more easily adaptable, in the abstract, also to applications different from opinion formation.

Example 3.3. In the Ochrombel simplification [Reference Ochrombel13] of the Sznajd model [Reference Sznajd-Weron and Sznajd16] of opinion dynamics, the interaction rules are

\begin{align*} v'=v, \qquad v'_{\!\!\ast}=v. \end{align*}

They are both polarised memory interactions, and, in particular, the first rule is a perfect memory one while the second rule is memoryless.

Motivated by Example 3.3, let us focus on interaction rules (2.9) with $\Psi =\Psi (v,\omega )$ (perfect memory) and $\Psi _\ast =\Psi _\ast (v,\omega )$ (memoryless). If this is the case, the right-hand side of (3.1) may be rewritten as

\begin{align*} \frac{1}{2N^2}\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v')+\varphi (v'_{\!\!\ast})-\varphi (v)-\varphi (v_\ast )\right \rangle \textbf{f}^T(v,t)\textbf{M}\textbf{f}(v_\ast,t)\,dv\,dv_\ast = \\[5pt] =\frac{1}{2N^2}\int _{\mathcal{O}}\left \langle \varphi (v')+\varphi (v'_{\!\!\ast})-\varphi (v)\right \rangle \textbf{f}^T(v,t)\,dv\ \textbf{M}\textbf{1}-\textbf{1}^T\textbf{M}\ \frac{1}{2N^2}\int _{\mathcal{O}}\varphi (v_\ast )\textbf{f}(v_\ast,t)\,dv_\ast. \end{align*}

Let

(3.2) \begin{equation} \textbf{w}^{-}\;:\!=\;\textbf{M}^T\textbf{1}, \qquad \textbf{w}^{+}\;:\!=\;\textbf{M}\textbf{1}, \end{equation}

be the vectors of the incoming ( $-$ ) and outgoing ( $+$ ) degrees, viz. the numbers of incoming and outgoing edges of each of the vertices of the graph $\mathcal{G}$ . Using them and taking advantage of the previous calculations, we rewrite (3.1) as

(3.3) \begin{equation} \frac{d}{dt}\int _{\mathcal{O}}\varphi (v)F(v,t)\,dv=\frac{1}{N^2}\int _{\mathcal{O}}\left \langle (\textbf{w}^{+})^T\frac{\varphi (v')+\varphi (v'_{\!\!\ast})}{2}-\frac{(\textbf{w}^{-})^T+(\textbf{w}^{+})^T}{2}\varphi (v)\right \rangle \textbf{f}(v,t)\,dv. \end{equation}

Now, the crucial point to obtain a kinetic formulation free from references to single vertices, viz. individual agents, is to augment the space of microscopic states to include also information on the connections of a generic representative vertex of the graph $\mathcal{G}$ . This way, such an information will be amenable to a statistical description. This may be difficult to do in general in (3.1), while it is doable in (3.3) because here the adjacency matrix $\textbf{M}$ of $\mathcal{G}$ is, in a sense, lumped in $\textbf{w}^{-}$ , $\textbf{w}^{+}$ .

For $i\in \mathcal{I}$ , let $\operatorname{indeg}\!(i),\,\operatorname{outdeg}\!(i)\in \{0,\,\dots,\,N\}$ be the incoming and outgoing, respectively, degrees of vertex $i$ . In other words, they are the $i$ -th components of the vectors $\textbf{w}^{-}$ , $\textbf{w}^{+}$ , respectively. We introduce the function

\begin{align*} g_N=g_N(v,w^{-},w^{+},t)\;:\;\mathcal{O}\times \{0,\,\dots,\,N\}\times \{0,\,\dots,\,N\}\times \mathbb{R}_+\to \mathbb{R}_+ \end{align*}

meant as the probability mass function of the event that at time $t$ an agent with incoming degree $w^{-}$ and outgoing degree $w^{+}$ has opinion $v$ . Owing to this definition, $g_N$ is linked to the $f_i$ ’s by the relationship

(3.4) \begin{equation} g_N(v,w^{-},w^{+},t)=\frac{1}{N}\sum _{\substack{i\in \mathcal{I} \\ \operatorname{indeg}(i)=w^{-}, \\ \operatorname{outdeg}(i)=w^{+}}}f_i(v,t) \end{equation}

whence we deduce

(3.5) \begin{align} \begin{aligned}[c] F(v,t) &= \sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}g_N(v,w^{-},w^{+},t), \\[5pt] (\textbf{w}^{-})^T\textbf{f}(v,t) &= N\sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}w^{-}g_N(v,w^{-},w^{+},t), \\[5pt] (\textbf{w}^{+})^T\textbf{f}(v,t) &= N\sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}w^{+}g_N(v,w^{-},w^{+},t). \end{aligned} \end{align}

Therefore, we may rewrite (3.3) in terms of $g_N$ as

(3.6) \begin{align} &\frac{d}{dt}\sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}\int _{\mathcal{O}}\varphi (v)g_N(v,w^{-},w^{+},t)\,dv \nonumber \\[5pt] &\qquad =\frac{1}{N}\sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}\int _{\mathcal{O}}\left \langle w^{+}\frac{\varphi (v')+\varphi (v'_{\!\!\ast})}{2}-\frac{w^{-}+w^{+}}{2}\varphi (v)\right \rangle g_N(v,w^{-},w^{+},t)\,dv. \end{align}

Let now

\begin{align*} \tilde{w}^{-}\;:\!=\;\frac{w^{-}}{N}, \qquad \tilde{w}^{+}\;:\!=\;\frac{w^{+}}{N} \end{align*}

be the normalised incoming and outgoing degrees of a generic representative vertex of $\mathcal{G}$ and let us define

\begin{align*} \tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\;:\!=\;N^2g_N(v,N\tilde{w}^{-},N\tilde{w}^{+},t). \end{align*}

Notice that

\begin{align*} \tilde{w}^{-},\,\tilde{w}^{+}\in \mathcal{W}\;:\!=\;\left \{\frac{k}{N},\,k=0,\,1,\,\dots,\,N\right \} \end{align*}

and that the step between any two consecutive elements of $\mathcal{W}$ is constant and equal to $\frac{1}{N}$ . Therefore, introducing

\begin{align*} \Delta{\tilde{w}^{-}}=\Delta{\tilde{w}^{+}}\;:\!=\;\frac{1}{N}, \end{align*}

it results

\begin{align*} \sum _{\tilde{w}^{+}\in \mathcal{W}}\sum _{\tilde{w}^{-}\in \mathcal{W}}\int _{\mathcal{O}}\tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}^{-}}\,\Delta{\tilde{w}^{+}}= \sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}\int _{\mathcal{O}} g_N(v,w^{-},w^{+},t)\,dv=1, \end{align*}

which allows us to understand $\tilde{g}$ as a $\tilde{w}^{-},\,\tilde{w}^{+}$ -piecewise constant probability density function for all $N$ .

Using $\tilde{g}$ to further elaborate (3.6), we may write

\begin{align*} &\frac{d}{dt}\sum _{\tilde{w}^{+}\in \mathcal{W}}\sum _{\tilde{w}^{-}\in \mathcal{W}}\int _{\mathcal{O}}\varphi (v)\tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}^{-}}\,\Delta{\tilde{w}^{+}} \\[5pt] & \quad =\sum _{\tilde{w}^{+}\in \mathcal{W}}\sum _{\tilde{w}^{-}\in \mathcal{W}} \int _{\mathcal{O}}\left \langle \tilde{w}^{+}\frac{\varphi (v')+\varphi (v'_{\!\!\ast})}{2}-\frac{\tilde{w}^{-}+\tilde{w}^{+}}{2}\varphi (v)\right \rangle \tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}^{-}}\,\Delta{\tilde{w}^{+}}, \end{align*}

which is a self-consistent equation for $\tilde{g}$ . Assuming now that the size $N$ of the graph is large, i.e. letting $N\to \infty$ , we transform $\tilde{w}^{-}$ , $\tilde{w}^{+}$ into continuous variables ranging in the interval $[0,\,1]$ , and from the previous equation, we get formally (dropping the tildes for ease of notation)

(3.7) \begin{align} &\frac{d}{dt}\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \nonumber \\[5pt] &\qquad =\int _0^1\int _0^1\int _{\mathcal{O}}\left \langle w^{+}\frac{\varphi (v')+\varphi (v'_{\!\!\ast})}{2}-\frac{w^{-}+w^{+}}{2}\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}. \end{align}

With (3.7) we have upscaled, in a formally rigorous way, a microscopic description based on single agents and their individual connections in the graph to a simplified aggregate description in which the graph appears only through the continuous statistical distribution of the normalised degrees of its vertices, at least in the case of interactions with polarised memory.

The same procedure applied to (2.13) for the case of ‘action-action’ interactions yields

(3.8) \begin{align} &\frac{d}{dt}\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \nonumber \\[5pt] &\qquad =\int _0^1\int _0^1\int _{\mathcal{O}}\left \langle \frac{w^{+}\varphi (v')+w^{-}\varphi (v'_{\!\!\ast})}{2}-w^{+}\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \end{align}

in place of (3.7).

Remark 3.4. If the interaction kernel $B$ is symmetric, then so is the adjacency matrix $\textbf{M}$ of $\mathcal{G}$ and consequently $\textbf{w}^{-}=\textbf{w}^{+}$ . In this case, we may describe the degree of a vertex of $\mathcal{G}$ by a single variable $w\;:\!=\;w^{-}=w^{+}$ and replace the distribution function $g$ by

\begin{align*} \bar{g}(v,w,t)\;:\!=\;\int _0^1g(v,w,w^{+},t)\,dw^{+}, \end{align*}

so that both (3.7) and (3.8) reduce to

(3.9) \begin{equation} \frac{d}{dt}\int _0^1\int _{\mathcal{O}}\varphi (v)\bar{g}(v,w,t)\,dv\,dw =\int _0^1\int _{\mathcal{O}} w\left \langle \frac{\varphi (v')+\varphi (v'_{\!\!\ast})}{2}-\varphi (v)\right \rangle \bar{g}(v,w,t)\,dv\,dw. \end{equation}

This equation describes binary interactions, one of which is perfect memory while the other is memoryless (like in the Ochrombel model, cf. Example 3.3), on an undirected graph, cf. Remark 2.1.

4. Equivalent Boltzmann-type descriptions

In this section, we show that (3.7), (3.8) can be recovered as particular instances of general Boltzmann-type equations for a generic system of interacting agents, independently of the construction which takes into account explicitly the graph structure of the interactions. As we will see, for this purpose the key point is twofold: on one hand, it is necessary to characterise the microscopic state of the agents conveniently, in particular not only by their opinion $v$ but also by their (normalised) incoming and outgoing degrees $w^{-}$ , $w^{+}$ . On the other hand, it is fundamental to identify an appropriate expression of the collision kernel of the Boltzmann-type equation in terms of the degrees $w^{-}$ , $w^{+}$ of a generic representative agent of the system.

The equivalence of (3.7), (3.8) with classical Boltzmann-type equations corroborates rigorously a commonly accepted heuristic assumption made in the literature, according to which networked interactions may be described statistically by invoking the concept of connectivity of the agents, see e.g. [Reference He6, Reference Loy, Raviola and Tosin10, Reference Toscani, Tosin and Zanella17]. In those contexts, the connectivity is understood as a measure of the number of connections of an agent in a (large) graph of agents.

4.1. The case of ‘action-reaction’ interactions

‘Action-reaction’ interactions, cf. (2.4), are binary interactions similar to those of the classical collisional kinetic theory. Therefore, we may refer to a classical Boltzmann-type kinetic equation, which for agents described by a generic microscopic state $\textbf{v}\in \mathcal{V}\subseteq \mathbb{R}^d$ writes in weak form as (cf. [Reference Pareschi and Toscani14])

(4.1) \begin{align} \begin{aligned}[b] \frac{d}{dt}&\int _{\mathcal{V}}\Phi (\textbf{v})g(\textbf{v},t)\,d\textbf{v} \\[5pt] &= \frac{1}{2}\int _{\mathcal{V}^2}b(\textbf{v},\textbf{v}_\ast )\left \langle \Phi (\textbf{v}')+\Phi (\textbf{v}'_{\!\!\ast})-\Phi (\textbf{v})-\Phi (\textbf{v}_\ast )\right \rangle g(\textbf{v},t)g(\textbf{v}_\ast,t)\,d\textbf{v}\,d\textbf{v}_\ast \end{aligned} \end{align}

for every observable $\Phi \;:\; \mathcal{V}\to \mathbb{R}$ . The function $b\;:\;\mathcal{V}^2\to \mathbb{R}_+$ is the collision kernel.

Now, let us choose $\textbf{v}=(v,\,w^{-},\,w^{+})$ with $\mathcal{V}=\mathcal{O}\times [0,\,1]\times [0,\,1]$ and

(4.2) \begin{equation} b(\textbf{v},\textbf{v}_\ast )=\mu w^{+}w^{-}_\ast, \end{equation}

where $\mu \gt 0$ is a proportionality constant. Moreover, let us consider a $v$ -dependent only observable, i.e. $\Phi (\textbf{v})=\varphi (v)$ . With the further assumption of polarised memory interactions, (4.1) becomes

(4.3) \begin{align} \begin{aligned}[b] &\frac{d}{dt}\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}= \\[5pt] &= \frac{\mu }{2}\int _{[0,\,1]^3}w^{+}w_\ast ^{-}\left (\int _{\mathcal{O}}\left \langle \varphi (v')+\varphi (v'_{\!\!\ast})-\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\right )h^{-}(w_\ast ^{-})\,dw^{-}\,dw^{+}\,dw_\ast ^{-} \\[5pt] &\phantom{=} -\frac{\mu }{2}\int _{[0,\,1]^3}w^{+}w_\ast ^{-}\left (\int _{\mathcal{O}}\varphi (v_\ast )g(v_\ast,w_\ast ^{-},w_\ast ^{+},t)\,dv_\ast \right )h^{+}(w^{+})\,dw^{+}\,dw_\ast ^{-}\,dw_\ast ^{+}, \end{aligned} \end{align}

where

\begin{align*} h^{-}(w^{-})\;:\!=\;\int _0^1\int _{\mathcal{O}} g(v,w^{-},w^{+},t)\,dv\,dw^{+}, \qquad h^{+}(w^{+})\;:\!=\;\int _0^1\int _{\mathcal{O}} g(v,w^{-},w^{+},t)\,dv\,dw^{-} \end{align*}

are the marginal distributions of the (normalised) incoming and outgoing degrees, respectively, which do not change in time due to the assumption of static graph. Upon introducing the mean (normalised) incoming and outgoing degrees:

\begin{align*} m^{-}\;:\!=\;\int _0^1w^{-}h^{-}(w^{-})\,dw^{-}, \qquad m^{+}\;:\!=\;\int _0^1w^{+}h^{+}(w^{+})\,dw^{+}, \end{align*}

equation (4.3) can be written in the form

(4.4) \begin{align} \begin{aligned}[b] \frac{d}{dt}&\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}= \\[5pt] &= \mu \int _0^1\int _0^1\int _{\mathcal{O}}\left \langle m^{-}w^{+}\frac{\varphi (v')+\varphi (v'_{\!\!\ast})}{2}-\frac{m^{+}w^{-}+m^{-}w^{+}}{2}\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}. \end{aligned} \end{align}

To proceed further, we need the following result, which establishes that the average normalised incoming and outgoing degrees are the same, as it is the case for finite graphs.

Lemma 4.1. It holds that $m^{-}=m^{+}$ .

Proof. Let us consider at first a finite graph with $N\lt \infty$ vertices. If $\tilde{w}^{-},\,\tilde{w}^{+}\in \mathcal{W}=\{\frac{k}{N},\,k=0,\,1,\,\dots,\,N\}$ are the normalised incoming and outgoing degrees of a generic vertex and if $\tilde{m}^{-}_N$ , $\tilde{m}^{+}_N$ denote the mean normalised incoming and outgoing degrees of the graph, then

\begin{align*} \tilde{m}^{-}_N &= \sum _{\tilde{w}^{-}\in \mathcal{W}}\sum _{\tilde{w}^{+}\in \mathcal{W}}\int _{\mathcal{O}}\tilde{w}^{-}\tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}}^{-}\,\Delta{\tilde{w}}^{+}, \\[5pt] \tilde{m}^{+}_N &= \sum _{\tilde{w}^{+}\in \mathcal{W}}\sum _{\tilde{w}^{-}\in \mathcal{W}}\int _{\mathcal{O}}\tilde{w}^{+}\tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}}^{-}\,\Delta{\tilde{w}}^{+}. \end{align*}

On the other hand, we clearly also have

\begin{align*} \tilde{m}^{-}_N &= \frac{1}{N}\sum _{\tilde{w}^{-}\in \mathcal{W}}\tilde{w}^{-}\,\#\{i\in \mathcal{I}\,:\,\operatorname{indeg}\!(i)=N\tilde{w}^{-}\}=\frac{1}{N^2}\sum _{i\in \mathcal{I}}\operatorname{indeg}\!(i), \\[5pt] \tilde{m}^{+}_N &= \frac{1}{N}\sum _{\tilde{w}^{+}\in \mathcal{W}}\tilde{w}^{+}\,\#\{i\in \mathcal{I}\,:\,\operatorname{outdeg}\!(i)=N\tilde{w}^{+}\}=\frac{1}{N^2}\sum _{i\in \mathcal{I}}\operatorname{outdeg}\!(i), \end{align*}

where $\#$ denotes the cardinality of a set. Since, in any graph, $\sum _{i\in \mathcal{I}}\operatorname{indeg}\!(i)=\sum _{i\in \mathcal{I}}\operatorname{outdeg}\!(i)$ , we get $\tilde{m}^{-}_N=\tilde{m}^{+}_N$ , hence

\begin{align*} \sum _{\tilde{w}^{-}\in \mathcal{W}}\sum _{\tilde{w}^{+}\in \mathcal{W}}\int _{\mathcal{O}}\tilde{w}^{-}\tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}}^{-}\,\Delta{\tilde{w}}^{+} =\sum _{\tilde{w}^{+}\in \mathcal{W}}\sum _{\tilde{w}^{-}\in \mathcal{W}}\int _{\mathcal{O}}\tilde{w}^{+}\tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}}^{-}\,\Delta{\tilde{w}}^{+}. \end{align*}

Passing formally to the limit $N\to \infty$ yields then

\begin{align*} \int _0^1\int _0^1\int _{\mathcal{O}} w^{-}g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}=\int _0^1\int _0^1\int _{\mathcal{O}} w^{+}g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}, \end{align*}

whence, recalling the definitions of $h^{-}$ , $h^{+}$ ,

\begin{align*} \int _0^1w^{-}h^{-}(w^{-})\,dw^{-}=\int _0^1w^{+}h^{+}(w^{+})\,dw^{+} \end{align*}

and the thesis follows.

Owing to Lemma 4.1, equation (4.4) becomes

\begin{align*} \frac{d}{dt}&\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}= \\[5pt] &= m\mu \int _0^1\int _0^1\int _{\mathcal{O}}\left \langle w^{+}\frac{\varphi (v')+\varphi (v'_{\!\!\ast})}{2}-\frac{w^{-}+w^{+}}{2}\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}, \end{align*}

where $m\;:\!=\;m^{-}=m^{+}$ , which coincides with (3.7) upon letting $\mu =1/m$ .

This shows that, in the case of ‘action-reaction’ rules, the collective dynamics emerging from networked interactions may be equivalently described by all-to-all interactions within a Boltzmann-type framework, cf. Figure 2, where the interaction rate (viz. collision kernel) is proportional to the product of the incoming and outgoing degrees of the interacting agents, cf. (4.2). Hence, those dynamics may be faithfully reproduced even if the detailed graph of the agent connections is unknown, provided the statistical distribution of the incoming and outgoing degrees is known.

Figure 2. Visual representation of the equivalence between the network dynamics and the equivalent Boltzmann one. A situation in which the interactions between the agents are regulated by a network structure (left panel) is replaced, without approximation, by one in which every agent can interact with any other agent (right panel).

4.2. The case of ‘action-action’ interactions

‘Action-action’ interactions, cf. (2.5), are pairwise interactions which, unlike those of the classical kinetic theory, need not produce a simultaneous change of microscopic state of the interacting agents. Technically, the reason is that the two rules in (2.5) feature two different random variables $\Theta$ , $\Theta _\ast$ with a law differing essentially in the interaction rate $B$ , which might not be symmetric. In order to seek a parallelism with a graph-free Boltzmann-type kinetic description, it is therefore necessary to refer to a generalisation of the Boltzmann-type equation (4.1), which takes into account a possibly non-symmetric collision kernel. Such an equation is written in weak form as

(4.5) \begin{align} \begin{aligned}[b] \frac{d}{dt}\int _{\mathcal{V}}\Phi (\textbf{v})g(\textbf{v},t)\,d\textbf{v} &= \frac{1}{2}\int _{\mathcal{V}^2}b(\textbf{v},\textbf{v}_\ast )\left \langle \Phi (\textbf{v}')-\Phi (\textbf{v})\right \rangle g(\textbf{v},t)g(\textbf{v}_\ast,t)\,d\textbf{v}\,d\textbf{v}_\ast \\[5pt] &\phantom{=} +\frac{1}{2}\int _{\mathcal{V}^2}b(\textbf{v}_\ast,\textbf{v})\left \langle \Phi (\textbf{v}'_{\!\!\ast})-\Phi (\textbf{v}_\ast )\right \rangle g(\textbf{v},t)g(\textbf{v}_\ast,t)\,d\textbf{v}\,d\textbf{v}_\ast \end{aligned} \end{align}

for every observable $\Phi \;:\; \mathcal{V}\to \mathbb{R}$ .

Letting again $\textbf{v}=(v,\,w^{-},\,w^{+})\in \mathcal{V}=\mathcal{O}\times [0,\,1]\times [0,\,1]$ and choosing $b$ like in (4.2) we obtain, with $\Phi (\textbf{v})=\varphi (v)$ and after some computations similar to those performed in (4.3), (4.4),

\begin{align*} &\frac{d}{dt}\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+})\,dv\,dw^{-}\,dw^{+}= \\[5pt] &= \mu \int _0^1\int _0^1\int _{\mathcal{O}}\left \langle \frac{m^{-}w^{+}\varphi (v')+m^{+}w^{-}\varphi (v'_{\!\!\ast})}{2}-m^{-}w^{+}\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}. \end{align*}

Finally, setting $\mu =1/m$ with $m\;:\!=\;m^{-}=m^{+}$ (cf. Lemma 4.1) we recover (3.8).

5. More general interactions

It is natural to inquire whether the equivalence between graph-mediated kinetic equations such as (3.7), (3.8) and Boltzmann-type equations (4.1), (4.5) may be extended to non-polarised interactions. In particular, we focus on linear interactions:

(5.1) \begin{equation} v'=pv+qv_\ast, \qquad v'_{\!\!\ast}=p_\ast v_\ast +q_\ast v, \end{equation}

which provide a sufficiently simple, yet powerful, model for a variety of applications. In (5.1), $p,\,q,\,p_\ast,\,q_\ast$ are either deterministic or random coefficients chosen so that $v',\,v'_{\!\!\ast}\in \mathcal{O}$ for all $v,\,v_\ast \in \mathcal{O}$ .

Sticking to the classical spirit of kinetic theory, let us consider ‘action-reaction’ interactions, in which to every interaction of the $v$ -agent with the $v_\ast$ -agent there corresponds a simultaneous interaction of the $v_\ast$ -agent with the $v$ -agent. The case of ‘action-action’ interactions may be treated similarly.

Starting from the graph-mediate kinetic equation (3.1), by means of a procedure analogous to that of Section 3 we obtain the following equation:

(5.2)

While it is clear that, in the limit $N\to \infty$ , the terms converge formally to

where we dropped the tildes for ease of notation, it is much harder to identify the limit, if any, of , because this term depends on the detailed microscopic couplings of the agents on the graph as encoded in the adjacency matrix $\textbf{M}$ . In general, one may expect that cannot be rewritten straightforwardly in terms of the lumped information on the graph connections brought by the incoming and outgoing degrees of the vertices.

Nevertheless, it turns out that for particular choices of the observable $\varphi$ some limit aggregate information may be obtained from (5.2). Let $\varphi$ be linear, then invoking (5.1) we discover:

whence, recalling (3.2) and (3.5),

\begin{align*} &=\frac{1}{2N}\left (\left \langle p+q_\ast \right \rangle \sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}\int _{\mathcal{O}} w^{+}\varphi (v)g_N(v,w^{-},w^{+},t)\,dv\right. \\[5pt] &\phantom{=} +\left .\left \langle p_\ast +q\right \rangle \sum _{w^{+}=0}^{N}\sum _{w^{-}=0}^{N}\int _{\mathcal{O}} w^{-}\varphi (v)g_N(v,w^{-},w^{+},t)\,dv\right ) \\[5pt] &=\sum _{\tilde{w}^{+}\in \mathcal{W}}\sum _{\tilde{w}^{-}\in \mathcal{W}}\int _{\mathcal{O}}\frac{\left \langle p+q_\ast \right \rangle \tilde{w}^{+}+\left \langle p_\ast +q\right \rangle \tilde{w}^{-}}{2}\varphi (v) \tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}}^{-}\,\Delta{\tilde{w}}^{+} \\[5pt] &\xrightarrow{N\to \infty }\int _0^1\int _0^1\int _{\mathcal{O}}\frac{\left \langle p+q_\ast \right \rangle w^{+}+\left \langle p_\ast +q\right \rangle w^{-}}{2}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}. \end{align*}

Finally, we have obtained that (5.2) yields, in the limit $N\to \infty$ ,

(5.3) \begin{align} \begin{aligned}[b] \frac{d}{dt} &\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \\[5pt] &= \int _0^1\int _0^1\int _{\mathcal{O}}\frac{\left \langle p+q_\ast -1\right \rangle w^{+}+\left \langle p_\ast +q-1\right \rangle w^{-}}{2}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \end{aligned} \end{align}

for all linear observables $\varphi$ . This allows us to recover, in particular, the time trend of the mean opinion

\begin{align*} \left \langle v\right \rangle (t)\;:\!=\;\int _{\mathcal{O}} vF(v,t)\,dv=\int _0^1\int _0^1\int _{\mathcal{O}} vg(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \end{align*}

by letting $\varphi (v)=v$ :

(5.4) \begin{equation} \frac{d}{dt}\left \langle v\right \rangle =\int _0^1\int _0^1\int _{\mathcal{O}}\frac{\left \langle p+q_\ast -1\right \rangle w^{+}+\left \langle p_\ast +q-1\right \rangle w^{-}}{2}vg(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}. \end{equation}

It can be checked that (5.3), (5.4) are the very same equations resulting from the Boltzmann-type equation (4.1) in which one uses the collision kernel (4.2) (with $\mu =1/m$ ) and confines $\varphi$ to linear observables.

Therefore, for linear interaction rules we conclude that:

  1. (i) the collective dynamics resulting from a Boltzmann-type approximation of the graph by means of the degree distribution of the agents differ, in general, from those emerging from real graph-mediated interactions, because the latter require the detailed knowledge of the graph connections (cf. the term in (5.2));

  2. (ii) nevertheless, the expectation of the opinion on the whole graph is correctly reproduced also by a Boltzmann-type approximation, i.e. without the detailed knowledge of the graph connections.

Although weaker than that obtained in Section 4, this result still helps to corroborate the validity of the approaches which approximate the graph structure with the statistical distribution of the degree of the vertices, at least as far as the investigation of certain statistical properties of the system is concerned.

By similar arguments, it is not difficult to see that this equivalence remains valid also for the following generalisation of the interaction rules (5.1):

(5.5) \begin{equation} v'=p(v)+q(v_\ast ), \qquad v'_{\!\!\ast}=p_\ast (v_\ast )+q_\ast (v), \end{equation}

where $p,\,q,\,p_\ast,\,q_\ast$ are now either deterministic or random functions defined on $\mathcal{O}$ and such that $v',\,v'_{\!\!\ast}\in \mathcal{O}$ for all $v,\,v_\ast \in \mathcal{O}$ . Specifically, from (5.2) we deduce that for a linear $\varphi$ it results

whence, passing to the limit $N\to \infty$ in the whole equation,

\begin{align*} \frac{d}{dt} &\int _0^1\int _0^1\int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \\[5pt] &= \frac{1}{2}\int _0^1\int _0^1\int _{\mathcal{O}} w^{+}\left \langle \varphi (p(v))+\varphi (q_\ast (v))-\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \\[5pt] &\phantom{=} +\frac{1}{2}\int _0^1\int _0^1\int _{\mathcal{O}} w^{-}\left \langle \varphi (p_\ast (v))+\varphi (q(v))-\varphi (v)\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}, \end{align*}

which holds for all linear observables $\varphi$ . The same is obtained from the Boltzmann-type equation (4.1) with collision kernel (4.2) and $\mu =1/m$ . In particular, also in this case the evolution of the mean opinion can be recovered simply from the knowledge of the statistical distribution of the degrees of the vertices of the graph, the detailed structure of graph connections being unnecessary:

\begin{align*} \frac{d}{dt}\left \langle v\right \rangle &= \frac{1}{2}\int _0^1\int _0^1\int _{\mathcal{O}} w^{+}\left \langle p(v)+q_\ast (v)-v\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \\[5pt] &\phantom{=} +\frac{1}{2}\int _0^1\int _0^1\int _{\mathcal{O}} w^{-}\left \langle p_\ast (v)+q(v)-v\right \rangle g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+}. \end{align*}

Summarising, we have proved the following:

Theorem 5.1. Let the interaction rules be of the form (5.5). Then, the evolution of linear observables $\varphi$ provided by the graph-mediated kinetic equation (3.1) with whatever adjacency matrix $\textbf{M}$ is formally equivalent, in the limit $N\to \infty$ , to that provided by the Boltzmann-type equation (4.1) with $\mu =1/m$ in (4.2).

6. On the closure of (5.2) in the limit $\boldsymbol{N\to \infty }$

As already stated, for non-polarised memory interactions it is hard to identify, in general, the limit of the term in (5.2). The reason is that if the post-interaction opinions $v'$ , $v'_{\!\!\ast}$ are not polarised, i.e. they depend on both pre-interaction opinions $v$ , $v_\ast$ , then the lumped information brought by the distribution of the incoming and outgoing degrees of the vertices, cf. (3.2), may be insufficient to compute . However, one may expect that (5.2) turns into a closed equation for every observable $\varphi$ at least for particular classes of adjacency matrices $\textbf{M}$ .

6.1. Complete graphs

Consider the adjacency matrix

(6.1) \begin{equation} \textbf{M}=\textbf{1}\textbf{1}^T= \begin{pmatrix} 1\;\;\;\; & 1\;\;\;\; & \cdots\;\;\;\; & 1 \\[5pt] 1\;\;\;\; & 1\;\;\;\; & \cdots\;\;\;\; & 1 \\[5pt] \vdots\;\;\;\; & \vdots\;\;\;\; & \ddots\;\;\;\; & \vdots \\[5pt] 1\;\;\;\; & 1\;\;\;\; & \cdots\;\;\;\; & 1 \end{pmatrix}, \end{equation}

which describes a complete graph, i.e. one in which every pair of vertices is connected by a unique edge (self-loops are included) so that agents experience all-to-all interactions. In this case, since $w^{-}=w^{+}=N$ for every vertex, (3.4) takes the form

\begin{align*} g_N(v,w^{-},w^{+},t)=F(v,t)\delta _{w^{-},N}\delta _{w^{+},N}, \end{align*}

where $\delta _{\cdot,\cdot }$ denotes the Kronecker delta. Consequently, $\tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)=N^2F(v,t)\delta _{\tilde{w}^{-},1}\delta _{\tilde{w}^{+},1}$ and

On the other hand,

so that finally (5.2) reduces to

\begin{align*} \frac{d}{dt}\int _{\mathcal{O}}\varphi (v)F(v,t)\,dv=\frac{1}{2}\int _{\mathcal{O}}\int _{\mathcal{O}}\left \langle \varphi (v')+\varphi (v'_{\!\!\ast})-\varphi (v)-\varphi (v_\ast )\right \rangle F(v,t)F(v_\ast,t)\,dv\,dv_\ast \end{align*}

for every $N\in \mathbb{N}$ (in particular, not only in the limit $N\to \infty$ ), every observable $\varphi$ and every definition of the interaction rules yielding the post-interaction opinions $v'$ , $v'_{\!\!\ast}$ . This is the weak form of a classical Boltzmann-type equation with a single microscopic state $v$ , which can be equivalently obtained from (4.1) with $\mathcal{V}=\mathcal{O}$ , $\textbf{v}=v$ and $b(\textbf{v},\textbf{v}_\ast )\equiv 1$ . In particular, a constant unitary collision kernel is the counterpart in (4.1) of all-to-all interactions expressed by the adjacency matrix (6.1).

6.2. Rank-one approximation of $\textbf{M}$

Let now

(6.2) \begin{equation} \textbf{M}\approx \frac{\textbf{w}^{+}(\textbf{w}^{-})^T}{M_N}, \end{equation}

where $M_N\;:\!=\;\sum _{i\in \mathcal{I}}\operatorname{indeg}\!(i)=\sum _{i\in \mathcal{I}}\operatorname{outdeg}\!(i)$ , which provides a natural rank-one approximation of any adjacency matrix with given incoming and outgoing vertex degrees, cf. (3.2). In this case,

By inspecting the proof of Lemma 4.1 we notice that

\begin{align*} \tilde{m}_N^\pm \;:\!=\;\frac{M_N}{N^2}=\sum _{\tilde{w}^{+}\in \mathcal{W}}\sum _{\tilde{w}^{-}\in \mathcal{W}}\int _{\mathcal{O}}\tilde{w}^\pm \tilde{g}(v,\tilde{w}^{-},\tilde{w}^{+},t)\,dv\,\Delta{\tilde{w}^{-}}\,\Delta{\tilde{w}^{+}} \end{align*}

is the mean normalised incoming/outgoing degree of the vertices of the graph, which converges to

\begin{align*} m=m^\pm =\int _0^1\int _0^1\int _{\mathcal{O}} w^\pm g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \end{align*}

as $N\to \infty$ . Hence formally,

so that, passing to the limit $N\to \infty$ in (5.2) with $\textbf{M}$ approximated by (6.2), we obtain

(6.3) \begin{align} &\frac{d}{dt} \int _0^1 \int _0^1 \int _{\mathcal{O}}\varphi (v)g(v,w^{-},w^{+},t)\,dv\,dw^{-}\,dw^{+} \nonumber \\[5pt] & \quad =\frac{1}{2}\int _0^1 \int _0^1 \int _0^1 \int _0^1 \int _{\mathcal{O}} \int _{\mathcal{O}} \frac{w^{+}w_\ast ^{-}}{m}{\left \langle \varphi (v')+\varphi (v'_{\!\!\ast})-\varphi (v)-\varphi (v_\ast )\right \rangle } g(v,w^{-},w^{+},t) \nonumber \\[5pt] & \qquad\qquad\qquad \qquad\qquad\qquad\qquad \qquad \times g(v_\ast,w_\ast ^{-},w_\ast ^{+},t)\,dv\,dv_\ast \,dw^{-}\,dw^{+}\,dw_\ast ^{-}\,dw_\ast ^{+}. \end{align}

This corresponds to the general form of the Boltzmann-type equation (4.1) with $\mathcal{V}=\mathcal{O}\times [0,\,1]\times [0,\,1]$ , $\textbf{v}=(v,w^{-},w^{+})$ and the collision kernel $b$ given by (4.2) with $\mu =1/m$ , for every observable $\varphi$ and every interaction rule providing $v'$ , $v'_{\!\!\ast}$ as post-interaction opinions.

Therefore, we have proved:

Theorem 6.1. For any type of interaction rule, the graph-mediated kinetic equation (3.1) with the adjacency matrix $\textbf{M}$ approximated by the rank-one matrix (6.2) is formally equivalent, in the limit $N\to \infty$ , to the Boltzmann-type equation (4.1) with $\mu =1/m$ in (4.2).

Remark 6.1. We recall that, in the graph-mediated kinetic equations (2.11) and then (3.1), the entries of the adjacency matrix $\textbf{M}$ provide the values of the interaction kernel $B$ , cf. Section 2.3. Thus, they represent the interaction rates of pairs of agents/vertices of the graph. The rank-one approximation (6.2) of $\textbf{M}$ corresponds to assuming that such rates are simply proportional to the gross incoming and outgoing degrees of the agents/vertices regardless of the detailed graph topology, as if agents were substantially ‘independent’ from the point of view of the graph connections. Remarkably, this independence is the key to the closure of (3.1) in the sense of a classical Boltzmann-type description.

7. Numerical experiments

In order to validate the results obtained in the previous sections, we perform a series of numerical experiments choosing as the underlying graph a real social network built from the ‘Social circles: Twitter’ dataset [Reference Leskovec and Krevl7, Reference Leskovec, Mcauley, Pereira, Burges, Bottou and Weinberger8]. This dataset contains 81,306 vertices, viz. users, and 1,768,149 edges, viz. their social connections.

Algorithm 1 Monte Carlo algorithm for ‘action-reaction’ Boltzmann-type equations on a graph

For the sake of completeness, we quickly recall how to solve approximately Boltzmann-type equations by a Monte Carlo numerical approach. Algorithm 1 consists in simulating literally the binary interaction dynamics described by (2.2). At each time step, agents are randomly paired and, for each pair, a Bernoulli random variable depending on the interaction kernel $B$ is sampled to determine whether an interaction occurs. If it does then the states are updated according to the corresponding interaction functions. In the case of the graph-mediated kinetic equation (3.1), the interaction kernel $B$ depends on the adjacency matrix $\textbf{M}$ . Conversely, in the case of the Boltzmann-type equation (4.1) it depends only on the incoming and outgoing degrees as specified in (4.2).

Figure 3. Numerical validation of the equivalence between the graph-mediated kinetic equations (2.11), (2.13) and the equivalent Boltzmann-type equations (4.1), (4.5) using the ‘Social circles: Twitter’ network dataset [Reference Leskovec and Krevl7, Reference Leskovec, Mcauley, Pereira, Burges, Bottou and Weinberger8] for different interaction rules. Panels a, b: ‘action-reaction’ and ‘action-action’ Ochrombel opinion formation model, cf. Example 3.3. The solid lines and filled regions represent respectively mean values and 95% confidence intervals computed over 10 repetitions. Both dynamics share the same initial condition. Panel c: separable interaction rule (7.1). Panels e: inelastic Kac-inspired separable interaction rule (7.2).

As a first experiment, we check the equivalence between graph-mediated and Boltzmann-type kinetic descriptions discussed in Section 4, i.e. in the case of polarised memory interactions. For simplicity, we choose as interaction rule the Ochrombel simplification of the Sznajd opinion formation model, cf. Example 3.3. We simulate both the ‘action-reaction’ (Figure 3(a)) and the ‘action-action’ (Figure 3(b)) versions of the dynamics, first on the true network with the graph-mediated kinetic equations (2.11) and (2.13), respectively, then with their equivalent Boltzmann-type equations (4.1), (4.5). We run the simulations for $20,000$ time steps, averaging over $10$ repetitions. In Figures 3(a) and (b), we plot the time evolution of the mean opinion resulting from the graph-mediated kinetic equation (orange line) and from the equivalent Boltzmann-type equation (blue line). We stress that the latter is not aware of the graph structure but only of the distributions of the incoming and outgoing degrees. In the same panels, we also plot the statistical distribution of the opinion at three different time instants. As predicted by our theory, the Boltzmann-type equation reproduces faithfully the trends of the graph-mediated kinetic equation. In particular, we notice that the trends of the mean opinion are opposite in the ‘action-reaction’ and ‘action-action’ dynamics. This is in agreement with the respective equivalent Boltzmann-type equations (4.1)–(4.2) and (4.2)–(4.5), whose right-hand sides turn out to differ only in the signs, which are indeed opposite, when they are evaluated with the Ochrombel interaction rules of Example 3.3. Empirically, this can be explained by observing that in the ‘action-reaction’ dynamics agents with a higher incoming degree are more likely to change opinion. Conversely, in the ‘action-action’ dynamics agents with a higher outgoing degree are more likely to change opinion. Therefore, given the same initial joint opinion-degrees distribution, the trends of the mean opinion are expected to be opposite.

When the interactions have the more general separable form (5.5), Theorem 5.1 ensures that the equivalence still holds for the mean opinion. We validate this result for the following separable interaction rule (Figure 3(c))

(7.1) \begin{equation} p(v)=p_\ast (v)=\operatorname{sign}\!(v)\min\!\left \{\frac{1}{2},\,v^2\right \}, \qquad q(v)=q_\ast (v)=\operatorname{sign}\!(v)\min\!\left \{\frac{1}{2},\,\sqrt{\left \vert v\right \vert }\right \} \end{equation}

and for the inelastic Kac-inspired interaction rule

(7.2) \begin{equation} p(v)=p_\ast (v)=\cos\!(\theta )\left \vert \cos\!(\theta )\right \vert ^rv, \qquad q(v)=-q_\ast (v)=-\sin\!(\theta )\left \vert \sin\!(\theta )\right \vert ^rv, \end{equation}

cf. [Reference Pulvirenti and Toscani15], where $\theta \sim \mathcal{U}([0,\,2\pi ])$ is a uniformly distributed random parameter and the exponent $r$ is chosen to be either $r=0$ (Figure 3(d)) or $r=3$ (Figure 3(e)). In all cases, the trends of the mean opinion yielded by the graph-mediated kinetic equation and by the Boltzmann-type equation can be seen to coincide as predicted by the theory.

Remark 7.1. The choice (7.2) corresponds precisely to the inelastic Kac model described in [Reference Pulvirenti and Toscani15], where however the variable $v$ does not stand for the opinion of social network users but for the speed of gas molecules. Indeed, the Kac model is supposed to represent a caricature of a one-dimensional gas, whose molecules undergo a mixing of their speeds rather than proper physical collisions so as to give rise to non-trivial one-dimensional dynamics. In our context, we may interpret a graph-based Kac model as a one-dimensional caricature of a gas in which molecule ‘collisions’ are heterogeneously distributed. In particular, molecules with a low (resp. high) outgoing degree ‘hit’ few (resp. many) other molecules while molecules with a low (resp. high) incoming degree are ‘hit’ by few (resp. many) other molecules.

8. Conclusions

In this paper, we have considered the problem of modelling networked interacting multi-agent systems by means of kinetic equations incorporating a statistical description of the graph of connections among the agents. The main goal was to obtain evolution equations which, in the spirit of the kinetic theory, did not require a detailed knowledge of the graph topology while still retaining fundamental features of the possibly inhomogeneous distribution of the connections.

Starting from networked particle interaction models, first we have derived graph-mediated kinetic equations. By this, we mean a system of Boltzmann-type equations which describe the evolution of the state of each vertex, viz. agent, of the graph and are coupled according to the precise structure of the graph connections encoded in the adjacency matrix of the graph. Next, we have shown that, formally, in the limit of an infinite number of vertices of the graph such a system can be reduced to a single Boltzmann-type equation defined on an augmented state space, namely one which includes also the (normalised) incoming and outgoing degrees of the agents regarded as continuous variables in the interval $[0,\,1]$ . In particular, the limit procedure has allowed us to identify a precise expression of the interaction kernel of such a Boltzmann-type equation, which carries all the information about the aforesaid degrees thereby constituting a statistical approximation of the adjacency matrix. Remarkably, such an expression, which is proportional to the product of the (normalised) incoming and outgoing degrees of the interacting agents, matches consistently the one postulated heuristically in the literature via the concept of connectivity of the agents. In conclusion, we have proved that a networked interacting particle system can be described statistically by a Boltzmann-type equation, whose interaction kernel replaces the adjacency matrix of the graph and where the kinetic distribution function does not only account for the distribution of the particle state involved in the binary interactions but also for the statistical distribution of the degrees of the graph.

As a matter of fact, this result is exact only for a very special class of binary interactions, that we have called polarised interactions. These are interactions in which the post-interaction states depend only on one of the two pre-interaction states. For more general interactions, such as linear or separable interactions, the limiting Boltzmann-type equation is not equivalent to the original system of graph-mediated equations, meaning that the sole degree distribution is not sufficient to reproduce faithfully the collective dynamics on the graph. Nevertheless, in this case we have proved that the limit equation yields the correct time evolution of the mean state of the agents. In more generality, we have also proved that the limit equation describes correctly the collective evolution of any networked interacting particle system whose adjacency matrix is approximated a priori by a rank-one matrix obtained from the product of the incoming and outgoing degree vectors of the graph. This provides a powerful strategy upon which to rely in practical cases in which one is interested in the collective trend of processes taking place on large, complex networks, for which the knowledge of the detailed structure may be challenging or even impossible. Indeed, the degree distributions of a graph are often easier to obtain than the full adjacency matrix.

Further research directions may consist of detailed analytical investigations of the limit Boltzmann-type equations to ascertain the impact of different degree distributions on the marginal distribution of the physical state variable of the particles as well as in the extension of the present study to the case of ensembles of graphs.

Acknowledgments

A. T. is member of GNFM (Gruppo Nazionale per la Fisica Matematica) of INdAM (Istituto Nazionale di Alta Matematica ‘F. Severi’), Italy.

Competing interests

The authors declare none.

References

Burger, M. (2021) Network structured kinetic models of social interactions. Vietnam J. Math. 49(3), 937956.CrossRefGoogle ScholarPubMed
Burger, M. (2022) Kinetic equations for processes on co-evolving networks. Kinet. Relat. Models 15(2), 187212.CrossRefGoogle Scholar
Coppini, F., Dietert, H. & Giacomin, G. (2020) A law of large numbers and large deviations for interacting diffusions on Erdős–Rényi graphs. Stoch. Dyn. 20(2), 2050010.CrossRefGoogle Scholar
Delattre, S., Giacomin, G. & Luçon, E. (2016) A note on dynamical models on random graphs and Fokker–Planck equations. J. Stat. Phys. 165(4), 785798.CrossRefGoogle Scholar
Fraia, M. & Tosin, A. (2020) The Boltzmann legacy revisited: Kinetic models of social interactions. Mat. Cult. Soc. Riv. Unione Mat. Ital. (I) 5(2), 93109.Google Scholar
He, H. (2023) Kinetic modeling of an opinion model on social networks. J. Appl. Math. Phys. 11(06), 14871497.CrossRefGoogle Scholar
Leskovec, J. & Krevl, A. (2014) SNAP Datasets: Stanford Large Network Dataset Collection. Available at: http://snap.stanford.edu/data.Google Scholar
Leskovec, J. & Mcauley, J. (2012) Learning to discover social circles in ego networks. In: Pereira, F., Burges, C. J., Bottou, L. & Weinberger, K. Q. (editors), Advances in Neural Information Processing Systems, Vol. 25. Curran Associates, Inc.Google Scholar
Lovász, L. (2012). Large Networks and Graph Limits, American Mathematical Society, Colloquium Publications, Vol. 60.CrossRefGoogle Scholar
Loy, N., Raviola, M. & Tosin, A. (2022) Opinion polarization in social networks. Philos. Trans. Roy. Soc. A 380(2224), 20210158/1-15.Google ScholarPubMed
Loy, N. & Tosin, A. (2021) Boltzmann-type equations for multi-agent systems with label switching. Kinet. Relat. Models 14(5), 867894.CrossRefGoogle Scholar
Loy, N. & Tosin, A. (2021) A viral load-based model for epidemic spread on spatial networks. Math. Biosci. Eng. 18(5), 56355663.CrossRefGoogle ScholarPubMed
Ochrombel, R. (2001) Simulation of Sznajd sociophysics model with convincing single opinions. Int. J. Modern Phys. C 12(7), 10911091.CrossRefGoogle Scholar
Pareschi, L. & Toscani, G. (2013). Interacting Multiagent Systems: Kinetic Equations and Monte Carlo Methods, Oxford University Press, Oxford.Google Scholar
Pulvirenti, A. & Toscani, G. (2004) Asymptotic properties of the inelastic Kac model. J. Stat. Phys. 114(5-6), 14531480.CrossRefGoogle Scholar
Sznajd-Weron, K. & Sznajd, J. (2000) Opinion evolution in closed community. Int. J. Mod. Phys. C 11(6), 11571165.CrossRefGoogle Scholar
Toscani, G., Tosin, A. & Zanella, M. (2018) Opinion modeling on social media and marketing aspects. Phys. Rev. E 98(2), 0223151–15.CrossRefGoogle ScholarPubMed
Figure 0

Figure 1. (a) Graphical representation of the interaction framework considered in this work. Each agent is identified with a vertex in a directed graph and is characterised by a probability distribution of their state which evolves in time. (b In an action-reaction interaction between agents $i,\,j\in \mathcal{I}$ connected by the edge $(i,\,j)\in \mathcal{E}$, the states $v$, $v_\ast$ of both agents are updated. c. In an action-action interaction, the state $v_\ast$ of agent $j$ is updated only if $(j,\,i)\in \mathcal{E}$.

Figure 1

Figure 2. Visual representation of the equivalence between the network dynamics and the equivalent Boltzmann one. A situation in which the interactions between the agents are regulated by a network structure (left panel) is replaced, without approximation, by one in which every agent can interact with any other agent (right panel).

Figure 2

Algorithm 1 Monte Carlo algorithm for ‘action-reaction’ Boltzmann-type equations on a graph

Figure 3

Figure 3. Numerical validation of the equivalence between the graph-mediated kinetic equations (2.11), (2.13) and the equivalent Boltzmann-type equations (4.1), (4.5) using the ‘Social circles: Twitter’ network dataset [7, 8] for different interaction rules. Panels a, b: ‘action-reaction’ and ‘action-action’ Ochrombel opinion formation model, cf. Example 3.3. The solid lines and filled regions represent respectively mean values and 95% confidence intervals computed over 10 repetitions. Both dynamics share the same initial condition. Panel c: separable interaction rule (7.1). Panels e: inelastic Kac-inspired separable interaction rule (7.2).