Continual Learning as Computationally Constrained Reinforcement Learning

Saurabh Kumar, Henrik Marklund, Ashish Rao, Yifan Zhu, Hong Jun Jeon, Yueyang Liu, Benjamin Van Roy

TL;DR

This paper frames continual learning as a computationally constrained reinforcement learning problem, proposing an objective to maximize infinite-horizon average reward under a per-timestep computational budget. This novel perspective offers a unified way to reason about desirable behaviors like avoiding catastrophic forgetting and retaining plasticity, and it leads to insights into how agents should balance learning and forgetting in resource-limited scenarios.

What Problem Does This Paper Address?

The field of continual learning aims to develop AI agents that can continuously learn and adapt over long lifetimes, much like humans. A key challenge is how to balance acquiring new knowledge with retaining existing knowledge, leading to issues like "catastrophic forgetting" (losing old knowledge) and "implasticity" (inability to learn new things). Existing evaluation metrics often focus on specific desirable behaviors, but a coherent, holistic objective is needed to systematically design and compare agents. Furthermore, real-world agents operate under computational constraints, which significantly impact their ability to process and store information, a factor often overlooked in theoretical frameworks. This paper addresses this gap by proposing a formal objective for continual learning that explicitly incorporates computational constraints.

Methods

The authors frame continual learning as a computationally constrained reinforcement learning (RL) problem. The core objective is to maximize the infinite-horizon average reward subject to a per-timestep computational constraint. This means the agent aims to perform well over an indefinitely long period, but its processing power at each step is limited.

Key concepts introduced and utilized include:

  • Agent State ($U_t$): A compressed representation of the agent's history, used for efficient decision-making.
  • Information Capacity: Quantified using information-theoretic measures like entropy, representing the amount of information the agent state can encode. This capacity is often limited by computational resources.
  • Stability-Plasticity Decomposition: The authors formalize the trade-off between retaining old knowledge (stability) and acquiring new knowledge (plasticity) using information-theoretic tools.
  • Vanishing Regret vs. Continual Learning: The paper contrasts traditional machine learning, where agents aim to converge to a fixed "learning target" and achieve vanishing regret, with continual learning, where agents must continuously adapt to potentially changing targets.

Datasets

The paper uses synthetic environments for its case studies:

  • Permuted MNIST: A modified version where both image permutations and label permutations are randomized for each task. This setup is designed to limit forward transfer between tasks.
  • Coin Replacement Games: Variants of a coin-tossing game used to illustrate exploration dynamics in nonstationary environments.
  • AR(1) Gaussian Bandits: Used to study exploration strategies in environments with varying information durability.
  • Nonstationary MDPs: Used to investigate continual learning with delayed consequences.

Key Insights and Ideas

  • Computational Constraints are Fundamental: The paper argues that computational limits are not just a practical hurdle but a core driver of continual learning behavior. They necessitate forgetting and selective learning, making the problem distinct from traditional RL.
  • Average Reward is Sufficient: Contrary to focusing on specific metrics like avoiding forgetting, the authors propose that maximizing average reward under computational constraints naturally encourages desirable behaviors like relearning and forgetting non-recurring information.
  • Information Capacity Limits Performance: The paper rigorously shows how an agent's information capacity, often dictated by computational limits, directly constrains its performance. This relationship is formalized using information-theoretic measures.
  • Forgetting Can Be Beneficial: In scenarios with limited computational resources or non-recurring information, forgetting can be advantageous, allowing the agent to allocate its limited capacity to more relevant or future-oriented knowledge.
  • Exploration Needs Durability: In nonstationary environments, agents should prioritize acquiring "durable" information – knowledge that remains relevant over a longer duration – rather than transient information.

Key Results

  • Formalized Objective: The paper provides a clear mathematical objective for continual learning: maximize infinite-horizon average reward subject to a per-timestep computational constraint.
  • Information-Theoretic Framework: The authors develop an information-theoretic framework to analyze agent state, information capacity, forgetting, and plasticity, offering a principled way to understand trade-offs.
  • Case Studies Demonstrate Implications: Experiments across continual supervised learning, exploration, delayed consequences, and auxiliary learning illustrate how the proposed objective influences agent design and performance. For instance, in constrained settings, agents that forget and reset can outperform those that try to retain everything.

Limitations and Future Work

  • Scalability of Auxiliary Learning: While continual auxiliary learning shows promise, the paper notes that implementing it scalably with only a modest increase in compute remains an interesting topic for future research.
  • Agent State Management: The analysis of capacity-constrained agents like IDBD highlights the need to incorporate the management of agent state components (e.g., learning rates, parameters) into the agent's state itself, which presents an interesting area for future research.
  • Practical Algorithm Design: While the paper provides a theoretical framework and objective, it aims to stimulate research toward identifying specific performant algorithms rather than offering definitive methods.

Summary updated

BibTeX
@inproceedings{kumar2023continual,
  author = {Saurabh Kumar and Henrik Marklund and Ashish Rao and Yifan Zhu and Hong Jun Jeon and Yueyang Liu and Benjamin Van Roy},
  title = {{Continual Learning as Computationally Constrained Reinforcement Learning}},
  booktitle = {Found. Trends Mach. Learn},
  year = {2023},
}
Figure