Abstract
We address the problem of reinforcement learning in which observations may exhibit an arbitrary form of stochastic dependence on past observations and actions, i.e. environments more general than (PO)MDPs. The task for an agent is to attain the best possible asymptotic reward where the true generating environment is unknown but belongs to a known countable family of environments. We find some sufficient conditions on the class of environments under which an agent exists which attains the best asymptotic reward for any environment in the class. We analyze how tight these conditions are and how they relate to different probabilistic assumptions known in reinforcement learning and related fields, such as Markov Decision Processes and mixing conditions.
Introduction
In the field of Reinforcement Learning (RL), the Markov property—the assumption that the future state depends only on the current state and action—is a cornerstone of most algorithms. However, real-world environments often exhibit long-term dependencies where the history of observations and actions influences future outcomes in complex ways. This paper investigates whether an agent can learn to behave optimally in environments with arbitrary stochastic dependencies, moving beyond the traditional (PO)MDP framework.
The Challenge of Arbitrary Dependence
The primary difficulty in learning within environments with arbitrary dependence is the potential for "traps." In a standard MDP, exploration is often guided by the assumption that any state can eventually be reached or that the impact of early mistakes is limited. In more general environments, a single suboptimal action early in the agent's lifetime could permanently prevent it from achieving high rewards. If the true environment is unknown, the agent faces a fundamental dilemma: it must explore to learn, but exploration itself might lead to irreversible failure.
The authors address this by identifying the broadest possible conditions under which an agent can still be "self-optimizing"—meaning its performance eventually matches that of an agent who knew the environment from the start.
Characterizing Forgiving Environments
To formalize the conditions for learning, the paper introduces two critical properties that define "forgiving" environments:
- Recoverability: An environment is recoverable if, after any finite sequence of actions, it remains possible to achieve the same maximum asymptotic average reward. This property ensures that initial mistakes do not lead to permanent traps from which the optimal reward level is unreachable.
- Value-Stability: This is a more stringent requirement than recoverability. It mandates that the agent can recover from $k$ steps of suboptimal actions in sub-linear time, specifically $o(k)$ steps. The authors demonstrate that this "fast recovery" is not just a technical convenience but a necessity; if recovery takes as long as the initial mistake ($O(k)$), a self-optimizing policy might not exist.
The authors demonstrate that these concepts are not merely theoretical abstractions; they encompass well-known models such as ergodic MDPs and POMDPs, while also covering environments that cannot be represented as finite-state machines, such as an "infinitely armed bandit."
Main Results
The core of the paper consists of existence proofs for optimal policies under these conditions. The authors construct a "meta-policy" that manages a countable set of candidate environments. This policy employs a strategy of alternating between exploitation (following the best current hypothesis) and exploration (testing other promising environments). They use a probabilistic consistency test based on likelihood ratios to prune environments inconsistent with observed history.
Key theorems include:
- Theorem 3: For any countable class of value-stable environments, there exists a policy that is self-optimizing, achieving the best possible asymptotic average reward.
- Theorem 4: For any countable class of recoverable environments, there exists a policy that is "upper self-optimizing," meaning it achieves the optimal reward level infinitely often, though it may not sustain it continuously.
Furthermore, the paper establishes a link to classical stochastic process theory by proving that environments satisfying certain "mixing" conditions—where the process gradually "forgets" its distant past—are inherently value-stable.
Discussion and Limitations
While these results provide a powerful theoretical foundation for RL in complex environments, they come with certain caveats. The focus is strictly asymptotic, describing behavior as time approaches infinity without providing finite-time convergence bounds. Additionally, the requirement for a countable class of environments, while covering all computable probability measures, excludes continuously parameterized families.
The meta-policy described is an existence proof rather than a computationally efficient algorithm. It demonstrates what is possible in principle, setting the stage for future research into practical algorithms that can handle long-term dependencies without the crutch of the Markov assumption. Future work may also explore the distinction between "forgetting" actions versus observations to further refine the conditions for learning in reactive worlds.
Summary updated