arXiv:2610.23292eess.SYOct 2026

Manuscript Offprint

arXiv:2610.23292

Distributed Performance Boosting through Neural Control for Plug-and-Play Networks

Danilo Saccani, Leonardo Massai, Giancarlo Ferrari-Trecate

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We address the problem of improving the performance of pre-stabilized networked systems subject to plug-and-play (PnP) operations, namely additions or removals of subsystems. While distributed baseline controllers can preserve stability after a PnP transition, augmenting them with expressive neural policies can invalidate the formal stability guarantees. To overcome this issue, we build on recently proposed Performance Boosting controllers based on the Internal Model Control (IMC) principle, which reduce closed-loop stability to a finite ℓ2\ell_{2}-gain requirement on an auxiliary operator. In the distributed setting, this operator is formed by interconnecting local neural operators that exchange information only between neighboring subsystems. We then derive free parametrizations of this interconnection, namely explicit maps from unconstrained trainable variables to interconnected neural operators satisfying a prescribed network gain bound for every parameter value. The obtained distributed neural controller can therefore be trained by unconstrained gradient-based optimization without stability constraints or projection steps, while retaining the prescribed gain bound at every training iterate. We develop two complementary parametrizations. A neighbor-based compositional parametrization uses local coupling bounds, so that after a PnP event only subsystems whose bounds change need to update their gain parameters. A network-norm parametrization instead uses a bound on the overall coupling matrix and can reduce conservatism, at the price of requiring network-wide information. A PnP DC-microgrid case study shows that the proposed neural layer improves voltage transients under topology changes and load variations while preserving nominal closed-loop stability.

Key words: Distributed control, performance boosting, fail-safe training, ℓ2\ell_{2} stability, plug-and-play.

1 Introduction

Modern large-scale cyber-physical systems, such as smart grids, vehicular platoons, and multi-agent robotic networks, rely fundamentally on distributed control strategies. In such systems, decisions are made by individual subsystems using limited information, avoiding the communication burden, latency, and fragility of centralized architectures. At the same time, dynamic couplings imply that poorly designed individual actions may propagate through the network and destabilize the overall interconnection [1]. This makes stability guarantees a central requirement in distributed control design.

Model-based distributed control provides several tools to certify the stability of interconnected systems. Distributed Model Predictive Control (MPC) schemes enforce stability and constraints through terminal ingredients, invariant sets, or tube-based arguments [2–5]. Alternatively, dissipativity and passivity-based methods provide compositional certificates for network stability, often leading to subsystem-wise linear matrix inequality conditions or explicit inequalities that depend only on each subsystem model, its controller and neighboring coupling terms [6–9]. These approaches provide stability by design, which is essential in safety-critical networks. However, they typically optimize restricted performance criteria, such as quadratic costs or robustness margins, or derive stability conditions without optimizing a task-dependent performance objective. Thus, a key challenge remains: how to retain formal closed-loop stability guarantees while optimizing expressive distributed feedback laws for general, possibly non-convex performance objectives.

∗^{*} This work was supported as a part of NCCR Automation, a National Centre of Competence in Research, funded by the Swiss National Science Foundation (grant number 51NF40_225155), and the NECON project (grant number 200021-219431). Implementation of the proposed method is available at https://github.com/DaniloSaccani/PBdistributed_PnP.

Email addresses: danilo.saccani@epfl.ch (Danilo Saccani), l.massai@epfl.ch (Leonardo Massai), giancarlo.ferraritrecate@epfl.ch (Giancarlo Ferrari-Trecate).

Learning-based methods, such as Reinforcement Learning (RL), address the performance side of this challenge by optimizing highly expressive feedback laws directly from data [10]. In networked systems, multi-agent RL and Graph Neural Networks (GNNs) provide scalable policy classes based on subsystem measurements and neighbor-to-neighbor messages, which can promote generalization across network topologies [11]. Yet, these approaches typically do not provide hard closed-loop stability guarantees; stability is instead encouraged indirectly through reward shaping, regularization, or external safety layers [12]. Moreover, in these approaches, scalability often relies on shared policy parameters and homogeneous subsystem models, which can be restrictive in heterogeneous engineering networks.

A recent line of work addresses stability by parametrizing classes of stabilizing controllers through nonlinear extensions of Youla, Internal Model Control (IMC), and system-level parameterizations [13–15]. These parametrizations have enabled neural controllers to be trained on top of pre-stabilized nonlinear systems by minimizing general, possibly non-convex performance objectives while preserving closed-loop stability [15, 16]. To train such controllers, one needs a finite-dimensional parametrization of a suitable subclass of stabilizing controllers. This motivates free parametrizations: explicit maps from unconstrained finite-dimensional variables to dynamic operators satisfying the required stability or gain condition by construction. Controller training can then be performed through unconstrained gradient-based optimization, without projections or explicit stability constraints. Several such constructions have been developed for centralized operators [13, 17, 18].

For distributed controllers, local stability or gain guarantees are not sufficient. The interconnection must preserve the desired network-level property, while the controller must respect the communication graph. Previous work has addressed these two requirements in different ways. Free parametrizations of interconnected neural operators have been developed by composing local gain bounds into a network-level condition [19,20]. The GNN-based construction of [21] instead uses a common graph-based policy across the subsystems, allowing a policy trained on a smaller network to be deployed on larger networks and unseen topologies within the same problem class. Port-Hamiltonian approaches obtain compositional guarantees by exploiting power-preserving system interconnections or by imposing port-Hamiltonian structure on distributed controllers with prescribed gain bounds [22,23].

In practice, networked control systems need not have a fixed configuration. Applications such as microgrids and multi-robot systems may combine heterogeneous subsystems whose composition and interconnection change over time. Plug-and-play (PnP) control addresses this setting by allowing subsystems to be added or removed while preserving closed-loop guarantees. Model-based PnP control has been studied through robust MPC and distributed invariance arguments [2, 5, 24, 25], as well as through dissipativity, passivity, and compositional certificates [26–28]. These methods provide stability guarantees for baseline local controllers after network changes. However, when a neural feedback law is added to improve performance, the original PnP stability guarantee does not automatically extend to the augmented closed loop.

In this paper, we address this problem by designing distributed neural controllers for heterogeneous networked systems subject to PnP operations. We construct free parametrizations of an interconnected IMC operator that enforce a prescribed network gain for every value of the trainable variables, and characterize how this gain can be restored after admissible topology changes.

Contributions. The contributions are threefold. (i) We derive two free parametrizations of interconnected neural operators satisfying a prescribed network ℓ2\ell_{2} gain. The neighbor-based construction uses coupling information associated with each subsystem and its neighbors, whereas the network-norm construction uses a bound on the coupling matrix of the overall network and can reduce conservatism at the price of requiring network-wide information. (ii) We characterize post-PnP recertification. For the neighbor-based parametrization, we give conditions under which only subsystems whose local coupling bounds change need to update their gain parameters. The network-norm parametrization instead generally requires updating a network-wide bound, unless a common bound for a known family of admissible PnP configurations is available in advance. (iii) We show that, under strictly causal local realizations and separable finite-horizon costs, controller training can be implemented through neighbor-to-neighbor communication while preserving the prescribed network gain at every training iterate.

In [20], a preliminary version of this work, (i) only a neighbor-based free parametrization for a fixed network topology was considered, (ii) PnP operations and post-change recertification were not addressed, (iii) a neighbor-to-neighbor implementation of controller training was not established, and (iv) the detailed proofs of the main results were skipped.

The paper is organized as follows. Section 2 introduces the distributed system, the PnP setting, and the control problems. Section 3 presents the distributed neural architecture, the two free parametrizations, and the PnP recertification result. Section 4 shows how training can be performed through neighbor-to-neighbor computations and discusses post-PnP adaptation. Section 5 reports the numerical experiments, and Section 6 concludes the paper.

Notation

Let ℓn\ell^n denote the space of sequences a=(a0,a1,…)\mathbf{a} = (a_0, a_1, \ldots) with at∈Rna_t \in \mathbb{R}^n. Bold symbols denote sequences, with ∥a∥2:=∑t=0∞∥at∥2\|\mathbf{a}\|^2 := \sum_{t=0}^\infty \|a_t\|^2, where ∥at∥\|a_t\| denotes the Euclidean norm, and ℓ2n:={a∈ℓn:∥a∥<∞}\ell_2^n := \{\mathbf{a} \in \ell^n : \|\mathbf{a}\| < \infty\}. For matrices, ∥A∥2\|A\|_2 denotes the spectral norm. For an operator A:ℓn→ℓm\mathbf{A} : \ell^n \to \ell^m, (A(a))t∈Rm(\mathbf{A}(\mathbf{a}))_t \in \mathbb{R}^m denotes its output at time tt. The operator is causal if (A(a))t(\mathbf{A}(\mathbf{a}))_t depends only on a0:ta_{0:t}. We write A∈L2\mathbf{A} \in \mathcal{L}_2 if A\mathbf{A} is causal and maps ℓ2n\ell_2^n to ℓ2m\ell_2^m, and call it finite-gain ℓ2\ell_2-stable if there exist γ,β≥0\gamma, \beta \geq 0 such that ∥A(a)∥≤γ∥a∥+β\|\mathbf{A}(\mathbf{a})\| \leq \gamma \|\mathbf{a}\| + \beta for all a∈ℓ2n\mathbf{a} \in \ell_2^n. A function α:R≥0→R≥0\alpha : \mathbb{R}_{\geq 0} \to \mathbb{R}_{\geq 0} belongs to K\mathcal{K} if it is continuous, strictly increasing, and satisfies α(0)=0\alpha(0) = 0. For vectors aia_i, coli(ai)\text{col}_i(a_i) denotes their column-wise stacking, and blkdiag(A1,…,AN)\text{blkdiag}(A_1, \ldots, A_N) denotes the block-diagonal matrix or operator with diagonal blocks A1,…,ANA_1, \ldots, A_N.

References (35)