Computably Continuous Reinforcement-Learning Objectives Are PAC-Learnable

Cambridge Yang, Michael Littman, Michael Carbin

Introduction

In the field of Reinforcement Learning (RL), the standard paradigm involves maximizing a cumulative sum of rewards over a finite or discounted infinite horizon. These "classic" objectives are well-understood and known to be Probably Approximately Correct (PAC) learnable—meaning they can be solved to near-optimality using a finite amount of data and computational resources. However, as RL is applied to more complex tasks, researchers have introduced sophisticated objectives defined by Linear Temporal Logic (LTL), Reward Machines, and other history-dependent structures.

Until recently, a general theoretical framework to determine the learnability of these complex objectives was missing. Some objectives, such as those involving infinite-horizon LTL, have even been proven impossible to learn with finite samples. This paper addresses this gap by identifying the fundamental properties that render an RL objective PAC-learnable: uniform continuity and computability.

The Core Framework: Continuity and Computability

The authors analyze RL objectives as functions mapping an infinite sequence of states and actions (a path) to a real-valued score. They propose two primary conditions for learnability:

1. Uniform Continuity (Information-Theoretic Setting)

An objective is considered uniformly continuous if the score of a path is primarily determined by its prefix. Specifically, if two paths share a sufficiently long initial segment, the difference in their scores must be negligible. This property ensures that the "infinite tail" of a trajectory does not exert undue influence on the total value, allowing an agent to make decisions based on finite observations.

2. Computability (Computation-Theoretic Setting)

Drawing from the field of computable analysis, the authors define an objective as computable if there exists a program that can produce increasingly accurate approximations of the score by examining finite portions of the path. A crucial insight of the paper is that any objective that is algorithmically computable must also be continuous. This provides a practical heuristic for researchers: if an objective can be approximated by a computer program, it is likely PAC-learnable.

The Reduction Strategy

To prove that these conditions guarantee learnability, the authors employ a "lifting" strategy. They demonstrate that any uniformly continuous objective can be "reduced" to a standard finite-horizon RL problem. By expanding the state space to incorporate the relevant history of the agent's actions, a complex, history-dependent objective is transformed into a Markovian one. This reduction allows the application of established PAC-learning results for standard RL to these more complex domains.

Theoretical Validation

While this work is primarily theoretical, the authors validate their framework by applying it to several prominent objectives in recent literature:

  • Simple Reward Machines: Automata-based rewards that track task progress (Camacho et al. 2019).
  • LTL-in-the-limit: Objectives based on Limit Deterministic Buchi Automata (LDBA) (Bozkurt et al. 2020).
  • Geometric LTL (GLTL): Logic formulas featuring temporal operators that expire over time (Littman et al. 2017).

The framework successfully confirms that these objectives are PAC-learnable, providing a rigorous theoretical foundation for empirical algorithms that previously lacked such guarantees.

Key Insights: "Effective Termination"

The central conceptual contribution of the paper is the idea of "effective termination." For an objective to be learnable, it must be structured such that an agent can eventually ignore the infinite future. Even if the environment technically continues forever, the objective must reach a point where the remaining potential reward is too small to change the optimal policy. Continuity serves as the mathematical bridge between the topological space of infinite sequences and the practical necessity of learning from finite data.

Results and Implications

The paper culminates in two major theorems:

  • Theorem 1: Establishes that any uniformly continuous objective is PAC-learnable in terms of sample complexity.
  • Theorem 5: Establishes that any computable objective is PAC-learnable in terms of computational complexity.

These results offer a "green light" for the development of new RL objectives. However, the authors note a caveat: while these conditions are sufficient for learnability, they are not strictly necessary. They provide a counter-example of a discontinuous objective that remains learnable, though such cases are rare in practical applications.

Limitations and Future Work

The framework focuses on core tractability—whether an objective can be learned—rather than efficiency. It guarantees that a solution exists within finite resources but does not ensure that the sample or computational complexity is polynomial in all parameters. Furthermore, the framework does not cover inherently discontinuous objectives, such as those requiring an agent to visit a state infinitely many times, which are known to be problematic for RL.

The authors suggest that future research should prioritize "computably continuous" designs. By building objectives with these properties in mind, researchers can ensure their RL systems are theoretically sound and PAC-learnable from the start.

Summary updated

BibTeX
@inproceedings{yang2023computably,
  author = {Cambridge Yang and Michael Littman and Michael Carbin},
  title = {{Computably Continuous Reinforcement-Learning Objectives Are PAC-Learnable}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i9.26273},
}
Figure