# Poster 30559

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30559

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, I'm Jaehyun Sun. I will be presenting our paper titled Distilling Reinforcement Learning Algorithms for In-Context Model-Based Planning. Prior works on in-context RL collect learning histories of a specific RL algorithm.
These histories, which are sequences of states, actions and rewards, are then fed into a transformer to model the policy improvement process. The transformer effectively mimics the exploration -exploitation behavior of the source algorithm. A representative example is algorithm distillation by Luskin et al.
However, these approaches have key limitations. Because they mimic a source R_L algorithm, they inherit suboptimal behaviors. Many R_L algorithms such as TRPO and PPO are designed to prevent abrupt policy changes. While this stabilizes learning, it also slows down adaptation.
As a result, the in-context learner trained this way becomes constrained by the same conservative update rules which limits its ability to adapt quickly in novel tasks. To address this limitation, we propose distillation for in-context model-based planning, or DICP.
Unlike prior work that only predicts actions, the ICP also predicts the outcome of the actions, rewards, next observations, and return to go. Using these predictions, the ICP builds a world model and performs simulation-based planning, all without any interactions with the environment. At every decision step, this simulation builds a planning tree. By choosing an appropriate
Tree search algorithm. The agent can prioritize more useful actions over redundant ones. We use beam search as our search strategy and prune the tree using the predicted rewards and return-to-go, allowing the agent to efficiently explore promising features while keeping the tree size manageable. DICP constructs this word model solely in context, even in novel tasks.
We evaluate our approach on various benchmarks, including both discrete and continuous environments. Darkroom variants are conventional simple grid world benchmarks in the in-context RL literature. MetaWorld is a meta-RL benchmark suite that includes 50 robotic manipulation tests and evaluates generalization across the tasks.
Our experiments show that the ICP consistently outperforms prior in -context RL and meta-RL methods. Across different environments, the ICP achieves better sample efficiency and higher final returns. In particular, our method achieves state-of-the-art results on the meta-award MetaML1 benchmarks. Please refer to our paper for more experimental results on the full MetaML1 and MetaML10 benchmarks.
To conclude, we introduced a novel in-context model-based RF framework that leverages transformers to simultaneously learn dynamics models and improve policies in context. Our approach effectively addresses the limitations of previous approaches to in-context RL, which often inherit the suboptimal behavior of the source algorithms.
Our approach demonstrated superior performance across various environments, including both discrete and continuous ones.
