Temporal Disentanglement of Representations for Improved Generalisation in Reinforcement Learning

Mhairi Dunion, Trevor McInroe, Kevin Sebastian Luck, Josiah P. Hanna, Stefano V. Albrecht
7/12/2022
26 citations
cs.LG
rl

Official code: uoe-agents/TED (13 stars, Python, MIT, last commit 2023-01-25).

Abstract

Reinforcement Learning (RL) agents are often unable to generalise well to environment variations in the state space that were not observed during training. This issue is especially problematic for image-based RL, where a change in just one variable, such as the background colour, can change many pixels in the image.

Show full abstract

The changed pixels can lead to drastic changes in the agent's latent representation of the image, causing the learned policy to fail. To learn more robust representations, we introduce TEmporal Disentanglement (TED), a self-supervised auxiliary task that leads to disentangled image representations exploiting the sequential nature of RL observations. We find empirically that RL algorithms utilising TED as an auxiliary task adapt more quickly to changes in environment variables with continued training compared to state-of-the-art representation learning methods. Since TED enforces a disentangled structure of the representation, our experiments also show that policies trained with TED generalise better to unseen values of variables irrelevant to the task (e.g. background colour) as well as unseen values of variables that affect the optimal policy (e.g. goal positions).

View on arXivView PDF

Code Implementations(1)

uoe-agents/TEDOfficial100%
MIT

Official repository for "Temporal Disentanglement of Representations for Improved Generalisation in Reinforcement Learning".

136Python, ShellJul 12, 20223 years agoMIT

Similar Papers

Cite this paper

@article{dunion2022temporal,
  title  = {Temporal Disentanglement of Representations for Improved Generalisation in Reinforcement Learning},
  author = {Mhairi Dunion and Trevor McInroe and Kevin Sebastian Luck and Josiah P. Hanna and Stefano V. Albrecht},
  year   = {2022},
  eprint = {2207.05480},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.05480v4}
}

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

Discussion