On the Convergence of Bounded Agents

David Abel, André Barreto, Hado van Hasselt, Benjamin Van Roy, Doina Precup, Satinder SingharXiv 2023

Abstract

When has an agent converged? Standard models of the reinforcement learning problem give rise to a straightforward definition of convergence: An agent converges when its behavior or performance in each environment state stops changing. However, as we shift the focus of our learning problem from the environment's state to the agent's state, the concept of an agent's convergence becomes significantly less clear. In this paper, we propose two complementary accounts of agent convergence in a framing of the reinforcement learning problem that centers around bounded agents. The first view says that a bounded agent has converged when the minimal number of states needed to describe the agent's future behavior cannot decrease. The second view says that a bounded agent has converged just when the agent's performance only changes if the agent's internal state changes. We establish basic properties of these two definitions, show that they accommodate typical views of convergence in standard settings, and prove several facts about their nature and relationship. We take these perspectives, definitions, and analysis to bring clarity to a central idea of the field.

Introduction

In traditional Reinforcement Learning (RL), convergence is typically defined relative to the environment's state. An agent is said to have converged when its policy or value function stabilizes across all possible coordinates or configurations of the world. However, this definition is often impractical for real-world AI. Real agents are bounded: they possess finite memory and processing power, meaning they must compress a lifetime of observations into a limited internal state.

In complex or partially observable environments, the "true" state is often inaccessible. This paper shifts the focus from the environment to the agent's internal representation, proposing that convergence should be measured by how the agent's internal state evolves into a sufficient statistic for its own future behavior and performance.

Behavioral Convergence: Minimal Size

The first proposed metric for convergence is Minimal Size, denoted as $c_t(\lambda, e)$. This measures the smallest possible number of internal states required to produce the agent's future behavior at time $t$.

Figure 2: Minimal Size $c_t(\lambda, e)$ represents the smallest number of internal states required to produce the agent's future behavior. As the agent learns, this size typically decreases until it reaches a behavioral steady state.

An agent converges behaviorally when its "minimal size" stops decreasing. At this point, the agent's logic has reached a level of compression where no further simplification is possible without altering its future actions. This behavioral steady state signifies that the agent has stabilized its response patterns to the environment.

Performance Convergence: Minimal Distortion

Complementary to behavioral stability is the consistency of the agent's expected rewards. The paper introduces Distortion, $\delta_t(\lambda, e)$, which measures the maximum performance gap observed across different visits to the same internal agent state.

Figure 3: Minimal Distortion $\delta_t(\lambda, e)$ measures the consistency of performance. Convergence occurs when the agent's internal state becomes a reliable predictor of future success, minimizing the performance variance within states.

High distortion indicates that the agent's internal state is not yet a reliable predictor of its future success—a phenomenon termed "performance-relevant non-stationarity." Performance convergence is achieved when this distortion stabilizes or reaches zero, meaning the agent's performance is consistent across its internal state transitions.

Theoretical Properties and Insights

The authors establish several formal properties of these metrics to validate their utility:

  • Existence of Limits: It is proven that for any bounded agent in any environment, both Limiting Size and Limiting Distortion always exist.
  • Recovery of Standard Theory: In simple settings like $k$-armed bandits, these definitions align with classical views (e.g., a convergent bandit agent eventually behaves like a single-state agent).
  • Independence of Metrics: Crucially, behavioral and performance convergence are independent. An agent can reach stable rewards (performance convergence) while still cycling through redundant internal states (no behavioral convergence), or vice versa. This decoupling is formally demonstrated through Proposition 4.6, which shows that the time to reach behavioral convergence ($t_\beta$) and performance convergence ($t_\epsilon$) can differ.

Conclusion

By redefining convergence through the lens of bounded agents, this work provides a more realistic framework for evaluating AI systems. While these definitions provide theoretical clarity, applying them to high-dimensional models like deep neural networks remains a computational challenge. Future research will focus on developing efficient algorithms to estimate these metrics and extending the theory to handle stochastic internal state updates.

Summary updated

Abstract

When has an agent converged? Standard models of the reinforcement learning problem give rise to a straightforward definition of convergence: An agent converges when its behavior or performance in each environment state stops changing. However, as we shift the focus of our learning problem from the environment's state to the agent's state, the concept of an agent's convergence becomes significantly less clear. In this paper, we propose two complementary accounts of agent convergence in a framing of the reinforcement learning problem that centers around bounded agents. The first view says that a bounded agent has converged when the minimal number of states needed to describe the agent's future behavior cannot decrease. The second view says that a bounded agent has converged just when the agent's performance only changes if the agent's internal state changes. We establish basic properties of these two definitions, show that they accommodate typical views of convergence in standard settings, and prove several facts about their nature and relationship. We take these perspectives, definitions, and analysis to bring clarity to a central idea of the field.
BibTeX
@misc{abel2023convergence,
  author = {David Abel and André Barreto and Hado van Hasselt and Benjamin Van Roy and Doina Precup and Satinder Singh},
  title = {{On the Convergence of Bounded Agents}},
  year = {2023},
  eprint = {2307.11044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.11044},
}
Figure