Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

In-context Reinforcement Learning with Algorithm Distillation

About

We propose Algorithm Distillation (AD), a method for distilling reinforcement learning (RL) algorithms into neural networks by modeling their training histories with a causal sequence model. Algorithm Distillation treats learning to reinforcement learn as an across-episode sequential prediction problem. A dataset of learning histories is generated by a source RL algorithm, and then a causal transformer is trained by autoregressively predicting actions given their preceding learning histories as context. Unlike sequential policy prediction architectures that distill post-learning or expert sequences, AD is able to improve its policy entirely in-context without updating its network parameters. We demonstrate that AD can reinforcement learn in-context in a variety of environments with sparse rewards, combinatorial task structure, and pixel-based observations, and find that AD learns a more data-efficient RL algorithm than the one that generated the source data.

Michael Laskin, Luyu Wang, Junhyuk Oh, Emilio Parisotto, Stephen Spencer, Richie Steigerwald, DJ Strouse, Steven Hansen, Angelos Filos, Ethan Brooks, Maxime Gazeau, Himanshu Sahni, Satinder Singh, Volodymyr Mnih• 2022

Related benchmarks

TaskDatasetResultRank
Continuous ControlD4RL Hopper medium
Normalized Return72.58
24
Continuous ControlD4RL Walker2d medium
Normalized Return85.96
19
Reinforcement LearningD4RL hopper medium-replay
Normalized Return91.32
10
Continuous ControlD4RL Halfcheetah medium
Normalized Return42.28
10
Multi-Armed BanditMulti-Armed Bandit (MAB) Horizon Generalization T=100
Average Regret32.97
7
DarkroomGrid World
Offline Training Time (hour)0.21
6
Continuous ControlD4RL Walker Medium-Replay
Normalized Score89.21
5
Continuous ControlD4RL halfcheetah-medium-expert
Normalized Score94.21
5
Continuous ControlD4RL Walker Medium-Expert
Normalized Score111.4
5
Continuous ControlD4RL HalfCheetah Medium-Replay
Normalized Score41.28
5
Showing 10 of 144 rows
...

Other info

Follow for update