Approximate Equivariance in Reinforcement Learning

Jung Yeon Park, Sujay Bhatt, Sihan Zeng, Lawson L. S. Wong, Alec Koppel +2 more
11/6/2024
cs.LG

Official code: jypark0/approx_equiv_rl (0 stars, MIT, last commit 2025-05-01).

Abstract

Equivariant neural networks have shown great success in reinforcement learning, improving sample efficiency and generalization when there is symmetry in the task. However, in many problems, only approximate symmetry is present, which makes imposing exact symmetry inappropriate. Recently, approximately equivariant networks have been proposed for supervised classification and modeling physical systems. In this work, we develop approximately equivariant algorithms in reinforcement learning (RL). We define approximately equivariant MDPs and theoretically characterize the effect of approximate equivariance on the optimal $Q$ function. We propose novel RL architectures using relaxed group and steerable convolutions and experiment on several continuous control domains and stock trading with real financial data. Our results demonstrate that the approximately equivariant network performs on par with exactly equivariant networks when exact symmetries are present, and outperforms them when the domains exhibit approximate symmetry. As an added byproduct of these techniques, we observe increased robustness to noise at test time. Our code is available at https://github.com/jypark0/approx_equiv_rl.

View on arXivView PDF

Code Implementations(1)

MIT
00Shell, PythonMar 6, 20251 years agoMIT

Similar Papers

Cite this paper

@article{park2024approximate,
  title  = {Approximate Equivariance in Reinforcement Learning},
  author = {Jung Yeon Park and Sujay Bhatt and Sihan Zeng and Lawson L. S. Wong and Alec Koppel and Sumitra Ganesh and Robin Walters},
  year   = {2024},
  eprint = {2411.04225},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.04225v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.04225.svg)](https://codeofpaper.com/paper/2411.04225)

Discussion