Introduction
In Reinforcement Learning (RL), agents are typically trained to optimize performance on a single task. However, real-world intelligence requires "lifelong" learning, where an agent encounters a sequence of related tasks. A critical challenge in Lifelong Reinforcement Learning (LLRL) is the "online discovery problem": determining whether a current task is a previously encountered one (allowing for knowledge reuse) or a novel environment requiring exploration. Incorrectly identifying a new task as a known one leads to negative transfer, while excessive exploration of known tasks wastes resources.
The Online Coupon-Collector Problem (OCCP)
Brunskill and Li formalize this challenge as the Online Coupon-Collector Problem (OCCP). In this framework, a learner receives a sequence of "coupons" (tasks). For each task, the learner must choose between two actions:
- Probe: Perform extensive exploration to identify the task's type. This is costly but provides definitive information.
- Skip: Assume the task belongs to a known type and act according to the best-known policy. This is efficient if the assumption is correct but risky if the task is novel.
The goal is to minimize "regret"—the difference between the learner's performance and that of an oracle who knows the task types upfront.
The FORCEDEXP Algorithm
The authors propose FORCEDEXP, an algorithm designed to handle adversarial task sequences where new task types may appear at any time. Unlike traditional "Explore-First" strategies that cease exploration after an initial phase, FORCEDEXP employs a polynomial decaying exploration rate: $\eta_t = t^{-\alpha}$.
By maintaining a persistent, albeit decreasing, probability of "probing," FORCEDEXP ensures that the agent eventually discovers all task types, even those introduced late in the sequence. When combined with PAC-MDP algorithms like PAC-EXPLORE for probing and model-elimination strategies for skipping, FORCEDEXP provides a robust framework for LLRL.
Experimental Evaluation
The algorithm was evaluated in two primary domains: a non-stationary Gridworld and a simulated human-robot collaboration task. In the Gridworld scenario, an adversary hides a high-reward task type until late in the sequence to test the agent's discovery capabilities.
As shown in Figure 1, FORCEDEXP (blue) significantly outperforms the EXPFIRST baseline (grey). EXPFIRST fails to adapt when the environment changes late in the sequence because its exploration phase has already concluded. In contrast, FORCEDEXP's continuous discovery mechanism allows it to identify and exploit the new high-reward task type, maintaining higher average rewards throughout the middle phase of the experiment.
Results and Discussion
Theoretically, the authors prove that FORCEDEXP achieves an optimal regret bound of $O(\sqrt{T})$ for a sequence of $T$ tasks. This matches the lower bound for any admissible algorithm in this setting, demonstrating its efficiency without requiring prior knowledge of the number of task types or their distribution.
Empirical results in the human-robot painting domain further validate the approach. As detailed in the performance table (Figure 2), FORCEDEXP achieves higher overall rewards by balancing the cost of discovery with the benefits of knowledge transfer. It avoids the heavy front-loaded cost of initial probing required by older methods, instead distributing exploration more effectively across the task sequence, leading to superior performance in both Phase 1 and overall metrics.
Conclusion
The introduction of the OCCP framework and the FORCEDEXP algorithm addresses a fundamental bottleneck in lifelong reinforcement learning. By treating task discovery as an online problem with decaying exploration, agents can robustly handle non-stationary environments and adversarial task sequences. Future work may extend these concepts to continuous task spaces and integrate Bayesian methods to further improve empirical sample efficiency.
Summary updated