Abstract
Autonomous systems operating in complex environments must balance strict safety requirements with the need to optimize performance based on unknown reward functions. This paper presents a framework that integrates formal methods with reinforcement learning (RL) by decoupling the control problem into two distinct stages. First, a permissive strategy is synthesized to define a "safe envelope" that guarantees the satisfaction of Linear Temporal Logic (LTL) specifications. Second, a maximin-Q learning algorithm is employed to optimize rewards within this envelope. This approach ensures that the system remains "correct-by-construction" throughout the learning process, even in adversarial settings.
Introduction
The design of autonomous controllers often involves a fundamental tension between hard constraints and soft preferences. Hard constraints, such as collision avoidance or mission-critical tasks, are traditionally addressed via reactive synthesis using formal logic like Linear Temporal Logic (LTL). While these methods provide mathematical guarantees, they often lack the flexibility to optimize for performance metrics that are only discoverable during runtime. Conversely, Reinforcement Learning (RL) excels at discovering optimal behaviors through environmental interaction but lacks the safety guarantees required for critical applications, often treating safety as a "black-box" penalty.
This research bridges the gap by proposing a "correct-by-synthesis" RL framework. The goal is to synthesize a controller that is guaranteed to satisfy complex LTL specifications while simultaneously learning to maximize a reward function that is unknown at design time.
Methodology
The proposed framework utilizes a two-step decoupling approach to maintain safety during exploration.
1. Permissive Strategy Extraction
Instead of synthesizing a single deterministic controller, the method computes a permissive strategy. This strategy represents a set of all possible actions that the system can take at any given state to ensure the eventual satisfaction of the LTL specification. For safety-critical tasks, the authors focus on maximally permissive strategies, ensuring that no potentially reward-optimal path is prematurely pruned from the search space.
2. Maximin-Q Learning
Within the boundaries of the synthesized safe envelope, the system treats the environment as an adversarial agent in a zero-sum game. The learning agent employs maximin-Q learning, a variant of Q-learning designed for adversarial contexts. Crucially, the agent only explores actions permitted by the safe strategy. This ensures that even during the stochastic exploration phase typical of RL, the system never transitions into a state from which the LTL specification cannot be met.
Experimental Evaluation
The framework was evaluated using simulated robot motion planning benchmarks in grid-world environments of varying sizes ($N \times N$, where $N \in \{3, \dots, 10\}$). The system robot was tasked with navigating to goals while avoiding an adversarial environment robot moving unpredictably.
Scalability and Performance
The authors analyzed the computational overhead of both the strategy extraction and the subsequent learning phase. As shown in Table I, while the state space ($|\hat{S}|$) grows significantly with the grid size, the extraction time ($t_e$) and learning iterations remain computationally feasible on standard hardware.
Memory and Reward Trade-offs
For complex liveness specifications (tasks that must "eventually" happen), there is a known trade-off between the permissiveness of the strategy and the memory required to implement it. Table II demonstrates that increasing the "max counter value" (a proxy for strategy memory) allows for higher discounted rewards, albeit at the cost of increased learning time and iterations.
Discussion and Conclusion
The key insight of this work is that decoupling correctness from optimality allows for the use of efficient RL tools within a formally verified "sandbox." For safety properties, the authors prove that this decoupling does not sacrifice global optimality.
However, limitations remain. The synthesis of LTL strategies is computationally expensive (2-EXPTIME), and while the slugs tool handles certain fragments efficiently, extreme state-space explosion is a risk for very large-scale systems. Furthermore, the adversarial assumption in maximin-Q may lead to overly conservative behavior in neutral or stochastic environments. Future work aims to extend these principles to continuous state-action spaces, such as real-world aerial robotics.
Summary updated