Skip to main content
QUICK REVIEW

[Paper Review] Continual Model-Based Reinforcement Learning with Hypernetworks

Yizhou Huang, Kevin Xie|arXiv (Cornell University)|Sep 25, 2020
Reinforcement Learning in RoboticsComputer Science38 references6 citations
TL;DR

This paper proposes HyperCRL, a continual model-based reinforcement learning method using task-conditional hypernetworks to learn non-stationary dynamics without catastrophic forgetting. By generating task-specific dynamics models via a fixed-capacity hypernetwork and storing only recent experience, it achieves performance comparable to multi-task learning while outperforming continual learning baselines in locomotion and manipulation tasks.

ABSTRACT

Effective planning in model-based reinforcement learning (MBRL) and model-predictive control (MPC) relies on the accuracy of the learned dynamics model. In many instances of MBRL and MPC, this model is assumed to be stationary and is periodically re-trained from scratch on state transition experience collected from the beginning of environment interactions. This implies that the time required to train the dynamics model - and the pause required between plan executions - grows linearly with the size of the collected experience. We argue that this is too slow for lifelong robot learning and propose HyperCRL, a method that continually learns the encountered dynamics in a sequence of tasks using task-conditional hypernetworks. Our method has three main attributes: first, it includes dynamics learning sessions that do not revisit training data from previous tasks, so it only needs to store the most recent fixed-size portion of the state transition experience; second, it uses fixed-capacity hypernetworks to represent non-stationary and task-aware dynamics; third, it outperforms existing continual learning alternatives that rely on fixed-capacity networks, and does competitively with baselines that remember an ever increasing coreset of past experience. We show that HyperCRL is effective in continual model-based reinforcement learning in robot locomotion and manipulation scenarios, such as tasks involving pushing and door opening. Our project website with videos is at this link https://rvl.cs.toronto.edu/blog/2020/hypercrl

Motivation & Objective

  • Address the scalability and catastrophic forgetting issues in continual model-based reinforcement learning (MBRL) where dynamics models are retrained from scratch on growing experience.
  • Enable lifelong robot learning in dynamic environments—such as new terrains or objects—without storing past transition data or expanding model capacity.
  • Develop a fixed-capacity, task-conditional dynamics model that generalizes across tasks while avoiding performance degradation on previously learned tasks.
  • Demonstrate that hypernetworks can effectively represent task-specific dynamics in MBRL, enabling efficient planning and continual adaptation.

Proposed method

  • Use a task-conditional hypernetwork that generates the weights of a target dynamics model based on a learned task embedding, enabling task-specific dynamics without retraining.
  • Store only the most recent fixed-size buffer of state transition experiences, avoiding the need to retain all historical data.
  • Train the hypernetwork end-to-end on current task data using a loss function that minimizes prediction error on state transitions.
  • Apply model-predictive control (MPC) with CEM optimization over a planning horizon, using the hypernetwork-generated dynamics model for rollouts.
  • Use a fixed-capacity architecture: the hypernetwork and target dynamics network do not grow in size across tasks, ensuring computational and memory efficiency.
  • Integrate task boundary signals to condition the hypernetwork on task identity, enabling accurate dynamics modeling per task without task-agnostic detection.

Experimental results

Research questions

  • RQ1Can a fixed-capacity hypernetwork generate accurate, task-specific dynamics models in continual MBRL without accessing past experience?
  • RQ2Does the proposed method prevent catastrophic forgetting when learning a sequence of new tasks with distinct dynamics?
  • RQ3How does HyperCRL compare to continual learning baselines (e.g., EWC, SI, coreset, fine-tuning) in terms of performance retention and final task performance?
  • RQ4Can HyperCRL achieve performance close to multi-task learning while avoiding the need to store or reprocess all historical data?
  • RQ5How effective is the method in real-world robot learning scenarios such as pushing, door opening, and block sliding?

Key findings

  • HyperCRL outperforms EWC, SI, coreset, and fine-tuning baselines in performance retention across all tasks, with average episodic rewards consistently higher than baselines.
  • On the Pusher environment, HyperCRL achieves 109 ± 16 average episodic reward at the end of training all 5 tasks, showing positive backward transfer and outperforming all baselines.
  • In the Door environment, HyperCRL maintains near-constant performance across tasks (normalized reward ≈ 1.0), with minimal forgetting, and outperforms even the multi-task learning baseline.
  • On the Block Sliding environment, HyperCRL achieves 73 ± 21 average reward, outperforming all continual learning baselines despite a slight average forgetting trend.
  • The method shows minimal performance degradation over time, with no significant drop in reward on previously learned tasks, indicating effective forgetting mitigation.
  • HyperCRL’s performance is competitive with multi-task learning (which has access to all data), while requiring only a fixed-size experience buffer and no model expansion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.