Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2021 Jan 13;11:1130. doi: 10.1038/s41598-020-80939-1

Connecting complex networks to nonadditive entropies

R M de Oliveira 1, Samuraí Brito 2,, L R da Silva 1,3, Constantino Tsallis 3,4,5,6
PMCID: PMC7806741  PMID: 33441951

Abstract

Boltzmann–Gibbs statistical mechanics applies satisfactorily to a plethora of systems. It fails however for complex systems generically involving nonlocal space–time entanglement. Its generalization based on nonadditive q-entropies adequately handles a wide class of such systems. We show here that scale-invariant networks belong to this class. We numerically study a d-dimensional geographically located network with weighted links and exhibit its ‘energy’ distribution per site at its quasi-stationary state. Our results strongly suggest a correspondence between the random geometric problem and a class of thermal problems within the generalised thermostatistics. The Boltzmann–Gibbs exponential factor is generically substituted by its q-generalisation, and is recovered in the q=1 limit when the nonlocal effects fade away. The present connection should cross-fertilise experiments in both research areas.

Subject terms: Physics; Statistical physics, thermodynamics and nonlinear dynamics; Complex networks; Statistical physics

Introduction

Boltzmann–Gibbs (BG) statistical mechanics constitutes one of the pillars of contemporary theoretical physics. As such is has uncountable successes for a great variety of physical systems. However, when the system constituents have a generically nonlocal space–time entanglement, this theory does not apply. Such is the case already pointed in 1902 by Gibbs himself, namely when the standard partition function diverges, e.g., gravitation. It is in this context that it was proposed in 19881 the generalisation—hereafter referred to as nonextensive statistical mechanics—of the BG theory based on nonadditive entropies, namely Sq=k1-ipiqq-1, which recovers SBG=-kipilnpi in the q1 limit. The composition of two probabilistically independent systems A and B yields straightforwardly Sq(A+B)/k=[Sq(A)/k]+[Sq(B)/k]+(1-q)[Sq(A)/k][Sq(B)/k]. As we see, the BG entropic additivity is recovered when q=1. The fundamental advantage associated with q1 is that, for strongly correlated systems, it enables, as illustrated in2, the preservation of the extensivity of the thermodynamic entropy, mandated in all circumstances by the Legendre structure of classical thermodynamics.

In parallel with the above, the study of complex networks has been intensified around the world37. Networks can be found everywhere. Society is formed by humans linked through relationships. The Internet is a set of devices communicating with each other. The brain is formed by neurones communicating through synapses. All these completely different systems can be translated onto a simple set of nodes (or sites) and edges (or links) obeying some connection rule, and the tools of network science can be successfully used to study them. Typical applications of this area can be found in classical and quantum internet8,9, medicine10,11, neuroscience12, and sociology13,14. It was thought, during more than a decade, that most of real networks were purely scale-free meaning that the distribution of the number of links in the network follows a power-law distribution. It was recently argued that most real networks are not pure scale-free15, paving the way for new possibilities to describe them.

During the initial years, network science and nonextensive statistical mechanics were seen as completely different areas. But meaningful connections started in 20051622. It is nowadays known that the degree distribution of asymptotically scale-free networks at the thermodynamic limit is of the form P(k)eq-k/κ, where the q-exponential function is defined as eqz[1+(1-q)z]11-q (e1z=ez). This form, more precisely pq(εi)=eq-βqεi/Zq, optimizes the entropy Sq under appropriate canonical constraints, εi being the site energy and βq the inverse temperature; the BG weight is recovered at the q1 limit. This thermostatistical approach has been successfully applied in a wide diversity of areas, such as long-range-interacting Hamiltonian systems23, vortices in type II supercondutors24, cold atoms25, granular matter26, high-energy physics experiments on Earth27 and observations in the outer space28,29, civil engineering30, and for predicting COVID-19 peaks around the world31,32.

In this work, we introduce and study a geographically located d-dimensional network model. One of the main characteristics of this model is the possibility to control the long/short range nature of the interactions between the sites. BG statistics completely fails to describe systems that interact at long-range, and many theories have been proposed to approach this regime. The present model introduces a new property for this class of systems. In addition to the fact that Euclidean distances (dij) between the sites are relevant, it also takes into account the weights (wij) of the links (see Fig. 1) and associates them to the ‘energy’ (εi) of each site. Due to that new ingredient, we could compute the energy distribution of the ever growing network. This distribution turns out to have the functional form of the q-generalised BG distribution for nonextensive systems, based on nonadditive entropy. These numerical results strongly suggest a neat correspondence between the random network geometrical problem and a particular thermostatistical problem within the generalised theory.

Figure 1.

Figure 1

Sample of a N=100 network for (d,αA,αG,η,w0)=(2,1,5,1,1). As can be seen, for this choice of parameters, hubs (highly connected nodes) naturally emerge in the network. Each link has a specific width wij and the total energy εi associated to the site i will be given by half of the sum over all link widths connected to the site i (see zoom of site i).

The model

Our growing d-dimensional network starts with one site at the origin. We then stochastically locate a second site (and then a third, a fourth, and so on up to N) through a probability p(r)1/rd+αG(αG>0), where r1 is the Euclidean distance from the newly arrived site to the center of mass of the pre-existing cluster; αG is the growth parameter and d=1,2,3 is the dimensionality of the system (large αG yields geographically concentrated networks).

The site i=1 is then linked to the site j=2. We sample a random number wij from a distribution P(w) that will give us the corresponding link weight. Each site will have a total energy εi that will depend on how many links it has, noted ki, and the widths {wij} of those links. At each time step, the site i only has access to its local energy εi defined as:

εij=1kiwij2(wij0) 1

The value of εi will directly affect the probability of the site i to acquire new links. Indeed, from this step on, the sites i=3,4, will be linked to the previous ones with probability

ΠijεidijαA(αA0), 2

where dij is the Euclidean distance between i and j, where j runs over all sites linked to the site i. The attachment parameter αA controls the importance of the distance in the preferential attachment rule (2). When αA1 the sites tends to connect to close neighbours, whereas αA0 tends to generate distant connections all over the network. Notice that, while the network size increases up to N nodes, the variables ki and εi (number of links and total energy of the i-th node; i=1,2,3,N) also increase in time (see Fig. 1 for a sample of the ever growing network).

If we consider the particular case P(w)=δ(w-1), where δ(z) denotes the Dirac delta distribution, Eq. (2) becomes Πijki/dijαA(αA0), thus recovering the usual preferential attachment rule. Consequently, the present model recovers the one in1921 as a particular instance. Note that, if we additionally consider the particular case αA=0, we recover the standard Barabási–Albert model with Πiki5,6.

We are considering here the case where w is given by the following stretched-exponential distribution:

P(w)=ηw0Γ1ηe-(w/w0)η(w0>0;η>0), 3

which satisfies 0dwP(w)=1. As particular cases of Eq. (3) we have: η=1, which corresponds to an exponential distribution, η=2, which corresponds to a half-Gaussian distribution, and η, which corresponds to an uniform distribution within w[0,w0].

Results

Our focus here is to analyse the energy distribution p(ε) of the N1 network. We have in fact analyzed a large amount of typical cases in the space (d,αA,αG,w0,η), and have systematically found the same results for d=1,2,3 within the intervals (αA/d[0,10];αG[1,10];w0[0.5,10];η[0.5,3]). Similarly to previous works16,1921, p(ε) does not depend on αG; also, it does not depend independently on d and αA, but only, remarkably, on the ratio αA/d; p(ε) also depends on w0 and η (see Fig. 2a–d). Because of these features, and without loss of generality, we have once for ever fixed αG=1, and d=2. The simulations were done for 103 realisations of size N=105, which was verified to be enough for observing the asymptotic distribution p(ε) with high precision.

Figure 2.

Figure 2

In these plots we show p(ε) for typical values of d (a), αG (b), w0 (c) and η (d). (a) By fixing (αG,η,w0,αA/d)=(1,1,1,1) the dimensionality d does not modify p(ε). (b) By fixing (η,w0,αA/d)=(1,1,1), αG has no influence on p(ε). (c) We show that variations of w0 yield a p(ε) which remains invariant when expressed in terms of ε/w0. (d) We show that for variations of η the curves of p(ε) versus εβq(η) collapse once again. For simplicity, the values of the fixed variables were set equal to unity, but the results remain independent from this choice. The numerical precision of all the collapses is verified to be quite impressive. Very tiny discrepancies might be due to the fact that both N and the number of realisations are finite, and/or to high-order metric-topological terms. The simulations were averaged over 103 realisations for N=105.

We know that the signature of the Boltzmannian systems is the presence of exponentials and Gaussians distributions. Similarly, the nonextensive systems based on the entropy Sq can be recognised by the emergence of q-exponentials and q-Gaussians distributions. We have here found that, independent of the choice of (d,αA,αG,w0,η), the ‘energy’ distribution p(ε) associated with the network is invariably well fitted by the following q-exponential:

pq(ε)=eq-βqεZq, 4

where pq(ε) represents the generalisation, within nonextensive statistical mechanics, of the BG energy weight with ε, βq and Zq playing respectively the roles of energy, inverse temperature and normalisation factor (see Fig. 3). Note that, when q1, we do recover the standard Boltzmann distribution since e1-β1εe-βε. This result exhibits an interesting emergence of correspondence between a random network geometric problem and a particular case within generalised thermostatistics. This fact definitively reminds the Kasteleyn–Fortuin theorem33, which establishes an important isomorphism between the bond-percolation geometric problem and the qPotts1 limit of the qPotts-state Potts ferromagnet.

Figure 3.

Figure 3

In these plots we show the variations of p(ε) for fixed values η=1 (a) , η=2 (b) and η=3 (c), for αA/d=0,1.5,3,10. In (d) we show the variations of p(ε) for fixed values of (αA/d,η)=(1,1) and w0=1,5,10. In all figures, the black continuous lines are given by Eq. (4) with (q,βq) given by Eqs. (5,  6) respectively. Insets: lnq-linear representation of the same data; the slopes of the straight lines precisely yield the corresponding values of (-βq). The simulations were averaged over 103 realisations for N=105.

For all (d,αA,αG,w0,η), we found that:

q=43if0αAd113e1-αA/d+1ifαAd>1 5
βq=βq0if0αAd1(βq0-βq)e2(1-αA/d)+βqifαAd>1 6

with βq0(-10.81e-1.36η+6.04)/w0 and βq(-4.81e-1.22η+2.56)/w0 . As can be seen, q does not depend on (η,w0), but only on the scaled variable αA/d. In contrast, βq is less universal and depends on all three parameters (w0,η,αA/d).

In Fig. 4a,d we show the numerical results for the index q as function of αA/d. This result is consistent with19,20, where the behaviour of q characterises the existence of three regimes. As can be seen, q is constant and equal to 4/3 in the range 0αA/d1. This interval describes the regime of strong-long-range interactions characterised by the highest value of q. In the interval 1<αA/d5 we have the moderately-long-range interaction regime, characterised by q smaller than 4/3 but still greater than 1. In this regime q displays no abrupt transition from 4/3 to 1 but instead it decreases exponentially with αA/d through the function e1-αA/d19,20. This behaviour exhibits that the BG regime was not yet reached. In the last regime, αA/d5, the Boltzmannian-like regime finally emerges and q=1. Similar results for q were found in17 for a gas-like network model. In the Fig. 4b,c,e we show similar results for the parameter βq which equals βq0 in the range 0αA/d1 and, then, exponentially decreases with αA/d; βq increases with η and decreases with w0. However, if we plot (βq-βq)/(βq0-βq), all curves collapse as a function of αA/d. Moreover, we verify in Fig. 4f that the effective ‘temperature’ decreases with increasing q. There is no thermodynamical prescription which would impose that. In30, for instance, both possibilities are in fact observed.

Figure 4.

Figure 4

(a) q as a function of αA/d; q is constant in the range 0αA/d1 (q0=4/3) and decreases exponentially with αA/d for αA/d>1, down to q=1 (black solid line). (b) βq as a function of αA/d for η=1,2,3 and w0=1,5,10, for typical values of αA/d; βq increases with η and decreases with w0 and αA/d. (c) By plotting (βq-βq)/(βq0-βq), all curves collapse and exponentially decrease with αA/d>1 (black straight line). Inset: βq0 and βq exponentially vary with η; βq was estimated by fixing αA/d=10. In (d,e) we present log-linear representations of the same data as in (a,c) respectively, exhibiting the exponential dependence of both q and βq on αA/d, when αA/d1. (f) By eliminating the variable αA/d, we show 1/(w0βq) as functions of q for the same set of data shown in the previous plots; q is related with 1/(w0βq) through the equation 1/w0[βq+9(βq0-βq)(q-1)2] that is valid for all values of (w0,η). For very large values of αA/d and the extreme regions η0 and η, the numerical precision needed to attain the stationary-state distribution is too high for our present computational effort and further analysis would be needed, which is out of the present scope.

Discussion

All these results strongly suggest that the ‘energy’ distribution p(ε) of the network is given by the very same expression which q-generalises the Boltzmann–Gibbs weight when it is the nonadditive entropy Sq which is optimised. Naturally, since the present study is numerical, we can not exclude very minor corrections due to high-order metric-topological terms. The BG limit is rapidly reached when αA/d5. Not less important, q and βq depend on αA and d only through the ratio αA/d; also, interestingly enough, none of them depends on αG. The fact that q depends only on αA/d means that this ratio uniquely determines the entropic nonadditivity universality class. The quantity βq also depends on η and w0. Consistently, w0, which characterises the width of the stretched-exponential distribution P(w), plays here the same role as T in usual thermal BG problems. This seemingly is the first time that, in a complex network, we identify a parameter which plays the role of an external parameter that we may fix at will, similarly to the manner in which we fix, in BG statistical mechanics, the temperature at which the thermally equilibrated system is placed. In all previous connections with random networks1622, βq (sometimes noted 1/κq) was univocally related to q. A single value for βq for a given value of q is analogous to traditional critical points in BG statistics. In our present case, we have, for a fixed value of q, the freedom of making βq to vary, like T in BG thermal statistics.

The present results strongly support the conjecture of existence of a neat correspondence between geometrical random network (asymptotically) scale-invariant problems and the present specific class of many-body models within nonextensive statistical mechanics, constructed upon nonadditive entropies. This is analogous to the Kasteleyn-Fortuin theorem for the qPotts-state Potts model, whose qPotts1 limit rigorously corresponds to the bond percolation problem33, and also to the de Gennes celebrated isomorphism for the n-vector ferromagnetic model, whose n0 limit precisely corresponds to the self-avoiding random walk34, which constitutes a pillar in polymer physics. It is possible to think of a variety of applications of connections of the present kind, for example the maintaining budgets to be distributed among cities connected within a large regional network of roads. Each city could, for instance, receive a support proportional to the sum of the widths of the roads arriving to it.

Methods

To calculate the relevant properties of our network model in a statistically relevant way, we used 1000 independent realisations within the standard Monte Carlo method to generate different instances of the our network. The network size was set to be N=105. All simulations were obtained through independent codes in C. To generate random numbers from the stretched exponential distribution we used the boost library available in https://www.boost.org/. Logarithmic binning was used to generate the histogram of the energies using Python packages of the numpy library.

Acknowledgements

S. B. acknowledges the Serrapilheira Institute (Grant No. Serra-1708-15763), the Brazilian agencies MCTI and MEC. R.M.O., L.R.S. and C.T. acknowledge partial financial support from CAPES, CNPq and Faperj (Brazilian agencies). We also thank the High Performance Computing Center (NPAD/UFRN) for providing computational resources.

Author contributions

R.M.O. and S.B. performed all the numerical simulations and provided all the results of the manuscript. C.T. proposed the main idea leading to those results. L.R.S., C.T., and S.B. equally contributed to the preparation of the manuscript. All authors conceived and contributed to its conceptual development.

Data availability

The data and the codes that support all the results within this paper are available from the corresponding authors upon request.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Tsallis C. Possible generalization of Boltzmann–Gibbs statistics. J. Stat. Phys. 1988;52:479–487. doi: 10.1007/BF01016429. [DOI] [Google Scholar]
  • 2.Tsallis C, Gell-Mann M, Sato Y. Asymptotically scale-invariant occupancy of phase space makes the entropy Sq extensive. Proc. Natl. Acad. 2005;102(43):15377–15382. doi: 10.1073/pnas.0503807102. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Price DJDS. Networks of scientific papers. Science. 1965;149:510–515. doi: 10.1126/science.149.3683.510. [DOI] [PubMed] [Google Scholar]
  • 4.Watts DJ, Strogatz SH. Collective dynamics of small-world networks. Nature. 1998;393:440–442. doi: 10.1038/30918. [DOI] [PubMed] [Google Scholar]
  • 5.Barabási AL, Albert R. Emergence of scaling in random networks. Science. 1999;286(5439):509–512. doi: 10.1126/science.286.5439.509. [DOI] [PubMed] [Google Scholar]
  • 6.Albert R, Barabási AL. Statistical mechanics of complex networks. Rev. Mod. Phys. 2002;74(1):47. doi: 10.1103/RevModPhys.74.47. [DOI] [Google Scholar]
  • 7.Newman MEJ. The structure and function of complex networks. SIAM Rev. 2003;45:167–256. doi: 10.1137/S003614450342480. [DOI] [Google Scholar]
  • 8.Brito S, Canabarro A, Chaves R, Cavalcanti D. Statistical properties of the quantum internet. Phys. Rev. Lett. 2020;124(21):210501. doi: 10.1103/PhysRevLett.124.210501. [DOI] [PubMed] [Google Scholar]
  • 9.Tilch G, Ermakova T, Fabian B. A multilayer graph model of the internet topology. Int. J. Netw. Virtual Organ. 2020;22(3):219–245. doi: 10.1504/IJNVO.2020.106488. [DOI] [Google Scholar]
  • 10.Goh KI, et al. The human disease network. Proc. Natl. Acad. Sci. 2007;104(21):8685–8690. doi: 10.1073/pnas.0701361104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Gomes MF, et al. Assessing the international spreading risk associated with the 2014 west African ebola outbreak. PLoS Curr. Outbreaks. 2014;6:1–23. doi: 10.1371/currents.outbreaks.cd818f63d40e24aef769dda7df9e0da5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Mota NB, Copelli M, Ribeiro S. Thought disorder measured as random speech structure classifies negative symptoms and schizophrenia diagnosis 6 months in advance. NPJ Schizophr. 2017;3(1):18. doi: 10.1038/s41537-017-0019-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Shirado H, Christakis NA. Locally noisy autonomous agents improve global human coordination in network experiments. Nature. 2017;545(7654):370–374. doi: 10.1038/nature22332. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Nagler J, Levina A, Timme M. Impact of single links in competitive percolation. Nat. Phys. 2011;7(3):265–270. doi: 10.1038/nphys1860. [DOI] [Google Scholar]
  • 15.Broido AD, Clauset A. Scale-free networks are rare. Nat. Commun. 2019;10(1):1–10. doi: 10.1038/s41467-019-08746-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Soares DJ, Tsallis C, Mariz AM, da Silva LR. Preferential attachment growth model and nonextensive statistical mechanics. EPL. 2005;70(1):70. doi: 10.1209/epl/i2004-10467-y. [DOI] [Google Scholar]
  • 17.Thurner S, Tsallis C. Nonextensive aspects of self-organized scale-free gas-like networks. EPL. 2005;72(2):197. doi: 10.1209/epl/i2005-10221-1. [DOI] [Google Scholar]
  • 18.Thurner S. Nonextensive statistical mechanics and complex scale-free networks. Europhys. News. 2005;36(6):218–220. doi: 10.1051/epn:2005612. [DOI] [Google Scholar]
  • 19.Brito S, da Silva LR, Tsallis C. Role of dimensionality in complex networks. Sci. Rep. 2016;6(1):27992. doi: 10.1038/srep27992. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Brito S, Nunes TC, da Silva LR, Tsallis C. Scaling properties of d-dimensional complex networks. Phys. Rev. E. 2019;99(1):012305. doi: 10.1103/PhysRevE.99.012305. [DOI] [PubMed] [Google Scholar]
  • 21.Nunes TC, Brito S, da Silva LR, Tsallis C. Role of dimensionality in preferential attachment growth in the Bianconi–Barabási model. J. Stat. Mech. Theory Exp. 2017;2017(9):093402. doi: 10.1088/1742-5468/aa8198. [DOI] [Google Scholar]
  • 22.Cinardi N, Rapisarda A, Tsallis C. A generalised model for asymptotically-scale-free geographical networks. J. Stat. Mech. Theory Exp. 2020;2020(4):043404. doi: 10.1088/1742-5468/ab75e6. [DOI] [Google Scholar]
  • 23.Cirto LJ, Rodríguez A, Nobre FD, Tsallis C. Validity and failure of the Boltzmann weight. EPL. 2018;123(3):30003. doi: 10.1209/0295-5075/123/30003. [DOI] [Google Scholar]
  • 24.Andrade JS, Jr, da Silva GFT, Moreira AA, Nobre FD, Curado EMF. Thermostatistics of overdamped motion of interacting particles. Phys. Rev. Lett. 2010;105(26):260601. doi: 10.1103/PhysRevLett.105.260601. [DOI] [PubMed] [Google Scholar]
  • 25.Lutz E, Renzoni F. Beyond Boltzmann–Gibbs statistical mechanics in optical lattices. Nat. Phys. 2013;9(10):615–619. doi: 10.1038/nphys2751. [DOI] [Google Scholar]
  • 26.Combe G, Richefeu V, Stasiak M, Atman AP. Experimental validation of a nonextensive scaling law in confined granular media. Phys. Rev. Lett. 2015;115(23):238301. doi: 10.1103/PhysRevLett.115.238301. [DOI] [PubMed] [Google Scholar]
  • 27.Wong CY, Wilk G. Tsallis fits to pT spectra and multiple hard scattering in pp collisions at the LHC. Phys. Rev. D. 2013;87(11):114007. doi: 10.1103/PhysRevD.87.114007. [DOI] [Google Scholar]
  • 28.Yalcin GC, Beck C. Generalized statistical mechanics of cosmic rays: Application to positron-electron spectral indices. Sci. Rep. 2018;8(1):1764. doi: 10.1038/s41598-018-20036-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Smolla M, Schäfer B, Lesch H, Beck C. Universal properties of primary and secondary cosmic ray energy spectra. New J. Phys. 2020;22:093002. doi: 10.1088/1367-2630/abaa03. [DOI] [Google Scholar]
  • 30.Greco A, et al. Acoustic emissions in compression of building materials: q-statistics enables the anticipation of the breakdown point. Eur. Phys. J. Special Topics. 2020;229(5):841–849. doi: 10.1140/epjst/e2020-800232-7. [DOI] [Google Scholar]
  • 31.Tsallis C, Tirnakli U. Predicting COVID-19 peaks around the world. Front. Phys. 2020;8:217. doi: 10.3389/fphy.2020.00217. [DOI] [Google Scholar]
  • 32.Tirnakli U, Tsallis C. Epidemiological model with anomalous kinetics—Early stages of the Covid-19 pandemics. Front. Phys. 2020;2:2. [Google Scholar]
  • 33.Kasteleyn PW, Fortuin CM. Phase transitions in lattice systems with random local properties. J. Phys. Soc. Japan. 1969;26:11–14. [Google Scholar]
  • 34.de Gennes PG. Exponents for the excluded volume problem as derived by the Wilson method. Phys. Lett. A. 1972;38:339. doi: 10.1016/0375-9601(72)90149-1. [DOI] [Google Scholar]

Associated Data

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

Data Availability Statement

The data and the codes that support all the results within this paper are available from the corresponding authors upon request.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES