Abstract
Reinforcement learning (RL) for Linear Temporal Logic (LTL) objectives often employs surrogate rewards with dual discount factors. This paper identifies a critical theoretical flaw: when the discount factor $\gamma$ for non-accepting states is set to 1, the Bellman equation may admit multiple solutions, potentially leading to sub-optimal policies. We propose a "zero-condition" for rejecting components to guarantee a unique, correct solution for policy evaluation.
Introduction
In autonomous systems, complex behavioral rules are frequently specified using Linear Temporal Logic (LTL). When environment dynamics are unknown, RL is used to find policies that satisfy these LTL formulas. A common technique involves constructing a product MDP between the system and an automaton representing the LTL rule, using surrogate rewards and two discount factors: $\gamma_B$ for "good" (accepting) states and $\gamma$ for others.
While many recent studies set $\gamma = 1$ to simplify the reachability problem, this paper demonstrates that doing so breaks the contraction property of the Bellman operator. Consequently, the Bellman equation may have infinitely many solutions, and standard RL algorithms might converge to a value function that does not accurately reflect the probability of LTL satisfaction.
Theoretical Analysis and Methods
The authors investigate the uniqueness of the Bellman equation solution through matrix analysis and state partitioning. They categorize the state space of the Product MDP into accepting and rejecting states within Bottom Strongly Connected Components (BSCCs), as well as transient states.
The Non-Uniqueness Counter-Example
To illustrate the problem, the authors present a three-state toy MDP (Example 1) where setting $\gamma = 1$ leads to mathematical ambiguity.
In this example, if $\gamma = 1$, the value function for certain states can include an arbitrary constant $c$. If an RL agent converges to a solution with a "bad" choice of $c$, it may select a sub-optimal action (e.g., choosing $\beta$ over $\alpha$ even if $\alpha$ is better), despite the Bellman equation being satisfied.
The Zero-Condition Proof
The paper utilizes the Gershgorin circle theorem to prove that uniqueness is guaranteed when $\gamma < 1$. For the problematic $\gamma = 1$ case, they derive a specific condition for uniqueness. They prove that if the value function is forced to zero for all states within "rejecting BSCCs"—states from which the LTL goal can never be reached—the system of equations becomes invertible, yielding a unique and correct solution.
Key Insights and Results
The primary contribution is Theorem 10, which provides a formal "if and only if" condition for uniqueness:
- Condition: The Bellman equation for LTL objectives has a unique solution if and only if either $\gamma < 1$, or $\gamma = 1$ and the value of every state in a rejecting BSCC is zero.
This finding highlights that "rejecting BSCCs" are the source of ambiguity. Because these states have no future rewards but a discount factor of 1, their values can float freely unless constrained. This theoretical patch is crucial for the validity of several recent high-profile RL-LTL frameworks that previously overlooked this issue.
Conclusion and Future Work
This research identifies a significant gap in the theoretical foundation of RL for LTL. While the "zero-condition" provides a path to uniqueness, implementing it in model-free RL remains a challenge, as the agent may not know which states belong to rejecting BSCCs upfront. Future work should focus on developing algorithms that can dynamically identify these components and "clamp" their values to zero during training to ensure both stability and policy correctness.
Summary updated