SOTAVerified

SiT: Symmetry-Invariant Transformers for Generalisation in Reinforcement Learning

2024-06-21Code Available0· sign in to hype

Matthias Weissenbacher, Rishabh Agarwal, Yoshinobu Kawahara

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

An open challenge in reinforcement learning (RL) is the effective deployment of a trained policy to new or slightly different situations as well as semantically-similar environments. We introduce Symmetry-Invariant Transformer (SiT), a scalable vision transformer (ViT) that leverages both local and global data patterns in a self-supervised manner to improve generalisation. Central to our approach is Graph Symmetric Attention, which refines the traditional self-attention mechanism to preserve graph symmetries, resulting in invariant and equivariant latent representations. We showcase SiT's superior generalization over ViTs on MiniGrid and Procgen RL benchmarks, and its sample efficiency on Atari 100k and CIFAR10.

Tasks

Reproductions