Abstract
Deep Reinforcement Learning (RL) often struggles with sparse rewards and complex, multi-step objectives. This paper introduces a modular framework that bridges high-level logical reasoning with low-level continuous control. By utilizing Linear Temporal Logic (LTL) to decompose missions into a sequence of sub-tasks, each managed by a dedicated neural network module, the system achieves near-perfect success rates in challenging Mars rover simulations where traditional monolithic RL agents fail.
Introduction
Standard RL agents typically rely on a single neural network to master an entire environment. However, in scenarios requiring long-term planning—such as a Mars rover navigating a canyon to find water while avoiding hazards—this "monolithic" approach often fails due to sparse rewards and the complexity of continuous action spaces. While hierarchical RL offers a potential solution, it frequently requires manual sub-task definition. This research proposes an automated method for generating task hierarchies from formal logical descriptions.
Methodology
The framework integrates formal methods with deep learning through three primary stages:
- LTL to Automaton: Mission requirements are specified using Linear Temporal Logic (e.g., "Visit A, then B, while avoiding U"). This is converted into a Limit Deterministic Buchi Automaton (LDBA), which serves as a mission flow chart.
- Modular Architecture: The system employs an ensemble of neural networks. Each state in the LDBA is assigned a dedicated actor-critic network (using DDPG). As the mission progresses through the automaton, the system switches control to the corresponding network module.
- Reward Shaping: Rewards are automatically derived from the LDBA structure. Positive rewards are granted for transitions toward goal states, while negative rewards are assigned for entering "sink" states that represent mission failure.
To maintain stability, the authors used Stochastic Weight Averaging (SWA) and specialized replay buffer management to prevent catastrophic forgetting of safety constraints.
Experimental Evaluation
The framework was tested on high-resolution NASA/JPL satellite imagery of two Martian sites:
- Melas Chasma: A complex canyon network requiring the agent to visit multiple potential water sites while avoiding hazardous zones.
- Victoria Crater: A simulation of the Opportunity rover's path, involving 12 sequential checkpoints along a treacherous crater rim.
Results and Discussion
The modular approach significantly outperformed standard DDPG baselines. In the Melas Chasma task, the modular framework achieved a 98.8% success rate, compared to just 21.4% for the baseline. In the Victoria Crater mission, the agent reached a 100% success rate, successfully balancing the need for efficient pathing with strict hazard avoidance.
Key insights included the resolution of "ordinal bias"—where a single network incorrectly assumes a numerical relationship between logical states—and the use of circular mathematics (predicting sine and cosine of angles) to handle continuous steering without discontinuities.
Conclusion
This modular Deep RL framework provides a robust solution for complex robotics tasks by leveraging formal logic for automated task decomposition. While the current approach requires a known labeling function for environment features and may face scalability challenges with extremely complex missions, it represents a significant step toward deploying autonomous agents in real-world, high-stakes environments like planetary exploration.
Summary updated