Introduction
Continual Offline Reinforcement Learning (CORL) represents a significant frontier in machine learning, requiring agents to master a sequence of tasks from static datasets without environment interaction or the ability to revisit past data. This setting intensifies the stability-plasticity trade-off: agents must retain knowledge of previous tasks (stability) while remaining capable of learning new ones (plasticity). Traditional approaches, largely based on Actor-Critic (AC) architectures, frequently suffer from catastrophic forgetting and instability due to distribution shifts.
The Decision Transformer Advantage
This research proposes a fundamental shift in CORL architecture by adopting the Decision Transformer (DT). Unlike AC methods that rely on temporal difference learning and bootstrapping, DT treats reinforcement learning as a supervised sequence modeling problem. This approach avoids the "deadly triad" of off-policy learning, bootstrapping, and function approximation, leading to significantly more stable learning curves.
As shown in the performance curves, DT-based models exhibit an immediate adjustment to task distribution changes. This suggests that the transformer architecture implicitly identifies tasks through input trajectories, a stark contrast to the erratic behavior often seen in AC-based learners.
Proposed Architectures: MH-DT and LoRA-DT
The authors introduce two specialized variants of the Decision Transformer to address different CORL constraints:
1. Multi-Head Decision Transformer (MH-DT)
Designed for scenarios where a replay buffer is available, MH-DT utilizes a shared transformer backbone to capture cross-task knowledge while employing unique "heads" for specific tasks. It incorporates Selective Rehearsal, which prioritizes replaying data from tasks similar to the current one, and Distillation to maintain performance relative to single-task experts.
2. Low-Rank Adaptation DT (LoRA-DT)
For buffer-free scenarios where data privacy or memory constraints prevent storing old trajectories, the authors propose LoRA-DT. This model leverages weight merging and Low-Rank Adaptation (LoRA) specifically targeting the MLP layers.
The focus on MLP layers stems from the finding that these components are the most "task-decisive" in a DT. By fine-tuning only these small matrices, LoRA-DT achieves high plasticity with minimal memory overhead and zero forgetting of the shared backbone.
Key Insights and Results
Empirical evaluations on MuJoCo and Meta-World benchmarks reveal several critical insights:
- Superior Stability: LoRA-DT achieved the highest Backward Transfer (BWT) scores, effectively eliminating catastrophic forgetting even without a replay buffer.
- Efficiency: LoRA-DT provides performance comparable to buffer-based methods while requiring only 1/10th of the storage space of a standard 10K-sample buffer.
- Forward Transfer: DT-based methods demonstrated stronger generalization to unseen tasks compared to AC baselines, often performing reasonably well before formal training on a new task began.
- Synergy in Similarity: Replaying data from similar tasks was found to enhance the learning of the current task, turning old data into a resource for forward transfer rather than just a stability burden.
Conclusion
By reframing CORL as a sequence modeling problem, the Decision Transformer provides a robust solution to the stability-plasticity trade-off. Whether through the multi-head approach of MH-DT or the parameter-efficient adaptation of LoRA-DT, these methods set a new state-of-the-art for learning from sequential, static datasets. Future work will explore dynamic rank adaptation for increasingly complex task sequences.
Summary updated