Group Equivariant Deep Reinforcement Learning

Arnab Kumar Mondal, Pratheeksha Nair, Kaleem SiddiqiarXiv 2020

Introduction

Deep Reinforcement Learning (RL) has seen significant success using Convolutional Neural Networks (CNNs) to interpret visual inputs. However, standard CNNs possess an inherent limitation: while they are translation-equivariant, they do not naturally account for other geometric symmetries such as rotations and reflections. In many RL environments, such as grid-based games or navigation tasks, an optimal action (e.g., "turn left") remains conceptually identical regardless of the agent's global orientation. Without built-in symmetry, agents must redundantly learn policies for every possible orientation, leading to poor sample efficiency and limited generalization. This paper introduces Equivariant Deep Q-Networks (Equivariant DQNs), which integrate $E(2)$-equivariant steerable CNNs to bake environmental symmetries directly into the network architecture.

Methodology

The proposed approach replaces standard convolutional layers with $E(2)$-Equivariant Steerable CNNs. Unlike standard CNNs that operate on scalar channels, these networks utilize steerable feature fields that transform according to specific group representations, such as the $D_4$ dihedral group for 90-degree rotations and reflections.

Architecture comparison between Equivariant DQN and Vanilla DQN, showing the transition from standard convolutions to equivariant steerable convolutions.

The architecture ensures that if an input image undergoes a transformation, the internal feature maps $F_{eqv}$ transform predictably. To maintain computational efficiency, the authors employ "group restriction," utilizing higher-order symmetry groups in early layers and restricting to lower-order groups deeper in the network before mapping to the final Q-values.

Experimental Evaluation

The researchers evaluated Equivariant DQNs against vanilla Double DQN (DDQN) baselines in two symmetric environments:

  1. Snake: A grid-based game where optimal moves are highly symmetric under rotation and reflection.
  2. Ms. Pacman: An Atari environment featuring both global reflectional symmetry and local rotational symmetries at maze intersections.

Results and Discussion

The Equivariant DQN demonstrated substantial improvements in both performance and efficiency. In the Snake environment, the model achieved a 30% increase in average reward while utilizing 90% fewer parameters (57.7k vs. 583.46k for the vanilla model).

Learning curves in the Snake environment comparing Equivariant DDQN and Vanilla DDQN, demonstrating faster convergence and higher asymptotic performance.

Beyond raw performance, the equivariant architecture provided significant robustness to affine transformations. In zero-shot transfer tests on Ms. Pacman, where the environment was rotated by 90, 180, or 270 degrees, the vanilla CNN's performance collapsed. In contrast, the Equivariant model maintained high performance with minimal retraining of only the final linear layer, proving that the learned policy generalizes across orientations.

Conclusion

By incorporating geometric inductive biases, Equivariant DQNs significantly reduce the search space for RL agents. This structural change is complementary to other algorithmic improvements like Dueling or Double DQN architectures. Future work aims to extend these principles to continuous symmetry groups ($O(2)$) and continuous action spaces, potentially benefiting complex domains like robotics and autonomous path planning.

Summary updated

BibTeX
@misc{mondal2020group,
  author = {Arnab Kumar Mondal and Pratheeksha Nair and Kaleem Siddiqi},
  title = {{Group Equivariant Deep Reinforcement Learning}},
  year = {2020},
  eprint = {2007.03437},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.03437},
}
Figure