Equivariant Reinforcement Learning under Partial Observability

Hai Nguyen, Andrea Baisero, David Klee, Dian Wang, Robert Platt, Christopher Amato

Abstract

Incorporating inductive biases is a promising approach for tackling challenging robot learning domains with sample-efficient solutions. This paper identifies partially observable domains where symmetries can be a useful inductive bias for efficient learning. Specifically, by encoding the equivariance regarding specific group symmetries into the neural networks, our actor-critic reinforcement learning agents can reuse solutions in the past for related scenarios. Consequently, our equivariant agents outperform non-equivariant approaches significantly in terms of sample efficiency and final performance, demonstrated through experiments on a range of robotic tasks in simulation and real hardware.

Introduction

Standard Reinforcement Learning (RL) is notoriously "sample-hungry," often requiring millions of interactions to learn even simple behaviors. In robotics, where every interaction has a physical cost, this inefficiency is a major bottleneck. A powerful solution is the use of inductive bias—incorporating prior knowledge about the world's structure into the learning model.

One of the most effective biases is symmetry. If a robot learns to pick up an object at one orientation, it should ideally not have to relearn the entire motion for the same object rotated by 90 degrees. While previous research has successfully applied equivariance—the property where a transformation of the input results in a corresponding transformation of the output—to fully observable environments, most real-world robotic tasks are Partially Observable Markov Decision Processes (POMDPs).

The Challenge of Partial Observability

In a POMDP, the agent does not have access to the full state of the environment. For example, a robot might not know if a drawer is locked until it attempts to pull it. The agent must rely on a history of observations and an internal memory to make decisions.

Symmetry in a partially observable drawer-opening task. The agent must interact to determine if a drawer is locked; this knowledge should be equivariant under rotation.

The core challenge addressed in this work is maintaining symmetry guarantees when the agent's decision-making depends on this internal "memory." The authors theoretically extend group-invariant MDP theory to the partially observable setting, proving that if a POMDP respects certain symmetries, there exists an optimal policy that is equivariant and an optimal value function that is invariant.

Equivariant Architecture

To implement these theoretical findings, the authors developed a memory-based actor-critic agent where every component is symmetry-aware.

  1. Equivariant Feature Extractors: The agent uses steerable CNNs to process top-down depth images, ensuring features are extracted in a way that respects spatial rotations.
  2. Equivariant LSTM: This is the central innovation. Standard LSTMs do not respect spatial symmetries because their internal gates use standard linear transformations. The authors replaced these with equivariant convolutions, ensuring the agent's internal hidden state (its "memory") transforms correctly as the environment rotates.
  3. Equivariant Actor and Invariant Critic: The actor outputs actions (such as velocities) that rotate in sync with the input, while the critic outputs a scalar value (expected reward) that remains invariant to orientation.
Visualizing different types of equivariant transformations: (a) translation, (b) state/direction, and (c) representation/color.

Experimental Evaluation

The proposed approach, Equi-RSAC, was evaluated across several domains:

  • Grid-World (CarFlag): Custom domains designed to test spatial reasoning and memory.
  • Robot Manipulation (BulletArm): Four simulated tasks—Block-Picking, Block-Pulling, Block-Pushing, and Drawer-Opening—requiring the robot to distinguish between identical-looking objects through interaction.
  • Real-World Validation: Policies trained in simulation were deployed zero-shot on a physical UR5 robot arm.

Key Results and Insights

  • Superior Sample Efficiency: In complex tasks like Drawer-Opening, Equi-RSAC reached near-perfect success rates while standard baselines like SAC or DreamerV3 struggled to learn. The architectural equivariance allows the model to generalize to all rotations instantly, even before seeing a training sample at a specific angle.
  • Active Sensing: Equivariant agents are significantly better at learning "information gathering" behaviors. In the drawer task, the agent learns that "try left" and "try right" are symmetric versions of the same logic, accelerating the discovery of optimal strategies.
  • Zero-Shot Transfer: The simulation-trained policies performed remarkably well on real hardware, achieving a 90% success rate on Block-Picking and 80% on Drawer-Opening without any real-world fine-tuning.

Conclusion

By extending equivariance to partially observable environments and designing a novel equivariant LSTM, this work provides a robust framework for sample-efficient robot learning. While the approach currently requires pre-defined symmetry groups, its ability to drastically reduce training time and enable zero-shot transfer makes it a significant step toward practical, real-world robotic RL.

Summary updated

BibTeX
@inproceedings{nguyen2023equivariant,
  author = {Hai Nguyen and Andrea Baisero and David Klee and Dian Wang and Robert Platt and Christopher Amato},
  title = {{Equivariant Reinforcement Learning under Partial Observability}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=k5ayL0lt2X},
}
Figure