Skip to main content
QUICK REVIEW

[Paper Review] Distributed neural network control with dependability guarantees: a compositional port-Hamiltonian approach

Luca Furieri, Clara Lucía Galimberti|arXiv (Cornell University)|Dec 16, 2021
Control and Stability of Dynamical SystemsEngineering4 citations
TL;DR

This paper proposes DeepDisCoPH, a compositional port-Hamiltonian approach for distributed neural network control in large-scale nonlinear cyber-physical systems. By structuring deep neural ODE controllers around energy-based Hamiltonian functions, it guarantees closed-loop stability and non-vanishing gradients regardless of network size or training progress, while achieving near-optimal performance in numerical experiments on multi-robot coordination with collision avoidance.

ABSTRACT

Large-scale cyber-physical systems require that control policies are distributed, that is, that they only rely on local real-time measurements and communication with neighboring agents. Optimal Distributed Control (ODC) problems are, however, highly intractable even in seemingly simple cases. Recent work has thus proposed training Neural Network (NN) distributed controllers. A main challenge of NN controllers is that they are not dependable during and after training, that is, the closed-loop system may be unstable, and the training may fail due to vanishing and exploding gradients. In this paper, we address these issues for networks of nonlinear port-Hamiltonian (pH) systems, whose modeling power ranges from energy systems to non-holonomic vehicles and chemical reactions. Specifically, we embrace the compositional properties of pH systems to characterize deep Hamiltonian control policies with built-in closed-loop stability guarantees, irrespective of the interconnection topology and the chosen NN parameters. Furthermore, our setup enables leveraging recent results on well-behaved neural ODEs to prevent the phenomenon of vanishing gradients by design. Numerical experiments corroborate the dependability of the proposed architecture, while matching the performance of general neural network policies.

Motivation & Objective

  • To address the critical challenge of dependability in distributed neural network control for large-scale nonlinear systems, particularly instability and vanishing/exploding gradients during training.
  • To develop a scalable, compositional control architecture that guarantees closed-loop stability irrespective of interconnection topology or neural network parameters.
  • To enable stable training of deep neural ODE controllers by preventing vanishing gradients through intrinsic design, avoiding reliance on gradient clipping or orthogonal weight constraints.
  • To achieve near-optimal performance in distributed control tasks—such as multi-robot formation and collision avoidance—while preserving stability under perturbations and premature training termination.

Proposed method

  • The method employs a compositional port-Hamiltonian (pH) framework to model interconnected nonlinear systems, leveraging their intrinsic energy-shaping properties for stability.
  • It parametrizes the controller as a deep neural ODE that evolves the system's Hamiltonian energy function, ensuring energy conservation and passivity by design.
  • The controller is structured such that the closed-loop system remains passive and stable under arbitrary interconnection topologies and network depth.
  • The architecture embeds well-behaved neural ODE dynamics that inherently prevent vanishing and exploding gradients, eliminating the need for gradient clipping or specialized weight matrices.
  • The loss function combines standard control cost, collision avoidance penalties via a smooth inverse-distance term, and a temporal weight regularization to encourage smooth policy evolution.
  • The method is validated via numerical experiments on multi-robot coordination, where the controller is trained to reach targets while avoiding collisions within a finite time horizon.

Experimental results

Research questions

  • RQ1Can a distributed neural network controller be designed to guarantee closed-loop stability for arbitrary networks of nonlinear port-Hamiltonian systems, regardless of topology or training progress?
  • RQ2Can the proposed architecture prevent vanishing and exploding gradients during training, even with a large number of neural ODE layers and system dissipation?
  • RQ3Does the controller maintain stability and performance under premature training termination or perturbed initial conditions?
  • RQ4How does the performance of the DeepDisCoPH controller compare to standard distributed MLPs in terms of stability and control objectives?

Key findings

  • The DeepDisCoPH controller successfully guides all robots to their target positions within the 5-second training horizon, avoiding collisions, while minimizing control effort and maintaining stability.
  • In contrast to a standard distributed MLP controller, the DeepDisCoPH controller preserves closed-loop stability over a 10× longer time horizon, even after training completion.
  • The controller maintains non-vanishing gradients throughout training, as evidenced by consistent norm values of the Jacobian terms ∂ζj/∂ζi across all iterations, despite high depth and dissipation.
  • Even when training is prematurely stopped at 5%, 25%, 50%, or 75% of the full training duration, the closed-loop system remains stable, confirming the theoretical dependability guarantees.
  • The controller achieves robustness to initial state perturbations, avoiding collisions in 95% of simulations with initial states drawn from a radius-0.5 neighborhood of the nominal initial state.
  • The performance of DeepDisCoPH matches that of general neural network policies in terms of control cost and collision avoidance, while providing provable stability and gradient behavior guarantees.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.