Analytic degree distributions of horizontal visibility graphs mapped from unrelated random series and multifractal binomial measures
Wen-Jie Xie, Rui-Qi Han, Zhi-Qiang Jiang, Lijian Wei and, Wei-Xing Zhou

TL;DR
This paper analytically derives the degree distributions of horizontal visibility graphs mapped from random series and multifractal binomial measures, confirming exponential behavior for random series and providing explicit formulas for multifractal measures.
Contribution
It introduces an analytical method to derive degree distributions of HVGs from both random and multifractal series, expanding understanding of their structural properties.
Findings
Degree distributions of HVGs from random series are exponential.
Explicit analytical expressions for degree distributions of multifractal binomial measures are provided.
Results agree well with numerical simulations.
Abstract
Complex network is not only a powerful tool for the analysis of complex system, but also a promising way to analyze time series. The algorithm of horizontal visibility graph (HVG) maps time series into graphs, whose degree distributions are numerically and analytically investigated for certain time series. We derive the degree distributions of HVGs through an iterative construction process of HVGs. The degree distributions of the HVG and the directed HVG for random series are derived to be exponential, which confirms the analytical results from other methods. We also obtained the analytical expressions of degree distributions of HVGs and in-degree and out-degree distributions of directed HVGs transformed from multifractal binomial measures, which agree excellently with numerical simulations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
11institutetext: Department of Finance, East China University of Science and Technology, Shanghai 200237, China
Research Center for Econophysics, East China University of Science and Technology, Shanghai 200237, China
Department of Mathematics, East China University of Science and Technology, Shanghai 200237, China
School of Business, Sun Yat-Sen University, Guangzhou 510275, Guangdong, China
Networks and genealogical trees Time series analysis Fractals
Analytic degree distributions of horizontal visibility graphs mapped from unrelated random series and multifractal binomial measures
Wen-Jie Xie 1122
Rui-Qi Han 2233
Zhi-Qiang Jiang111e-mail: [email protected] 1122
Lijian Wei 44
Wei-Xing Zhou222e-mail: [email protected] 11223311223344
Abstract
Complex network is not only a powerful tool for the analysis of complex system, but also a promising way to analyze time series. The algorithm of horizontal visibility graph (HVG) maps time series into graphs, whose degree distributions are numerically and analytically investigated for certain time series. We derive the degree distributions of HVGs through an iterative construction process of HVGs. The degree distributions of the HVG and the directed HVG for random series are derived to be exponential, which confirms the analytical results from other methods. We also obtained the analytical expressions of degree distributions of HVGs and in-degree and out-degree distributions of directed HVGs transformed from multifractal binomial measures, which agree excellently with numerical simulations.
pacs:
89.75.Hc
pacs:
05.45.Tp
pacs:
05.45.Df
1 Introduction
In recent years, complex network theory has been applied to diverse fields [1, 2, 3, 4, 5, 6, 7]. As a novel and powerful tool for the analysis of time series in complex systems, the theory has attracted extensive attention. Quite a few methods have been proposed to map the time series to networks, such as the temporal graph [8, 9], the cycle network [10, 11], the nearest neighbor network [12], the -tuple network [13, 14], the recurrence network [15, 16, 17, 18, 19], the segment correlation network [20], and the visibility graph (VG) [21, 22, 23, 24, 25, 26].
Among these networks constructed from different methods, visibility graphs and horizontal visibility graphs (HVGs) [27] have been widely applied in real systems, including financial markets [23, 24, 25, 28], biological systems [22, 29, 30, 31], ecological systems [26, 32], and some other complex systems [33, 34]. There are also extensions of VGs and HVGs, including limited penetrable visibility graph [35, 36, 37], binary visibility graph (BVG) [38], Markov-binary visibility graph (MBVG) [39], parametric natural visibility graph (PNVG) [40, 41], multiplex horizontal visibility graph [42, 43, 44], and directed graph due to the temporal direction of time series [21, 45].
Quite a few topological properties of VGs and HVGs mapped from time series of different complex systems have been studied numerically and analytically. The main contributions are attributed to L. Lacasa and his collaborators. For instance, Iacovacci and Lacasa defined sequential motifs and derived their profiles for VGs [46] and HVGs [47]. Another topic is about the degree distribution. For random series extracted from a uniform distribution in , the degree distribution has an exponential tail [21]. For fractal time series such as fractional Brownian motions (FBMs) and Conway series, the degree distributions have power-law tails [21]. The tail exponent for FBMs, multifractal random walks and generic noises decreases linearly with the Hurst index [22, 23].
Our understanding about the degree distributions of HVGs is more advanced. It has been proven that the degree distribution of any HVG mapped from random series without temporal correlations has an exponential form [27, 48]. Numerical simulations show that the HVGs mapped from many chaotic time series, correlated time series and AR processes also have exponential degree distributions , which cannot be classified by a critical value [49, 50, 51]. The width of the exponential distribution decreases with the Hurst index for FBMs [52]. Núñez et al. investigated the degree distributions of HVGs constructed from the trajectories generated by unimodal logistic maps during the type-I intermittency route to (or out of) chaos, which is close to an inverse tangent bifurcation [53]. They found that the degree distribution is contributed by three types of nodes: when , 3, 6 and zero otherwise for the HVG nodes belonging to the laminar phases, for the nodes belonging to the chaotic bursts, and where for the nodes corresponding to the peaks. Lacasa presented a diagrammatic formalism to determine analytically the degree distribution through series expansion and provided a constructive solution for general Markovian stochastic processes and deterministic maps [48]. He also addressed the problem for integer-valued time series [54].
In this paper, we propose an iterative approach for the analytical derivation of degree distributions of HVGs and directed HVGs (DHVGs). We derive the distributions of HVGs and DHVGs mapped from random series, which recovers the results in Refs. [27, 48]. We are also able to obtain the analytical expressions of the degree distributions of HVG and DHVG mapped from multifractal binomial measures.
2 Construction of HVG and DHVG
To have an overview of the horizontal visibility algorithm [27], Fig. 1 shows an example HVG constructed from a time series with 11 data points. Each data point is considered as a node in the HVG, two nodes will be connected if they can horizontally see each other, which means that no data points exceed the value of these two nodes. Mathematically, we have
[TABLE]
for all ’s with . We denote that is the set of nodes corresponding to the data in time series and is the adjacent matrix of graph . The element means that node and node are connected. The degree of node is defined as in the undirected HVG.
We can also define a directed HVG, in which the direction is time, and denote the graph as , where is the adjacent matrix of the DHVG . means that there is a link from node to node on a given condition . The adjacent matrix of directed graph is an upper triangular matrix which means that the adjacent matrix belongs to the upper triangular part of . Therefore, we can conclude that with in-degree of node defined as and the out-degree defined as . Fig. 2 presents an example of directed HVG mapped form time series with 11 data points. In the next section, we will analyze the degree distributions of the HVGs mapped from different time series. For random time series and binomial multifractal measures, the degree distributions will be derived theoretically.
3 Degree distribution for random series
3.1 Degree distribution of HVG mapped from random series
Luque et al provided a detailed analysis and description about the degree distribution of the HVG mapped from random time series [27]. Here we derive alternatively the theoretical function of degree distribution based on the master equation. Generating a time series of size is equivalent to putting numbers into positions. In the first step, we randomly choose a position and put the largest number on it. In the second step, we choose a position from the rest positions and put the second largest number on it. In the th step, we randomly choose a position from the rest positions and put the th largest number on it.
In general, we can construct an HVG during the series generating process. For example, in the th step, we have a series with a size of and we denote as the number of nodes with degree in the corresponding HVG. When we put the last number into the series, the resulting HVG will have nodes. Because the last number is the smallest one, only two new edges will be added to the HVG, as shown by the dashed line segments in Fig. 1. And these two new edges will link to the two nodes adjacent to the th node. At the same time, the degree of each of the two nodes will increase by 1. Since the new node is randomly placed, nodes have the same probability to change their degrees. Certainly, we have to note that the th node may be placed at the beginning of or at the end of the nodes. However, when the number is very large, the probability of such events is very small. We ignore the influence of these two “extreme” situations.
When a new node is added, two nodes increase by 1 in their degrees, from to , and the degrees of the rest nodes remain unchanged. For each node, the probability of degree being changed is and the probability of degree remaining unchanged is . Hence the number of nodes with degree in the HVG containing nodes can be calculated by the following formula:
[TABLE]
where when and 0 otherwise, because the degree of each new node is . We define the probability of nodes with degree in the HVG containing nodes as follows:
[TABLE]
Hence, Eq. (2) can be rewritten as follows:
[TABLE]
in which for large . When , we have
[TABLE]
Combining Eq. (5) and Eq. (4), we obtain
[TABLE]
By applying , we can obtain the solution of Eq. (6):
[TABLE]
This result is consistent with the analytical expression in Refs. [27, 48].
3.2 Degree distribution of the DHVG constructed from random time series
The degree distribution of a DHVG can also be derived. Similar to the derivation process of HVGs, we construct the directed HVG (DHVG) from the time series with numbers in the th step. We define as the number of nodes with degree (in- or out-degree) . When we add the th largest number into the DHVG, only two new edges will be generated shown as dashed arrows in Fig. 2 and the two new edges link to the two nodes adjacent to the th node. The out-degree of the left node and the in-degree of the right node will increase by 1. Since the new node is placed randomly, only one endpoint node’s in-degree or out-degree will increase by 1 with a probability of . The other nodes’ degrees remain the same with a probability of . So the number of nodes with degree in the new DHVG containing nodes can be calculated by the formula as follows:
[TABLE]
where when and 0 otherwise, because the degree of each new node is . If , we have . When , we have . We define as the probability of nodes with the in-degree or out-degree in the DHVG containing nodes. So Eq. (8) can be rewritten as follows
[TABLE]
When , we have
[TABLE]
Combining Eq. (10) and Eq. (9), we obtain
[TABLE]
By applying , we can obtain the solution of Eq. (11):
[TABLE]
This result is also consistent with the analytical expression in Refs. [27, 48].
4 Degree distribution for multifractal binomial measures
Based on the -model [55], we generate multifractal binomial measures with length . When , the length of time series is 2 and the two data points are and . When , the length of time series is 4 and the four data points are , , , . We can represent the multifractal binomial measures with length as series , where . The time series can be rewritten as . When , we have . is a monotonically increasing function of the independent variable . The size relationship among the numbers depend son the index . So the time series can be rewritten as . The DHVGs mapped from binomial measures do not depend on the multiplier for . We can conduct the same analysis for and the DHVGs mapped from binomial measures do not depend on the multiplier for . It should be noted that the multifractal binomial measures with is the reverse order of the multifractal binomial measures with , that is, the HVGs mapped from binomial measures do not depend on the multiplier for and . What is more, we can get the DHVG mapped from the multifractal binomial measures with by flipping the directions of all links in DHVG mapped from the multifractal binomial measures with . Hence the out-degree (in-degree) distribution of the DHVG constructed from multifractal binomial measures with is the same with the in-degree (out-degree) distribution of the DHVG constructed from multifractal binomial measures with . In our simulations, we use parameters and .
4.1 Degree distribution of the HVG constructed from multifractal binomial measures
As shown in Fig. 3, the HVG containing nodes consists of two HVGs with nodes as well as edges. The number of edges in the HVG with nodes can be calculated as
[TABLE]
We can transform the above equation into geometric series such as . Consider the geometric series , where and . It is easy to obtain the number of edges in the HVG mapped from multifractal binomial measures of length :
[TABLE]
We denote as the number of nodes with degree in the HVG containing nodes. In Fig. 3, nodes locate at the start and the end of the time series. The HVG with nodes consists of two HVGs containing nodes and edges. The edges added into the graph are illustrated in blue color in Fig. 3. Moreover, the new edges are connected to the th node, which are shown at the end of the left half of the time series. The th node’s degree increases from to . At the same time, the degrees of the nodes at the right half of the time series increase by 1, and what is more, the degrees of the nodes are 1, 2, 3, , , respectively. Let , we can obtain the following equation:
[TABLE]
If , the nodes with degree are composed of two nodes. The first node is the th node, whose degree increases from 1 to , while the second node is the one whose degree increases from to . Hence, the number of nodes with degree is . We obtain the number of nodes with degree in the th iteration as follows:
[TABLE]
To calculate the degree distribution of the HVG with nodes, we use the formula and rewrite Eq. (16) as follows
[TABLE]
4.2 Out-degree distribution of the DHVG constructed from multifractal binomial measures
We denote as the number of nodes with the out-degree in the DHVG with nodes. Based on the DHVG algorithm, all the directed edges are from the left to right. According to Fig. 3, there is only one node with , which is at the right end of the time series. Hence, we have .
At the -step, the length of the time series grows from to and new edges are connected to the th node (see blue arrows in Fig. 3). The th node’s out-degree increases from to . The out-degrees of all other nodes from 1 to remain unchanged. Due to the self-similarity of the binomial measure, the out-degrees of the “new” nodes from to are the same as those in the -step DHVG. Therefore, we have
[TABLE]
where . When , the number of nodes with out-degree is . Inserting into Eq. (18), we get
[TABLE]
When , the number of nodes with out-degree is . Inserting into Eq. (18), we obtain
[TABLE]
Similarly, we can obtain
[TABLE]
According to Fig. 3, we can observe that the maximum out-degree is , corresponding to the th node. In other words, , which has been included in Eq. (21).
Summarizing the results above, we have the formula for the number of nodes with out-degree as follows:
[TABLE]
In order to calculate the out-degree distribution of the DHVG with nodes, we use the definition and rewrite the Eq. (22) as follows
[TABLE]
4.3 In-degree distribution of the DHVG constructed from the multifractal binomial measures
We denote as the number of nodes with in-degree in the DHVG with nodes. In Fig. 3, all the edges are in the left-to-right direction. There is only one node with , which is at the start of the time series. Hence, we have .
When the time series expands from data points to data points, new edges are connected from the th node to nodes with in the right half of time series (see the blue arrows in Fig. 3). Each of these node’s in-degree will increase by 1, when compared with their counterparts in the left half, that is,
[TABLE]
where . We obtain that the in-degree of node is 1 ( for node ) and the degrees of the other nodes are ( for nodes at ). Therefore, we have
[TABLE]
and
[TABLE]
It follows from Eq. (25) that
[TABLE]
Defining , we have , where . The number of nodes with is obtained as follows:
[TABLE]
Similarly, according to Eq. (26), we have
[TABLE]
Defining , we have , where . The number of nodes with is obtained as follows:
[TABLE]
For binomial measures, it is easy to prove that the maximum in-degree is 2. Therefore, we reach the following:
[TABLE]
The in-degree distribution of the DHVG with nodes can be presented as follows with the formula
[TABLE]
4.4 Numerical validation
We now verify the theoretical degree distributions expressed in Eq. (17), Eq. (23) and Eq. (32) for the HVGs and DHVGs mapped from multifractal binomial measures through numerical experiments, which can be done by generating different iterations of time series. In Fig. 4 (a) and (b), we illustrate the HVGs for and , respectively. It can be seen that the graphs exhibit self-similarity.
The numerically obtained degree distributions , and for and are illustrated respectively in Fig. 4 (c) and (d). Concerning the in-degree distribution of the DHVG for each , there are only three separate data points at , 1 and 2. The out-degree distributions of the DHVGs overlap for different values for overlapping positive values and are exponential when . The degree distributions of the undirected HVGs also overlap for different values for overlapping positive values. Overall, the numerical results are in excellent agreement with the analytical results presented in Eq. (17), Eq. (23), and Eq. (32).
5 Conclusion
In this paper, we proposed a novel method for deriving degree distributions of HVGs through an iterative construction process of HVGs and illuminated the method by applying it to uncorrelated random time series and multifractal binomial measures. For random series, the iterative construction process proceeds the data in an ascending way. For binomial measure, the process iterates by expanding the measure from steps to steps based on the restrict self-similarity of the measures. Obviously, the HVGs mapped from binomial measures do not depends on the multiplier .
The degree distributions of the HVG and the directed HVG for random series have been obtained analytically to be exponential, which confirms the analytical results from other methods in the literature. We also obtained the analytical degree distributions of HVGs and in-degree and out-degree distributions of DHVGs transformed from multifractal binomial measures. Results from numerical simulations confirmed the analytical results.
There are also some open problems unsolved in this work. The main question is about the generality of the proposed method. For more complicated time series, such as fractional Brownian motions, logistic maps and Lorenz equations, it is not clear if the proposed approach can be applied or not. Nevertheless, we believe that the approach can be applied to other time series, especially when the time series can be constructed in a self-similar way. Further studies are necessary.
Acknowledgements.
This work was supported by National Natural Science Foundation of China (71532009) and Fundamental Research Funds for the Central Universities (222201718006).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] \Name Albert R. Barabási A.-L. \REVIEW Rev. Mod. Phys.74200247.
- 2[2] \Name Newman M. E. J. \REVIEW SIAM Rev.452003167.
- 3[3] \Name Boccaletti S., Latora V., Moreno Y., Chavez M. Hwang D.-U. \REVIEW Phys. Rep.4242006175.
- 4[4] \Name Bhalla U. S. Iyengar R. \REVIEW Science 2831999381.
- 5[5] \Name Newman M. E. J. \REVIEW Proc. Natl. Acad. Sci. U.S.A.982001404.
- 6[6] \Name Newman M. E. J. \REVIEW Phys. Rev. E 642001016131.
- 7[7] \Name Newman M. E. J. \REVIEW Phys. Rev. E 642001016132.
- 8[8] \Name Shirazi A. H., Jafari G. R., Davoudi J., Peinke J., Tabar M. R. R. Sahimi M. \REVIEW J. Stat. Mech.-Theory Exp.2009 P 07046.
