How Ensembles of Distilled Policies Improve Generalisation in Reinforcement Learning

Max Weltevrede, Moritz A. Zanger, M. Spaan, Wendelin Böhmer
5/1/2025
rldistillation

No confident code implementation found for this paper.

Abstract

In the zero-shot policy transfer setting in reinforcement learning, the goal is to train an agent on a fixed set of training environments so that it can generalise to similar, but unseen, testing environments. Previous work has shown that policy distillation after training can sometimes produce a policy that outperforms the original in the testing environments.

Show full abstract

However, it is not yet entirely clear why that is, or what data should be used to distil the policy. In this paper, we prove, under certain assumptions, a generalisation bound for policy distillation after training. The theory provides two practical insights: for improved generalisation, you should 1) train an ensemble of distilled policies, and 2) distil it on as much data from the training environments as possible. We empirically verify that these insights hold in more general settings, when the assumptions required for the theory no longer hold. Finally, we demonstrate that an ensemble of policies distilled on a diverse dataset can generalise significantly better than the original agent.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{weltevrede2025ensembles,
  title  = {How Ensembles of Distilled Policies Improve Generalisation in Reinforcement Learning},
  author = {Max Weltevrede and Moritz A. Zanger and M. Spaan and Wendelin Böhmer},
  year   = {2025},
  eprint = {2505.16581},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.16581},
  url    = {https://doi.org/10.48550/arXiv.2505.16581},
  journal = {Neural Information Processing Systems}
}

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/2505.16581.svg)](https://codeofpaper.com/paper/2505.16581)

Discussion