NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Some Insights into Lifelong Reinforcement Learning Systems

Changjian Li · DOI

Abstract

A lifelong reinforcement learning system is a learning system that has the ability to learn through trial-and-error interaction with the environment over its lifetime. In this paper, I give some arguments to show that the traditional reinforcement learning paradigm fails to model this type of learning system. Some insights into lifelong reinforcement learning are provided, along with a simplistic prototype lifelong reinforcement learning system.

Introduction

In standard Reinforcement Learning (RL), the primary focus is often the final policy an agent achieves after extensive training across many episodes. In this paradigm, "learning" frequently occurs across generations; an individual agent might spend its entire lifespan exploring randomly and failing, solely to provide data that improves the next iteration of the agent.

This paper argues that such a framework fails to capture the essence of lifelong learning, where an individual agent must adapt and succeed within its own single, finite lifetime. The "reward hypothesis"—the notion that all goals can be reduced to a single cumulative scalar—often provides insufficient information for an agent to learn complex behaviors quickly enough to be viable before its lifespan ends.

Methodology: Reward as a Language

To address these limitations, this research shifts the perspective from viewing reward as a mere score to treating reward as a formal language.

  1. Internal Learning Architecture: Unlike traditional RL where the learning algorithm is conceptually "outside" the agent's life, this model places the learning algorithm within the agent. This allows the agent to process environmental signals as messages encoding knowledge and heuristics rather than just scalar feedback.
The proposed architecture places the learning algorithm and internal environment within the agent's boundary.
  1. Reward as Formal Language: The learning system is modeled as a Deterministic Finite Automaton (DFA). Here, the "reward" is a message from the environment (or an internal designer) that communicates subgoals and heuristics.
  2. Prototype System Components: The prototype utilizes local goals (e.g., "get food" then "go home") and maintains an Evolutionary Policy Pool. The agent keeps a set of elite policies for each local goal, generating new candidates through mutation or random initialization to ensure continuous adaptation.

Experimental Setup

The prototype was tested in a custom 11x11 Gridworld environment.

The 11x11 Gridworld task: The agent starts at Home (H), must navigate through a tunnel (L or R) to reach Food (F), and return home.

The task requires the agent to start at "Home" (H), navigate through one of two tunnels to reach a "Food" (F) source, and return home. With 74 possible positions and 4 actions, the state-action space is $4^{74}$, making random exploration highly inefficient. The system allows for "embedding bias," where designers can inject guidance, such as rewarding progress toward a goal (Manhattan distance) or visiting specific heuristic landmarks.

Key Insights and Results

Experiments compared different levels of guidance within the agent's 100-million-timestep lifespan:

  • Biased Policy Generation: By biasing the agent to prefer consistent movements over random wandering, the time required to reach a 100% success rate dropped significantly from 25 million steps to 8 million steps.
  • Progress-Based Guidance: Implementing Manhattan distance as a "hint" allowed the agent to solve the sparse reward problem inherent in the gridworld layout.
  • Discovery of Optimality: A crucial finding was that "sub-optimal guidance" is often better than no guidance. While the agent might initially be led toward a longer path because it is rewarded for doing so, the internal evolutionary process eventually allows it to discover and switch to the truly optimal (shorter) route once it has mastered the basic task.

Conclusion

Lifelong learning is most effective when broken into local, recurring tasks that provide immediate feedback. A lifelong system must be designed holistically; the reward "language" must provide enough information for the specific internal learning algorithm to interpret and act upon within a finite time limit.

Future work will address the scalability of evolutionary policy pools to high-dimensional spaces and explore methods for automatically learning or evolving these internal reward structures, reducing the need for manual reward design.

Summary updated

BibTeX
@misc{li2020some,
  author = {Changjian Li},
  title = {{Some Insights into Lifelong Reinforcement Learning Systems}},
  year = {2020},
  eprint = {2001.09608},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.09608},
}
Figure