The Role of Forgetting in Fine-Tuning Reinforcement Learning Models

Maciej Wolczyk, Bartłomiej Cupiał, Mateusz Ostaszewski, Michał Bortkiewicz, Michał Zając, Razvan Pascanu, Łukasz Kuciński, Piotr MiłośOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Fine-tuning is a widespread technique that allows practitioners to transfer pre-trained capabilities, as recently showcased by the successful applications of foundation models. However, fine-tuning pre-trained reinforcement learning (RL) agents remains a challenge. This work conceptualizes one specific cause of poor transfers in the RL setting: *forgetting of pre-trained capabilities*. Namely, due to the distribution shift between the pre-training and fine-tuning data, the pre-trained model can significantly deteriorate before the agent reaches parts of the state space known by the pre-trained policy. In many cases, re-learning the lost capabilities takes as much time as learning them from scratch. We identify conditions when this problem occurs, perform a thorough analysis, and identify potential solutions. Namely, we propose to counteract deterioration by applying techniques that mitigate forgetting. We experimentally confirm this to be an efficient solution; for example, it allows us to significantly improve the fine-tuning process on Montezuma's Revenge as well as on the challenging NetHack domain.
BibTeX
@misc{wolczyk2024role,
  author = {Maciej Wolczyk and Bartłomiej Cupiał and Mateusz Ostaszewski and Michał Bortkiewicz and Michał Zając and Razvan Pascanu and Łukasz Kuciński and Piotr Miłoś},
  title = {{The Role of Forgetting in Fine-Tuning Reinforcement Learning Models}},
  year = {2024},
  url = {https://openreview.net/forum?id=FFvCjbhpDq},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure