Introduction
Reinforcement Learning (RL) typically optimizes for cumulative scalar rewards. However, safety-critical systems often require adherence to complex behavioral specifications defined by formal languages like Linear Temporal Logic (LTL). This paper introduces ω-PAC, the first model-based "Probably Approximately Correct" (PAC) learning algorithm for agents tasked with satisfying these infinite-horizon, undiscounted ω-regular objectives.
The Challenge of Infinite-Horizon Objectives
ω-regular objectives present a unique challenge for RL because they are undiscounted. Unlike standard discounted rewards, where the distant future has a diminishing impact, a single transition in the infinite future can determine the success or failure of an LTL formula. Previous research suggested that learning these properties might be "non-PAC-learnable" due to the potential for sample complexity to explode with small transition probabilities. The authors address this by identifying a critical missing parameter: the system's long-term dynamics.
The ω-PAC Algorithm
The ω-PAC algorithm bridges the gap between finite sampling and infinite-horizon guarantees through three primary innovations:
- ε-Recurrence Time (T): This core innovation measures the time required for a finite trajectory to "match" its infinite-horizon behavior. By providing T as an input, the algorithm gains a necessary scale for how long it must observe the system to understand its recurring dynamics.
- Optimism Under Uncertainty: Drawing from the R-MAX algorithm, ω-PAC maintains an internal model where state-action pairs visited fewer than k times are marked as "unknown." These transitions are optimistically directed to an "accepting sink" in the agent's model, forcing exploration of potentially beneficial but unvisited regions.
- Automata Integration: The algorithm synchronizes the environment's Markov Decision Process (MDP) with a formal representation of the LTL goal (e.g., a Rabin or Büchi automaton). This allows the agent to track progress toward complex temporal goals as part of the state space.
Theoretical Foundations and Empirical Performance
The authors prove that ω-PAC is efficient, returning a 6ε-optimal policy with probability at least 1-δ. The sample complexity is shown to be Õ(|S|³ |A| T³ / ε⁴), a significant theoretical milestone for this class of problems.
Empirical evaluations on a Chain MDP (Figure 1) and a Gridworld environment demonstrate that the algorithm is significantly more efficient in practice than the conservative theoretical bounds suggest. In the Chain MDP experiment, the agent achieved optimal performance with a sample threshold k several orders of magnitude smaller than the theoretical requirement (Figure 2).
In the Gridworld task, the implementation successfully learned optimal policies for complex LTL formulas, such as φ = GF s ∧ GF g, in approximately 40 minutes, showcasing the algorithm's practical viability.
Conclusion
The ω-PAC algorithm demonstrates that learning complex, infinite-horizon properties is tractable within a PAC framework. By introducing the ε-recurrence time, the authors provide a bridge between finite-sample observations and long-term formal guarantees. Future work will focus on tightening the conservative theoretical bounds and exploring the scalability of these PAC guarantees in deep RL contexts.
Summary updated