BRIEF RESEARCH REPORT article

Front. Phys., 14 July 2022

Sec. Statistical and Computational Physics

Volume 10 - 2022 | https://doi.org/10.3389/fphy.2022.822712

Adjusting the Trapping Process of a Directed Weighted Edge-Iteration Network

  • 1. School of Electronics Engineering and Computer Science, Peking University, Beijing, China

  • 2. Key Laboratory of High Confidence Software Technologies, Peking University, Beijing, China

  • 3. China Northwest Center of Financial Research, Lanzhou University of Finance and Economics, Lanzhou, China

  • 4. School of Information Engineering, Lanzhou University of Finance and Economics, Lanzhou, China

  • 5. Key Laboratory of E-Business Technology and Application, Lanzhou, China

  • 6. College of Mathematics and Statistics, Northwest Normal University, Lanzhou, China

Abstract

Controlling the trapping process is one of the important themes in the study of random walk in real complex systems. We studied two types of random walks that are different from the traditional random walk on a directed weighted network. The first type of random walk is the weighted random walk controlled by the weight θ, and the other is the delayed-weighted random walk affected by both delay probability p and weight θ. Furthermore, we derived analytically the average trapping time (ATT) measuring the efficiency of the two types of trapping processes; the result shows that the ATT grows sub-linearly, linearly, and super-linearly with the network order when the weight satisfies , , and , respectively. The weight θ of the directed network can be adjusted by direction, the delay parameter p only changes the pre-factor of the ATT, and the weight θ modifies both the pre-factor and scaling of the ATT.

1 Introduction

In addition to the topological structure and characteristic of complex networks, the dynamic process in the network is also worth exploring because of its wide range of applications. Random walk, as a fundamental tool to describe the dynamic process of network, has been widely used to evaluate dynamical properties of different complex networks, involving practical problems such as page searching [1], epidemic spreading [2], target searching [3, 4], and energy transporting [5, 6]. As a main sub-topic in the research of random walks, the trapping problem refers to a special random walk in which a trap is placed at a given trap. A related basic quantity is the mean first passage time (MFPT), which represents the expected time required for the walker to reach the trap from the node i for the first time. The average trapping time (ATT) is the average of MFPTs over all starting nodes except the trap; the ATT is used as an index to measure the trapping efficiency of the trapping process [7, 8].

In order to improve the trapping efficiency, it is highly desirable to seek an effective method to adjust the trapping process in complex systems, such as treelike fractals [9] and one-dimensional systems. Researchers have studied the dynamic process of several types of networks without weight and direction, such as the Sierpinski network [10, 11], Koch network [12], and fractal lattice [13]. In view of the fact that many research studies on random walks mainly focus on undirected and unweighted networks, Zhang et al. [14] discussed two types of random walks for a class of weighted and undirected networks. Dai et al. [15–18] introduced several weighted random walks on the complex network. In fact, many real networks contain the relationships between individuals with different weights in different directions. For example, the degree of understanding between individuals in social networks, the traffic flow between two places on the transportation network, and the number of vaccines put in the epidemic prevention process are all related to the direction and weight of real networks [19, 20].

There are delays existing in some complex systems; this is the result of transportation or chemical reactions that require action time. The random walks that reveal the effects of delay have been proposed and studied through a mathematical framework [21]. On the other hand, a large amount of work on the trap problem of undirected networks cannot fully describe the real complex networks. The difference between the out-degree and in-degree of the node is considered in a directed network, and the weight of network is combined; we have explored the ATT of a class of directed weighted networks, and the random walk in the directed weighted network can be made more efficient by adjusting the weight factor and delay parameter, thus achieving the purpose of adjusting the random walk process.

The main contents of this study are divided into the following sections. First, we introduced some basic concepts related to random walks. In section 3, we designed a class of directed weighted edge-iteration networks, in which each pair of nodes is connected by two edges in opposite directions, and the weight of edge is controlled by the weight parameter θ; the delay phenomenon is measured by the delay parameter p. In section 4, we derived the exact analytical expression of the ATT for a given target node and found that the ATT of this network grows sub-linearly, linearly, and super-linearly, the three ways when parameter θ goes from 0 to infinity. Also, the delay parameter p not only changes the pre-factor of the ATT but also the weight θ can modify the pre-factor and scaling of the ATT.

2 Preliminaries

We focused on two types of biased random walks with a given target node. The directed weighted network constructed in this study is abbreviated as . We labeled all its nodes, according to the following rules: the two nodes generated at t = 0 in are marked as 1 and 2, and they are initial nodes. All newly added nodes at the time step t are labeled Nt−1 + 1, Nt−1 + 2, … , Nt in order. We set the target node on the node labeled 1. The key role in the random walk process is the transition matrix Pt, whose entries pij(t) represent the transition probability of walking from the node i to node j in each time step; they satisfy and make the equation true, where is the out-strength of node i.

The mean first passage time for a walker moving from node i to the target node in the network is denoted as , then

Furthermore, Eq. 1 can be transformed into the following matrix form;where is an (Nt − 1)-dimension column vector, and is the (Nt − 1)-dimension column vector whose entries are equal to 1; the transition probability matrix is obtained from by deleting the row and column corresponding to the trap node. After shifting the terms of Eq. 2, we can obtain is the (Nt − 1) × (Nt − 1)-order matrix whose diagonal entries are 1, and other entries are 0.

The ATT is defined as the mean of starting from all sources of nodes over the whole network to the trap, abbreviated as ⟨T⟩t; we described the ATT by the following equation:where τij is essentially the ij-th entry of matrix (I − P)−1 combining Eq.3.

The aforementioned equation shows that the calculation of the ATT can be simplified as summing all the entries of the matrix (I − P)−1. It is worth noting that the network order Nt increases exponentially with t when t → +∞; this calculation for a large t is very time-consuming. However, we can use Eq. 4 to verify the analytical solution of the ATT.

3 Design of a DWEI-Network

Many problems can be abstracted as graphs for research [22–24]. In view of the differences between the out-degree and in-degree of node in the real network, we proposed a network operator called the directed weighted edge-iteration transformation (DWEI-transformation) to construct our network by an iterative method. We set wi→j as the weight of an edge from node i to node j in our network; it satisfies

Directed weighted edge-iteration transformation (DWEI-transformation). For an edge

e

=

AB

with two end nodes

A

and

B

, the two weights of this edge are

wA→B

and

wB→A

. A new edge with end nodes

C

and

D

is added; then, two new edges are connected between

A

and

C

, and

B

and

D

, respectively; the weights of new edges are distributed according to the following rules.

  • (a) wA→C = θwA→B and wC→A = wB→A;

  • (b) wC→D = θwC→A and wD→C = wA→C;

  • (c) wB→D = θwB→A and wD→B = wA→B.

Figure 1 is a schematic diagram of the DWEI-transformation.

FIGURE 1

Let be the DWEI-network after t time steps; we generated a DWEI-network model, according to Algorithm 1. For the initial time step, the network is composed of an edge connect two nodes are labeled 1 and 2; set w1→2 = w2→1 = 1. When t ≥ 1, the DWEI-transformation is performed on every edge that exists in , and this process continues until the network reaches the desired size. Figures 2, 3 show the DWEI-network at four-time steps t = 0, 1, 2, 3.

FIGURE 2

FIGURE 3

Algorithm 1

DWEI-network construction algorithm.

The out-strength of node i at time step t is defined as the sum of all weights of the edges starting from node i in −˗G(t), denoted as s + i (t) = PNt j=1 wi˗j (t). Meanwhile, the in-strength of node i represents the sum of the weights of all edges whose terminating nodes are i, expressed as s − i (t) = PNt j=1 wj˗i(t). The growth pattern determined by the node of network allows us to calculate the total number of nodes in −˗G(t) is Nt = 2 3 (4t + 2). Let ki(t) be the degree of a node i in network −˗G(t), the relationship between the degree of node i is ki(t) = 2ki(t − 1) in two consecutive time steps t − 1 and t. We can also get s + i (t) = (1 + Θ) t−ti+1 according to the definition of s+i(t), ti represents the time step when node i joined the network.

4 ATT for Weighted Walks

Different from the method of calculating the ATT by eigenvalues [25, 26], we derived a relationship governing the evolution for at generation t, according to the construction process of DWEI networks. Let Ωt denote the set of all nodes in ; in order to clearly describe all the nodes in the derivation of the ATT, we divided the nodes in into two categories; the nodes that join the network at a time step t in are called new nodes, denoted by ; the nodes that join the network at a time step t − 1 and before are called old nodes, denoted as Ωt−1.

Lemma 1For the weighted walks of the DWEI network, letθ > 0 be its weight factor, and the mean first passage time of any nodei ∈ Ωtsatisfies the recursive relation

Proof: The mean first-passage time between any two nodes in the DWEI network can be divided into the following three categories, and their simplified representation is as follows. Let X be the MFPT starting from the node i to any of its ki(t − 1) old neighbors, which are directly connected to node i at the time step t − 1. Y represents the MFPT from any of ki(t − 1) new neighbors of node i to one of its ki(t − 1) old neighbors, and Z is the MFPT for starting from others new neighbors other than the aforementioned new nodes of node i to one of its ki(t − 1) old neighbors. Thus, considering two consecutive time steps, we found that X, Y, Z satisfy the following equations:We get a solution X = 1 + 2θ by solving the aforementioned formula; it means that from the time step t to the next time t + 1, the trapping time for an arbitrary node i increases 1 + 2θ times the previous moment, that is, . Owing to the network, is obtained by the network iteratively, so the relationship shown in Eq.6 is important in deriving the exact solution of ATT. □The sum of for all nodes in is recorded as . In addition, we also proposed intermediary quantities for 1 ≤ τ ≤ t; the sum of the MFPT of all nodes at time step τ is denoted asand the sum of the MFPT of all new nodes at a time step τ is formulated asThen, the average trapping time ⟨T⟩t of the DWEI network is given by the following formula:

Theorem 2
For the weighted random walks,Ntis the DWEI network order, letθ

> 0

be the weight factor andtbe the time step, then
  • (1) For, the ATT of the DWEI network is

The dominating term of

⟨

T

⟩

tis

⟨

T

⟩

t

∼

Ntfort

→

∞.
  • (2) When, the ATT of the DWEI network is

the relationship between

⟨

T

⟩

tand the network orderNtsatisfyfort

→

∞.

ProofIt can be seen that the problem for evaluating ⟨T⟩t is reduced to determining from Eq.10. We considered the MFPT of all nodes in the light of the classification of new nodes and old nodes, which is written as the following formula:Obviously, once we calculated the result of about the new nodes, we can obtain a recursive equation for .Referring to the DWEI transformation of all edges in the network, we found that each new node must have two neighbors for the nodes in ; one of the two neighbors is a new node generated at the time step t, and the other is an old node added before the time step t. There are two new nodes in the next time step for each edge e = uv; we labeled them as x1 and x2, respectively. If the MFPTs of the four nodes u, v, x1, x2 at a certain moment are expressed as T(u), T(v), T (x1), T (x2), the relationships between the MFPTs of new nodes x1, x2 and its neighbors can be derived asCombining the two formulas in Eq. 14, we can getFor the DWEI network corresponding to the first few time steps, since the number of nodes in the network is small, we can directly calculate the value of and for 0 ≤ i ≤ t. For example, when t = 1, the way to obtain the value of and is as follows: we first listed the relations between the four nodes in . There are a total of four nodes in : node 1 is set as a trap, so we have , and the out-degree of node 2 is 1 + θ. The weights on its edges to node 1 and node 4 are 1 and 0, respectively; then, the second equation in Eq.16 holds, the equations related to node 3 and 4 can be obtained similarly.Among the four nodes, the two nodes labeled 1 and 2 are called old nodes, and 3 and 4 are called new nodes; thus, the sum of MFPTs of all new nodes is equal toTherefore, the sum of MFPTs of all nodes in the network can be expressed asConsidering Eq. 15 and summing this equation over all new nodes in , then we obtainSimilarly, the following equation about is also valid; refer to Eq.19Then, subtracting the product of Eq.19 multiplied by 2 (1 + 2θ) from Eq. 20, we haveAfter merging on both sides of Eq. 21, we get the following recursive relation:Considering a value that we have already solved as an initial condition, a closed-form solution of Eq.22 can be derived:1) For , we get . Substituting this equation and into Eq. 13, we getWe can get from . Considering Eq. 10, we obtain the result shown in Eq.11:2) When , the sum of MFPT of all nodes satisfies the following recurrence relation:With the help of a condition in Eq. 18, then Eq.26 is resolved to obtain a solution about :Furthermore, substituting Eq.27 into Eq. 10, we get the average of all MFPTs in the network :Actually, the DWEI network can be regarded as a binary network for a special case θ = 1; based on this situation, the value of ⟨T⟩t we obtained is consistent with the result in the literature [27]. Next, we showed how to express ⟨T⟩t in terms of the network order Nt; Substituting into Eq. 28, then we haveas t → ∞. According to Eq. 29, we found that the weight θ can not only modify the pre-factor of ⟨T⟩t but also the scaling log4 (1 + 2θ) of ⟨T⟩t. In addition, we can obtain the following conclusions in weighted random walks by analyzing Eqs 25, 29, when , ⟨T⟩t grows linearly with Nt; however, ⟨T⟩t grows sub-linearly and super-linearly with the network order Nt for and , respectively; the results are shown in Figure 4.

FIGURE 4

5 ATT for Delayed Weighted Walks

In this section, a delay probability 0 ≤ p ≤ 1 is introduced to explore its impact on the ATT of our network in the weighted random walk with delay [28]. The delayed weighted random walk is defined as follows; for delay probability 0 ≤ p ≤ 1, the walker in network is allowed to move to any neighbor either in or in with probability p and 1 − p, respectively, which is the transition probability pij for the walker jumping from node i to another node j and is formulated as

The two special cases of delayed weighted random walks are as follows:

  • 1) When p = 0, delayed weighted random walks reduce to regular weighted random walks discussed in the previous section because the walker moves from node i to any neighboring node j with transition probability .

  • 2) When p = 1, if node i is created before the time step t, then the walker jumping from the current node i to any neighboring node j in with the transition probability . Otherwise, the walker moves from the current node i to any neighbor node j on with the transition probability .

Lemma 3For the delayed weighted random walks of the DWEI network; letθ > 0 be a weight factor and 0 ≤ p ≤ 1 represents a delay probability,is the MFPT corresponding to the regular weighted random walks; the relationship between MFPTof delayed weighted random walks andfor nodeiis

Proof: Let be the MFPT in the delayed weighted random walks, similar to the study of weighted random walks, we classified all the nodes according to the type of walks. The definition of three quantities X, Y, and Z is the same as section 4, and they satisfy the following three equations in the delayed weighted random walks:The solved X involves the delay probability p and the weight factor θ; its expression isTherefore, we have deduced the relationship between and , as shown in Eq.31.

Theorem 4
For the delayed weighted random walks, letθ

> 0

andt

≥ 0

be the weight factor and time step,Ntis the DWEI-network order; then, the exact dependence of ATT on the network orderNtis as follows:
  • (1) For,

  • 2) When,

fort

→

∞.

Proof: We defined ⟨F⟩t as the ATT for delayed weighted random walks in the network ; in order to obtain the closed-form solution of ⟨F⟩t, two quantities and are proposed for the time step τ ≤ t. Extending Eq.10 to the delayed weighted random walks, a formula about ⟨F⟩t is as follows:The sum of MFPT of all nodes in the network is composed of the sum of MFPT of old nodes and new nodes; it can be formulated asSimilar to the calculation of Eqs 13, 17, it shows that our calculation focuses on solving ; we specified the sum of MFPT of all new nodes asWe can directly get , according to the aforementioned equation for time step t + 1:Multiplying Eq.38 with 2 (1 + 2θ) and subtracting the result from Eq. 39, we derived the recursive connection between and from the results obtained:where is obvious, and the number of nodes newly added to the network at the time step t is , plugging Eq.23 into Eq. 40, and combining a condition , then1) When the weight factor satisfies , we obtainIn this case, we can calculate the sum of MFPT of all nodes by combining Eqs 24, 37, 42:Substituting Eq.43 into Eq. 36, we can get the expression of ⟨F⟩t. Furthermore, we deduce that the trend of ⟨F⟩t increases with Nt for a large network:The aforementioned formula shows that ⟨F⟩t increases linearly with Nt when .2) For , plugging Eq.41 into Eq. 37, we have obtained the analytical formula of . For simplicity, we replaced the three coefficients with A, B, and C, respectively, which are all controlled by the weight factor θ and have no dependencies on the time step t.Among them, three variables A, B, C equal toNext, we gave the average of MFPT for all nodes except the trap node; substituting Eq.45 into Eq. 36, we obtainConsidering , the expression of ⟨F⟩t in Eq.47 can be represented in terms of the network order Nt in the following form:For a large t, we have the following expression for the dominating term of ⟨F⟩t:Therefore, Eq.49 shows that ⟨F⟩t grows sub-linearly and super-linearly with the network size, when and ,respectively; when , we know that ⟨F⟩t grows linearly with the network size from Eq.44. The coefficient in Eq.49 is obviously affected by the delay probability p and the weight factor θ. However, the exponent log4 (1 + 2θ) of Nt is only controlled by the weight factor θ and has no dependencies on the delay probability p. Also, we have known that the delay parameter p can only change the coefficient of the ATT; it has less influence on the trapping efficiency.

6 Conclusion

Based on the undirected unweighted network, we considered the weight and the out-degree and in-degree of nodes in complex systems. We proposed a network operator and a class of directed weighted edge-iteration networks and derived the closed form solution of the average trapping time of two different random walks with a given trap node; one of the random walks is based on the weight θ alone acting on the transition probability, and the other is the weight factor θ and delay parameter p impacting on the transition probability at the same time. The solution shows that the directed weighted construction has a significant effect on the trapping efficiency, and the leading scale of the ATT can be sub-linearly, linearly, and super-linearly with the network size when , , and , respectively. In view of the importance of weight to control the efficiency of random walks, we can extend the undirected network to a directed weighted network or adjust the weights of the edges in the two directions of the directed network so as to achieve the purpose of modifying the weight. Our next goal is to reveal the influence of other factors in directed networks on random walks, such as both nodes and edges having weights. We need to find more variables that can control the trapping process in combination with the real network and give a guiding analytical process.

Statements

Data availability statement

The original contributions presented in the study are included in the article/Supplementary Material; further inquiries can be directed to the corresponding author.

Author contributions

JS provided this topic and wrote the manuscript. MM and MZ discussed and drew all figures. BY modified and guided the manuscript. All authors contributed to the manuscript and approved the submitted version.

Funding

This research was supported by the National Key Research and Development Plan under the Grant No. 2019YFA0706401 and the National Natural Science Foundation of China under Grants Nos. 61872166 and 61662066, the Technological Innovation Guidance Program of Gansu Province: Soft Science Special Project (21CX1ZA285), and the Northwest China Financial Research Center Project of Lanzhou University of Finance and Economics (JYYZ201905).

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Summary

Keywords

random walk, directed network, weight, mean first passage time, trapping efficiency

Citation

Su J, Ma M, Zhang M and Yao B (2022) Adjusting the Trapping Process of a Directed Weighted Edge-Iteration Network. Front. Phys. 10:822712. doi: 10.3389/fphy.2022.822712

Received

26 November 2021

Accepted

06 June 2022

Published

14 July 2022

Volume

10 - 2022

Edited by

Nuno A. M. Araújo, University of Lisbon, Portugal

Reviewed by

Yilun Shang, Northumbria University, United Kingdom

Enqiang Zhu, Guangzhou University, China

Updates

Copyright

*Correspondence: Mingjun Zhang,

This article was submitted to Statistical and Computational Physics, a section of the journal Frontiers in Physics

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics