Introduction
Standard Inverse Reinforcement Learning (IRL) often fails to generalize when expert demonstrations are sparse or when high-level safety constraints are not explicitly demonstrated. This research introduces a framework that incorporates "side information" via co-safe Linear Temporal Logic (LTL) to augment the learning objective. This ensures that the resulting policies not only mimic the expert but also formally satisfy complex task requirements and safety bounds.
Methodology
The core challenge in IRL is two-fold: hidden objectives, where experts avoid hazards so effectively that the agent never learns they are dangerous, and poor generalization in unvisited regions of the state space. To address this, the authors extend Maximum-Likelihood Inverse Reinforcement Learning (MLIRL) with two key innovations.
First, they utilize State Space Extension via Product Automata. High-level task requirements (e.g., "Visit A, then B, but never touch C") are translated into a Deterministic Finite Automaton (DFA). By combining the original environment (MDP) with this DFA, a "product MDP" is created. This provides the agent with "memory," allowing it to track progress through multi-step sequential tasks.
Second, they introduce an Augmented Objective Function. Beyond maximizing the likelihood of expert actions, the optimization goal includes a "satisfaction" term representing the probability that the learned policy will complete the LTL-defined task. A trade-off parameter ($\mu$) balances expert imitation with formal rule satisfaction.
Experimental Evaluation
The framework was evaluated on a 10x10 Grid World path planning benchmark. The agent's task was to visit two green cells in any order and then reach a yellow goal cell, while avoiding red obstacle cells. Expert demonstrations were restricted to the lower-right region of the map, testing the agent's ability to generalize learned safety rules to the unseen upper-left region.
Results
The proposed method significantly outperformed standard approaches. Standard MLIRL failed in unseen regions, achieving only 30.4% average task satisfaction. While MLIRL in a product space improved to 95.4%, the fully augmented objective reached 99.9% satisfaction. Crucially, the proposed method maintained a minimum satisfaction probability of 96.2% across all starting states, whereas standard IRL dropped to near 0% in unvisited areas. As shown in the results, the trade-off parameter $\mu$ is critical for maintaining high minimum satisfaction probabilities.
Conclusion and Future Work
By integrating formal logic with behavioral data, this framework provides quantitative safety guarantees even in regions of the state space never seen during training. Future work will address the "state space explosion" inherent in product automata and extend the approach to continuous control domains and scenarios with imperfect environment dynamics.
Summary updated