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

Same State, Different Task: Continual Reinforcement Learning without Interference

Samuel Kessler, Jack Parker-Holder, Philip J. Ball, Stefan Zohren, S Roberts · DOI

TL;DR

This paper introduces OWL, a novel Continual Reinforcement Learning (CRL) approach designed to tackle "interference" – a critical challenge where tasks with the same observation space demand conflicting optimal actions. OWL uses a factorized Q-function with shared feature extractors and task-specific heads, combined with a multi-armed bandit for policy selection at test time, to achieve near-optimal performance in previously intractable scenarios.

What Problem Does This Paper Address?

Continual Learning (CL) aims to train agents on a sequence of tasks while retaining knowledge from previous ones. A major hurdle is "catastrophic forgetting," where learning a new task degrades performance on older ones. However, this paper highlights a more insidious problem in Reinforcement Learning (RL): interference. This occurs when tasks share the same state space (i.e., the agent sees the same visual input) but have fundamentally different, even opposing, reward functions or goals. Existing CL methods, often designed for distinct environments or tasks with compatible objectives, struggle here because a single policy is forced to optimize for conflicting outcomes, leading to performance degradation on all tasks. Imagine an agent seeing the same room but needing to go to different locations for different tasks – a single policy can't efficiently do both.

Methods

The core of OWL (Continual RL Without Conflict) lies in its factorized Q-function architecture. Instead of a single neural network predictor, OWL employs:

  • Shared Feature Extractor: A common network processes the input state, learning generalizable features.
  • Task-Specific Heads: Multiple independent "heads" branch off from the feature extractor, each specializing in a particular task's optimal Q-values or policy. This is crucial for preventing interference, as each head can learn a distinct, task-specific behavior.
  • Experience Replay Buffer Flushing: When a new task begins, the replay buffer is cleared to prevent old, potentially conflicting, data from influencing the new learning.
  • Multi-Armed Bandit (MAB) for Test-Time Policy Selection: At inference time, the agent doesn't know which task it's facing. OWL uses a modified MAB algorithm to adaptively select the most appropriate policy head based on real-time feedback (e.g., TD error) from the environment. This allows the agent to dynamically choose the right "expert" policy for the current situation.
  • Regularization (EWC): To combat forgetting in the shared feature extractor, the paper incorporates Elastic Weight Consolidation (EWC), a standard CL technique.

Datasets

The paper evaluates OWL on several RL environments:

  • Simple Supervised Setting (MultiMNIST): Used to demonstrate the interference problem in a controlled setting. Tasks involved classifying different digits within the same image.
  • Pendulum-v0: A standard continuous control environment, modified to have interfering goals (e.g., balancing a pendulum at +90° vs. -90°).
  • MiniGrid Environments: A suite of procedurally generated, partially observable maze environments. The paper uses variations like "SimpleCrossing" and "SimpleCrossing + DoorKey" to create tasks with similar visual inputs but different goals (e.g., navigating to different locations, interacting with objects).

Key Insights and Ideas

  • Interference is Distinct from Forgetting: The paper clearly delineates interference as a unique challenge in CRL, arising from conflicting objectives within the same state space, rather than just performance decay due to new learning.
  • Single-Policy Failure: Existing task-agnostic CL methods that rely on a single policy and shared replay buffers are fundamentally ill-suited for interfering tasks, as they are forced to average conflicting objectives.
  • Factorization as the Solution: The key insight is that factorizing the policy/Q-function into shared features and task-specific heads is essential to handle interference. This allows each task to have its dedicated "expert" without corrupting others.
  • MAB for Adaptive Test-Time Behavior: The novel application of a multi-armed bandit for selecting policies at test time is a significant contribution, enabling agents to adapt to unknown tasks without explicit task identification.
  • Re-use of Learned Policies: The MAB approach allows OWL to effectively re-use previously learned policies, demonstrating a form of intelligent transfer and adaptation.

Key Results

  • Pendulum Environment: OWL (Adaptive) achieved performance close to the Oracle (which knows the task) and significantly outperformed the baseline "Experience Replay" method, which displayed clear interference and sub-optimal performance.
  • MiniGrid Environments: OWL demonstrated strong performance across multiple MiniGrid tasks, successfully preventing forgetting and interference. The adaptive MAB approach closely matched the Oracle's performance.
  • Generalization: OWL showed impressive generalization capabilities, solving up to 40% of unseen MiniGrid tasks, a significant improvement over Experience Replay, which largely failed.
  • Ablations: Removing EWC (a regularization technique) led to decreased performance, highlighting the importance of combating forgetting.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while OWL performs well, it doesn't achieve perfect optimal performance in all cases, especially compared to the Oracle.
  • The MAB's effectiveness relies on informative feedback (like TD error), and its performance might degrade with very sparse or noisy rewards.
  • Future Work:
    • Exploring more robust probabilistic models for change detection to identify shifts in reward and state-action distributions.
  • Investigating more sophisticated MAB strategies or alternative policy selection mechanisms.
  • Extending OWL to more complex and diverse RL environments.
  • Further research into hierarchical RL settings, potentially linking OWL's approach to options.

Summary updated

BibTeX
@inproceedings{kessler2022same,
  author = {Samuel Kessler and Jack Parker-Holder and Philip J. Ball and Stefan Zohren and S Roberts},
  title = {{Same State, Different Task: Continual Reinforcement Learning without Interference}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i7.20674},
}
Figure