Abstract
Mathematical modelling of real complex networks aims to characterize their architecture and decipher their underlying principles. Selfrepeating patterns and multifractality exist in many realworld complex systems such as brain, genetic, geoscience, and social networks. To better comprehend the multifractal behavior in the real networks, we propose the weighted multifractal graph model to characterize the spatiotemporal complexity and heterogeneity encoded in the interaction weights. We provide analytical tools to verify the multifractal properties of the proposed model. By varying the parameters in the initial unit square, the model can reproduce a diverse range of multifractal spectrums with different degrees of symmetry, locations, support and shapes. We estimate and investigate the weighted multifractal graph model corresponding to two realworld complex systems, namely (i) the chromosome interactions of yeast cells in quiescence and in exponential growth, and (ii) the brain networks of cognitively healthy people and patients exhibiting late mild cognitive impairment leading to Alzheimer disease. The analysis of recovered models show that the proposed random graph model provides a novel way to understand the selfsimilar structure of complex networks and to discriminate different network structures. Additionally, by mapping real complex networks onto multifractal generating measures, it allows us to develop new network design and control strategies, such as the minimal control of multifractal measures of real systems under different functioning conditions or states.
Introduction
Technological advances and information digitization contribute not only to richer complex multimodal heterogeneous and noisy datasets in diverse fields such as social, geoscience, brain and biological networks^{1,2}, but at the same time call for advanced mathematical techniques for mining and investigating complex multiscale and spatiotemporal relationships. Much of the complex network literature focuses on developing mathematical network models that characterize one or few pairwise interactions^{3,4,5,6}. More recently, several network modelling approaches study the network complexity from a geometrical perspective^{7,8,9,10,11,12}.
Since, in various settings, we deal with networks with unknown rules of network growth and dynamic evolution (also referred as nonstationary interactions), these approaches prove beneficial to characterize some new network properties. However, in majority of the realworld experiments, we only have access to partial observations, or we notice that the interaction rules are highly heterogeneous across space and time. Modelling a system with such limitations requires a new mathematical formalism that can not only extract the generalized geometric signatures across scales, but also provide tools for scaling analysis of motifs and patterns. Additionally, the framework is desired to enable new control strategies that go beyond node state and target geometric characteristics of the network (e.g., network curvature, multifractal spectrum).
From a geometrical perspective, many largescale complex networks from sociology and biology exhibit selfsimilar and multifractal characteristics^{13,14}. Multifractal geometric analysis makes it possible to capture the heterogeneous and multiscale interaction rules of large networks^{15,16}. It efficiently characterizes largescale complex systems^{16} and can be employed to measure nodes similarity^{17} and detect community structures^{18}. For instance, the multifractality of geochemistry mapping explains the element concentration values distribution and spatial covariance structure in rock samples^{19}. In multifractal formalism, the renormalization procedure of coarsegraining networks into boxes (i.e., boxcounting method) helps at examining the existence of scaling and heterogeneity of motifs and rules in networks. The selfsimilar exponent is defined by the renormalization and a noticeable powerlaw relationship is found between the number of boxes needed to cover the nodes and the scale of boxes^{18,20}.
Building on the idea of selfrepeating structures, the de Wijs model^{21} partitions a unit segment into two subsegments of equal size and further repeats this operation recursively, which leads to the Mandelbrot multifractal^{22,23}. The model construction from multiplicative cascade results in the discrete logbinomial distribution^{19,24,25,26,27,28}. In contrast, the stochastic Kronecker graph represents a random graph obtained from the Kronecker product of probability matrices, thus displaying a selfsimilarity. It is able to reproduce many properties in real networks including heavy tail degree distribution, low diameter and densification power law^{29,30,31}. Along the same lines, the multifractal network generator generates random graphs with a wide variety of statistical properties^{32,33}. The multiplicative attribute graph generalizes the stochastic Kronecker graph and the multifractal network generator^{34,35}. By characterizing the interaction between nodes with different attributes, it models network structures as well as node property and information.
Prior works on modelling selfsimilar networks focus on unweighted graphs. However, as demonstrated in the literature^{7}, much of the complexity is encoded in the heterogeneous weights of the interactions. Pure topological models are binary and they are inadequate to capture complicated properties of real complex networks^{36}. In lots of situations, we deal with large complex networks where the interactions are heterogeneous and possibly varying. Introducing weights/strength can ameliorate existing binary random models to better depict and understand networks in real systems. Furthermore, there is a lack of analytical multifractal analysis for random graphs. Boxcovering methods over graphs is equivalent to graph coloring problem, which is a known NPcomplete problem. It’s even more difficult to apply this nodebased analysis on random graphs. Moreover, we do not only want to estimate and analyze network multifractality, but also want to control the multifractality and reflect the performance of robustness and resilience in complex networks.
To address these research gaps, in this paper, we propose the weighted multifractal graph (WMG) model. The WMG model captures and generates weighted multifractal networks by mapping from recursively constructed measures of linking probability. Rather than covering graph nodes with minimum number of boxes, we analyze and analytically quantify the multifractal properties of networks via counting edges that satisfy similar generating rules. We analytically show the multifractal properties of the WMG model. The WMG model could produce and account for a wide variety of multifractal spectrums with varying degrees of symmetry, locations, support and shapes. It can be employed to model the complexity of a wide array of networks from brain, genomics, proteomics, social and geoscience disciplines. The benefits of the WMG formalism is twofold: (1) It helps to recover mathematical models which are capable to discriminate between different structures of a complex system. (2) It enables us to understand and control the multifractality of complex networks with minimal intervention. It provides comprehension on how to explore the mechanism of evolving networks and how to regulate complex networks under different states.
Results
Weighted multifractal graph model
In order to generate weighted networks with multifractal characteristics and to minimally control complex networks, we introduce the weighted multifractal graph (WMG) model to generate and capture random weighted graphs with multifractal topology. By choosing a few parameters, the model can generate a wide variety of weighted multifractal topologies with arbitrary statistical properties, such as generalized degree distribution and clustering coefficient. This multifractal model can be used to fit diverse realworld datasets in fields such as biological systems, geoscience and financial markets. Also, it enables to control multifractality of networks with mild modifications and adjustments.
Along the same lines as in the multifractal network generator^{32}, we generate the WMG model recursively from simple square structures. First, we define simple generating measures on Rlayer unit squares. The xaxis and yaxis of each layer are identically divided into M intervals, and each interval length is denoted as l_{i}, i = 1…M. The unit square is divided into M^{2} rectangles, each rectangle (i, j) is assigned with a set of probabilities p_{ij}(r), i, j = 1…M, r = 1…R. The WMG model is developed from this initial generating measure. The selfsimilarity appears when we divide each rectangle in the unit square into M^{2} subrectangles, which has the same structure as the unit one. The selfsimilar WMG model is formed after repeating the operation K times. Meanwhile, the assigned probabilities \({p}_{ij}^{(K)}(r)\) and interval lengths \({l}_{i}^{(K)}\) in the WMG model are the product of probabilities and interval lengths in every division. The expression of \({p}_{ij}^{(K)}(r)\) and \({l}_{i}^{(K)}\) can be written as
where \({i}_{q}=\lfloor \frac{i1}{{M}^{q}}\rfloor \,{\rm{mod}}\,\,M+1\), \({j}_{q}=\lfloor \frac{j1}{{M}^{q}}\rfloor \,{\rm{mod}}\,\,M+1\), and ‘mod’ represents the modulo operation. Of note, the values of l_{i} are identical for all layers. The l_{i} values are independent of the weight layer index r. Furthermore, this generating measure is defined on unit squares and satisfies \({\sum }_{{i}_{0}=1}^{M}{l}_{{i}_{0}}=1\) and \({\sum }_{i=1}^{{M}^{K}}{l}_{i}^{(K)}=1\).
When generating a random multifractal graph, we first select a discrete weight set {w(r)}_{r=1:R}. The r and w(r) are the index of the discrete weight level and the corresponding weight value, respectively. \({p}_{ij}^{(K)}(r)\) and \({l}_{i}^{(K)}\) are the corresponding generating measures of the model at rth layer. The weight set \({\left\{w(r)\right\}}_{r=1:R}\) can be any desired positive and real values according with specific distributions for specific (desired) network features. Here R is the resolution level of the discrete weights. Choosing larger R leads to higher graph resolution and more parameters \({\left\{{p}_{ij}(r)\right\}}_{r=1:R}\) will be needed to be introduced. Like De Wijs model^{24,25}, Kronecker random graph^{29,30,31}, stochastic block model^{34} and multifractal network generator^{32}, a weighted random graph with N nodes is generated from the linking probability measures using the following strategy: (1) Generate a series of uniformly distributed random variables U(n) for each node n = 1…N independently. (2) Find the category i(n) of each node n such that \({\sum }_{t=1}^{i(n)1}{l}_{t}^{(K)} < U(n)\le {\sum }_{t=1}^{i(n)}{l}_{t}^{(K)}\). In the recursive model with K iterations, this suggest that the node n falls into subinterval i(n) on the unit edge. Since l_{i} and \({l}_{i}^{(K)}\) are identical for all layers, the categories i(n) assigned for the node n in every weight layer are also identical. (3) For each pair of nodes (u, v), generate an uniformly distributed random variable L(u, v), and find index r such that it satisfies \({\sum }_{t=1}^{r1}{p}_{i(u)i(v)}^{(K)}(t) < L(u,v)\le {\sum }_{t=1}^{r}{p}_{i(u)i(v)}^{(K)}(t)\). Next, we assign the weight value w(r) to the link between nodes u and v. If there is no r satisfying this condition, then there will be no edge between this pair of nodes (u, v). It is noteworthy that when M^{K} ≈ N and \({\left\{{l}_{i}\right\}}_{i=1:M}\) is equally sized, if each node n corresponds with one category i(n) without repetition, this special case of WMG model would reduce to Kronecker graph^{29,30,31}.
The iterative WMG model building procedure is illustrated in Fig. 1(a). The presented model example has 3 layers. In this example, \(\left\{{l}_{i}^{(K)}\right\}=\left[\begin{array}{cccccccc}0.027 & 0.063 & 0.063 & 0.147 & 0.063 & 0.147 & 0.147 & 0.343\end{array}\right]\)is built from Eq. (2) with \(\left\{{l}_{i}\right\}=\left[\begin{array}{cc}0.3 & 0.7\end{array}\right]\). Two networks in Fig. 1(b,c) are generated under the same model parameters M = 2, R = 2, K = 3, \({p}_{ij}(1)=\left[\begin{array}{cc}0.9 & 0.3\\ 0.3 & 0.3\end{array}\right]\), \({p}_{ij}(2)=\left[\begin{array}{cc}0.1 & 0.2\\ 0.2 & 0.9\end{array}\right]\)and \(w(r)=\left[\begin{array}{cc}1 & 2\end{array}\right]\). The color of nodes represents generating category and the stroke width of edges displays the weight. We highlight one node in each graph, its neighbours and the edges connecting them. As shown in Fig. 1(b), 45 of 100 nodes are colored with light blue and they are in the same category i = 8 because \({l}_{8}^{(3)}=0.512\). The neighbours of the highlighted node in the middle are more likely to have the same category (34 of 45 nodes, category i = 8 in light blue). As a result of the relatively large value of \({p}_{88}^{(3)}(2)=0.729\), the edges connecting them have weight w(2) = 2. By contrast, in Fig. 1(c), the categories of nodes are more evenly distributed because the interval lengths are \({l}_{i}^{(3)}=0.125\) for i = 1. . . 8. The highlighted node in Fig. 1(c) has category i = 1. In this example, \({p}_{1i}^{(3)}(1) > {p}_{1i}^{(3)}(2)\) for i = 1. . . 8. Therefore, in this generated graph, all the links containing the highlighted node have weight w(1) = 1. Fig. 1(d,e) show two networks generated by different weight distributions w(r) = r and \(w(r)={\rm{\log }}\,(1+r)\). While all other parameters are kept the same, from Fig. 1(d,e), we can see that a change in w(r) from r to \({\rm{\log }}\,(r+1)\) leads to networks with different weight features. In Fig. 1(f) we show the normalized histogram of the weights in two networks (d,e). Next, we present the multifractal analysis of this WMG model.
Multifractal analysis
Traditional approaches for quantifying the multifractal properties of networks rely on boxcounting and boxcovering method^{18,20,37}. The fractal dimension can also be obtained with the help of closeness centrality^{38}. However, finding the minimum number of boxes of a given radius required to cover the graph is as hard as the graph coloring problem^{20}. Introducing randomness in the graph model brings uncertainty to the boxcounting problem. Although there exist few analytical results that determine inequality constraints on the chromatic number for the graph coloring problem in ErdősRényi model^{39,40,41}, these inequalities cannot be analytically extended to networks with higherorder correlations and so determine their box covering.
To elucidate the multifractal properties of the abovementioned weighted network construction strategy, we describe next an analytical framework capable of estimating the partition function, the mass exponent, the generalized fractal dimension, the LipschitzHölder exponent and the multifractal spectrum. Since the link generating process contains both node attributes and edge formation characteristics, the proposed mathematical formalism estimates the number of edges which are generated under the same rule. While this formalism bears some similitudes with the multiplicative cascade model^{26,27,28}, it counts the number of edges in the generated graph rather than counting subblocks with same structure. Our edgebased strategy enables us to analytically compute the partition function and derive the multifractal related metrics (e.g., generalized fractal dimension, multifractal spectrum). For simplicity, let \({\left\{{p}_{ij}(r)\right\}}_{i,j=1:M}\) denote the edge generating probability in the initial unit square model and \({\left\{{l}_{i}\right\}}_{i=1:M}\) denote the length of the intervals, respectively. With these conventions, the derivation of the partition function reads:
The analytical derivation of the partition function allows us to calculate the mass exponent as \(\tau (q)=\frac{{\rm{\log }}\,{Z}_{\epsilon }(q)}{{\rm{\log }}\,\epsilon }\), the generalized fractal dimension from \(D(q)=\frac{\tau (q)}{1q}\), the LipschitzHölder exponent (also refer to coarse Hölder exponent or singularity index in prior work) \(\alpha (q)=\frac{d\tau (q)}{dq}\) and the multifractal spectrum from f(α) = α(q)q − τ(q).
The networks generated by the proposed WMG model inherit a rich variety of multifractality compared with the unweighted MFNG model^{32}. For example, when R = 1 (corresponding to MFNG model), the partition function in equation (3) shows that the variation in K does not influence significantly the mass exponent τ(q), the generalized multifractal dimension D(q), the LipschitzHölder exponent α(q) and the multifractal spectrum f(α) because of the log operation. However, as shown in Fig. 2(a), for M = 2, R = 3 and same {p_{ij}(r)} and {l_{i}}, the variation in the model iteration step K causes a shift of multifractal spectrum towards a support on higher LipschitzHölder exponents. One can observe that the shift in the support of the multifractal spectrum is smaller with increasing changes ΔK in the model iteration steps K.
The parabolalike curve shows the multifractality of the WMG model. Fig. 2(b) presents more results of multifractal spectrum curves with four different sets of initial unit square model parameters \({\left\{{p}_{ij}(r)\right\}}_{i,j=1:M,r=1:R}\) and \({\left\{{l}_{i}\right\}}_{i=1:M}\). Here, we consider M = 2, R = 3 and K = 4. The blue diamond is generated by equally assigning model parameters p_{ij}(r) = (0.25, 0.25, 0.25, 0.25), l_{i} = (0.5, 0.5). The red curve corresponds to assigning p_{ij}(r) = (0.40, 0.20, 0.20, 0.20), l_{i} = (0.5, 0.5). The yellow curve corresponds to p_{ij}(r) = (0.40, 0.20, 0.20, 0.20), l_{i} = (0.2, 0.8). The purple curve is given by p_{ij}(r) = (0.25, 0.25, 0.25, 0.25), l_{i} = (0.2, 0.8). Each set of parameters are the same for every weight layer r = 1…R.
Of note, for identical parameters (i.e. p_{ij}(r) = (0.25, 0.25, 0.25, 0.25)), the WMG generates a monofractal network (represented in Fig. 2(b) by a blue diamond marker). More precisely, this implies that a more evenly assigned p_{ij}(r) leads to more symmetric and narrower curve of the multifractal spectrum (which corresponds to a point for identical p_{ij}(r)). A shift and reshape of the curve can also be caused by changing l_{i}.
We observe that there is an interesting effect of the subinterval length {l_{i}} on the multifractal spectrum f(α). For example, as presented in Fig. 2(c), when node generating probabilities are identical (\(\left\{{l}_{i}\right\}=(0.5,0.5)\)  yellow curve), the maximum value of multifractal spectrum f(α) places at leftmost compared with other curves given by asymmetric \(\left\{{l}_{i}\right\}\). While interchanging the \(\left\{{l}_{i}\right\}\) (i.e., \(\left\{{l}_{i}\right\}=(0.3,0.7)\)  red vs. \(\left\{{l}_{i}\right\}=(0.7,0.3)\)  magenta, or \(\left\{{l}_{i}\right\}=(0.1,0.9)\)  blue vs. \(\left\{{l}_{i}\right\}=(0.9,0.1)\)  green), the maximum value of the multifractal spectrum remains unchanged but the left and right hand side end points of the spectrum change. Similarly, the influence of {p_{ij}(r)} can also be explored.
Fig. 2(d) shows the influence of the weight resolution R. For different R, we assign the parameters \({p}_{ij}(r)=\frac{{c}_{ij}}{R}\), r = 1…R, where \({c}_{ij}=\left[\begin{array}{cc}0.25 & 0.29\\ 0.29 & 0.17\end{array}\right]\). Therefore, the probability that an edge exists \({\sum }_{r=1}^{R}{p}_{ij}^{(K)}(r)\) remains the same among different R. It shows that increasing weight resolution R causes a right shift of multifractal spectrum.
Statistical properties
To provide a first order characterization of the heterogeneity of complex weighted networks, we analyze the generalized degree \({\left\{{D}_{r}\right\}}_{r=1\ldots R}\) of a node, which quantifies the number of connections (edges) with an associated weight w_{r}. The generalized degree distribution \({p}_{r}({k}_{r})=P\left\{{D}_{r}={k}_{r}\right\}\) retains more information of the network topology compared to the straightforward strength distribution, which helps us to better understand the network structure and its multifractality.
Via the extension of the multifractal network generator^{32}, in the WMG model, the generalized degree distribution is expressed as
where p_{i,r}(k_{r}) is the generalized degree distribution of nodes falling into interval i, \({p}_{i,r}({k}_{r})\approx poisson(N{\sum }_{j=1}^{{M}^{K}}{p}_{ij}^{(K)}(r){l}_{j}^{(K)})\). Detailed derivation of Eq. (4) is provided in Methods section ‘Generalized degree distributions’.
Fig. 3(a) illustrates the comparison between the analytical and empirical generalized degree distribution. The comparison analysis considers 100 runs, where networks of size N = 5000 nodes are generated from a set of random parameters {p_{ij}(r)} and {l_{i}}, with M = 2, K = 5, and R = 4. As one can notice, the WMG model can generate a wide variety of generalized degree distributions.
The clustering coefficients measure the local cliquishness and neighborhood connectivity^{5}. Concerned with the density of connected triangles, it reflects the extent to which the neighbors of a certain node are also connected. In weighted graphs, the clustering coefficient of a node can be computed as the mean weights of triangles containing the node, divided by the mean weights of triplets (link pairs) originating from that node^{42}. Following the derivation in the work of Palla et al.^{32}, the average local clustering coefficient of a node falling into interval i can be calculated as
where \(\widehat{{w}_{1}}=\frac{w({r}_{1})+w({r}_{2})+w({r}_{3})}{3}\) and \(\widehat{{w}_{2}}=\frac{w({r}_{1})+w({r}_{2})+w({r}_{3})}{3}\) are the arithmetic mean of triangles and triplets edge weights. Index i marks the interval which the node falls into when generating the graph. i = 1…M^{K}. Comparison between empirical and analytical clustering coefficients is shown in Fig. 3(b). For most of the intervals, the empirical result fits well with the analytical one. However, smaller clustering coefficient corresponds with sparser local graph structure, thus standard deviation tends to be larger than the ones with comparative larger clustering coefficients.
The proposed WMG model can reproduce the statistical properties of classic theoretical models. We test our model on a weighted graph generated by the ErdősRényi model. The weighted version of ErdősRényi model is given by a set of linking probabilities \({\left\{p(r)\right\}}_{r=1:R}\), where p(r) is the corresponding linking probability with the discrete weight w(r). We apply the WMG model to a network with 500 nodes generated by a 4layer ErdősRényi model. Fig. 3(c) illustrates the generalized degree distribution of the simulated network and the recovered WMG model. The blue asterisks denote the target distribution from the simulated ER graph, while the red circles represent the generalized degree distribution obtained from the identified WMG model. It shows that the proposed WMG model can capture the statistical properties of the classic random graph model.
Multifractality in biological systems
In two recent works^{18,43}, the authors show that the interactions among different chromosomal regions and brain networks display a nontrivial multifractal property. We also applied the boxcovering method proposed in^{18} to show the existence of multifractality in real networks. The box covering algorithm returns the mass of each boxes with radius ϵ to fully cover the network with N nodes. As illustrated in Fig. 4(a,b), the plots of partition functions and the scales reveal the multifractality behavior in the brain networks and the chromosome networks.
However, as discussed in section ‘Multifractal Analysis’, finding boxes to cover the graph is as hard (from a computational complexity perspective) as graph coloring problem and analytical expressions cannot be introduced. By mapping the realworld networks to multifractal generating measures that allow to construct weighted graph models, it allows us to characterize the complexity of real networks in function level and also makes it possible to better understand and control the topology structure. In this work, instead of counting boxes and calculating the multifractality in a given graph, we consider the multifractality in the recovered generating measures and its corresponding graph model.
Therefore, we exploit the proposed WMG model for investigating two biological systems, namely the chromosome interactions within the yeast genome and brain functionality networks during various stages of Alzheimer’s disease. Our goal is not only to characterize the generalized degree distributions in these real biological networks, but also to exemplify how a new network wide control strategy can be employed for ensuring specific mathematical network characteristics.
Yeast genome
Capturing the chromatin interactions via the HiC technique allows us to study the threedimensional structure of the genome and understanding their observed behavior^{44,45,46}. For instance, significant topological reorganization of yeast cell in the quiescence state has been observed^{47}. Starting from these premises, we consider the yeast chromosome interaction data from Rutledge et al.^{47}, where the HiC experiments are conducted on yeast cells in exponential growth on glucosecontaining medium and on yeast cells in quiescence induced by glucose starvation. The data of Yeast genome are from the library of Juicebox software^{44,45}. By interpreting the HiC matrix as an adjacency matrix corresponding to a complex weighted network, we estimate the WMG model from the yeast chromosome interaction data for both the exponential growth and quiescence states. We then regulate the multifractal spectrum of yeast cell in quiescence and transit it to the state of exponential growth using the proposed multifractality control strategy (see Methods section on ‘Multifractal control’).
Fig. 5(a,b) illustrate the generalized degree distribution for the yeast cells in the exponential growth state and quiescence state, respectively. The blue asterisks denote the target distribution from chromosome interaction matrix, while the red circles represent the generalized degree distribution obtained from the identified WMG model. The simulated annealing algorithm can reproduce the model with similar statistical properties (in terms of shape and trend) to the realworld data (see Methods section on ‘Reconstructing weighted multifractal model’). Eq. (16) can also be redefined with any other desired network structure properties such as strength distribution and average nearest neighbour strength, but this is left for future work.
As discussed in Methods section ‘Multifractal control’, by solving Eq. (15), we modulate quiescent yeast cell to the desired state which yeast cell is growing exponentially. In Fig. 5(c), the red line represents the desired multifractal spectrum from actively growing cell. The curve with blue dots is the multifractal spectrum of quiescent yeast cell. The magenta asterisks are the optimal modulated solution given by simulated annealing algorithm. By controlling realworld network multifractality, we could enforce or track cell evolution procedure and therefore regulate biofeature mechanisms yeast growth.
Alzheimer’s disease
Alzheimer’s disease (AD) is a neurodegenerative disease that leads to progressive cognitive decline. While it’s widely known that no cure exists for AD or terminating the neurodegeneration, early medical treatment might help to relieve the symptoms and slow the deterioration. To investigate and exemplify the benefit of proposed formalism within the context of this problem, we use data from the Alzheimer’s Disease Neuroimaging Initiative (ADNI) database (adni.loni.usc.edu). The rfMRI subject data are processed by BrainSuite fMRI Pipeline (BFP) and grayordinate representations are generated^{48,49}.
The cerebral cortex is modeled as a surface mesh and globular subcortical nuclei are modeled as volume parcels^{50}. The grayordinate data were downsampled to 445 nodes. The Pearson correlation matrix was computed using fMRI timeseries^{51}.
To control the brain interactions matrix from late mild cognitive impairment (LMCI) patients and improve their brain structure, we apply our model and modulate it’s multifractality to fit the one from cognitively normal (CN) people. We follow the same procedure as discussed in HiC case study. Fig. 6(a,b) illustrate the generalized degree distributions of CN matrix and LMCI matrix, respectively. The blue asterisks represent the target distribution from CN/LMCI matrix and the red circles are the distribution of recovered model via the simulated annealingbased reconstruction algorithm (see section ‘Reconstructing weighted multifractal model’ in Methods). Simulated annealing (SA) algorithm provides a probabilistic approach for searching a large discrete space and finding approximate global optimum (e.g., parameters of a model) for a nonconvex optimization problem within a limited amount of time. Although it does not return the global optimum and it might not return identical results when running the SA algorithm multiple times, we find that one can distinguish between different networks from the retrieved WMG parameters. We individually run the simulated annealing algorithm on CN and LMCI matrix 200 times. We use 150 results of CN and 150 results of LMCI to train an SVM classifier with linear kernel, and using the remaining 50 of each class to test the dataset. The classification accuracy on the test dataset is 94%. It shows that the WMG model characterizes the network patterns and it could also discriminate between different traits of these complex networks.
Fig. 6(c) shows the multifractal spectrum of LMCI matrix before and after the control. The red curve is the desired multifractal spectrum from CN data. The blue dots and magenta asterisks represent the multifractal spectrum curves of LMCI and optimal regulated solution obtained by adapting the LMCI network structure. The controlled multifractal spectrum also fits well with the target curve.
Discussion
We propose the weighted multifractal graph (WMG) model to capture the nodes attributes and interactions in weighted complex networks. We show that it fits a wide variety of multifractal spectrum and statistical properties of realworld networks including generalized degree distribution, clustering coefficients and joint degree distribution. Beyond the selfsimilar constructing procedure of the recursive generating model, we present the multifractal analysis of the random graph model and show that the WMG model could generate a variety of multifractal spectrum curves with different shapes and varying degree of asymmetry. More importantly, the introduction of weights in the WMG model brings flexibility in multifractal spectrum. The proposed model has potential applications in many disciplines including biological systems, geoscience, financial markets and social networks. In order to ground this extended model into realworld applications, one needs to develop rigorous, efficient and accurate model identification techniques that need to take into account the relationship between the complexity of real networks and the generating measures, assess the impact of model parameters on network properties (e.g., information flow performance, robustness), all of which are not trivial mathematical tasks.
Apart from modelling real networks, an important implication of the WMG model is to minimally control the multifractality of complex networks. The experiments on realworld datasets of yeast genome and Alzheimer’s disease reveal that it is possible to regulate the multifractal spectrum of complex networks with minimal adjustments in the WMG model parameters. The proposed model is a step towards exploring the underlying growing mechanism of evolving networks such as brain structure of Alzheimer’s disease patients, or actively growing yeast cells. Moreover, the control of multifractality can provide a novel way to treat brain diseases, control growing states or recover from potential attacks in biological and social systems.
Future extensions of the WMG model can consider the generalization of l_{i}. In the proposed WMG model, we consider that the values of the interval length l_{i} are identical for all R layers. However, one can consider that l_{i} depends on r, but this will introduce more complexity and model identification strategies. Moreover, each node can have different category i_{r} in different weight layer r and the linking probability would become \({p}_{{i}_{r}{j}_{r}}^{(K)}(r)\). Another important addition would be to have temporal dimension into the proposed model. This corresponds to modelling and controlling the time varying complex networks by regulating the multifractality of graphs. It will help to answer research questions such as how does network structure evolve over time from one state to another. For example, in decoding human behavior, what are the causes of changing genome or brain structure and what does it lead to. It is also crucial to understand the physical meaning of network multifractality and deciphering the hidden information of realworld complex networks with selfsimilar patterns.
Methods
Multifractal analysis
We study the multifractal analysis of the WMG model based on the partition function. Let \({\left\{{p}_{ij}(r)\right\}}_{i,j=1:M}\) denote links generating probabilities in the initial unit square model. For simplicity, we reshape it as \({\left\{{p}_{i}(r)\right\}}_{i=1:{M}^{2}}\). \({\left\{{l}_{i}{l}_{j}\right\}}_{i,j=1:M}\) is the area of each subrectangles in the unit square. Similarly, we reshape it as \({\left\{{a}_{i}\right\}}_{i=1:{M}^{2}}\). The partition function at an average subblock size \(\epsilon =\frac{1}{R}{\left(\frac{1}{M}\right)}^{2K}\) can be defined as
Here the first term \(\left(\genfrac{}{}{0.0pt}{}{K}{{k}_{1}\ldots {k}_{j}\ldots {k}_{{M}^{2}}}\right)\) is number of subblocks which have the same area proportion \({\prod }_{i=1}^{{M}^{2}}{{a}_{i}}^{{k}_{i}}\) and link generating probability \({\prod }_{i=1}^{{M}^{2}}{{p}_{i}(r)}^{{k}_{i}}\). The second term \({\prod }_{i=1}^{{M}^{2}}{[{a}_{i}{p}_{i}(r)]}^{{k}_{i}}\) is the proportion of edges with weight w_{r} which are generated by those subblocks. \({\left\{{k}_{j}\right\}}_{j=1:{M}^{2}}\) is subjected to \({\sum }_{j=1}^{{M}^{2}}{k}_{j}=K\). We continue to simplify the summation and multinomial coefficients.
In equation (7), the partition function is further simplified with binomial theorem and multinomial coefficients properties. Continuing with Eq. (6), the first equal label \(\mathop{=}\limits^{A}\) is given by expanding multinomial coefficient \(\left(\genfrac{}{}{0.0pt}{}{K}{{k}_{1}\ldots {k}_{j}\ldots {k}_{{M}^{2}}}\right)\). B uses the constraint of \({\sum }_{i=1}^{{M}^{2}}{k}_{j}=K\). Further simplifications are continued on \({k}_{3},{k}_{4}\ldots {k}_{{M}^{2}}\) with mathematical induction (C).
Other functions and measures including the mass exponent \(\tau (q)=\frac{{\rm{\log }}\,{Z}_{\epsilon }(q)}{{\rm{\log }}\,\epsilon }\), the generalized fractal dimension \(D(q)=\frac{\tau (q)}{1q}\), the LipschitzHölder exponent (also refer to coarse Hölder exponent or singularity index in some materials) \(\alpha (q)=\frac{d\tau (q)}{dq}\) and the multifractal spectrum f(α) = α(q)q − τ(q) can be derived from the partition function in equation (7). Here we give the expression of the LipschitzHölder exponent.
Generalized degree distribution
We introduce the generalized degree distribution to specify the network structure with more detailed information compared to the strength distribution. Generalized degree D_{r} is defined as the number of edges or connections a node has with weight w_{r}. When generating the nodes, we classify each node into M^{K} categories with probability \({l}_{i}^{(K)}\), i = 1…M^{K}. Given by the recursive model, the link generating probability of a node in category i and a node in category j is \({p}_{ij}^{(K)}(r)\) and the edges are generated independently. Thus, the number of edges connecting a node in category i and all nodes in category j follows binomial distribution. As discussed in the publication of Palla et al.^{32}, when the network scale N is large, it can be further approximated by Poisson distribution with rate \({\lambda }_{i,j}(r)={p}_{ij}^{(K)}(r)N{l}_{j}^{(K)}\). Followed by summation property of Poisson distributed independent random variables, the generalized degree distribution of a node falling into interval i is given by
Therefore, the average generalized degree distribution is expressed as
As shown in the main text, the analytic expression in (10) coordinates well with empirical simulation results when N ≫ M^{K}.
Clustering coefficients
Clustering coefficient is a measure of graph cliquishness and neighborhood connectivity^{5}. Following the definition of clustering coefficients in weighted graphs^{42} and the multifractal network generator^{32}, the clustering coefficient of a node in category i is written as
where \(\widehat{{w}_{1}}=\frac{w({r}_{1})+w({r}_{2})+w({r}_{3})}{3}\) and \(\widehat{{w}_{2}}=\frac{w({r}_{1})+w({r}_{2})+w({r}_{3})}{3}\) are the arithmetic mean of triangles and triplets edge weights. The numerator is the mean weights of triangles containing a node falling into subinterval i, i = 1…M^{K}, the denominator is the mean weights of triplets (link pairs) originating from that node.
Joint degree distribution
The joint degree distribution of graphs with discrete weight set w(r) is defined as \(p({d}_{1},{d}_{2},r)=\frac{m({d}_{1},{d}_{2},r)}{M(r)}\), where M(r) is the total number of edges with weight w(r), m(d_{1}, d_{2}, r) is the number of edges connecting nodes with the generalized degree d_{1} and d_{2}, and the weight is w(r). The number of nodes which have d edges with weight w(r) is:
Therefore, we could obtain the expression of the joint degree distribution as
The comparison between the analytical and empirical joint degree distribution is shown in Fig. 7.
Edge distribution
In the WMG model, we focus on weighted complex networks. Therefore, we also consider the edge distribution in the proposed model. Let X_{ij}(r) denote the number of edges connecting nodes in category i and nodes in category j with weight w(r). The vector of edge numbers X_{ij} follows the multinomial distribution \(Multi({p}_{ij}^{(K)}(0),{p}_{ij}^{(K)}(1),\ldots ,{p}_{ij}^{(K)}(R))\). The total number of edges with weight w(r) is the sum of the independent random variables \(X(r)={\sum }_{ij}^{{M}^{K}}{X}_{ij}(r)\). Its moment generating function can be written as
Controlling multifractality
The proposed WMG model can quantify the emergence and selforganization^{52} and complexity of network in terms of number of rules that are at play when growing a network. Introducing the WMG model makes it possible to minimally control complex network. As discussed in previous section, by computing its partition function, multifractal spectrum and LipschitzHölder exponent, we could analytically obtain network multifractalities. While aiming to transit or change a multifractal network to some certain networks with desired multifractality, we also expect minimal adjustments comparing with original network.
This control problem can be written as the following optimization
where f_{Tar}, α_{Tar} are the target multifractal spectrum and the LipschitzHölder exponent, f(p, l) and α(p, l) are given by proposed multifractal network model, \({\left\{{p}_{i,j}(r)\right\}}_{i,j,r},{\left\{{l}_{i}\right\}}_{i}\) are the optimal parameters solutions, and p_{0}, l_{0} are the starting point of model parameters. To focus on the influence of minimal changes in model parameters, here we fix M, R and K to some certain integers. To minimize the cost function defined in equation (15), here we use simulated annealing algorithm^{53} to recover optimal model parameters \({\left\{{p}_{i,j}(r)\right\}}_{i,j,r}\) and \({\left\{{l}_{i}\right\}}_{i}\).
Four multifractal control problem simulations are shown in Fig. 8. The red lines are the desired multifractal spectrums, blue dot lines are the starting multifractal spectrums given by random parameters. Magenta asterisks are the optimal solutions given by simulated annealing algorithm. Different deviations of shifting and scaling are shown here. In each case, the multifractal spectrums are almost identical to the desired ones. It shows that by minimizing the cost function in equation (15), we could control network multifractality with minimal changes.
Reconstructing weighted multifractal model
We use simulated annealing algorithm^{53} to retrieve the optimal parameters \(\left\{{p}_{ij}(r)\right\}\) and \(\left\{{l}_{i}\right\}\) in the real networks. We define the distance of statistical measures in the WMG model and the real networks as energy function,
where p^{*}(d, r) and p(d, r) are the generalized degree distributions generated from the realworld network and the proposed WMG model by equation (4), \(\left\langle {c}_{i}\right\rangle \) is the average clustering coefficient in equation (5), c^{*} is the empirical clustering coefficient. Equation (16) could also be redefined by other desired statistical properties of the networks. Minimizing Eq. (16) is a nonconvex problem. And as the weight resolution in the WMG model increases, more parameters need to be estimated. Other optimization methods may also be applied.
References
 1.
Newman, M. E. The structure and function of complex networks. SIAM review 45, 167–256 (2003).
 2.
Albert, R. & Barabási, A.L. Statistical mechanics of complex networks. Rev. of modern physics 74, 47 (2002).
 3.
Erds, P. & Renyi, A. On random graphs. Publ. Math. Debrecen 6, 290–297 (1959).
 4.
Erdős, P. & Rényi, A. On the evolution of random graphs. Publ. Math. Inst. Hung. Acad. Sci 5, 17–60 (1960).
 5.
Watts, D. J. & Strogatz, S. H. Collective dynamics of ‘smallworld’ networks. nature 393, 440 (1998).
 6.
Barabási, A.L. & Albert, R. Emergence of scaling in random networks. science 286, 509–512 (1999).
 7.
Xue, Y. & Bogdan, P. Reconstructing missing complex networks against adversarial interventions. Nat. communications 10, 1738 (2019).
 8.
Sia, J., Jonckheere, E. & Bogdan, P. Ollivierricci curvaturebased method to community detection in complex networks. Sci. reports 9, 9800 (2019).
 9.
Boccaletti, S. et al. The structure and dynamics of multilayer networks Physics Reports 544, 1–122 (2014).
 10.
Benson, A. R., Abebe, R., Schaub, M. T., Jadbabaie, A. & Kleinberg, J. Simplicial closure and higherorder link prediction. Proc. Natl. Acad. Sci. 115, E11221–E11230 (2018).
 11.
Bian, T. & Deng, Y. Identifying influential nodes in complex networks: A node information dimension approach Chaos: An Interdisciplinary. J. Nonlinear Sci. 28, 043109 (2018).
 12.
Wen, T. & Deng, Y. Identification of influencers in complex networks by local information dimensionality. Inf. Sci. 512, 549–562 (2020).
 13.
Song, C., Havlin, S. & Makse, H. A. Selfsimilarity of complex networks. Nature 433, 392 (2005).
 14.
Song, C., Havlin, S. & Makse, H. A. Origins of fractality in the growth of complex networks. Nat. physics 2, 275 (2006).
 15.
Bunde, A. & Havlin, S. Percolation i. In Fractals and disordered systems, 59–114 (Springer, 1996).
 16.
Gallos, L. K., Song, C. & Makse, H. A. A review of fractality and selfsimilarity in complex networks. Phys. A: Stat. Mech. its Appl. 386, 686–691 (2007).
 17.
Wen, T., Duan, S. & Jiang, W. Node similarity measuring in complex networks with relative entropy Commun. Nonlinear Sci. Numer. Simul. 104867 (2019).
 18.
Xue, Y. & Bogdan, P. Reliable multifractal characterization of weighted complex networks: algorithms and implications Sci. reports7, 7487 (2017).
 19.
Agterberg, F. P. Mixtures of multiplicative cascade models in geochemistry. Nonlinear Process. Geophys. 14, 201–209, https://doi.org/10.5194/npg142012007. (2007).
 20.
Song, C., Gallos, L. K., Havlin, S. & Makse, H. A. How to calculate the fractal dimension of a complex network: the box covering algorithm J. Stat. Mech. Theory Exp. 2007, P03006 (2007).
 21.
De Wijs, H. Statistics of ore distribution. part i: frequency distribution of assay values. J. Royal Neth. Geol. Min. Soc. 13, 365–375 (1951).
 22.
Mandelbrot, B. B. The fractal geometry of nature, vol. 173 (WH freeman New York, 1983).
 23.
Mandelbrot, B. B. Multifractal measures, especially for the geophysicist. In Fractals in geophysics, 5–42 (Springer, 1989).
 24.
Ford, A. & Blenkinsop, T. G. An expanded de wijs model for multifractal analysis of mineral production data. Mineralium Deposita 44, 233 (2009).
 25.
Agterberg, F. New applications of the model of de wijs in regional geochemistry. Mathematical Geology 39, 1 (2007).
 26.
Marshak, A., Davis, A., Cahalan, R. & Wiscombe, W. Bounded cascade models as nonstationary multifractals. Phys. Rev. E 49, 55 (1994).
 27.
Cheng, Q. Generalized binomial multiplicative cascade processes and asymmetrical multifractal distributions. Nonlinear Process. Geophys. 21, 477–487 (2014).
 28.
Cheng, Q. Multifractal distribution of eigenvalues and eigenvectors from 2d multiplicative cascade multifractal fields. Math. Geol. 37, 915–927 (2005).
 29.
Leskovec, J. & Faloutsos, C. Scalable modeling of real graphs using kronecker multiplication. In Proceedings of the 24th international conference on Machine learning, 497–504 (ACM, 2007).
 30.
Mahdian, M. & Xu, Y. Stochastic kronecker graphs. In International workshop on algorithms and models for the webgraph, 179–186 (Springer, 2007).
 31.
Leskovec, J., Chakrabarti, D., Kleinberg, J., Faloutsos, C. & Ghahramani, Z. Kronecker graphs: An approach to modeling networks. J. Mach. Learn. Res. 11, 985–1042 (2010).
 32.
Palla, G., Lovász, L. & Vicsek, T. Multifractal network generator. Proc. Natl. Acad. Sci. 107, 7640–7645 (2010).
 33.
Benson, A. R., Riquelme, C. & Schmit, S. Learning multifractal structure in large networks. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, 1326–1335 (ACM, 2014).
 34.
Kim, M. & Leskovec, J. Modeling social networks with node attributes using the multiplicative attribute graph model arXiv preprint arXiv:1106.5053 (2011).
 35.
Kim, M. & Leskovec, J. Multiplicative attribute graph model of realworld networks. Internet mathematics 8, 113–160 (2012).
 36.
Boccaletti, S., Latora, V., Moreno, Y., Chavez, M. & Hwang, D.U. Complex networks: Structure and dynamics Physics reports, 424, 175–308 (2006).
 37.
Wei, D.J. et al. Boxcovering algorithm for fractal dimension of weighted networks Sci. reports 3, 3049 (2013).
 38.
Wei, B. & Deng, Y. A clustergrowing dimension of complex networks: From the view of node closeness centrality. Phys. A: Stat. Mech. its Appl. 522, 80–87 (2019).
 39.
Frieze, A. M. On the independence number of random graphs. Discret. Math. 81, 171–175 (1990).
 40.
Bollobás, B. & Erdös, P. Cliques in random graphs. In Mathematical Proceedings of the Cambridge Philosophical Society, vol. 80, 419–427 (Cambridge University Press, 1976).
 41.
Mulet, R., Pagnani, A., Weigt, M. & Zecchina, R. Coloring random graphs. Phys. review letters 89, 268701 (2002).
 42.
Opsahl, T. & Panzarasa, P. Clustering in weighted networks. Soc. networks 31, 155–163 (2009).
 43.
Pigolotti, S., Jensen, M. H. & Tiana, G. Hierarchical domain model explains multifractal scaling of chromosome contact maps arXiv preprint arXiv:1906.12090 (2019).
 44.
Durand, N. C. et al. Juicebox provides a visualization system for hic contact maps with unlimited zoom. Cell systems 3, 99–101 (2016).
 45.
Robinson, J. T. et al. Juicebox. js provides a cloudbased visualization system for hic data. Cell systems 6, 256–258 (2018).
 46.
Van Berkum, N. L. et al. Hic: a method to study the threedimensional architecture of genomes JoVE (Journal of Visualized Experiments) e1869 (2010).
 47.
Rutledge, M. T., Russo, M., Belton, J.M., Dekker, J. & Broach, J. R. The yeast genome undergoes significant topological reorganization in quiescence. Nucleic acids research 43, 8299–8313 (2015).
 48.
Smith, S. M. et al. Functional connectomics from restingstate fmri. Trends in cognitive sciences 17, 666–682 (2013).
 49.
Barch, D. M. et al. Function in the human connectome: taskfmri and individual differences in behavior. Neuroimage 80, 169–189 (2013).
 50.
Glasser, M. F. et al. The minimal preprocessing pipelines for the human connectome project. Neuroimage 80, 105–124 (2013).
 51.
Joshi, A. A., Chong, M., Li, J., Choi, S. & Leahy, R. M. Are you thinking what iam thinking? synchronization of resting fmri timeseries across subjects. NeuroImage 172, 740–752 (2018).
 52.
Balaban, V., Lim, S., Gupta, G., Boedicker, J. & Bogdan, P. Quantifying emergence and selforganisation of enterobacter cloacae microbial communities Sci. reports 8, 12416 (2018).
 53.
Van Laarhoven, P. J. & Aarts, E. H. Simulated annealing. In Simulated annealing: Theory and applications, 7–15 (Springer, 1987).
Acknowledgements
The authors gratefully acknowledge the support by the National Science Foundation Career award under Grant No. CPS/CNS1453860, CCF1837131, MCB1936775, CNS1932620, the U.S. Army Research Office (ARO) under Grant No. W911NF1710076, the Okawa Foundation award, and the Defense Advanced Research Projects Agency (DARPA) Young Faculty Award and Director’s Fellowship award under Grant No. N660011714044 support. P.B. thanks to S. Stanton for insightful discussions on concepts related to multifractals and complex networks that contributed to and inspired this problem definition of controlling complex networks. The views, opinions, and/or findings contained in this article are those of the authors and should not be interpreted as representing the official views or policies, either expressed or implied by the Defense Advanced Research Projects Agency, the Air Force Research Lab, the Department of Defense or the National Science Foundation.
Author information
Affiliations
Contributions
R.Y. and P.B. contributed to the design of the research. R.Y. contributed to the simulations and experiments. R.Y. and P.B. analyzed the results and wrote the manuscript.
Corresponding author
Ethics declarations
Competing Interests
The authors declare that they have no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Yang, R., Bogdan, P. Controlling the Multifractal Generating Measures of Complex Networks. Sci Rep 10, 5541 (2020). https://doi.org/10.1038/s41598020623806
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598020623806
Further reading

Multifractal analysis of SiO2 surface embedded with Ge nanocrystal
Applied Nanoscience (2020)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.