WorksEngineering
A Polynomial-Time Algorithm for the Minimal Input/Output Node Cardinality Disturbance Decoupling Problem over Networks via Output Feedback
Abstract
For networked systems, we propose a polynomial-time algorithm for solving the minimal input/output node cardinality disturbance decoupling problem via output feedback. The algorithm computes an optimal solution, namely, a pair of minimum-cardinality sets of control input and measurement output nodes that achieve disturbance decoupling, by solving a min-cut/max-flow problem on an extended network.
Introduction
In this paper, we investigate the Disturbance Decoupling Problem via Output Feedback (DDPOF) for networked systems, where disturbances act on a subset of nodes and their effects must be isolated from a designated set of target nodes. For linear systems, disturbance decoupling is classically studied within geometric control theory [2, 14, 13]. When the full state is not directly available for feedback, the problem can be addressed by designing an output feedback law of the form , where is a suitably selected output vector. Necessary and sufficient conditions for the solvability of the DDPOF can be expressed in terms of the existence of a subspace that contains the image of the disturbance matrix and is contained in the kernel of the target matrix, while being both controlled invariant and conditioned invariant [7].
In [10], the DDP is reformulated for networked systems under the assumption that disturbances, targets, control inputs, and output measurements are associated with individual nodes, rather than arbitrary linear combinations of states. Under this node-based setting, graphical sufficient conditions for solvability are established in terms of properties of the network nodes. In particular, if the control input and measurement output nodes contain, respectively, the out-boundary and the in-boundary of a node set , then is both a controlled and a conditioned invariant set of nodes. Consequently, the DDPOF is solvable whenever contains all disturbance nodes and is disjoint from the target nodes. Building on this characterization, [10] formulates the minimal input/output node cardinality DDPOF, which seeks to minimize the number of control input and measurement output nodes required to achieve disturbance decoupling. The optimal solutions are mathematically characterized, and a corresponding output feedback gain, known as a “friend” of , is derived in closed form. The framework is also applied to disturbance decoupling in Power Networks in [11].
Despite these results, while polynomial-time algorithms have been developed for the corresponding minimal node cardinality state-feedback and dynamic-feedback problems [10], an efficient algorithm for solving the minimal input/output node cardinality DDPOF has, to the best of our knowledge, not yet appeared in the literature. This paper fills this algorithmic gap by introducing an extended network that encodes the graphical constraints imposed by the optimality characterization of the minimal input/output node cardinality DDPOF, and then applying a min-cut/max-flow algorithm on the extended network in order to identify an optimal solution. Related applications of flow-based methods to control problems include functional target controllability [3] and the computation of the infinite structure of structured systems [8]. We prove that the proposed algorithm always terminates in polynomial time and returns an optimal solution.
A MATLAB implementation is available in [9], complementing the toolbox accompanying [10].
Background Material
The material in this section is taken from standard textbooks on geometric control; see, e.g., [2, 13, 14] and adapted for systems over networks in [10].
Consider a digraph , where is a set of nodes and a set of edges over , with the convention that means , i.e., is the tail and is the head of the edge. is the adjacency matrix associated with : is the weight of the edge . Denote by the class of adjacency matrices of having “no zeros” in : . Given a graph , a subset is called a terminal subset of nodes if there is no outgoing edge from , i.e., for all edges if then also . A directed path from node to node is a sequence of distinct nodes s.t. : (or when we need to specify the extremities of the path). The number of edges in the path is called the length of the path. A cut of is a partition of the node set into two disjoint subsets and , with . The (directed, omitted hereafter) edge cut (also called (directed) cut-set) induced by is defined as , i.e., the set of edges directed from to . The value of a cut is the sum of the weights of the edges in . If all edges have unit weight, the value of equals the cardinality of . Given two nodes (source) and (sink), an - cut is an edge cut such that and . A minimum - cut is an - cut whose value, called the min-cut value, is no greater than that of any other - cut. A set is an - node cut (also called - vertex cut) if removing the nodes in , together with their incident edges, eliminates every directed path from to . More generally, for disjoint sets , a set is a node cut (equiv., vertex cut) separating and if removing the nodes in , together with their incident edges, eliminates every directed path from any node in to any node in .
In the following, we explicitly fix a basis of canonical vectors for a vector subspace associated with a set of nodes. Let be an elementary column vector (i.e., the vector having 1 on the -th slot and 0 elsewhere).
Definition 1 (Subspace associated with a set of nodes) Given a set of nodes , the vector subspace of associated with is .
Throughout the paper, we identify and the associated vector subspace, and sometimes write . For any , the notation is used for both the complement set and the subspace orthogonal to (the vector space) in . For each subspace , a full column rank matrix s.t. and . Such matrix is called a basis matrix of . When is a set of nodes, we can take as a collection of elementary column vectors (i.e., one column for each node ). As a consequence, the sum of vector subspaces and their union can be identified: . On , for any subset of nodes we can define the in- and out-boundaries as follows.
Definition 2 The in-boundary of in the digraph is the set of nodes in that have at least one outgoing edge leading to a node in , i.e., . Similarly, the out-boundary of is the set of nodes in that have at least one incoming edge from , i.e., .
From the preceding definition, it directly follows that .
Linear systems over networks
In , we can assume that two subsets of nodes play the role of inputs and outputs, denoted, respectively, and . Then we can form a linear time-invariant control system having a state update matrix equal to , an input matrix composed of elementary column vectors corresponding to , and an output matrix having elementary rows corresponding to :
where we have associated one state variable of the vector to each node of the graph.
Invariance, controlled invariance and conditioned invariance for node sets
In this section we formulate the concepts of invariance for sets of nodes, rather than for subspaces, as it is standard in the literature (see, e.g., [2]).
Definition 3 A subset is an invariant (or -invariant) set of nodes for (1) if .
Definition 3, a standard concept also for subspaces, corresponds to , . For network systems like (1) we can have also an equivalent topological characterization, valid for the entire class .
Proposition 1 ([10 Prop. 1]) Consider the system (1). A subset is an -invariant set of nodes iff any of the following equivalent conditions is met:
(a) is a terminal subset of nodes;
(b) If is the basis matrix of (i.e., and is full column rank), a matrix s.t. .
The concept of controlled invariance is used to expand the notion of invariance (see, e.g., Chapter 4 of [13]).
Definition 4 A subset is a controlled invariant (or -invariant) set of nodes for (1) if .
The following proposition provides three equivalent characterizations of -invariance for sets of nodes.
Proposition 2 ([10 Prop. 2]) is an -invariant set of nodes for (1) iff any of the following equivalent conditions is met:
(a) , ;
(b) If is the basis matrix of , matrices , s.t. ;
(c) a matrix , called a “friend” of , s.t. is -invariant, i.e., .
Definition 5 A subset is a conditioned invariant (or -invariant) set of nodes for (1) if (with and with elementary rows).
Similarly to above, equivalent characterizations of -invariance can be formulated.
Proposition 3 ([10 Prop. 3]) is a -invariant set of nodes if and only if any of the following equivalent conditions is met:
(a) ; (b) a matrix , called a “friend” of , s.t. is -invariant, i.e., .
Proposition 4 A set of nodes is -invariant and -invariant iff it is -invariant or each edge exiting is of the type with and .
Proof: One direction is proven directly from the definitions of -invariant and -invariant node set. In fact, a terminal set of nodes is -invariant, therefore also -invariant and -invariant. Assume that a set of nodes is not -invariant and define the set of all the edges exiting as , , . If , then is a -invariant node set, whereas if , then is an -invariant node set. For the other direction, assume by contradiction an edge exiting not of the type with and . Then either condition (a) of Proposition 2, or condition (a) of Proposition 3, or both, are violated.
Standard disturbance decoupling problem via output feedback over networks
For a given network system (1), we can consider two additional sets of nodes , of cardinality and , corresponding, resp., to nodes affected by disturbances and target nodes. Each disturbance , , is assumed to act independently on a node of . Both and can be identified with elementary matrices and , i.e., matrices composed of elementary columns, resp. rows, representing subselections of nodes in . We can then associate to and vector subspaces, resp. and . Denoting , we obtain the following generalization of (1):
For the system (2), we consider the following problem.
Problem 1 (DDPOF) Given the system (2), find a control law that renders the target nodes in unaffected by the disturbances in .
Minimal Input/Output Cardinality DDPOF
In order to avoid degenerate situations in the problem, we make the following assumption on the sets and .
Assumption 1 (equiv. ).
The solvability of Problem 1 is characterized by the following standard result.
Theorem 1 ([7 Thm. 3.2]) For the system (2) the DDPOF is solvable iff , where is an - and -invariant subspace.
In [10], a sufficient condition for the solvability of Problem 1 is stated in terms of the corresponding node set .
Theorem 2 ([10 Thm. 3]) Under Assumption 1, the DDPOF is solvable for the system (2) if any of the following equivalent conditions is met: (a) -invariant and -invariant set of nodes s.t. ; (b) Let be all possible -to- paths. For every path of length , with and , at least one sub-path of length of the form with and , , .
Remark 1 The node set is determined by and since it can be constructed as an extension of the minimal -invariant node set containing , which is uniquely determined by , or as a reduction of the maximal -invariant node set contained in , which is uniquely determined by (see the proof of [10 Thm. 3]).
As a consequence of Theorem 2 we can formulate the following minimal node-cardinality problem.
Problem 2 (Minimal Input/Output Cardinality DDPOF) Given a network and sets , find a minimal cardinality set of input nodes and output nodes that solves the DDPOF for the system (2).
In practice, solving Problem 2 corresponds to finding matrices and of elementary columns s.t. and .
Solution to the minimal input/output cardinality DDPOF
Exploiting Theorem 2, Problem 2 can be reformulated as an optimization problem:
Problem 2:
where is an - and -invariant set of nodes. In Section IV of [10], we characterize the feasible (i.e., satisfying ) and optimal solutions of Problem 2. The result is reported in the following.
Denote by the union of all -to- paths.
Theorem 3 ([10 Thm. 7]) Under Assumption 1, (a) If is a feasible solution of Problem 2 then and ; (b) If is an optimal solution of Problem 2 then and ; (c) is an optimal solution of Problem 2 iff and are the minimal cardinality sets of nodes for which and .
As for the synthesis of the output feedback, we have the following result.
Theorem 4 ([10 Thm. 11]) Under Assumption 1, and given a - and -invariant set of nodes , if and are two sets of output and input nodes, respectively, s.t. , and , then the unique friend of solving the DDPOF, i.e., the matrix s.t. , is given by .
Solving the minimal input/output cardinality DDPOF
What is missing in [10] is an efficient algorithm to compute the optimal that solves Problem 2. This algorithm, which is the main contribution of this paper, is described in this section. Before introducing the proposed algorithm, we first give the following Lemma, direct consequence of Theorems 3 and 2.
Lemma 1 Under Assumption 1, if is an optimal solution of Problem 2, then , thus .
Proof: By assumption, is a minimal cardinality solution of Problem 2. By item (c) of Theorem 3, any minimal cardinality solution satisfies and . By Definition 2, and . Since and are disjoint node sets, must be empty as well.
Min-cut/max-flow algorithm revisited
What Theorems 3 and 2 indicate is that, for each -to- path , at least a node of and a node must belong to and be pair-wise adjacent in , with the node of coming before the node of in . The solution pair thus corresponds to a node cut separating from . What Problem 2 requires is that such node cut must have minimal cardinality. The problem can be seen as a special case of a min-cut/max-flow problem, whose optimal solution can be computed in polynomial time (see Table 1 of [5]). The strategy to achieve this decoupling with the minimal number of input and output nodes is summarized in Algorithms 1–3.
| Algorithm 1 DDPOF by min-cut/max-flow |
| Data: |
| Result: |
| Algorithm 2; // Given a network with nodes and edges and the nodes subsets and , construct an extended network |
| ; // Using the max-flow/min-cut algorithm on , partition its nodes into those reachable and not reachable from in the residual graph induced by the computed maximum flow, resp. and |
| Algorithm 3. // Given and , find the minimal cardinality set of control input nodes and output nodes that solves the DDPOF |
Table 1.
| Algorithm 2 Construct the extended network |
| Data: |
| Result: |
| Construct : ; |
| Construct : |
| • If then ; |
| • , ; |
| • , ; |
| • , ; |
| Construct : |
| • If then ; |
| • , ; |
| • , ; |
| • , ; |
| ; . |
Table 2.
| Algorithm 3 Minimal input/output solution |
| Data: |
| Result: |
| ; ; // Store into resp. the head resp. the tail nodes of the edges between and |
| for do |
| if and then ; // Keep tail of edge |
| end if |
| if and then ; // Keep head of edge |
| end if |
| end for. |
Table 3.
Under Assumption 1 and given a network with nodes and edges, the extended network has nodes and edges, so Algorithm 2 runs in time. The minimum cut value is at most , since is feasible with and by Lemma 2. Hence the weight can be replaced by without changing the minimum cut, and a min-cut/max-flow algorithm based on augmenting paths [4] therefore runs in time, and any algorithm in Table 1 of [5] can be used instead. Algorithm 3 scans once, with membership tests on (a Boolean vector filled during the residual search), so it runs in . The overall cost is that of one min-cut/max-flow computation on .
Here are some more details on some parts of the algorithms.
Algorithm 2: Construct the extended network . The minimal input/output node cut problem can be transformed into a minimum edge cut problem on an extended network , where it can be solved via a standard min-cut/max-flow algorithm. To do so, for each node , two new nodes and , and new edges and are generated, with unit weights. For all preexisting edges in between nodes and , an edge is generated in between and , and an edge is generated in between and . For those two edges the weight is put at infinity (practically, at a very high number), see Figure 1. In such a way, an edge cut involving and corresponds to selecting the node and . Two additional nodes must be added, and , so that . Node acts as a source node and is connected via edges to all disturbance nodes in . All target nodes in are connected via edges to the sink node . The total number of edges in is . On all paths from to have even length, i.e., must contain an odd number of nodes.
Figure 1. Algorithm 2. Representation of an edge in the extended network .
Min-cut/Max-flow. The min-cut/max-flow algorithm is a minimum edge cut algorithm performed on from the source node to the sink node . Let be a minimum - cut of . Any min-cut/max-flow algorithm returns one such cut: given a maximum flow, is the set of nodes reachable from in the residual graph [4], and .
Algorithm 3: find the minimal input/output . The meaning of Algorithm 3 is explained in the following proposition.
Proposition 5 Given and its extended network , an edge cut in corresponds to a node cut in . The min-cut value on is equal to , i.e., to the sum of the cardinalities of the sets of input and output nodes associated to the solution.
Proof. In all “true” edges of are duplicated and have weight, hence they are never selected by the min-cut algorithm. Therefore all edges on which each edge cut is computed in must have the form or , and these edge weights are all equal to 1. By construction, the value of each cut is equal to the number of edges across the cut and equal also to the number of nodes in the associated node cut in . This implies that the min-cut value is equal to .
Optimality
We start by proving that a feasible solution of Problem 2 identifies a - cut with value at most in .
Lemma 2 Let be a feasible solution of Problem 2. Then admits a - cut with value at most .
Proof. The edges with unit weights are and , . All remaining edges have infinity weights and belong to one of four families:
(i) , ;
(ii) , ;
(iii) for ;
(iv) for .
Let be the - and -invariant node set of Problem 2 s.t. . From item (a) of Theorem 3, feasibility implies and . Let with and . By item (a) of Proposition 3, would imply ; hence . By item (a) Proposition 2, implies ; hence . Every element of (resp. ) is the tail (resp. head) of such an edge.
With , define the set . Then and by construction, so , with , defines a - cut in . Let be the edge cut of , i.e., the set of edges with tail in and head in .
No edge with infinite weight is in :
(i) , so .
(ii) The tail has , and , so .
(iii) If then , hence and .
(iv) If then , i.e., has no out-neighbour in . Hence , so .
The edges with unit weights in :
leaves iff and . Now , and for such , . These edges are in bijection with .
leaves iff and , i.e., . These edges are in bijection with .
It follows that the value of the - cut is .
The optimality of the solution is summarized in the following statement.
Theorem 5 Under Assumption 1, the solution computed by means of Algorithms 1–3 is an optimal solution of Problem 2.
Proof. We start by noting that an edge cut in can only involve edges of the form or , , since all other edges are at (a finite cut exists from Lemma 2, since is feasible by Proposition 4). From Proposition 5, an edge cut involving
in identifies a node of in , while in identifies a node of in . Alternatively, saying that identifies a node cut for means that the set of edges is an edge cut for , i.e., when removed, there are no more directed paths connecting to . If we call , and then every edge of has its tail in and its head in . Let us assume that and is the partition of inducing the edge cut, i.e., . Denote by and the sets of edges within , respectively . The set of edges with tail in and head in is denoted by , while the set of edges with tail in and head in is denoted by . By construction, it follows . As a consequence, and . In fact, if by contradiction a node in is reached by an edge with tail in , then it is also reachable from , which is a contradiction according to the definition of given above. Similarly, if by contradiction a node in is reached by an edge with tail in , then it is also reachable from which is a contradiction according to the definition of given above. By construction we write the extended network as .
To prove that the minimum edge cut in corresponds to the optimal solution of Problem 2, we first show that this edge cut always corresponds to a feasible solution, and secondly that it identifies one with minimal cardinality. The converse implication is given in Lemma 2. By construction, if then . We claim that a minimum edge cut from to in must identify nodes in that satisfy item (b) of Theorem 2, thus proving the existence of a set both controlled and conditioned invariant in that contains and is contained in . Assume by contradiction that there is a -to- path of length , with and , such that no sub-path of length 1 of the form has and , . For each such , contains two routes from to , each made of one unit-weight edge and one edge of weight : (unit edge ), (unit edge ). The first route contains an edge of iff , the second iff . By assumption, it is not true that both and ; hence or , i.e., at least one of the two routes avoids . Concatenating these routes for with the edges and , both of weight and hence not in , gives a path from to in that does not use any edge of . Then is not an edge cut, which is a contradiction. Hence every -to- path satisfies item (b) of Theorem 2, i.e., is feasible. Finally, optimality arises from the minimality of the edge cut's cardinality. By contradiction assume that there exists a feasible with .
By Lemma 2, admits a - cut with value at most , which contradicts the minimality of . Hence is an optimal solution of Problem 2. ■
Remark 2 It is important to highlight that, in general, the optimal solution of Problem 2 is not unique. In order to obtain all optimal solutions, specialized techniques and extensions of the min-cut/max-flow algorithm (e.g., residual graph analysis, Gomory-Hu trees [6]) can be used to enumerate all equal-cardinality cuts [1, 12]. To discriminate among such optima, a secondary objective function must be introduced.
Remark 3 An optimal solution of Problem 2 does not identify a minimum edge cut in , which can be instead computed via a standard min-cut from to in after setting all the edge weights to 1 (see Example 1). For instance, if the optimal solution of Problem 2 is not unique, it is possible to introduce a secondary objective function minimizing the number of edges to be cut.
Numerical Example
In this numerical section we give an example of application of Algorithms 1–3 for computing the minimal input/output cardinality DDPOF.
Example 1 Let us consider the network of 10 nodes and and as shown in Figure 2 on the left. Using Algorithm 2 the extended network shown in Figure 2 on the right is constructed.
Figure 2. Example 1. Disturbances are in red and the targets are in yellow.
The minimal cardinality solution of Problem 2 is , , as depicted in Figure 3. In fact, the set of edges is the minimum edge cut in the extended network . Note that , and , as in the proof of Theorem 5. Moreover, note that the run of a classical edge min-cut/max-flow from to in would have provided the feasible solutions , , or , , both suboptimal w.r.t. the cost function .
Figure 3. Figure 3. Example 1. Disturbances are in red, targets in yellow, whereas the control inputs are in blue and the output nodes are in green. Nodes , , are drawn in for readability; they belong to according to the definition, and both choices give the same edge cut.
Conclusions
Protecting strategic nodes from disturbances is a key challenge in cybersecurity and networked control. This paper addressed the DDPOF over networks by developing an algorithm that determines, in polynomial time, the minimal cardinality sets of control input and measurement output nodes required to reject the disturbances. MATLAB functions implementing the results presented in this article are available in the Zenodo repository [9].
References
- [1]A. Abboud, J. Li, D. Panigrahi, and T. Saranurak. All-pairs max-flow is no harder than single-pair max-flow: Gomory-hu trees in almost-linear time. In 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), pages 2204–2212. IEEE, 2023.DOI
- [2]G. Basile and G. M. P. C. Morro. Controlled and Conditioned Invariants in Linear System Theory. Prentice Hall, 1992.
- [3]C. Commault, J. van der Woude, and P. Frasca. Functional target controllability of networks: Structural properties and efficient algorithms. IEEE Transactions on Network Science and Engineering, 7(3):1521–1530, 2020.DOI
- [4]L. R. Ford and D. R. Fulkerson. Maximal flow through a network. Canadian Journal of Mathematics, 8:399–404, 1956.
- [5]A. V. Goldberg and R. E. Tarjan. A new approach to the maximum-flow problem. Journal of the ACM (JACM), 35(4):921–940, 1988.
- [6]R. E. Gomory and T. C. Hu. Multi-terminal network flows. Journal of the Society for Industrial and Applied Mathematics, 9(4):551–570, 1961.DOI
- [7]F. Hamano and K. Furuta. Localization of disturbances and output decomposition in decentralized linear multivariable systems. International Journal of Control, 22(4):551–562, 1975.DOI
- [8]H. Volelaque, C. Commault, and J. Dion. Analysis of linear structured systems using a primal-dual algorithm. Systems & Control Letters, 27(2):73–85, 1996.
- [9]L. C. G. Lebon. node-based-ddp. https://doi.org/10.5281/zenodo.23467672, Oct. 2026. Zenodo repository.
- [10]L. C. G. Lebon and C. Altafini. Geometric control theory over networks: Minimal node cardinality disturbance decoupling problems. IEEE Transactions on Automatic Control, 71(11):7245–7260, 2026.DOI
- [11]L. C. G. Lebon, J. Lindberg, and C. Altafini. Minimal input cardinality disturbance decoupling of coupled oscillators via output feedback with application to power networks. In 23rd IFAC World Congress, Busan, South Korea, 2026. arXiv:2604.14977.arxiv.org/abs/2604.14977
- [12]J.-C. Picard and M. Queyranne. On the structure of all minimum cuts in a network and applications, pages 8–16. Springer Berlin Heidelberg, Berlin, Heidelberg, 1980.
- [13]H. L. Trentelman, A. A. Stoorvogel, and M. Hautus. Control theory for linear systems. Springer Science & Business Media, 2012.
- [14]W. Wonham. Linear Multivariable Control: A Geometric Approach. Lecture Notes in Economics and Mathematical Systems. Springer Berlin Heidelberg, 2013.


