Abstract
Given a complex system with a given interface to the rest of the world, what does it mean for the system to behave close to a simpler specification describing the behavior at the interface? We give several definitions for useful notions of distances between a complex system and a specification by combining a behavioral and probabilistic perspective. These distances can be used to tune a complex system to a specification. We show that our approach can successfully tune non-linear networked systems to behave like much smaller networks, allowing us to aggregate large sub-networks into one or two effective nodes. Finally, we discuss similarities and differences between our approach and $H_\infty$ model reduction.
Introduction
Modern infrastructure, such as renewable-heavy power grids, consists of massive, interconnected non-linear systems. Analyzing or controlling these systems in their entirety is often computationally prohibitive. Traditionally, model reduction techniques like $H_\infty$ reduction are used to find simpler systems that mimic the original. However, these methods often focus on worst-case performance, which can be overly pessimistic and mathematically intractable for non-linear systems. Furthermore, they typically require the reduced model to be structurally similar to the original.
This paper introduces a probabilistic behavioral framework for "tuning" complex, non-linear systems to match simpler specifications at their interfaces. By focusing solely on trajectories (inputs and outputs) at the system's interface rather than internal equations, we define a robust "distance" between a complex system and a simpler specification.
Probabilistic Behavioral Framework
The core of our approach is the definition of Probabilistic Behavioral Distance. We combine two perspectives:
- Behavioral Perspective: A system is defined as a set of possible trajectories, and a specification is a set of permitted trajectories.
- Probabilistic Perspective: Instead of solving for the worst-case input, we define distance ($d^\rho$) as the expected error over a probability distribution of likely inputs.
By focusing on typical performance ($d^\rho$) rather than the $H_\infty$ norm (worst-case), the optimization problem becomes much easier to approximate via sampling. The distance $d^\rho$ can be visualized as the area between the system's output and the closest element of the specification, averaged over the input space.
Tuning via Differential Programming
To tune a system, we leverage differential programming. Models are implemented in Julia using the DiffEqFlux.jl library, which allows for backpropagation of gradients directly through ordinary differential equation (ODE) solvers. This enables a joint optimization where we simultaneously find the best global parameters for the complex system and the best local "fit" parameters for the specification for every sample input.
Experimental Evaluation
We evaluated our method on two non-linear network examples: a 10-node diffusive network reduced to a 2-node model, and a 10-node Kuramoto oscillator system reduced to a single effective oscillator. Inputs were generated as smooth random functions to simulate varied real-world demands.
Key Results
Tuning achieved significant error reduction. For the 10-node diffusive network, the L2 distance between the system and the 2-node specification was reduced by a factor of 45. For synchronous Kuramoto systems, we observed a 100-fold reduction in error when representing 10 oscillators as one.
Using the $d^{\rho, \epsilon}$ metric (the fraction of inputs exceeding an error margin), we showed with 95% confidence that over 80% of inputs produced a response within a tight margin of the specification.
Conclusion
Our probabilistic behavioral approach provides a flexible and computationally efficient way to aggregate large networked systems into accurate, low-dimensional models. Unlike structural matching, behavioral satisfaction is strictly weaker, allowing specifications to use different equations than the original system. Future work will address the dependency on input distributions and the challenge of "safe composition" in larger hierarchies.
Summary updated