Electrical Networks with Prescribed Current and Applications to Random Walks on Graphs
Christina Knox, Amir Moradifam

TL;DR
This paper addresses inverse problems in electrical networks and random walks on graphs, focusing on recovering conductivities, transition probabilities, and flows from partial measurements, with practical algorithms provided.
Contribution
It introduces new methods for uniquely recovering network conductivities, transition probabilities, and flows from magnitude and boundary data, with convergence guarantees for algorithms.
Findings
Unique recovery of conductivities from current magnitudes and boundary data.
Transition probabilities of random walks can be determined from edge passage counts.
Mass-preserving flows can be reconstructed from flow magnitudes and boundary fluxes.
Abstract
We study the inverse problem of determining the conductivity matrix of an electrical network from the prescribed knowledge of the magnitude of the induced current along the edges coupled with the imposed voltage or injected current on the boundary nodes. This problem leads to a weighted minimization problem for the corresponding voltage potential. We also investigate the problem of determining the transition probabilities of random walks on graphs from the prescribed net number of times the walker passes along the edges of the graph. We also show that a mass preserving flow on a network can be uniquely recovered from the knowledge of and the flux of the flow on the boundary nodes, where is the flow from node to node and . Convergent numerical algorithms for solving such problems are also presented.
| Tolerance | Relative L2 Error | Number of Iterations | Elapsed Time(s) |
|---|---|---|---|
| 1.2171 | 16 | 0.069309 | |
| 1.3160 | 22 | 0.102846 | |
| 1.4494 | 92 | 0.358250 | |
| 1.3615 | 133 | 0.405979 |
| Tolerance | Relative L2 Error | Number of Iterations | Elapsed Time(s) |
|---|---|---|---|
| 1.3069 | 7 | 0.055400 | |
| 1.3908 | 9 | 0.071342 | |
| 1.0235 | 12 | 0.086956 | |
| 1.1987 | 24 | 0.147310 |
| Tolerance | Algorithm 1 | Algorithm 2 |
|---|---|---|
| 21.175 | 15.918 | |
| 46.097 | 18.905 | |
| 111.847 | 23.486 | |
| 227.624 | 32.846 |
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.
Taxonomy
TopicsMarkov Chains and Monte Carlo Methods Β· Topological and Geometric Data Analysis Β· Point processes and geometric inequalities
Electrical Networks with Prescribed Current and Applications to Random Walks on Graphs
Christina Knox111Department of Mathematics, University of California, Riverside, California, USA. E-mail: [email protected]. ββAmir Moradifam 222Department of Mathematics, University of California, Riverside, California, USA. E-mail: [email protected].
Abstract
In this paper we study Current Density Impedance Imaging (CDII) on Electrical Networks. The inverse problem is to determine the conductivity matrix of an electrical network from the prescribed knowledge of the magnitude of the induced current along the edges coupled with the imposed voltage or injected current on the boundary nodes. This problem leads to a weighted minimization problem for the corresponding voltage potential. We also investigate the problem of determining the transition probabilities of random walks on graphs from the prescribed expected net number of times the walker passes along the edges of the graph. Convergent numerical algorithms for solving such problems are also presented. Our results can be utilized in the design of electrical networks when certain current flow on the network is desired as well as the design of random walk models on graphs when the expected net number of the times the walker passes along the edges is prescribed. We also show that a mass preserving flow on a network can be uniquely recovered from the knowledge of and the flux of the flow on the boundary nodes, where is the flow from node to node and , and discuss its potential application in cryptography.
1 Introduction
Let be a simple, undirected, weighted graph with vertices. We can identify with an electrical network by placing a resistor with resistance between every two vertices and , for with . We assign the weight on each edge , and let if and are not connected. Suppose a voltage is applied to a subset of the vertices, denoted by and called the boundary of , then a current will be induced on the edges of the graph, where is the current flowing from vertex to vertex . In particular, and if the current flows from to , then . We will also assume that if the vertices and are not connected by an edge, and that . Note that . We will view the voltage potential on as a vector where is the voltage potential at vertex . We will also denote the imposed voltage potential on the boundary nodes by a function . By Kirchhoffβs and Ohmβs Law
[TABLE]
where are the interior nodes, and on is the imposed voltage on the boundary nodes (Dirichlet boundary condition). Assume is given on . Then (1) can be written as a system of linear equations with unknowns, i.e.
[TABLE]
where is a dimensional column vector containing the unknown voltage values at the interior nodes, is a non-singular matrix (see Proposition 2.1 below) depending on the conductivities, and is a dimensional column vector depending on the conductivities and the known voltage at the boundary. In particular the forward problem (1) always has a unique solution which is indeed the voltage potential associated to the conductivity problem on the network.
On the other hand if a current is injected to the network on a subset of vertices (Neumann boundary condition), then we necessarily have
[TABLE]
and by Kirchhoffβs and Ohmβs Law the voltage potential satisfies
[TABLE]
The above equations can be written as
[TABLE]
where is an matrix depending on the conductivity , and is an -dimensional column vector depending on the injected current on the boundary . The matrix also has unique solutions up to adding a constant (see Propositions 3.1 and 3.2 below) and the solution of (8) is the voltage potential on the vertices of the graph. The matrix is in fact the well known graph laplacian of a weighted undirected graph.
As described above, the forward problems always have unique solutions up to a constant and can be easily solved by solving a linear system of equations. In this paper we are interested in the inverse problem of determining the conductivity matrix of an electrical network from the knowledge of the induced current along the edges of the network and Dirichlet or Neumann boundary conditions. This problem can also be understood as a design problem where one aims to design an electrical network that induces a prescribed current along its edges when a voltage is applied to the boundary nodes , or when a current is injected on . These inverse problems are in the spirit of Current Density Imaging (CDI) and Current Density Impedance Imaging (CDII) in dimensions which have been actively studied in recent years because of their potential applications in medical imaging, see [17, 21, 19, 20, 22, 23, 24, 26, 27, 29, 28, 30, 31, 32, 33, 34]. In dimension the induced current inside the conductive body can be measured by Magnetic Resonance Imaging (MRI), see [17, 21].
Random walks arise in many mathematical and physical models in biology, economics, computer and social networks, epidemiology, and statistical mechanics. Such models have been used to model infection on graphs such as spread of epidemics and rumours with mobile agents, see [2, 7], voting patterns [40, 4], and stock market prices [11]. Random walk models have also been proven to be a simple yet powerful method for extracting information from computer and social networks such as identification of reputable entities in a network. For instance Googleβs PageRank algorithm uses random walks to rank websites in their search engine results, see [35, 18], and the survey papers [25] and [36] for applications of random walks on graph in computer networks. Also see [39] for a wide variety of applications of random walks on graphs in statistical mechanics. The inverse problem we investigate here translate to intriguing questions in various contexts where a random walk model on graphs is utilized. The results could also be useful in the design of effective random walk models for achieving prescribed goals with random steps in a network. For instance, one can think of designing a random walk model with a prescribed high net number of times the walker passes along certain edges of the graph.
To the authorsβ best knowledge the natural inverse problem considered in this paper has not been studied elsewhere. In [5] and [3], the authors investigate the problem of recovering the conductivity of the edges from the measurement of voltages at the boundary vertices, and measurements of the voltage, current, and conductivity on the boundary respectively. In [5] the authors proved injectivity of this inverse problem for critical, circular and planar graphs and provided an explicit reconstruction method. Under the assumption of monotonicity of conductivities, partial uniqueness results are established in [3]. While the general theory of inverse problems on graphs is a rich field of study with applications in various disciplines, the above results are most closely related to this work.
There is a close connection between electrical networks and random walks on graphs (see [6]). In Section 5 we exploit this connection and apply our results on electrical networks to study the inverse problem of determining transition probabilities of random walk models from the net number of times the walker passes along the edges of the graph. We will also discuss a potential application of our results in public-key encryption, a seemingly unrelated problem.
The paper is organized as follows. In Section 2 we study the problem of determining the conductivity matrix of an electrical network from the knowledge of the magnitude of the induced current with Dirichlet boundary condition, and in Section 3 we study this problem with Neumann boundary data. In Section 4 we present a numerical algorithm for finding minimizers of the minimization problem we obtain in Sections 2 and 3. In Section 5 the connection between random walks and electrical networks is discussed and we apply our results on electrical networks to the inverse problem of determining transition probabilities from the net number of time a random walker passes along the edges of the graph.
2 Dirichlet Boundary Condition
In this section we study the inverse problem of determining the conductivity matrix from the knowledge of its induced current on and the imposed voltage potential on (Dirichlet boundary conditions). Let be an undirected, simple, connected graph with vertices, and suppose a voltage is applied to some subset of the vertices inducing the current on . Throughout the paper denotes the matrix , we will refer to as a measurement matrix.
We first show that the forward problem has a unique solution, i.e. is non-singular. One can find a proof in [5] and we present a brief proof for the sake of completeness.
Proposition 2.1**.**
*The matrix is non-singular. *
Proof. For every it follows from (1) that is the weighted average of the voltage potential in its neighboring nodes, i.e.
[TABLE]
Consequently satisfies the strong maximum principle in the sense that if attains its maximum or minimum on an interior node, then must be constant on . In particular, attains its minimum and maximum on the boundary .
Now suppose . Then satisfies
[TABLE]
Since on , it follows from the above maximum principle that on . Thus the matrix is non-singular.
An immediate consequence of Proposition 2.1 is that the forward problem (1) always has a unique solution.
Definition 2.2**.**
We say that a vertex is an interior vertex and write if
[TABLE]
*Otherwise we say that is boundary vertex and write . For every , is the current flowing in () or out () of the graph at vertex . In particular, and . *
Definition 2.3**.**
Given and a measurement matrix with for all and when and , we say that a symmetric matrix with is a conductivity matrix associated to the data , if there exists a function with , and a matrix such that
[TABLE]
and
[TABLE]
*for all . When and , then we formally define and say that the edge between nodes and is a perfect conductor. We shall also refer to the function as a voltage potential and denote the set of all voltage potentials corresponding to the data by .
For any measurement matrix , define the function by
[TABLE]
and for consider the minimization problem
[TABLE]
We shall prove that if and only if it is a minimizer of the least gradient problem. Let us first study the dual of the minimization problem above.
2.1 The Dual problem
Here we discuss the dual of the least gradient problem (11) and study the connection between these two problems.
Let be the set of all real valued functions on the vertices. We shall view a function as a vector in . Also let to be the space of all functions on , i.e. the space of all matrices , where denotes the value of the function on the edge from vertex to , with the additional convention that if the edge from to is not in , and .
Definition 2.4**.**
Let and . Then we define the inner products
[TABLE]
*on and , respectively. The spaces and equipped with the above inner products are Hilbert spaces. *
Next we define two linear operators and which play crucial roles in our arguments.
Definition 2.5**.**
For we define as
[TABLE]
if the edge connecting to is in , and [math] otherwise. Also for we define as follows
[TABLE]
Observe that if is anti-symmetric, that is for all , then the divergence is simply . We shall refer to and div operators as gradient and divergence, respectively, since they play the role in our setting of the standard gradient and divergence operators on n, . Note that the definition of the gradient and divergence given here does not depend on the weights (conductivities) of the graph as it would normally when defining these operators on a weighted graph. Since in the inverse problems we consider in this paper, the conductivities are unknown, these definitions are desirable. Let us first show that is the adjoint of .
Proposition 2.6**.**
Let and . Then
[TABLE]
Proof. Let and . Then
[TABLE]
Let and define
[TABLE]
For we take to mean that every entry is non-negative. Then for and , the least gradient problem (11) can be written as
[TABLE]
where we have used the notation . Now choose Define to be the space of functions on which are equal to zero on . Then we can equivalently write the primal problem (15) as
[TABLE]
Define and as follows
[TABLE]
Then (16) can be written as
[TABLE]
By Rockafellar-Fenchel duality (see [9]), this problem admits a dual problem which can be expressed as
[TABLE]
where and denote the convex conjugate of and , respectively. It is easy to see that
[TABLE]
Next we compute the convex conjugate of .
Lemma 2.7**.**
Let with and . Then
[TABLE]
Proof. Suppose , that is for all . Then
[TABLE]
Taking we also get .
Now suppose that there exists such that . Let , and otherwise, where . Then we have
[TABLE]
Thus the dual problem (18) can be written as
[TABLE]
Given that for at least one one can show that any minimizing sequence of the the primal problem is uniformly bounded. Hence a convergent subsequence exists and a minimizer of the primal problem (P) always exists. On the other hand, it follows from Theorem III.4.1 in [9] that the dual problem (D) also has a solution. Indeed since is convex and with is continuous at , the condition (4.8) in the statement of Theorem III.4.1 in [9] is satisfied. The weighted minimization problem (11) does not have an unique minimizer and thus the conductivity inducing the current on is not unique. However we can characterize the non-uniqueness.
Theorem 2.8**.**
The infimum of the primal problem (P) is equal to the supremum of the dual problem (D). Moreover, the dual problem has an optimal solution , and satisfies
[TABLE]
and
[TABLE]
*for every minimizer of (11). Conversely, if and the above equation holds then then is a minimizer of (11). *
Proof. A solution to the dual problem always exists and the infimum of the primal problem (P) is equal to the supremum of the dual problem by Theorem III.4.1 in [9] as discussed above. Let be a minimizer of (11). Then
[TABLE]
Hence the inequalities in 2.1 are indeed equalities and thus
[TABLE]
and
[TABLE]
Therefore if we let we we see that (20) and (21) hold. It is not hard to see that the converse also holds from the above computations.
Corollary 2.9**.**
If and are two arbitrary minimizers of (11), then
[TABLE]
2.2 Voltage Potentials Have Minimum Energy
We are now ready to prove the following theorem.
Theorem 2.10**.**
*Let be a function on and be a measurement matrix. Then if and only if it is a minimizer of the least gradient problem (11). *
Proof. Suppose and let be the corresponding current on . Then
[TABLE]
Therefore the minimum of the least gradient problem (11) is equal to . Moreover the minimum is achieved for every .
Now suppose is a minimizer of the problem (11) and let be a solution of the dual problem (D) and let . Then by Theorem 2.8
[TABLE]
and since on
[TABLE]
For define . Then
[TABLE]
Thus and the proof is complete.
Remark 2.11**.**
*Note that every minimizer of (11) uniquely determines a conductivity matrix . Corollary 2.9 indicates that the directions of the flow of the current along the edges is unique, despite multiplicity of the minimizer of (11). Indeed if two conductivity matrices and with induce the currents and on a network when the voltage is imposed on , and , then . This is a counter-intuitive result. *
2.3 Multiple Measurements
Suppose we have two data sets and , and would like to find a conductivity matrix inducing the currents with magnitudes and , when the voltage potentials and are imposed on the boundary vertices and , respectively.
Let and be defined by Equation (10) for and respectively and for define
[TABLE]
where
[TABLE]
Define
[TABLE]
and
[TABLE]
Now consider
[TABLE]
It is easy to see that (26) always has a minimizer.
Theorem 2.12**.**
Let be a minimizer of (26).
If there exists a conductivity matrix which induces the current with when the voltage potential is imposed on the boundary, denoted , , then . Moreover,
[TABLE]
and
[TABLE] 2. 2.
If there doesnβt exist a conductivity matrix inducing the current with when the voltage potential is imposed on the boundary noted , , then .
Proof. (1) Suppose there exists a conductivity matrix producing the data and . It follows directly from Theorem 2.10 that the set of minimizers of (26) is equal to . So the first statement follows.
(2) Suppose . Then and minimize and over the appropriate spaces and so by Theorem 2.10, and and thus they each have corresponding conductivity matrices and that generate currents and respectively. However implies that these conductivities are in fact equal.
Now suppose a finite data set of measurements is given:
[TABLE]
Define
[TABLE]
and
[TABLE]
where
[TABLE]
Consider the weighted minimization problem
[TABLE]
where
[TABLE]
One can similarly prove the following theorem.
Theorem 2.13**.**
Let be a minimizer of (27).
If there exists a conductivity matrix which induces the current with when the voltage potential is imposed on the boundary noted , , then . Moreover,
[TABLE] 2. 2.
If there doesnβt exist a conductivity matrix inducing the current with when the voltage potential is imposed on the boundary noted , , then .
3 Neumann Boundary Condition
Let be an undirected simple connected graph with vertices, and suppose the current is injected to a subset of , regarded as boundary of , inducing the current on . Then should satisfy the compatibility assumption
[TABLE]
We will again denote and refer to as a measurement matrix. The following proposition characterizes solutions of the forward problem (7).
Proposition 3.1**.**
Let be the matrix defined in (8). Then
[TABLE]
Proof. Suppose for some . Then it follows from (7) that
[TABLE]
Hence for all and connected by an edge. Since is connected the proof is complete.
Proposition 3.2**.**
*The equation has a solution if and only if . *
Proof. By the Fredholm Alternative from linear algebra, has a solution if and only if . By the previous proposition and the fact that is symmetric we have
[TABLE]
Therefore if , up to adding a constant the equation (7) has a unique solution. The following is the analog to Definition 2.3.
Definition 3.3**.**
Given satisfying and a measurement matrix with for all and when and , we say that a symmetric matrix with is a conductivity matrix associated to the data , if there exists a function with and a matrix such that
[TABLE]
[TABLE]
and
[TABLE]
*When and , then we formally define and say that the edge between nodes and is a perfect conductor. We shall also refer to the function as a voltage potential and denote the set of all voltage potentials corresponding to the data by .
For a measurement matrix , define the function by
[TABLE]
Also for satisfying (28) define
[TABLE]
We shall prove that the voltage potential is a minimizer of the minimization problem
[TABLE]
Let us first study the dual of this problem.
3.1 The Dual problem
In this section we discuss the dual of the least gradient problem (30) and study its connection to the primal problem. Let satisfying (28). Choose such that
[TABLE]
Define
[TABLE]
Then we can equivalently write the primal problem (30) as
[TABLE]
Define and as follows
[TABLE]
Then (31) can be written as
[TABLE]
As before this problem admits a dual problem which can be expressed as
[TABLE]
From Lemma 2.7 we have
[TABLE]
Next we compute .
Lemma 3.4**.**
Let be defined as . Then for we have
[TABLE]
where
[TABLE]
Proof. First note that
[TABLE]
Let with if and if , and
[TABLE]
Observe that . Hence Since , see [16],
[TABLE]
and the result follows.
Therefore the dual problem (33) can be written as
[TABLE]
where
Similar to before one can show that (30) has a minimizer. Similar to the Dirichlet boundary condition case, it follows from Theorem III.4.1 in [9] that the dual problem () also has a solution and characterizes the non-uniqueness of solutions of the primal problem (30).
Theorem 3.5**.**
The infimum of the primal problem is equal to the supremum of the dual problem . Moreover, the dual problem has an optimal solution , and satisfies
[TABLE]
and
[TABLE]
*for every minimizer of (30). Conversely, if (35) and (36) hold for some , then then is a minimizer of (30). *
Proof. Let be a solution to the dual problem with corresponding . Suppose is a minimizer of 30. Then
[TABLE]
Thus the inequalities in (3.1) are indeed equalities and taking we we see that (35) and (36) hold. It is easy to see from the above compuations that the converse also holds.
Corollary 3.6**.**
If and are two arbitrary minimizers of (30), then
[TABLE]
3.2 Voltage Potentials Have Minimum Energy
We can now prove the analog to Theorem 2.10.
Theorem 3.7**.**
Let be a function on satisfying 28 and be a measurement matrix. If , then is a minimizer of the least gradient problem (30). Conversely, given any with and satisfying (28), if is a minimizer of the least gradient problem (30), then for some .
Proof. Suppose and let be the corresponding current on . Following similar computations as in the proof of Theorem 2.10 we have
[TABLE]
Therefore the minimum of the least gradient problem (30) is equal to 1. Moreover the minimum is achieved for every .
Now suppose is a minimizer of the problem (30) and let be a solution of the dual problem with the corresponding . Let . Then by Theorem 3.5 we see that .
Remark 3.8**.**
*Note that Corollary 3.6 indicates that the direction of the flow of the current along the edges is unique, despite multiplicity of the minimizers of (11) (see also Remark 2.11). *
3.3 Multiple Measurements
Suppose we have two data sets and , and would like to find a conductivity matrix inducing the currents with magnitudes and , when the currents and are injected on the boundary vertices and , respectively. We can consider the minimization problem
[TABLE]
where is defined by (25) and
[TABLE]
The analog to Theorem 2.12 can be formulated and proved in this setting and we can also similarly extend to a finite number of measurements.
4 Algorithms for finding minimizers
In this section we present numerical algorithms for finding minimizers of the minimization problems discussed in Sections 3 and 4, yielding voltage potentials for Dirichlet or Neumann boundary conditions. The primal problem and can be written as
[TABLE]
where for the Dirichlet case and for the Neumann boundary problem. This leads to the unconstrained problem
[TABLE]
To solve the above minimization problem, we use and develop an algorithm in the spirit of the alternating Split Bregman method which was first introduced by Goldstein and Osher [15]. The Split Bregman algorithm suggests initiating the vectors and , and producing the sequences , , and as follows
[TABLE]
where . Since the joint minimization problem (42) in both and is in general expensive to solve exactly, Goldstein and Osher [15] proposed the following Alternating Split Bregman algorithm for solving problems of type
[TABLE]
See [10, 1, 15, 13, 37, 38] for more details. It is pointed out by Esser [10] and Setzer [38] that the above idea to minimize alternatingly was first presented for the augmented Lagrangian algorithm by Gabay and Mercier [13] and Glowinski and Marroco [14]. The resulting algorithm is called the alternating direction method of multipliers (ADMM) [12] and is equivalent to the alternating split Bregman algorithm. The convergence of ADMM in finite dimensional Hilbert spaces was established by Eckstein and Bertsekas [8]. This in particular implies convergence of the alternating split Bregman algorithm in finite dimensional Hilbert spaces. Cai, Osher, and Shen [1] and Setzer [37, 38] also independently presented convergence results for the alternating split Bregman in finite dimensional Hilbert spaces. In [27] and [29] the authors proved the convergence of the alternating split Bregman algorithm in infinite dimensional Hilbert spaces by showing that the alternating split bregman algorithim corresponds to the Douglas-Rachford splitting algorithm for the dual problem. Indeed the dual problems (18) and (33) can be written in the form
[TABLE]
where and are maximal monotone operators on . For a set valued operator , let denote its resolvent, i.e. . Douglas-Rachford splitting algorithm states that for any initial elements and and any , the sequences and generated by the following algorithm
[TABLE]
converges to some and respectively. Furthermore and satisfies
[TABLE]
Let us introduce the sequences and with
[TABLE]
Notice that both sequences and converge. The resolvents and can be computed as follows
[TABLE]
and
[TABLE]
where and are minimizers of
[TABLE]
and
[TABLE]
over for the Dirichlet problem and over for the Neumann problem, and over .
In the case of Dirichlet boundary condition the minimizer of should satisfy the Euler-Lagrange equation
[TABLE]
It follows from Proposition 2.1 that the above system is uniquely solvable.
In the case of Neumann boundary condition, also has a unique minimizer in up to adding a constant, but identifying the solutions is more subtle. First note that if is a minimizer in , then it satisfies the Euler-Lagrange equation
[TABLE]
for some . Conversely for , every solution of the above equation which belongs to is a minimizer of . Since and for any , by Propositions 3.1 and 3.2 the system (57) has a unique solution in for every , up to adding a constant. To identify and find a solution of (57) in , let be a solution of
[TABLE]
Then
[TABLE]
Hence
[TABLE]
Now let be a solution of
[TABLE]
Define
[TABLE]
Then belongs to and satisfies the equation (57), and hence is the unique minimizer of over , up to adding a constant.
The minimizer of for the Dirichlet problem can be directly computed as
[TABLE]
where . For the Neumann problem is replaced by .
Therefore Douglas-Rachford splitting leads to the following convergent algorithms for the Dirichlet and Neumann problems.
**Algorithm 1 (Finding a minimizer of the Dirichlet Problem)
**Let , with on and initialize . For :
Solve
[TABLE] 2. 2.
Compute
[TABLE]
where . 3. 3.
Set
[TABLE]
The following proposition follows directly from the convergence of Douglas-Rachford splitting algorithm and Theorem 1.2 in [27]. See also [1, 37, 38].
Proposition 4.1**.**
*Let , and be the sequences produced by the Algorithm 1. Then and , where and are solutions of the (16) and itβs dual problem (D), respectively. In addition . In particular is a voltage potential corresponding to the data and is the induced current with .
**Algorithm 2 (Finding a minimizer of the Neumann Problem)
**Let , with and initialize . Also let be a solution of (60) with . For :
(a) Solve
[TABLE]
with .
(b) Compute
[TABLE]
and set . 2. 2.
Compute
[TABLE]
where . 3. 3.
Set
[TABLE]
Convergence of Douglas-Rachford splitting algorithm implies the following convergence result, see Theorem 1.2 in [27] and [1, 37, 38].
Proposition 4.2**.**
*Let , and be the sequences produced by the Algorithm 2. Then and , where and are solutions of the (31) and itβs dual problem (), respectively. In addition . In particular is a voltage potential corresponding to the data for some and is the induced current with . Moreover is the optimal values of the primal and dual problems and , i.e. .
4.1 Numerical Simulations
We performed a set of numerical simulations in MATLAB to demonstrate convergence of Algorithm 1 and 2. A simple graph with 100 vertices was generated and edges were randomly assigned between nodes with a approximate density of 0.125. Random numbers uniformly distributed between 0 and 1 were then assigned to each edge as their conductivity. We then selected 5 boundary nodes and randomly assigned values between 0 and 1 as boundary data. For the Dirichlet boundary data, the forward problem was solved to determine the current , generating the data . To generate the boundary data for the Neumann problem we found the current entering/leaving the system at each boundary vertex. The simulations for both the Dirichlet and Neumann boundary data were done on the same graph structure with the same current data . The nonsingular linear systems in algorithm 1 were solved using the MATLAB mldivide function and the singular linear systems in algorithm were solved using the pinv function. The vector was chosen to be zero on and on the . The vector in Algorithm 2 was chosen using the MATLAB mldivide function. Tables 1 and 2 show the numerical errors for algorithms 1 and 2 on the same graph for different levels of tolerance. Simulations were run on a late 2013 MacBook Pro with a 2.4 GHZ Intel Core i5 processor. We used the matrix norm for error computations.
While running our simulations we observed that the speed of convergence of Algorithm 1 varied quite wildly depending on the choice of boundary data. We also observed that the speed of convergence of Algorithm 2 was always the same or faster than that of Algorithm 1. To test this observation, we ran algorithms 1 and 2 on the same graph used in Tables 1 and 2 for 1000 different choices of Dirichlet boundary. The average number of iterations for each algorithm is shown in Table 3. We also remark that changing the structure of the graph also effects the speed of convergence. It is not clear to the authors that why Algorithm 2 converges faster than Algorithm 1, and an in depth analysis of the speed of convergences of algorithms 1 and 2 remain open.
5 Applications
In this section we discuss potential applications of our results on electrical networks on random walks on graphs and Cryptography.
5.1 Random Walks on Graphs
Let be a connected, directed, and simple graph with nodes and consider a random walk on . Suppose a random walker begins at node and walks until they reach node and if they return to before reaching they keep walking. Let be the matrix of transition probabilities, i.e. is the probability of the random walker walking from node to node . In particular for all . Let be the expected number of times the walker walks from node to node before exiting the graph at node . Note that . Can one determine transition probabilities from the knowledge of the boundary vertices and ? In this section, among other results, we show that the answer is yes, and describe an algorithm for determining such .
There is a close connection between electrical networks and random walks on graphs [6]. Let be an electrical network with conductivity matrix , , and let . Suppose a current with and is injected to the network inducing a current along the edges. Define
[TABLE]
and assign the transition probability matrix to the graph . Then the net number of times the walker taking an step from node to node is indeed , i.e.
[TABLE]
Therefore if the boundary nodes and the magnitude of expected net number of times the walker should walk along the edges of the graph is prescribed, by the method presented in Section 5, one can first find a conductivity matrix inducing the current on network and compute transition probability matrix by (76).
The connection between random walks on graphs and electrical networks with Neumann boundary condition can be generalized to the case when with and . Let with and and
[TABLE]
Suppose we would like to determine a transition matrix such that if a random walker enters the network from a vertex in with probability , then
- β’
they exit the network at a node with probability
- β’
the expected net number of times they pass from vertex to node before exiting the network is , .
As explained above, to determine the transition matrix it suffices to find a conductivity matrix inducing the current with Neumann data on . Then can be computed from (76).
Suppose and consider the inverse problems of determining the transition probabilities from the relative net number of times the walker walks between the edges of the graphs, i.e. where is a unknown constant. Then one can determine a transition probability by finding a conductivity matrix by minimizing the minimization problem (10) with , and . A transition matrix can also be obtained by minimizing (30) with the Neumann boundary condition and .
Remark 5.1**.**
*Note that in this section we assume that the conductivity matrix satisfies . Indeed we do not allow perfect conductors as otherwise the probability matrix in (76) will not be well-defined. As described in the introduction, if for a minimizer of (11) or (30) we have and for some , then the edge is a perfect conductor, i.e. . If is minimizer of (11) or (30) leading to perfect conductance on an edge, then one may look for an increasing function such that satisfies for . Note that such will also be a minimizer of (11) or (30) and would provide a conductivity matrix with , and hence the transition probabilities can be computed from (76). If such increasing function does not exists, then there exists no transition probability matrix for which the expected number of times the walker passes along the edges is . *
5.2 Applications in Cryptography
In this section we discuss a potential application of our results on electrical networks in public-key encryption. As stated in Remark 3.8, Theorem 2.10 implies that a mass preserving flow along the edges of a graph can be recovered from the knowledge of and its net flux on the boundary nodes . More precisely, suppose is the current from node to node ( for ), and suppose
[TABLE]
and
[TABLE]
Then can be reconstructed from the knowledge of . This counter-intuitive result has a potential application in cryptography. To see the connection, let us translate a special case of this result to the language of matrices.
Let be a subset of with elements and be the space of anti-symmetric matrices satisfying the following properties:
- I
. for and , for all 2. II
. All rows of contain an even number of non-zero entries 3. III
. Sum of the entries of the th row is equal to zero if 4. IV
. For , the sum of the entries of the th row is denoted by , which is not necessarily zero.
Note that . Suppose a pair of communicators have agreed on a set of indices with elements, both are aware of , and would like to securely communicate a matrix . Then the first party can just send the key where is the sum of the entries of the rows of that belong to . The second party can decrypt the message and find from the knowledge of , using the algorithm we developed in Section 4. Since only takes integer values in , a few iterations of the algorithm should be enough to determine . On the other hand, finding from the knowledge of would be extremely difficult for an adversary who is not aware of . Indeed since all rows of have an even number entries equal to , the adversary could not determine the boundary nodes from . To decrypt the message, the adversary faces the problem of guessing among subsets of with elements and matching it with . The number of different possibilities are
[TABLE]
which grows very fast and makes the decryption for adversaries extremely difficult for large . The above application in public-key encryption and the challenges of its implementation will be further studied in a forthcoming paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J.-F. Cai, S. Osher, and Z. Shen , Split Bregman methods and frame based image restoration , Multiscale modeling & simulation, 8 (2009), pp. 337β369.
- 2[2] R. M. Christley, G. Pinchbeck, R. Bowers, D. Clancy, N. French, R. Bennett, and J. Turner , Infection in social networks: using network analysis to identify high-risk individuals , American journal of epidemiology, 162 (2005), pp. 1024β1031.
- 3[3] S.-Y. Chung and C. A. Berenstein , Ο π \omega -harmonic functions and inverse conductivity problems on networks , SIAM Journal on Applied Mathematics, 65 (2005), pp. 1200β1226.
- 4[4] C. Cooper, R. Elsasser, H. Ono, and T. Radzik , Coalescing random walks and voting on connected graphs , SIAM Journal on Discrete Mathematics, 27 (2013), pp. 1748β1758.
- 5[5] E. B. Curtis and J. A. Morrow , Inverse problems for electrical networks , vol. 13, World Scientific, 2000.
- 6[6] P. G. Doyle and J. L. Snell , Random walks and electric networks , Mathematical Association of America,, 1984.
- 7[7] M. Draief and A. Ganesh , A random walk model for infection on graphs: spread of epidemics & rumours with mobile agents , Discrete Event Dynamic Systems, 21 (2011), pp. 41β61.
- 8[8] J. Eckstein and D. P. Bertsekas , On the Douglas-Rachford splitting method and the proximal point algorithm for maximal monotone operators , Mathematical Programming, 55 (1992), pp. 293β318.
