Towards a Systems Theory of Algorithms
Florian Dörfler, Zhiyu He, Giuseppe Belgioioso, Saverio Bolognani, John Lygeros, Michael Muehlebach
TL;DR
The traditional view treats numerical algorithms as isolated code; this paper proposes a systems-theoretic perspective in which algorithms are open dynamical systems with inputs $u$, outputs $y$, state $x$, and disturbances $\eta$ that interact with real-time environments. It develops a vision for a systems theory of algorithms, surveys historical and contemporary case studies across optimization, learning, real-time control, and decision-making, and outlines key modeling, interconnection, architecture, and synthesis challenges. By applying tools such as dissipativity and small-gain theory to open, interconnected algorithms, the work demonstrates how stability, robustness, and performance can be analyzed in online, networked, and cyber-physical contexts, linking algorithm design to control-stack concepts. The proposed viewpoint seeks to bridge control theory and algorithmic design, enabling principled, scalable, and collaborative advances for complex in vivo computational systems.
Abstract
Traditionally, numerical algorithms are seen as isolated pieces of code confined to an {\em in silico} existence. However, this perspective is not appropriate for many modern computational approaches in control, learning, or optimization, wherein {\em in vivo} algorithms interact with their environment. Examples of such {\em open algorithms} include various real-time optimization-based control strategies, reinforcement learning, decision-making architectures, online optimization, and many more. Further, even {\em closed} algorithms in learning or optimization are increasingly abstracted in block diagrams with interacting dynamic modules and pipelines. In this opinion paper, we state our vision on a to-be-cultivated {\em systems theory of algorithms} and argue in favor of viewing algorithms as open dynamical systems interacting with other algorithms, physical systems, humans, or databases. Remarkably, the manifold tools developed under the umbrella of systems theory are well suited for addressing a range of challenges in the algorithmic domain. We survey various instances where the principles of algorithmic systems theory are being developed and outline pertinent modeling, analysis, and design challenges.
