Efficient Computation of H2 Performance on Series-Parallel Networks
Mathias Hudoba de Badyn, Mehran Mesbahi

TL;DR
This paper presents an efficient method for computing the $ ext{H}_2$ performance measure on series-parallel networks by leveraging network decomposition, and also addresses adaptive re-weighting to optimize this measure.
Contribution
It introduces a novel approach for distributed $ ext{H}_2$ norm computation on series-parallel networks using decomposition and composition rules, and extends to adaptive re-weighting for optimization.
Findings
Efficient $ ext{H}_2$ norm computation via network decomposition.
Distributed algorithms for re-weighting to optimize $ ext{H}_2$ performance.
Complexity of adaptive re-weighting comparable to initial computation.
Abstract
Series-parallel networks are a class of graphs on which many NP-hard problems have tractable solutions. In this paper, we examine performance measures on leader-follower consensus on series-parallel networks. We show that a distributed computation of the norm can be done efficiently on this system by exploiting a decomposition of the network into atomic elements and composition rules. Lastly, we examine the problem of adaptively re-weighting the network to optimize the norm, and show that it can be done with similar complexity.
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.
Efficient Computation of Performance
on Series-Parallel Networks
Mathias Hudoba de Badyn and Mehran Mesbahi The research of the authors was supported by NSERC (ref # CGSD2-502554-2017), the U.S. ARL and the U.S. ARO (contract # W911NF-13-1-0340), and the U.S. AFOSR (funding # FA9550-16-1-0022). The authors are with the William E. Boeing Department of Aeronautics and Astronautics at the University of Washington, Seattle, WA 98195 USA e-mails: {hudomath,mesbahi}@uw.edu.
Abstract
Series-parallel networks are a class of graphs on which many NP-hard problems have tractable solutions. In this paper, we examine performance measures on leader-follower consensus on series-parallel networks. We show that a distributed computation of the norm can be done efficiently on this system by exploiting a decomposition of the network into atomic elements and composition rules. Lastly, we examine the problem of adaptively re-weighting the network to optimize the norm, and show that it can be done with similar complexity.
I Introduction
Large-scale complex networks appear in many natural and synthetic systems, such as animal flocking [1], robotic swarms [2], oscillators [3], opinion dynamics [4] and infrastructure networks [5]. Work on understanding the effect of the network structure on the behaviour of these systems has helped develop many control and estimation algorithms.
An algorithm of particular interest is consensus, a distributed information-sharing protocol over a network, with diverse applications such as Kalman filtering [6, 7], multi-agent systems [8], swarm deployment [2], and robotics [9]. The controllability of consensus is related to symmetries of the graph; automorphisms fixing the control input yield uncontrollable modes [11, 12, 13]. This argument was extended to nonlinear variants of the protocol [14], and graphs admitting both positive and antagonistic interactions [13, 15, 16].
One concern is how the algorithm performs with respect to various measures, such as entropy [17, 18], or disturbance rejection in the form of the norm [19, 20, 21]. Such measures provide a metric for the underlying dynamical system to be able to autonomously modify the topology of the network to adapt to antagonistic influences [21, 20].
The notions of performance and control of consensus all rely on the underlying topology of the network. Several famous models for graph design are scale-free networks [22] and the Erdos-Renyi random graph model [10]. Graph growth models have been considered both for control [23] and performance [24]. A more axiomatic approach is to take small, atomic elements and build graphs out of these elements, or to use graph-growing operations that preserve properties like controllability [23, 25, 5].
In this paper, we seek to understand how system-theoretic measures can be computed from atomic elements that build up the graph. We approach the performance problem on leader-follower consensus in this spirit by considering series-parallel networks. These networks can be decomposed into a series of atomic elements and composition operations in linear [26] and sublinear [27] time. Their key property is that many NP-hard problems on general classes of graphs become linear on series-parallel graphs [28].
The contributions and organization of the paper are as follows. By exploiting the structure of series-parallel networks, we are able to present a way of computing the norm of a leader-follower consensus network in best-case (worst case ) complexity, where are the number of leaders and followers, respectively. We also provide a method for adaptively re-weighting the network to optimize performance that utilizes computations of similar complexity by invoking an electrical network analogy of the consensus dynamics. In §II, we outline the notation used in the paper. The problem statement, background on series-parallel networks, and the electrical analogy of consensus are in §III. Our main results on efficient computation and adaptive re-weighting are presented in §IV, with conclusions in §V.
II Mathematical Preliminaries
II-A Graph and Edge Laplacians
The vector has ‘1’ in its th entry, and zeros elsewhere, and we denote the set . The parallel addition of two scalars is defined as . A graph is a triple of sets where is a set of nodes, is a set of edges denoting pairwise connections between nodes, and is a set of weights on the edges. We use the standard graph theoretic notation regarding graphs, and adjacency, degree, incidence and Laplacian matrices [10]. Given two graphs , one may combine them through the operation of identifying nodes. Suppose . Then, we write to indicate that , where if or implies that (similarly, if considering directed edges, we have that if or implies that ). Such an operation is depicted in Figure 1: the two orange squares in the oval denoted by are identified to the node in the bottom graph.
A tree is a connected graph with no cycles, and a leaf is designated as a node of degree 1. A binary tree is a tree where one node is designated as the root, and all the nodes of are either leaves or parents. Each parent in a binary tree can have at most two children and one parent, except the root which has no parents. The height of a binary tree is the length of the longest path from the root to a leaf. A complete (sometimes called full) binary tree is one which each node has either zero or two children.
III Network Models
III-A Problem Statement
In this paper, we examine the leader-follower consensus problem. Consider a connected weighted graph with Laplacian . Denote a set of leaders , and a set of followers . Further suppose that each leader is connected to a single unique node in , called the input nodes, denoted by (see Figure 1 for a schematic of the setup). Denote the set of input nodes by . Then, the graph Laplacian of can be partitioned as follows:
[TABLE]
where is a diagonal matrix containing the weights of the edges connecting to . Suppose we can observe individual follower nodes. Therefore, the control and observation matrices are given by and , where are the nodes attached to leaders, and are the nodes under observation. Note that the form of these matrices assumes that each leader is attached to a single, unique follower. Next, recall that one can write the graph Laplacian in terms of the incidence and weight matrices as Then, the corresponding leader-follower consensus dynamics, with , are given by
[TABLE]
The matrix is negative definite if the underlying graph is connected, and thus invertible.
III-B * Norm*
For a linear system and corresponding transfer function,
[TABLE]
the norm is defined as
[TABLE]
and measures the root-mean-square of the inpulse response of the system, or equivalently the steady-state covariance of the system under zero-mean, unit-covariance white noise inputs. The norm of the leader-follower consensus dynamics is discussed in §IV.
III-C Electrical Network Models
An interesting perspective on consensus networks comes from viewing the underlying graph as an electrical network of resistors [21, 29]. In the leader-follower setup of §III-A, consider the graph . For each edge , consider placing a resistor between nodes and with conductance (resistance ). Then, the effective resistance between arbitrary nodes is given by
[TABLE]
Alternately, consider ‘grounding’ all the leader nodes , i.e., identifying them all as one node, or electrically connecting them together by wires. Then, the diagonal entries of the matrix , with from (4), yield the effective resistances between the th node in to the leader node set, i.e. is the the effective resistance from to .
If denotes a vector of current injected into the nodes from , then the quantity is the voltage drop from node to the grounded leader node set. If , then this corresponds to a current of 1A injected into the node , see Figure 1 for a schematic of this setup. In this case, we write as the voltage drop of node .
III-D Series-Parallel Graph Models
In this paper, we consider the class of graphs known as series-parallel graphs. Given a series-parallel graph there exist extremely efficient (, and ) algorithms that decompose the graph into atomic structures and simple composition operations on them [26, 27, 30]. This decomposition allows for efficient solutions to problems that are otherwise NP-hard on general classes of graphs [28].
Definition 1** (Two-Terminal Series-Parallel Graphs)**
A directed acyclic graph is called two-terminal series-parallel TTSP if it can be defined recursively as follows:
The graph defined by two vertices connected by an edge (a 1-path) is a TTSP graph, where one node is labeled the source, and the other the sink. 2. 2.
If and are TTSP where are the unique source and sink of , then the following operations produce TTSP graphs:
- (a)
Parallel Addition:* .* 2. (b)
Series Addition:* .*
Denote the parallel join of and as , and the corresponding series join as .
The two recursive operations defining the TTSP graph model allow for a simple constructive approach for defining graphs from atomic elements. Indeed, efficient algorithms exist that decompose TTSP graphs into a decomposition tree with the following structure [26, 27, 30].
Definition 2** (TTSP Decomposition Tree)**
A TTSP decomposition tree of a TTSP graph is a binary tree with the following properties:
* is a complete (sometimes called full) binary tree, in that every node has either 2 or 0 children.* 2. 2.
Every leaf of corresponds to a 1-path. 3. 3.
Every parent of corresponds to either a series or parallel addition operation from Definition 1 on its children.
Remark 1
In general, one can ignore the assumption of directed edges in Definition 1 and consider undirected TTSP graphs, see [27].
Examples of TTSP graphs and their decomposition trees are shown in Figure 2. The graph is constructed by a reverse breadth-first-search: the deepest leaves combine each other by the series or parallel join designated by their parent. At each layer of the decomposition tree, each operation can be performed independently of the other nodes in the layer. Hence, the complexity of the reconstruction operation is limited by the height of the decomposition tree; it is this key insight that allows the efficient computations of the system-theoretic measures in the remainder of the paper. First, in the following proposition, we quantify the height of the tree in terms of the size of the resulting graph.
Proposition 1** (Properties of )**
Let be a TTSP graph with nodes constructed from 1-paths with parallel joins and series joins. Then,
* has nodes and edges.* 2. 2.
The decomposition tree of has nodes 3. 3.
The height of is bounded by
[TABLE]
Proof:
BEach parent of has either 2 or 0 children. If it has zero children, it is a leaf and therefore corresponds to a 1-path, which adds one edges to . It follows that .
Each leaf also adds two nodes to ; each series join identifies a pair of nodes, and each parallel join identifies two pairs of nodes. Hence, A complete binary tree has nodes, and so Furthermore, the number of nodes of is bounded by its height by the relation leading to
[TABLE]
Substituting and into (10) yields the result.
∎
IV System-Theoretic Computations on Series-Parallel Graphs
IV-A Efficient Computations on Series-Parallel Graphs
We now discuss how series-parallel graphs can be used to simplify computations. Some quantities are ‘hard’ to compute on large graphs, but they may be easy to compute over small atomic elements, and the quantities may propagate across graph compositions (i.e., series or parallel connections) by known formulae. Given a decomposition tree, this operation takes time.
A natural use for series-parallel graphs is in electrical networks, as resistances (conductances) add over a series (parallel) connection of resistors. Naïve methods for computing resistances over graphs are expensive, such as in (7) which has complexity , .
Recall that one can construct the graph by moving up the tree in a reverse breadth-first-search order and joining the graphs at each leaf via the operation prescribed by their parent. Similarly, given a TTSP network of resistors (edges with weights corresponding to conductances) and its decomposition tree, one can start at the leaves (corresponding to 1-paths, i.e., individual resistors), and either add resistances together (if the join is series), or add their reciprocals (if the join is parallel). By performing this computation up the tree to the root, one yields the effective resistance across the TTSP graph from source to sink.
In this manner, one can perform additional electrical calculations. Suppose that a current is applied across the TTSP graph, from source to sink. Given measurements of currents across the resistors, it is possible to compute the total power dissipated across the graph. Over a series connection of resistors , the power dissipated is additive: . Over a parallel connection of resistors, the total power dissipated is minimized over the resistors, subject to conservation of current:
[TABLE]
The operation denoted is denoted the infimal convolution, and an example of the computation of powers over a TTSP graph is shown in Figure 3.
IV-B Noise Rejection and Adaptive Weight Design
It is often the case that one wishes to adapt the network in order to reject noise. For example, in a swarm of UAVs performing consensus on heading, it is undesirable for the swarm to be influenced by wind gusts. In cyberphysical systems, noise may be injected by an adversary wishing to disrupt a process on the network. In this section, we discuss an autonomous protocol that allows networks to quickly adapt their communication edge weights in order to minimize the response to such disturbances.
Consider the leader-follower consensus dynamics setup from §III-A. When considering the performance of all nodes (), the performance is given by [20].
Consider the task of re-assigning positive weights to the edges of the network to minimize the norm. This can be done via a gradient-descent method solving the problem :
[TABLE]
has several key features. First, note that on the cone of positive-definite matrices, the map is matrix convex. Second, is linear in the diagonal matrix since Therefore, the objective function in Problem (17) is strongly convex.
Following [20] and denoting , note that the derivative of the objective function is given by where the voltage drop of node with respect to source node is precisely . Thus, each edge in the network updates its weight according to the dynamics given by the gradient update
[TABLE]
A centralized algorithm and a decentralized conjugate gradient algorithm for solving Problem (17) was presented in [20]. The complexity in solving this problem is the computation of the voltage drops for each edge , which takes linear time (in steps) for each edge.
We now present a decentralized algorithm for computing this quantity on a certain class of two-terminal series-parallel graphs, and a characterization of its complexity. In particular, for every input node , the graph has to be TTSP with as the sink, and a node representing the grounded leader set as the source.
Definition 3** (All-Input TTSP Graphs)**
Consider a graph in the setup of the leader-follower consensus dynamics. Identify each leader node as one node connected to all source nodes , as depicted in Figure 1. The graph is called an all-input two-terminal series-parallel graph if, for all source nodes , is TTSP with as the source and as the sink.
See Figure 4 for an example of an all-input TTSP graph.
Informally, the algorithm is as follows. For each source node , the algorithm utilizes the decomposition tree of with as the source and the grounded leader set as the sink; this is why needs to be TTSP with respect to all source nodes. The voltage drops can be computed from resistances and currents across each join, and the currents can be extracted from the power dissipated across each join. Hence, the effective resistances are computed first, as in Algorithm 1. Starting from the root of the decomposition tree, the currents at each join can be computed by Eq. (13), as in Algorithm 2 and depicted in Figure 3. Finally, the voltage drops over each branch are computed starting from the leaves of the decomposition tree, as seen in Algorithm 3.
We have the following result.
Theorem 1
Consider the calculation of the voltage drops in the gradient update scheme of (18). The best-case and worst-case complexity of this computation is , and , respectively.
Proof:
Algorithms 1,2 and 3 are computations done on a binary tree of height , with each layer’s computation done in parallel. Hence, by Proposition 1, the complexity is , and for best and worst-case, respectively. The 3 algorithms are called times. ∎
IV-C Synthesis of -Optimal Networks
The algorithm described above can also be used to compute the norm. First, let’s examine the structure of the norm in the context of the leader-follower consensus setup.
Lemma 1
Consider the leader-follower consensus setup from §III-A, with . Then,
[TABLE]
where denotes the effective resistance from to the grounded leader node set .
Proof:
A calculation suffices:
[TABLE]
∎
Each quantity of the left side of the sum in (21) is the voltage drop from source node to the grounded leader node set . This is precisely the voltage dropped over the last parallel join of the series-parallel decomposition of an all-input TTSP graph; depicted in Figure 4. We can utilize this observation to efficiently compute the norm a priori knowing only the weights of the edges and the decomposition tree of .
We use the following setup. Consider a TTSP graph with source node and sink node . Ground the source node , and consider the grounded Laplacian with respect to the grounded source . This is a leader-follower system with a single leader.
Note that the parallel join depicted in Figure 4 makes one of the terminals of the resulting graph an element of , and the other terminal (the sink) an element of . The control matrix of the leader-follower consensus problem corresponds to exactly those elements in , which is the ‘sink’ of the TTSP graph used in that computation. Therefore, our choice of selects the sink vector ; hence .
We now proceed in two steps. First, we need a lemma that effectively says that for an arbitrary TTSP graph, there exists an equivalent 1-path TTSP graph with the same effective resistance. Then, any composition rule on arbitrary TTSP graphs can be reduced to a composition on the equivalent 1-paths, simplifying analysis. Afterward, we discuss a series-parallel calculation of the performance.
Lemma 2
Consider two graphs: an arbitrary TTSP graph with source and sink with effective resistance , and a 1-path TTSP graph with source and sink with effective resistance . Let their respective control matrices be and . Further suppose that Then,
Proof:
The setup of the graphs is a leader-follower consensus with grounded (leader) nodes . Therefore, we can invoke Lemma 1. Using Lemma 1, denoting the graphs’ respective Dirichlet Laplacians as we can compute:
[TABLE]
∎
Lemma 2 will allow us to reduce the computation of the norms of a composite TTSP graph to the computation of norms of an equivalent 1-path. This allows us to prove the following theorem.
Theorem 2
Consider two graphs: an arbitrary TTSP graph with source and sink , and a second arbitrary TTSP graph with source and sink . Let the Dirichlet Laplacian of grounded with respect to its source be , and its control matrix be . Hence its norm is given by Then,
[TABLE]
Proof:
By Lemma 1, the norm of an arbitrary graph can be computed from an equivalent 1-path. Hence, we need to show (24) and (25) for series and parallel joins of 1-paths.
Consider the 1-paths in Figure 5, with weights and between the sources (square nodes) and sinks (circular nodes). The Dirichlet Laplacians of both with respect to the grounded source nodes are simply and their respective control matrices are and norms are ,
Similarly, the Laplacians of the series and parallel joins in Figure 5 are,
[TABLE]
The control matrices are , Therefore, the norm in the series join case is
[TABLE]
Similarly, the norm in the parallel join case is
[TABLE]
∎
We now propose the following Algorithm 4 for computing the norm of a TTSP graph with control matrix .
We now proceed to the final result:
Theorem 3
Consider a leader-follower consensus network on an all-input TTSP graph . Then, the norm is given by and the best-case complexity of computing this norm is , and the worst-case complexity is .
Proof:
We can compute:
[TABLE]
This is a sum of norms of leader-follower consensus networks with control input . Since at each layer of the decomposition tree each computation happens independently, the complexity depends on the height of the decomposition tree. The remainder of the proof is identical to that of Theorem 1. ∎
V Conclusion
In this paper, we used two-terminal series-parallel graphs for efficiently computing the performance for leader-follower consensus networks. In particular, we computed the norm, as well as gradient updates to adapt the network for optimal performance, in best-case and worst-case complexity of and respectively.
The authors would like to thank Airlie Chapman for many discussions on weight update schemes for leader-follower networks.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. A. Canizo, J. A. Carrillo, and J. Rosado, “A well-posedness theory in measures for some kinetic models of collective motion,” Mathematical Models and Methods in Applied Sciences , vol. 21, no. 03, pp. 515–539, 2011.
- 2[2] M. Hudoba de Badyn, U. Eren, B. Açıkmeşe, and M. Mesbahi, “Optimal mass transport and kernel density estimation for state-dependent networked dynamic systems,” in Proc. 57th IEEE Conference on Decision and Control , Miami Beach, USA, 2018.
- 3[3] M. H. Matheny, J. Emenheiser, W. Fon, A. Chapman, M. Rohden, A. Salova, J. Li, M. Hudoba De Badyn, L. Duenas-Osorio, M. Mesbahi, J. P. Crutchfield, M. C. Cross, R. M. D’Souza, and M. L. Roukes, “Exotic states in a simple network of nanoelectromechanical oscillators,” Science , vol. 363, no. 6431, pp. 1–10, 2019.
- 4[4] R. Hegselmann and U. Krause, “Opinion dynamics and bounded confidence models, analysis and simulation,” Journal of Artificial Societies and Social Simulation , vol. 5, no. 3, 2002.
- 5[5] S. Alemzadeh and M. Mesbahi, “Influence models on layered uncertain networks: A guaranteed-cost design perspective,” in Proc. 57th IEEE Conference on Decision and Control , 2018.
- 6[6] R. Olfati-Saber, “Distributed Kalman filter with embedded consensus filters,” in Proceedings of the 44th IEEE Conference on Decision and Control and the European Control Conference , Seville, Spain, 2005, pp. 8179–8184.
- 7[7] M. Hudoba de Badyn and M. Mesbahi, “Large-scale distributed Kalman filtering via an optimization approach,” IFAC-Papers On Line , vol. 50, no. 1, pp. 10 742–10 747, 2017.
- 8[8] Y. Chen, J. Lu, X. Yu, and D. J. Hill, “Multi-agent systems with dynamical topologies: Consensus and applications,” IEEE Circuits and Systems Magazine , vol. 13, no. 3, pp. 21–34, 2013.
