Equivariant MuZero

Andreea Deac, Theophane Weber, George Papamakarios

Abstract

Reinforcement Learning (RL) agents are often limited by high data requirements and a lack of generalization to simple environment transformations. This paper introduces Equivariant MuZero (EqMuZero), which integrates geometric symmetries—such as rotations and reflections—into the MuZero architecture. By mathematically proving that equivariance in the underlying neural networks extends to the entire Monte Carlo Tree Search (MCTS) process, the authors create an agent that generalizes instantly to transformed environments. Empirical results on grid-world tasks like MiniPacman and ProcGen Chaser show that EqMuZero significantly outperforms standard baselines in data efficiency and zero-shot generalization.

Introduction

Standard RL agents often fail to recognize fundamental "laws of physics" or geometric symmetries in their environments. For instance, an agent trained to navigate a maze may fail completely if the maze is rotated by 90 degrees, necessitating costly retraining. While Geometric Deep Learning has addressed this in static tasks via equivariance—where input transformations lead to predictable output transformations—applying these principles to model-based RL like MuZero is non-trivial. The primary challenge is ensuring that the planning phase, specifically Monte Carlo Tree Search (MCTS), respects these symmetries.

Methods

Equivariant MuZero modifies the five core components of the MuZero architecture—encoder, transition, reward, value, and policy functions—to be equivariant under a symmetry group $G$. For 2D grid-worlds, the authors focus on the $C_4$ group (90° rotations).

The Equivariant MuZero architecture utilizes G-CNNs to ensure that latent representations and predictions respect environment symmetries.

The architecture employs Group Equivariant Convolutional Neural Network (G-CNN) architectures. The latent state is structured to represent multiple rotated views simultaneously (e.g., $\mathbf{z}_1$ through $\mathbf{z}_4$ in the diagram). The authors propose two transition model variants: a "constrained" version where latent components don't interact for efficiency, and a "less constrained" version that allows interaction between rotated latent views for complex visual features.

The Equivariant Search Proof

A key theoretical contribution of this work is the proof that if the model components (encoder, transition, reward, value, and policy) are equivariant, then the entire MCTS process—including visit counts, Q-values, and final action selection—is also equivariant. This ensures that the agent's internal planning naturally inherits the symmetries of the world model.

Commutative diagram illustrating the equivariant relationships between the state space $S$, latent space $Z$, and output space $\mathbb{R}^l$ under group transformations.

Results

The authors evaluated EqMuZero on MiniPacman and the Chaser environment from the ProcGen suite, testing on training maps, rotated versions of those maps, and entirely new layouts.

  • Zero-Shot Generalization: EqMuZero maintained perfect performance on rotated versions of training maps, whereas the standard MuZero baseline's performance plummeted. It also showed significantly better generalization to entirely new maze layouts.
  • Data Efficiency: In low-data regimes (e.g., training on only 5 maps), EqMuZero outperformed the baseline by a wide margin. The authors noted that standard MuZero required up to 20 times more training data to match EqMuZero's performance.
  • Ablation Studies: Even partial equivariance (e.g., only in the encoder) provided benefits, but full end-to-end equivariance yielded the best results.

Conclusion

Equivariant MuZero demonstrates that baking inductive biases about environment symmetries into the model-based RL loop leads to massive gains in efficiency and robustness. While currently focused on discrete symmetries like $C_4$, future work aims to extend this to continuous symmetries ($SO(3)$) for 3D robotics and explore automated symmetry discovery to remove the need for manual group specification.

Summary updated

BibTeX
@article{deac2023equivariant,
  author = {Andreea Deac and Theophane Weber and George Papamakarios},
  title = {{Equivariant MuZero}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2023},
}
Figure