Abstract: Viability theory provides a framework for managing dynamical systems within safe operational boundaries. However, traditional methods rely on computing the "viability kernel," a task that becomes computationally intractable as system complexity increases. This paper proposes a novel approach using Genetic Programming (GP) to directly evolve analytic control laws. By bypassing the explicit computation of the viability kernel, this method generates readable, explicit equations capable of maintaining system safety. We demonstrate the effectiveness of this approach on classic benchmarks, highlighting its potential for explainable and scalable system management.
1. Introduction
In domains ranging from ecology to economics, maintaining a dynamical system within predefined safe constraints is a critical management objective. For instance, in lake management, it is essential to regulate phosphorus inputs to prevent irreversible eutrophication. Viability theory addresses these challenges by identifying the "viability kernel"—the set of all initial states from which at least one control strategy exists to keep the system within safe boundaries indefinitely.
Despite its theoretical robustness, computing the viability kernel is exponentially expensive relative to the number of state variables. This "curse of dimensionality" renders traditional viability methods inapplicable to complex, high-dimensional systems. This research explores whether control rules can be discovered directly through evolutionary computation, eliminating the need for kernel computation.
2. Methodology: Genetic Programming for Control
The proposed approach frames the discovery of control laws as a symbolic regression problem solved via Genetic Programming (GP). Instead of mapping the entire state space, the algorithm evolves a population of mathematical expressions, represented as GP trees, each serving as a candidate control law $u = f(x)$.
To evaluate these candidates, a simulation-based approach with a noisy fitness function is employed:
- Stochastic Sampling: In each generation, a random set of initial conditions is generated within the problem's constraints.
- Simulation: An Ordinary Differential Equation (ODE) solver simulates the system's trajectory under the candidate control law.
- Partial Credit Fitness: The fitness function rewards the duration for which a trajectory remains within safe boundaries. This "partial credit" mechanism is vital; it allows the algorithm to learn from trajectories that eventually fail, which is common when starting from points near the (unknown) boundary of the viability kernel.
3. Experimental Evaluation
The approach was evaluated on two benchmarks from the Viability Network Observatory (ViNO):
- 2D Lake Eutrophication: A two-variable system (phosphorus input $L$ and concentration $P$) with one control variable.
- 3D Sphere: A three-variable system describing a sphere, featuring three mathematically coupled control variables.
4. Results and Discussion
The GP approach demonstrated significant success on the Lake Eutrophication problem. It evolved simple, interpretable trigonometric and logarithmic equations that effectively maintained trajectories within the viability kernel.
As shown in Figure 6, the evolutionary process significantly improves the "fitness" of the control laws. By generation 100, the population has converged on rules that successfully manage a much larger portion of the state space compared to the initial random population. The resulting equations are explicit, providing a level of transparency that is crucial for stakeholders who must understand and trust the logic behind automated control recommendations.
However, the 3D Sphere benchmark highlighted current limitations. The algorithm struggled with the coupled constraint $u_x^2 + u_y^2 + u_z^2 \le 1$, achieving a very low fitness score. This suggests that while GP is powerful for discovering functional forms, navigating complex, multi-dimensional constraint surfaces remains a challenge.
5. Conclusion and Future Work
Directly evolving control laws via Genetic Programming offers a promising alternative to traditional viability kernel computation. It provides readable solutions and handles the inherent noise of sampling-based evaluation. Future work will focus on improving performance in constrained multi-variable environments, potentially through coordinate transformations or co-evolutionary strategies where a "challenger" population evolves difficult environmental conditions to test the robustness of the control laws.
Summary updated