Abstract
Synthesizing strategies for Partially Observable Markov Decision Processes (POMDPs) that satisfy complex temporal logic specifications is a computationally intensive task, often hindered by the "state-space explosion" of belief MDPs. This paper presents a novel hybrid framework that integrates Recurrent Neural Networks (RNNs) with formal verification. By iteratively refining an RNN-based strategy using counterexamples from a model checker, the proposed method achieves significant improvements in scalability and speed, handling models with over 4 million states where traditional tools fail.
Introduction
Decision-making under uncertainty is commonly modeled using Partially Observable Markov Decision Processes (POMDPs). Unlike standard MDPs, agents in POMDPs lack full state information, receiving only noisy observations. While traditional reinforcement learning focuses on reward maximization, many safety-critical applications require adherence to strict Linear Temporal Logic (LTL) specifications, such as "always avoid obstacles" or "eventually reach a sequence of goals."
The standard approach to solving POMDPs involves constructing a "belief MDP," which tracks the probability distribution over all possible states. However, this leads to an exponential increase in complexity, making formal strategy synthesis intractable for large-scale environments.
Methodology: The CEGIS Loop
The authors propose a Counterexample-Guided Strategy Improvement (CEGIS) loop that bridges the gap between the pattern-recognition capabilities of machine learning and the rigorous guarantees of formal logic.
The framework operates through the following stages:
- RNN Strategy Encoding: An LSTM (Long Short-Term Memory) network is used to represent the agent's strategy. Its internal state serves as a memory of past observations, bypassing the need for explicit belief state calculation.
- Strategy Extraction and Verification: A finite-memory strategy is extracted from the RNN and applied to the POMDP, inducing a Markov Chain. A model checker (e.g., PRISM or Storm) then verifies if this model satisfies the LTL specification.
- Local Improvement via Counterexamples: If verification fails, the model checker identifies "critical states" (counterexamples). The framework solves a localized Linear Program (LP) to determine optimal actions for these specific states.
- Retraining: The improved actions are added to the training set, and the RNN is retrained to incorporate these corrections. This loop continues until the specification is met.
Experimental Evaluation and Results
The framework was evaluated on various benchmarks, including motion planning tasks (Navigation, Delivery, Slippery) and standard POMDP problems like RockSample.
Key Findings
- Scalability: As shown in the results table, the RNN-based approach successfully solved a Navigation task with 4,045,840 states. In contrast, the state-of-the-art PRISM-POMDP tool encountered memory exhaustion (MO) or timeouts (TO) for models exceeding approximately 2,700 states.
- Computational Efficiency: For smaller models where comparisons were possible, the proposed method was often 10x to 100x faster than traditional solvers.
- Generalization: The authors observed that RNNs trained on smaller grid environments could effectively generalize their logic to much larger environments, provided the local observation patterns remained consistent.
Conclusion and Future Work
This research demonstrates that combining neural networks with formal verification can overcome the fundamental scalability limits of traditional POMDP solvers. By using RNNs to manage memory and model checkers to provide targeted corrections, the framework enables the synthesis of verified strategies for massive state spaces.
Future work aims to address the "natural incompleteness" of the sampling-based approach and extend the methodology to continuous state and action spaces, which are prevalent in real-world robotics.
Summary updated