Learning to Modulate pre-trained Models in RL

Thomas Schmied, Markus Hofmarcher, Fabian Paischer, Razvan Pascanu, Sepp Hochreiter
6/26/2023
cs.LGcs.AI

Official code: ml-jku/L2M (61 stars, MIT, last commit 2024-10-06).

Abstract

Reinforcement Learning (RL) has been successful in various domains like robotics, game playing, and simulation. While RL agents have shown impressive capabilities in their specific tasks, they insufficiently adapt to new tasks. In supervised learning, this adaptation problem is addressed by large-scale pre-training followed by fine-tuning to new down-stream tasks. Recently, pre-training on multiple tasks has been gaining traction in RL. However, fine-tuning a pre-trained model often suffers from catastrophic forgetting. That is, the performance on the pre-training tasks deteriorates when fine-tuning on new tasks. To investigate the catastrophic forgetting phenomenon, we first jointly pre-train a model on datasets from two benchmark suites, namely Meta-World and DMControl. Then, we evaluate and compare a variety of fine-tuning methods prevalent in natural language processing, both in terms of performance on new tasks, and how well performance on pre-training tasks is retained. Our study shows that with most fine-tuning approaches, the performance on pre-training tasks deteriorates significantly. Therefore, we propose a novel method, Learning-to-Modulate (L2M), that avoids the degradation of learned skills by modulating the information flow of the frozen pre-trained model via a learnable modulation pool. Our method achieves state-of-the-art performance on the Continual-World benchmark, while retaining performance on the pre-training tasks. Finally, to aid future research in this area, we release a dataset encompassing 50 Meta-World and 16 DMControl tasks.

View on arXivView PDF

Code Implementations(1)

ml-jku/L2MOfficial64%
MIT

Learning to Modulate pre-trained Models in RL (Decision Transformer, LoRA, Fine-tuning)

617Shell, PythonApr 7, 20232 years agoMIT
continual-learningdecision-transformersfine-tuningloramultitask-learning+2 more

Similar Papers

Cite this paper

@article{schmied2023learning,
  title  = {Learning to Modulate pre-trained Models in RL},
  author = {Thomas Schmied and Markus Hofmarcher and Fabian Paischer and Razvan Pascanu and Sepp Hochreiter},
  year   = {2023},
  eprint = {2306.14884},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.14884v2},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.14884.svg)](https://codeofpaper.com/paper/2306.14884)

Discussion