Skip to main content
Entropy logoLink to Entropy
. 2025 Jan 18;27(1):86. doi: 10.3390/e27010086

Statistical Mechanics of Directed Networks

Marián Boguñá 1,2,*, M Ángeles Serrano 1,2,3,*
Editors: Antonio M Scarfone, Sergio Luiz E F Da Silva
PMCID: PMC11764621  PMID: 39851706

Abstract

Directed networks are essential for representing complex systems, capturing the asymmetry of interactions in fields such as neuroscience, transportation, and social networks. Directionality reveals how influence, information, or resources flow within a network, fundamentally shaping the behavior of dynamical processes and distinguishing directed networks from their undirected counterparts. Robust null models are crucial for identifying meaningful patterns in these representations, yet designing models that preserve key features remains a significant challenge. One such critical feature is reciprocity, which reflects the balance of bidirectional interactions in directed networks and provides insights into the underlying structural and dynamical principles that shape their connectivity. This paper introduces a statistical mechanics framework for directed networks, modeling them as ensembles of interacting fermions. By controlling the reciprocity and other network properties, our formalism offers a principled approach to analyzing directed network structures and dynamics, introducing new perspectives and models and analytical tools for empirical studies.

Keywords: complex networks, directed networks, maximum entropy, Fermi statistics, reciprocity

1. Introduction

A directed network [1] is a representation of a complex system that captures the asymmetry of interactions between its elements [2,3]. Directionality enriches network structure [4,5], and is essential for understanding how influence, information, or resources flow through a system [6], fundamentally distinguishing directed networks from undirected ones. This is critical across a wide range of domains, including neuronal systems, biological processes, transportation systems, and social networks. Moreover, directionality fundamentally influences the behavior of dynamical processes on networks [7,8,9,10].

To gain a deeper understanding of the principles shaping real directed networks, it is crucial to define models that accurately capture their essential characteristics and organization. In general, network models enable researchers to distinguish meaningful patterns from random fluctuations and provide principled explanations for the observed regularities. The family of network models derived by maximizing the entropy of graph ensembles subject to the constraints imposed by observations in real-world networks offer the least biased prediction for their properties [11,12]. However, designing maximum entropy models for directed networks is a challenging task. This difficulty arises from the need to account for the interplay between local node properties and global network structures.

Specifically, key features in directed networks are in-degrees and out-degrees, accounting for the number of incoming and outgoing connected neighbors, their correlations, and reciprocity [11,13], or the tendency of pairs of nodes to form bidirectional connections. Reciprocity reflects the balance or imbalance of mutual interactions and serves as a critical indicator of the underlying structural and dynamical rules governing the system. Another key property is clustering, the tendency of pairs of neighbors to be connected, forming triangles in the network topology. In directed networks, triangles become multifaceted, splitting into seven distinct triangle motifs depending on the orientation of the arrows [14,15]. Despite the recent introduction of a directed network model [16] that simultaneously explains many features in directed networks, such as reciprocity, clustering, and other structural properties, a general theoretical approach based on the maximum entropy principle is still lacking.

In this paper, we introduce a statistical mechanics framework for directed networks, treating them as systems of interacting fermions. This approach leverages concepts from quantum statistics to describe directed networks in terms of ensembles, where network connections or fermions are constrained by conserved quantities and the entropy of the ensemble is maximized to fix its probability. By framing directed networks in this way, we provide a powerful theoretical tool for modeling their structure. Our framework not only offers new insights into the organization of real-world directed networks but also provides a principled basis for constructing models that respect key empirical properties.

2. General Formalism

The standard approach in network science treats the nodes of a network as the fundamental units of the system, with links representing the interactions between these units. This perspective naturally aligns with real-world systems, where nodes correspond to defined entities—countries in the world trade web, proteins or genes in biomolecular interaction networks, individuals in society, and so on—making focusing on nodes intuitive and practical. However, this node-centric viewpoint poses challenges when defining models using traditional tools from statistical mechanics, as it emphasizes the entities rather than the interactions.

In this work, we adopt a different perspective by shifting the focus from the nodes of the network to the links connecting them. In our approach, links are treated as fermionic “particles” that can occupy distinct energy states. The phase space of possible energy states is defined by the possible links between the N nodes of the network. This perspective is particularly intriguing for two reasons. First, links in a network are unlabeled, which makes them inherently indistinguishable. Second, in a simple network without multiple connections, only one link can occupy a given state, as no two identical links can exist between the same pair of nodes. These properties naturally lead to a statistical interpretation of links in a network as an ensemble of identical and independent fermions, obeying Fermi–Dirac statistics [11]. By reimagining directed networks in this manner, we not only provide a novel statistical framework for describing their structure but also lay the groundwork for constructing statistically rigorous principled models that capture the fundamental constraints of directed and undirected networks alike. For instance, fermionic mapping has been instrumental in the analytical study of different aspects of networks, from the explanation of structural correlations in scale-free networks [17] to a topological phase transition with divergent entropy involving the reorganization of network cycles [18].

2.1. Fermionic Approach to Directed Networks

Given a pair of nodes i and j, we define two distinct states, ij and ji, which can be occupied by links, or fermions, pointing from i to j and from j to i, respectively, see Figure 1. Each state ij has an associated energy εij. The occupancy of these states is described by the asymmetric adjacency matrix {aij}, which equals 1 if the state ij is occupied and 0 otherwise, analogous to the occupation number of states in systems of indistinguishable particles. All the topological properties of the network can be computed from the adjacency matrix. For instance, the number of incoming connections to a node, or the incoming degree, is

kin,i=j=1Naji,

where N is the total number of nodes in the network. Analogously, the number of outgoing connections from a node, or the outgoing degree, is

kout,i=j=1Naij.

Figure 1.

Figure 1

Possible fermionic states between a pair of nodes i and j, and their associated energies. The solid arrow indicates the presence of a directed link and the dashed arrow an empty state. When the two fermions simultaneously occupy the two states, ij and ji, the total energy includes a correction Δεij added to the sum of the energies of the partially occupied states.

Reciprocity implies pairs of nodes with links pointing in both directions, as shown in the sketch at the bottom of Figure 1. In random network models, a certain default level of reciprocity is attained when links are independent, or fermions are non-interacting. However, higher or lower values require that links are correlated, or fermions are interacting. To account for this possibility, we assume that the energy of two links occupying the two states ij and ji simultaneously, that is, of mutual interactions, is ε˜ij. In general, ε˜ij is different from εij+εji.

Due to the indistinguishability of links in a network, any directed network can be represented in the Fock space using the basis {|ai,j|aij} defining the number of particles/links occupying the set of possible single-particle states. Thus, the representation of the Hamiltonian of the network H^ in the basis of the Fock space defined by the adjacency matrix is

a|H^|a=i<jaijεij+ajiεji+aijajiΔεij, (1)

where

Δεij=ε˜ijεijεji

is the correction due to the interaction of two fermions occupying the two states ij and ji. When Δεij>0, the presence of two links connecting the same pair of nodes in opposite directions is energetically unfavorable, and thus the reciprocity is lower than in the random case. Conversely, when Δεij<0, the link reciprocity is higher than random case.

In analogy to the case of indistinguishable quantum particles, it is more convenient to work in the grand canonical ensemble, where the constraints are the following:

  • the number of fermions (links) is fixed on average;

  • The average energy is fixed as well.

In our formalism, this implies that the total number of links is a random variable that is fixed on average by the chemical potential μ. The grand partition function of the system is given by

Z=Treβ(H^μN^L)=i<j1+eβ(εijμ)+eβ(εjiμ)+eβ(ε˜ij2μ), (2)

where N^L is the number of links operator and the inverse temperature β controls the average energy of the network. The chemical potential μ fixes the average in-degree (and out-degree) through the relation

kin=kout=1NβlnZμβ, (3)

and the entropy of the ensemble can be computed from the partition function as

S=lnZβlnZβμ. (4)

Beyond these global thermodynamic properties, the probability of the ensemble generating a graph with adjacency matrix {aij} is computed as the probability of a particular configuration of the system

Prob({aij})=1Zi<jeβ(εijμ)aij+(εjiμ)aji+aijajiΔεij. (5)

The joint probability of the pair of states ij and ij between nodes i and j is

Prob(aij,aji)=eβ(εijμ)aij+(εjiμ)aji+aijajiΔεij1+eβ(εijμ)+eβ(εjiμ)+eβ(ε˜ij2μ). (6)

Finally, the probability of a directed link existing between nodes i and j, pijProb(aij=1), is

pij=eβ(εijμ)+eβ(ε˜ij2μ)1+eβ(εijμ)+eβ(εjiμ)+eβ(ε˜ij2μ). (7)

Equation (7) can be used to evaluate the average in- and out-degrees of individual nodes as

κout,i=jpij

and

κin,i=jpji,

and the chemical potential as the solution of the equation

kinN=i,j,j,ipij. (8)

Finally, we can use these results to evaluate the reciprocity of the network r, defined as the ratio between the number of reciprocated links and the total number of links. Thus,

r=2i<jpij(1,1)i,jipij, (9)

where we have defined pij(1,1)Prob(aij=1,aji=1). It is important to mention here that the freedom to chose the interaction energies Δϵij enables the possibility to adjust the level of reciprocity for particular sets of nodes or with specific topological properties.

2.2. Non-Interacting Fermions

When the links are independent or, equivalently, the fermions are non-interacting, Δεij=0 and the energy is ε˜ij=εij+εji. In this situation, the connection probability pij of a directed link between nodes i and j takes the simple form

pijni=11+eβ(εijμ). (10)

The joint probability Prob(aij,aji) factorizes as Prob(aij,aji)=pijnipjini, and so does the partition function

Z=i<j1+eβ(εijμ)1+eβ(εjiμ). (11)

Finally, the reciprocity becomes

r=2i<jpijnipjinii,jipijni, (12)

which corresponds to the reciprocity expected by pure chance.

2.3. Interacting Fermions

The connection probability of the system without interactions, pijni in Equation (10), can be used to rewrite the connection probability for a directed link in the case of interacting fermions, pij in Equation (7), which leads to

pij=pijni1pjini(1eβΔεij)1pijnipjini(1eβΔεij). (13)

In the case of weak interactions or high temperature, the term βΔε is small, leading to pijpijni. Similarly, as seen from Equation (13), the connection probability remains unchanged by fermionic interactions in the limits pijni0 or pijni1, where pij=pijni again holds. In these extreme situations, the lack or excess of bidirectional links leaves no room for the network to exhibit sensitivity to changes in the tendency for reciprocity. We will use this general property in the next section when dealing with specific models.

3. Specific Random Network Models

So far, we have not specified the energies of the states {εij}, which ultimately define the particular model at hand. To illustrate the power of our approach, we focus on two different models within our formalism: the non-interacting Directed Soft Configuration Model (NI-DCM) [11], and the non-interacting Directed Geometric Soft Configuration Model (NI-DGCM) [16]. Furthermore, we also derive their maximum entropy interacting counterparts (I-DCM and I-DGCM).

A priori, our formalism works for an arbitrary number of fermions between 0 and N(N1). However, real complex networks are sparse, meaning that the average in- and out-degrees, kin=kout, are size-independent. In the rest of this paper, we consider ensembles of sparse networks.

3.1. Directed Configuration Model

To derive the probability of connection of the DCM [11,19] within our formalism, we make the simplest assumption that the energy of a directed link connecting nodes i and j comes from two sources: the energetic cost that node i incurs when creating an outgoing connection, εout,i, plus the energetic cost that node j incurs when accepting an incoming connection, εin,j. The total energy of the fermionic state is then

εij=εout,i+εin,j. (14)

Thus, each node in the network is characterized by an associated vector (εin,εout) accounting for incoming and outgoing connections. The distribution of such variables is given by the probability density function ρ(εin,εout), with marginal distributions for εin and εout, ρin(εin) and ρout(εout).

Although models in the DCM family are not fully realistic, they serve as prominent null models or baselines to evaluate whether observed features in real directed networks arise due to specific processes or simply by chance.

3.1.1. Non-Interacting Directed Configuration Model (NI-DCM)

Using Equation (8), and assuming that Δεij=0, and replacing sums with integrals, we can write

kin=Nzρin(εin)ρout(εout)z+eβεineβεoutdεindεout, (15)

where we have defined the fugacity in the standard way as zeβμ. Imposing sparsity in the thermodynamic limit of this particular model implies that the fugacity must scale with the system size as zN1. This implies that the chemical potential takes the size-dependent form

μ=1βlnkinNeβεineβεout, (16)

provided that eβεin and eβεout are bounded. In this case, the dependence between expected in- and out-degrees of nodes, κin and κout, and the in and out-energies, εin and εout, become

κin=kineβεineβεinandκout=kouteβεouteβεout. (17)

Substituting Equation (14) into Equation (10) and using Equations (16) and (17), the connection probability in Equation (10) becomes the one for the directed soft configuration model:

pijni=11+kinNκout,iκin,j. (18)

Notice that, when the energies of states in Equation (14) are temperature-independent, the limit β0 converges to the directed version of the classical Erdös-Rényi ensemble [20] because, in this limit, the expected degree of all nodes converges to the same value, as can be seen from Equation (17). In the opposite limit, when β1, the degree distribution becomes heavy-tailed and, depending on the distribution of energies, it may undergo a phase transition to a condensed phase where a finite fraction of nodes accumulate an extensive number of links, as shown in [21]. This effect will occur when the averages eβεin and/or eβεout diverge for β>βc for a critical inverse temperture βc.

An alternative approach to Equation (14) is to fix the expected in- and out-degree distributions by defining temperature-dependent energy levels as

εij=1βlnκout,iκin,j, (19)

and the chemical potential as

μ=1βlnkinN. (20)

These choices lead to the same connection probability Equation (18), with the difference that now the expected in- and out-degrees are temperature-independent and, thus, the degree distribution is fixed. Temperature-dependent energy levels appear in strongly interacting systems [22,23,24,25].

The entropy of the ensemble can be calculated using Equation (4), whose leading terms are

S=kinN(lnkinN1)+O(lnN), (21)

recovering results in [12]. Notice that this expression does not depend on the ensemble temperature, only on the total number of links, which is a property that is fixed in the ensemble and does not depend on the degree distribution. This means that the same expression holds in the alternative definition of the model where the energy of the states is temperature-dependent.

Finally, the reciprocity of the ensemble can be evaluated using Equation (12), and reads

r=kinkout2Nkin3kin2kout2N2kin3kinkout2Nkin3. (22)

Thus, the reciprocity of the NI-SCM vanishes in the thermodynamic limit, even though it can become significant if the in- and out-degrees of nodes are positively correlated and their distributions heavy-tailed.

3.1.2. Interacting Directed Configuration Model (I-DCM)

The probability for a directed link in this model can be found by substituting Equation (14) into Equation (7), with Δεij0, and imposing sparsity, which would again lead to Equations (16) and (17) if eβεin and eβεout are bounded. Alternatively, Equation (13), which relates the connection probabilities in the interacting and non-interacting formulations, provides a shortcut. The connection probability of the NI-DCM is size-dependent with pijni scaling as N1, hence approaching zero in the thermodynamic limit. At this extreme, Equation (13) indicates that pijpijni, which implies that the energies εin and εout, along with β and μ, define the in- and out-degree distributions as in the non-interacting model.

In contrast, the joint probability Prob(aij,aji) in the I-DCM does not factorize, thereby enabling the tuning of the reciprocity. The reciprocity can be calculated from Equation (9), using the probability of having a bidirectional connection between nodes i and j from Equation (6) after imposing the condition that, the two links are present simultaneously, aij=aji=1. Using that

eβ(εijμ)=Nkinκout,iκin,j,

the reciprocity is

r=2Nkin××i<jκout,iκin,jNkinκout,jκin,iNkineβΔεij1+κout,iκin,jNkin+κout,jκin,iNkin+κout,iκin,jκout,jκin,iNkin)2eβΔεij, (23)

which, up to leading order in N, gives

r=1(Nkin)3i,jκout,iκin,iκout,jκin,jeβΔεij. (24)

This result implies that reciprocity vanishes in the thermodynamic limit. The specific form in which r0 as N depends on the form of the interaction energy. In all cases, when Δεij>0, reciprocity is energetically unfavorable, and thus lower than in the NI-SCM for the same temperature; conversely, when Δεij<0, the link reciprocity is higher.

For instance, a constant value independent of the specific pair of nodes, Δεij=ε, leads to

r=eβεNkin3kinkout2, (25)

meaning that the interaction introduces temperature-dependent rescaling as compared to the reciprocity of the NI-SCM in Equation (22).

If, instead of a constant value, the nodes in the interaction have an additive contribution to the interaction correction energy, Δεij=εi+εj, then

r=1Nkin3iκout,iκin,ieβεi2. (26)

If εi is proportional to the temperature, εi1/β, the NI-SCM behavior is recovered with a temperature-independent constant rescaling. Additionally, it can incorporate dependencies on the hidden degrees of the corresponding node, for instance, εi=1/βln(κout,iκin,i), and then

r=1Nkin3(kinkout)22. (27)

Again, local correlations between the incoming and outgoing degrees of a node control the velocity of the reciprocity’s decay. The results above also imply that a size-dependent negative interaction energy with intensity |ε|1/βlnN could counteract the decay of reciprocity in the SCM model and produce a finite value even in the thermodynamic limit.

3.2. Directed Sd Model

As we have seen in the previous section, reciprocity vanishes in the thermodynamic limit of the DCM even when fermions interact. Similarly, clustering also vanishes due to the size dependence of the connection probability. Finite reciprocity and clustering can be achieved in the framework of geometric networks [26,27], where nodes are distributed in an underlying metric space such that a distance xij can be defined between any pair of nodes. In this situation, we assume that the energies of sending out or accepting a link are supplemented with a cost associated with the distance between the nodes. Thus, the total energy of a link is

εij=εout,i+εin,j+f(xij), (28)

where f(x) is a monotonically increasing function of the distance. An interesting choice is a logarithmic function, f(xij)=lnxij, with nodes distributed in a d-dimensional Euclidean space, Rd, according to a Poisson point process with a constant density, δ.

A prominent real system following this rationale is the Internet at the autonomous systems (AS) level, where link directions represent customer-to-provider relationships between autonomous systems [28]. A link from AS i to AS j indicates the flow of money when Internet traffic is routed through that connection. Notice that, in general, ASs can act as customers in some connections and as providers in others. In this system, the term εout,i represents the cost that AS i must pay to maintain a connection as a customer. Similarly, εin,j represents the cost that AS j must pay to maintain a connection as a provider. These two costs generally depend on the size and physical infrastructure of each AS. Finally, the term f(xij) represents the cost associated with the physical constraints of the connection, such as, for instance, its physical length. In the case of very large ASs, a negative interaction energy, Δεij, represents the synergistic effect of having a bidirectional connection, typically between the tier 1 ASs that define the core of the Internet.

In a different domain, brain connectomes are well described by the hyperbolic geometry network framework encoded by the directed Sd model [16,29] and display an over-representation of reciprocal connections [30]. To form a synaptic connection, the costs of maintaining neurotransmitters and neuroreceptors are incurred, along with a cost associated with maintaining the neural fibers and the signal as it travels along the distance covered by them.

3.2.1. Non-Interacting Directed Sd Model (NI-DSM)

When Δεij=0, the expected out-degree of a node with energy εout, located, without a loss of generality, at the origin of coordinates, is given by

kout(εout)=δρ(εin)dεin0Vd1rd11+rβeβ(εin+εoutμ)dr, (29)

where Vd1=2πd/2/Γ(d/2) is the volume of a (d1)-sphere. This expression can be rewritten for β>d as

kout(εout)=δVd1I(β,d)edεinedμedεout, (30)

where

I(β,d)=0td1dt1+tβ=πβsindπβ. (31)

Thus, if we redefine the expected out- and in-degrees as κoutedεout and κinedεin, with μ=1dlnδVd1I(β,d)kin, the connection probability becomes

pij=11+χijβwithχijxij(μ^κout,iκin,j)1d, (32)

and

μ^=βΓd2sinπdβ2δπ1+d2kin. (33)

(The case β<d can be analyzed as in [18]). This model can be immediately identified as the directed variant of the Sd model, first introduced in [16]. It represents a directed extension of the Sd model originally proposed in [31], along with its equivalent formulation in the hyperbolic plane, known as the H2 model [32]. Notably, numerous analytical results have been derived for the S1/H2 model, including studies on degree distribution [31,32,33], clustering [32,33,34,35], graph diameter [36,37,38], percolation [39,40], self-similarity [31], and spectral properties [41]. Moreover, this model has been extended to incorporate growing networks, weighted networks, multilayer networks, and networks with community structure, and it also serves as the foundation for defining a renormalization group for complex networks, see [26,27] and references therein. These analytical results and extensions of the undirected geometric model provide a guide for future studies of the Directed Sd Model.

Unlike the DCM, geometry implies that the connection probability is size-independent. In turn, this implies that the reciprocity and clustering are finite, as shown in [16]. Interestingly, this model undergoes a topological phase transition at the critical inverse temperature βc=d [18]. For β>βc, clustering is finite in the thermodynamic limit, whereas it vanishes below this value. This phase transition is of a topological nature and involves the reorganization of cycles in the network; transitioning from being short-range in the clustered phase to long-range in the unclustered one. This transition is accompanied by an anomalous behavior of the entropy per link. From Equation (4), we can compute the entropy as

SNkin=2βd1πdβcotπdβ. (34)

Unlike standard continuous phase transitions, the entropy per link diverges at the critical temperature from below as

SNkin1βd, (35)

whereas it diverges logarithmically at higher temperatures. The origin of this anomalous behavior is due to the fact that the number of available microstates per link at low temperatures is finite, primarily connecting pairs of nodes at bounded distances. However, once the temperature surpasses the critical temperature, the number of available microstates becomes that of the order of the number of nodes, as links can now connect pairs of nodes that are arbitrarily far apart.

3.2.2. Interacting Directed Sd Model (I-DSM)

When reciprocal links interact in the directed Sd model, the strategy applied for the I-DCM, based on using Equation (13) to relate the connection probabilities in the interacting and non-interacting formulations, cannot be used because pijni is independent of the system size and does not approach zero in the thermodynamic limit. The probability of a directed link in the I-DSM must be found by substituting Equation (28) into Equation (7), with Δεij0, and imposing sparsity, which leads to new definitions of the chemical potential μ and the relation between the expected in- and out-degrees of a given node and its in- and out-energies εin and εout. In particular, the connection probability can be written as

pij=χjiβ+eβΔεijχijβ+χjiβ+χijβχjiβ+eβΔεij, (36)

where

χij=xijeεout,i+εin,jμ. (37)

Using this expression, the average out-degree of a node with the in- and out-energies εin,i and εout,i can be written as

kout(εin,i,εout,i)=δVd1edμedεout,i××edεin,jρ(εin,j,εout,j)dεin,jdεout,j0td1(qijtβ+eβΔεij)tβ+qij(1+tβ)tβ+eβΔεijdt, (38)

where qijeεout,jεout,i+εin,iεin,j. By integrating Equation (38) over the energies εin,i and εout,i and equating it to kin, we can obtain the value of the chemical potential μ from

edμ=kinδVd1ed(εout,i+εin,j)0td1(qijtβ+eβΔεij)tβ+qij(1+tβ)tβ+eβΔεijdt, (39)

where the average in the denominator is taken over the random variables εin,i,εin,j,εout,i,εout,j, and Δεij. Using a similar approach, the reciprocity becomes

r=ed(εout,i+εin,j)0td1eβΔεijtβ+qij(1+tβ)tβ+eβΔεijdted(εout,i+εin,j)0td1(qijtβ+eβΔεij)tβ+qij(1+tβ)tβ+eβΔεijdt. (40)

Equation (38) implies that the average in- or out-degree of a given node depends on both εin and εout, not only on one of them, as is the case for non-interacting fermions. This indicates that computing the degree distributions requires the explicitly solving Equation (38). However, in the particular case of fully correlated εin and εout and Δεij=Δε, the term qij=1, and the average in- or out-degree becomes a function of εin or εout separately. Thus, as in the case of non-interacting fermions, we can write κoutedεout and κinedεin, with

μ=1dlnδVd1I˜(β,d,Δε)kin, (41)

where

I˜(β,d,Δε)=0td1(tβ+eβΔε)2tβ+t2β+eβΔεdt, (42)

and the reciprocity becomes

r=0td1eβΔε2tβ+t2β+eβΔεdtI˜(β,d,Δε). (43)

Figure 2 shows the results of the reciprocity in this case as a function of Δε for different values of β. The reciprocity converges to one in the limit Δε and approaches zero in the limit Δε, as expected. Furthermore, it increases as the temperature rises. Note that the convergence to 1 with very low temperatures and/or a highly negative Δε is only possible in the fully correlated case. In all other cases, the maximum possible value of the reciprocity is always less than one.

Figure 2.

Figure 2

Reciprocity of the interacting directed Sd model for fully correlated in- and out-energies, as a function of Δε. Different curves correspond to different temperatures β1.

4. Conclusions

The statistical mechanics framework for directed networks introduced in this work treats links as fermionic particles subject to constraints and interactions. This formalism allowed us to describe directed networks within a principled approach that incorporates the reciprocity and other structural properties, addressing the limitations of existing models. By leveraging concepts from quantum statistics, our methodology redefines network modeling, shifting the focus from node-centric descriptions to link interactions. Formulating directed networks within a grand canonical ensemble, we demonstrated how the chemical potential and key network features, such as the degree distribution and reciprocity, naturally emerge from the underlying statistical framework.

The versatility and analytical power of our formalism were illustrated through applications to specific cases, including the Directed Configuration Model and the Directed Sd model. The key results highlighted the influence of interactions on the reciprocity and clustering. In the non-interacting formulations, the reciprocity vanishes in the thermodynamic limit, whereas in the interacting models, the framework supports a tunable reciprocity that remains finite under specific conditions. The inclusion of a geometric component in the Sd model further showcased how spatial constraints shape the emergent properties of the network. This framework bridges theoretical advances with empirical applicability, providing a robust toolset for analyzing real-world directed networks. Additionally, it paves the way for exploring dynamical processes on directed topologies and designing models that better reflect the intricate balance of directed interactions. Future work could extend these principles to multilayer, temporal, or weighted networks, offering a deeper understanding of complex systems.

Author Contributions

M.B. and M.Á.S. both contributed equally to the conceptualization, methodology, formal analysis, investigation, writing—original draft preparation, writing—review and editing, and funding acquisition. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement

No new data were created.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Funding Statement

We acknowledge support from: Grant TED2021-129791B-I00 funded by MCIN/AEI/10.13039/ 501100011033 and by “European Union NextGenerationEU/PRTR”; Grant PID2022-137505NB-C22 funded by MCIN/AEI/10.13039/501100011033 and by “ERDF A way of making Europe”; and the Generalitat de Catalunya grant number 2021SGR00856. M.B. acknowledges the ICREA Academia award, funded by the Generalitat de Catalunya.

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Newman M.E.J. Networks. Oxford University Press; Oxford, UK: 2018. [Google Scholar]
  • 2.Bianconi G., Gulbahce N., Motter A.E. Local Structure of Directed Networks. Phys. Rev. Lett. 2008;100:118701. doi: 10.1103/PhysRevLett.100.118701. [DOI] [PubMed] [Google Scholar]
  • 3.Asllani M., Lambiotte R., Carletti T. Structure and dynamical behavior of non-normal networks. Sci. Adv. 2018;4:eaau9403. doi: 10.1126/sciadv.aau9403. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Boguñá M., Serrano M.Á. Generalized percolation in random directed networks. Phys. Rev. E. 2005;72:016106. doi: 10.1103/PhysRevE.72.016106. [DOI] [PubMed] [Google Scholar]
  • 5.Serrano M.Á., De Los Rios P. Interfaces and the edge percolation map of random directed networks. Phys. Rev. E. 2007;76:056121. doi: 10.1103/PhysRevE.76.056121. [DOI] [PubMed] [Google Scholar]
  • 6.Serrano M.Á., Boguñá M., Vespignani A. Patterns of Dominant Flows in the World Trade Web. J. Econ. Interact. Coord. 2007;2:111–124. doi: 10.1007/s11403-007-0026-y. [DOI] [Google Scholar]
  • 7.Serrano M.Á., Klemm K., Vazquez F., Eguíluz V.M., San Miguel M. Conservation laws for voter-like models on random directed networks. J. Stat. Mech. Theory Exp. 2009;2009:P10024. doi: 10.1088/1742-5468/2009/10/P10024. [DOI] [Google Scholar]
  • 8.Asllani M., Challenger J.D., Pavone F.S., Sacconi L., Fanelli D. The theory of pattern formation on directed networks. Nat. Commun. 2014;5:4517. doi: 10.1038/ncomms5517. [DOI] [PubMed] [Google Scholar]
  • 9.Muolo R., Carletti T., Gleeson J.P., Asllani M. Synchronization dynamics in non-normal networks: The trade-off for optimality. Entropy. 2020;23:36. doi: 10.3390/e23010036. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Nartallo-Kaluarachchi R., Asllani M., Deco G., Kringelbach M.L., Goriely A., Lambiotte R. Broken detailed balance and entropy production in directed networks. Phys. Rev. E. 2024;110:034313. doi: 10.1103/PhysRevE.110.034313. [DOI] [PubMed] [Google Scholar]
  • 11.Park J., Newman M.E.J. Statistical mechanics of networks. Phys. Rev. E. 2004;70:066117. doi: 10.1103/PhysRevE.70.066117. [DOI] [PubMed] [Google Scholar]
  • 12.Bianconi G. Entropy of network ensembles. Phys. Rev. E. 2009;79:036114. doi: 10.1103/PhysRevE.79.036114. [DOI] [PubMed] [Google Scholar]
  • 13.Garlaschelli D., Loffredo M.I. Patterns of link reciprocity in directed networks. Phys. Rev. Lett. 2004;93:268701. doi: 10.1103/PhysRevLett.93.268701. [DOI] [PubMed] [Google Scholar]
  • 14.Fagiolo G. Clustering in complex directed networks. Phys. Rev. E—Stat. Nonlinear Soft Matter Phys. 2007;76:026107. doi: 10.1103/PhysRevE.76.026107. [DOI] [PubMed] [Google Scholar]
  • 15.Ahnert S.E., Fink T.M.A. Clustering signatures classify directed networks. Phys. Rev. E. 2008;78:036112. doi: 10.1103/PhysRevE.78.036112. [DOI] [PubMed] [Google Scholar]
  • 16.Allard A., Serrano M.Á., Boguñá M. Geometric description of clustering in directed networks. Nat. Phys. 2024;20:150–156. doi: 10.1038/s41567-023-02246-6. [DOI] [Google Scholar]
  • 17.Park J., Newman M.E.J. Origin of degree correlations in the Internet and other networks. Phys. Rev. E. 2003;68:026112. doi: 10.1103/PhysRevE.68.026112. [DOI] [PubMed] [Google Scholar]
  • 18.Van der Kolk J., Serrano M.Á., Boguñá M. An anomalous topological phase transition in spatial random graphs. Commun. Phys. 2022;5:245. doi: 10.1038/s42005-022-01023-w. [DOI] [Google Scholar]
  • 19.Kim H., Del Genio C.I., Bassler K.E., Toroczkai Z. Constructing and sampling directed graphs with given degree sequences. New J. Phys. 2012;14:023012. doi: 10.1088/1367-2630/14/2/023012. [DOI] [Google Scholar]
  • 20.Erdös P., Rényi A. On random graphs I. Publ. Math. 1959;6:290–297. doi: 10.5486/PMD.1959.6.3-4.12. [DOI] [Google Scholar]
  • 21.Bianconi G., Barabási A.L. Bose-Einstein Condensation in Complex Networks. Phys. Rev. Lett. 2001;86:5632–5635. doi: 10.1103/PhysRevLett.86.5632. [DOI] [PubMed] [Google Scholar]
  • 22.Rushbrooke G. On the statistical mechanics of assemblies whose energy-levels depend on the temperature. Trans. Faraday Soc. 1940;36:1055–1062. doi: 10.1039/tf9403601055. [DOI] [Google Scholar]
  • 23.Landsberg P. Statitical Mechanics of Teperature-Dependent Energy Levels. Phys. Rev. 1954;95:643. [Google Scholar]
  • 24.Elcock E., Landsberg P. Temperature dependent energy levels in statistical mechanics. Proc. Phys. Soc. Sect. B. 1957;70:161. doi: 10.1088/0370-1301/70/2/301. [DOI] [Google Scholar]
  • 25.De Miguel R., Rubí J.M. Statistical mechanics at strong coupling: A bridge between Landsberg’s energy levels and Hill’s nanothermodynamics. Nanomaterials. 2020;10:2471. doi: 10.3390/nano10122471. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Boguñá M., Bonamassa I., De Domenico M., Havlin S., Krioukov D., Serrano M.Á. Network geometry. Nat. Rev. Phys. 2021;3:114–135. doi: 10.1038/s42254-020-00264-4. [DOI] [Google Scholar]
  • 27.Serrano M.Á., Boguñá M. The Shortest Path to Network Geometry: A Practical Guide to Basic Models and Applications. Cambridge University Press; Cambridge, UK: 2022. [DOI] [Google Scholar]
  • 28.Dimitropoulos X., Krioukov D., Fomenkov M., Huffaker B., Hyun Y., Claffy K., Riley G. AS relationships: Inference and validation. ACM SIGCOMM Comput. Commun. Rev. 2007;37:29–40. doi: 10.1145/1198255.1198259. [DOI] [Google Scholar]
  • 29.Allard A., Serrano M.Á. Navigable maps of structural brain networks across species. PLOS Comput. Biol. 2020;16:e1007584. doi: 10.1371/journal.pcbi.1007584. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Lin A., Yang R., Dorkenwald S., Matsliah A., Sterling A.R., Schlegel P., Yu S.c., McKellar C.E., Costa M., Eichler K., et al. Network statistics of the whole-brain connectome of Drosophila. Nature. 2024;634:153–165. doi: 10.1038/s41586-024-07968-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Serrano M.Á., Krioukov D., Boguñá M. Self-Similarity of Complex Networks and Hidden Metric Spaces. Phys. Rev. Lett. 2008;100:078701. doi: 10.1103/PhysRevLett.100.078701. [DOI] [PubMed] [Google Scholar]
  • 32.Krioukov D., Papadopoulos F., Kitsak M., Vahdat A., Boguñá M. Hyperbolic geometry of complex networks. Phys. Rev. E. 2010;82:036106. doi: 10.1103/PhysRevE.82.036106. [DOI] [PubMed] [Google Scholar]
  • 33.Gugelmann L., Panagiotou K., Peter U. Random Hyperbolic Graphs: Degree Sequence and Clustering. In: Czumaj A., Mehlhorn K., Pitts A., Wattenhofer R., editors. Automata, Languages, and Programming. Vol. 7392. Springer; Berlin/Heidelberg, Germany: 2012. pp. 573–585. ICALP 2012, Part II, Lecture Notes in Computer Science. [DOI] [Google Scholar]
  • 34.Candellero E., Fountoulakis N. Clustering and the Hyperbolic Geometry of Complex Networks. Internet Math. 2016;12:2–53. doi: 10.1080/15427951.2015.1067848. [DOI] [Google Scholar]
  • 35.Fountoulakis N., van der Hoorn P., Müller T., Schepers M. Clustering in a hyperbolic model of complex networks. Electron. J. Probab. 2021;26:1–132. doi: 10.1214/21-EJP583. [DOI] [Google Scholar]
  • 36.Abdullah M.A., Fountoulakis N., Bode M. Typical distances in a geometric model for complex networks. Internet Math. 2017;1:115–126. doi: 10.24166/im.13.2017. [DOI] [Google Scholar]
  • 37.Friedrich T., Krohmer A. On the Diameter of Hyperbolic Random Graphs. SIAM J. Discret. Math. 2018;32:1314–1334. doi: 10.1137/17M1123961. [DOI] [Google Scholar]
  • 38.Müller T., Staps M. The diameter of KPKVB random graphs. Adv. Appl. Probab. 2019;51:358–377. doi: 10.1017/apr.2019.23. [DOI] [Google Scholar]
  • 39.Serrano M.Á., Krioukov D., Boguñá M. Percolation in Self-Similar Networks. Phys. Rev. Lett. 2011;106:048701. doi: 10.1103/PhysRevLett.106.048701. [DOI] [PubMed] [Google Scholar]
  • 40.Fountoulakis N., Müller T. Law of large numbers for the largest component in a hyperbolic model of complex networks. Ann. Appl. Probab. 2018;28:607–650. doi: 10.1214/17-AAP1314. [DOI] [Google Scholar]
  • 41.Kiwi M., Mitsche D. Spectral gap of random hyperbolic graphs and related parameters. Ann. Appl. Probab. 2018;28:941–989. doi: 10.1214/17-AAP1323. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

No new data were created.


Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES