Introduction
In reinforcement learning, off-policy learning is highly desirable: it allows an agent to learn about multiple different ways of behaving (target policies) while actually following a single, separate stream of experience (the behavior policy). This is essential for learning "options"—temporally abstract actions like "picking up a cup"—while the agent is busy executing other tasks.
However, off-policy learning is notoriously difficult when combined with function approximation, which is necessary for handling large state spaces. Traditional methods rely on importance sampling to correct for the difference between the behavior and target policies. This approach suffers from two major flaws:
- High Variance: If the target policy frequently chooses an action that the behavior policy rarely takes, the importance sampling weights explode, leading to unstable learning and potentially infinite variance.
- Knowledge Requirements: Standard methods require knowing the exact probabilities of the behavior policy, which may be unknown or non-stationary in real-world applications.
This paper introduces recognizers, a novel framework that stabilizes off-policy reinforcement learning by using a filter to "recognize" valid actions rather than prescribing a rigid target policy.
The Recognizer Framework
The authors introduce the concept of a recognizer, a function $c(s, a)$ that "accepts" or "rejects" actions. Instead of defining a target policy $\pi$ upfront, the target policy is implicitly defined by the behavior policy $b$ and the recognizer:
$$\pi(s, a) = \frac{b(s, a)c(s, a)}{\mu(s)}$$
where $\mu(s)$ is the probability that the behavior policy selects an action accepted by the recognizer.
This approach yields several key methodological advantages:
- Minimum-Variance: The authors prove that for a given set of "interesting" actions, the policy induced by a binary recognizer is the one that yields the lowest possible variance for importance sampling. By ensuring the target policy is essentially a "filtered" version of the behavior, the two remain mathematically "close."
- Off-Policy TD Algorithm: The paper adapts temporal-difference (TD) learning to work with recognizers, providing an incremental, implementation-friendly "backward view" using eligibility traces.
- Learning without Knowing the Behavior Policy: Remarkably, if the agent uses state-aggregation (grouping similar states), it can estimate $\mu(s)$ simply by counting how often its actions are "recognized." This completely removes the need to know the behavior policy's internal probabilities.
Empirical Stability and Key Results
To demonstrate the variance reduction, the authors utilize a synthetic non-sequential task with a 1D continuous action space and an oscillatory behavior density.
As illustrated above, traditional importance sampling without a recognizer attempts to force a uniform target policy over a specific action range (e.g., 0.7 to 0.9), ignoring the underlying behavior policy's distribution. This mismatch causes the empirical variance to spike erratically. Conversely, the target policy with a recognizer naturally adapts to the behavior policy's shape within the recognized region, resulting in a drastically lower and more stable empirical variance.
Beyond empirical stability, the paper provides a crucial convergence guarantee. The authors prove that their off-policy updates move in the same direction as on-policy updates. This implies that the algorithm is asymptotically convergent under linear function approximation—overcoming a major historical hurdle for off-policy methods.
Limitations and Future Work
While recognizers offer a robust solution to off-policy variance, the paper notes a few limitations:
- Function Approximation Scope: The proof for learning without a known behavior policy is currently limited to state-aggregation. The authors conjecture that it can be extended to general linear function approximation (e.g., using logistic regression to estimate recognition probabilities), but this remains to be formally proven.
- Option Discovery: The framework explains how to learn the models of options given a recognizer, but it does not address the "option discovery" problem—where these recognizers come from in the first place.
- Termination Complexity: The termination condition for options is intrinsically tied to the recognizer (the option must end if no actions are recognized), which might limit the types of temporal abstractions that can be flexibly represented.
Summary updated