Introduction
Reinforcement learning (RL) has demonstrated remarkable success in solving complex control tasks, from game playing to robotic manipulation. However, its "black box" nature poses significant hurdles for deployment in safety-critical domains like autonomous driving or power grid management. In these applications, high average rewards are insufficient; systems must provide formal guarantees that they will adhere to strict safety and performance requirements, such as reaching a goal with a specific minimum probability without violating constraints.
The Verification Challenge
Standard monolithic RL approaches—where a single agent learns an end-to-end policy—struggle with three primary issues:
- Verification: Opaque neural network policies are notoriously difficult to analyze formally.
- Scalability: Large state and action spaces lead to exponential increases in training time and complexity.
- Lack of Modularity: Monolithic agents are brittle; a minor change in the environment often necessitates complete retraining of the entire system.
The ICRL Framework
To address these challenges, this research introduces Iterative Compositional Reinforcement Learning (ICRL). This framework decomposes complex tasks into smaller, manageable, and verifiable subtasks coordinated by a high-level strategic model.
As shown in the architecture above, the ICRL process consists of several key components:
- High-Level Model (HLM): The global task is represented as a parametric Markov Decision Process (pMDP). In this model, transitions represent the execution of low-level RL subsystems, and transition probabilities ($p_c$) represent the success probability of those subsystems.
- Low-Level Subsystems: These are individual RL agents, typically trained using Proximal Policy Optimization (PPO), designed to navigate between specific "entry" and "exit" conditions defined by the task decomposition.
- Automatic Decomposition and Optimization: The framework formulates a bilinear optimization problem to determine the minimum success probability required for each subtask to satisfy the global requirement.
- Iterative Refinement: If a subsystem fails to meet its assigned success threshold within a training budget, the HLM is updated with its empirical performance. The system then re-plans, potentially identifying an alternate sequence of subsystems that is more achievable.
Experimental Evaluation
The framework was evaluated on two primary benchmarks designed to test both discrete and continuous control:
- Discrete Labyrinth: A gridworld environment with 1,600 states and stochastic dynamics (10% slip probability), featuring "lava" hazards that cause immediate failure.
- Continuous Labyrinth: A complex Unity-based environment with rigid-body physics and infinite state/action spaces, where an agent must apply force vectors to navigate a ball to a target.
Key Results and Insights
The ICRL approach demonstrated significant advantages over traditional methods in terms of both efficiency and reliability.
Sample Efficiency and Smart Allocation
In the discrete labyrinth, ICRL satisfied the task specification in less than 2 million training steps, a 15x improvement over the 30 million steps required by a monolithic RL approach. This efficiency stems from "Smart Training Allocation": the system identifies which subtasks are critical for the current meta-policy and focuses training resources there, rather than training every possible subtask simultaneously.
Formal Reliability and Path Adaptation
The authors provide a mathematical proof (Theorem 1) showing that the HLM's predicted success probability serves as a lower bound for the true success probability, provided sub-policies meet their local specifications. Furthermore, the system exhibits "Path Adaptation." If a specific route proves too dangerous or noisy to meet a high success threshold (e.g., 97%), the HLM automatically reroutes the agent through a longer but safer path.
Conclusion and Future Work
ICRL provides a robust path toward verifiable RL by treating agents as modular components with clear interfaces. While the current framework relies on human-defined subtask boundaries and assumes full observability, it lays the groundwork for future research into automated interface discovery and extensions to multi-agent or partially observable systems. By moving from monolithic "black boxes" to compositional, verifiable systems, RL can become a more viable tool for high-stakes engineering applications.
Summary updated