SO(2)-Equivariant Reinforcement Learning
Overview
The paper proposes incorporating rotational symmetry directly into the actor and critic networks of reinforcement learning agents. The main idea is that if rotating a visual state and its corresponding action does not change the reward or transition dynamics, then the agent should not need to learn each orientation independently. Equivariant networks enforce this relation by construction, which can improve sample efficiency compared with learning the same symmetry from data augmentation.
A group-invariant MDP is an MDP in which a group acts on the state and action spaces while preserving the reward and transition function. For every ,
and
The optimal Q-function is therefore invariant when the state and action are transformed together,
while the optimal policy is equivariant,
The paper studies a robotic manipulation task from top-down images. The continuous rotation transformation is approximated using a finite cyclic rotation group . The state is a top-down depth image centered on the gripper. The action is
where the planar displacement rotates with the image, while the gripper command , vertical displacement , and change in gripper orientation remain invariant. Thus,
and the group acts on an action as
Equivariant DQN
For DQN, the equivariant and invariant action variables are discretized into and . Rather than producing an unstructured vector of Q-values, the network outputs a function
The spatial location of represents an equivariant action such as an displacement, while its channels represent the invariant action variables. The Q-network is constructed from equivariant convolutional layers and satisfies
The transformed output is defined by
Therefore, rotating the input image rotates the spatial Q-map but leaves its invariant-action channels unchanged. This is equivalent to the desired joint invariance
the value assigned to an action before rotating the scene is assigned to the correspondingly rotated action afterward. The DQN training objective itself is unchanged; the symmetry is enforced by the network architecture.

Equivariant SAC
SAC learns a continuous policy and a scalar critic. The actor outputs the mean action together with the standard deviation variables of its Gaussian action distribution,
The paper assumes that the standard deviation is invariant; so, only the equivariant action variables rotate:
The actor is an equivariant network constrained to satisfy
Consequently, rotating the observation rotates the predicted planar action while preserving the invariant action components.
The critic must instead be invariant to jointly rotating its state and action. An equivariant encoder first maps the image to a group-structured state representation :
The representation is concatenated with the action to form
The Q-network then maps to a scalar and is constrained by
Combining the encoder and Q-network gives

Equivariant SACfD
Some sparse-reward tasks are difficult to solve without guided exploration. Equivariant SACfD extends Equivariant SAC by first adding expert demonstrations from a hand-coded planner to the replay buffer. It also adds a behavior-cloning term to the actor loss for transitions that come from an expert demonstration:
where is the expert action and for an expert transition and otherwise. The additional term makes the sampled policy action imitate the expert action without changing the ordinary SAC loss for non-expert transitions.
Backlinks
Notes that reference this page.
Connections
Direct relationships to this note.