[Paper Review] Modular Lifelong Reinforcement Learning via Neural Composition
This paper proposes a novel modular lifelong reinforcement learning framework that decomposes tasks into reusable neural components, enabling faster learning of new tasks through functional composition. By separating training into module discovery, task-specific fine-tuning, and offline batch RL for knowledge consolidation, the method achieves significant forward transfer and eliminates catastrophic forgetting, outperforming prior lifelong RL approaches on both discrete and robotic manipulation tasks.
Humans commonly solve complex problems by decomposing them into easier subproblems and then combining the subproblem solutions. This type of compositional reasoning permits reuse of the subproblem solutions when tackling future tasks that share part of the underlying compositional structure. In a continual or lifelong reinforcement learning (RL) setting, this ability to decompose knowledge into reusable components would enable agents to quickly learn new RL tasks by leveraging accumulated compositional structures. We explore a particular form of composition based on neural modules and present a set of RL problems that intuitively admit compositional solutions. Empirically, we demonstrate that neural composition indeed captures the underlying structure of this space of problems. We further propose a compositional lifelong RL method that leverages accumulated neural components to accelerate the learning of future tasks while retaining performance on previous tasks via off-line RL over replayed experiences.
Motivation & Objective
- To enable artificial agents to learn and reuse functional components across a sequence of reinforcement learning tasks, mimicking human compositional reasoning.
- To address the challenge of catastrophic forgetting in lifelong RL by leveraging offline batch RL over replayed experiences.
- To design a method that supports both zero-shot generalization and fast adaptation to new compositional tasks through structured neural module reuse.
- To empirically validate that functional compositionality can be learned and exploited in realistic, hierarchical RL environments.
Proposed method
- The method structures learning into three stages: (1) discovering effective module combinations for the current task, (2) fine-tuning with online RL using the best combination, and (3) consolidating new knowledge into existing modules via offline batch RL.
- Neural modules are specialized for distinct task components—such as static objects, targets, or agents—allowing modular input processing rather than monolithic chaining.
- The architecture decouples inputs to modules based on task-relevant components, improving modularity and compatibility across functional compositions.
- The approach uses offline reinforcement learning (e.g., BCQ or CQL) during the consolidation phase to prevent forgetting, replacing online regularization or replay.
- A problem graph formalism models compositional tasks, enabling systematic evaluation of zero-shot generalization and transfer across task variants.
- The method is evaluated on two domains: a discrete 2D grid world and a robotic manipulation suite, both exhibiting multi-level compositional structure.
Experimental results
Research questions
- RQ1Can functional compositionality in reinforcement learning be effectively learned and reused across a sequence of tasks in a lifelong setting?
- RQ2How does separating module discovery, fine-tuning, and consolidation improve learning speed and prevent forgetting compared to standard lifelong RL methods?
- RQ3To what extent does using offline batch RL for consolidation outperform online regularization or experience replay in preventing catastrophic forgetting?
- RQ4How robust is the method to variations in the number of modules per component type, and does it maintain performance under architectural perturbations?
- RQ5Does the modular architecture enable better zero-shot generalization and forward transfer than monolithic models?
Key findings
- The proposed method, P&C with batch RL, completely suppresses forgetting in both the 2D discrete and robotic manipulation environments, outperforming EWC and other lifelong RL baselines.
- Using batch RL for consolidation leads to better forward transfer than online regularization, indicating that stable knowledge retention enhances future learning.
- The method achieves strong zero-shot generalization: when tested with incorrect modules, performance drops drastically if the wrong target or agent module is used, validating meaningful module specialization.
- The architecture is robust to module count variations—performance remains stable even when using more or fewer modules per component type, indicating design flexibility.
- Replacing the monolithic architecture with the proposed modular design significantly improves performance, even when using the same training objective (CLEAR), proving the benefit of architectural compositionality.
- In the robotic manipulation suite, the method accelerates training beyond standard training (STL) and avoids performance degradation due to forgetting, demonstrating real-world applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.