Reinforcement Learning Using known Invariances

Alexandru Cioba, Aya Kayal, Laura Toni, Sattar Vakili, Alberto Bernacchia

TL;DR

This paper introduces a theoretical and algorithmic framework to embed known group symmetries (like rotations or reflections) directly into kernel-based reinforcement learning. By using invariant kernels within an optimistic least-squares value iteration algorithm, the authors prove a theoretical reduction in sample complexity and demonstrate significant empirical performance gains over standard approaches.

What Problem Does This Paper Address?

Reinforcement Learning (RL) has achieved massive success in complex tasks, but it remains notoriously sample-inefficient, often requiring millions of trials to learn basic behaviors. In many real-world applications—such as robotics, autonomous driving, and chip design—the environment possesses inherent geometric symmetries. For instance, a robotic arm operating in a circular workspace faces the same physics regardless of its rotation, and a self-driving car handles a mirrored road similarly to a standard one.

Standard RL algorithms typically ignore these structural priors, forcing the agent to redundantly relearn the dynamics and rewards for symmetric states. While deep RL often uses data augmentation or specialized neural architectures to handle symmetry heuristically, this paper addresses the lack of rigorous theoretical guarantees for symmetry-aware RL under non-linear function approximation.

Methods

The authors propose a symmetry-aware variant of Kernel-based Optimistic Value Iteration (KOVI). Their approach leverages invariant kernels to natively restrict the learning process to a smaller, structured function class within a Reproducing Kernel Hilbert Space (RKHS).

Given a base kernel $k$ and a finite symmetry group $G$, they construct a totally invariant kernel $k_G$ by averaging over all group transformations: $$k_G(z, z') = \frac{1}{|G|} \sum_{g \in G} k(g(z), z')$$

This kernel is then integrated into a Least-Squares Value Iteration (LSVI) loop with an upper confidence bonus to drive exploration.

Crucially, the paper provides a rigorous theoretical analysis by bounding two key kernel complexity measures:

  1. Maximum Information Gain ($\Gamma$): Quantifies how much information the agent gains about the environment from its observations.
  2. Covering Numbers: Measures the size/complexity of the value function hypothesis space.

The analysis proves that incorporating group symmetries explicitly shrinks the effective hypothesis space, leading to tighter regret bounds.

Datasets

The framework was evaluated across three distinct simulated environments exhibiting natural geometric symmetries:

  • Synthetic MDP: A basic setting with a 1D/2D continuous state-action space featuring simple inversion symmetry ($|G| = 2$).
  • Symmetrized Frozen Lake: A customized navigation task based on OpenAI Gym's FrozenLake-v1. It incorporates the 8-fold symmetry group of a square ($D_4$), tested under both Fixed Layout and Random Layout configurations.
  • 2D Placement Design (SynPl): A simplified floorplanning/chip-placement environment where the agent must sequentially place 8 units on an $8\times8$ grid under geometric constraints. This task also exhibits $D_4$ symmetry.

Key Insights and Ideas

  • The $1/|G|$ Regret Reduction: The core theoretical "aha!" moment is that the cumulative regret scales down inversely with the size of the symmetry group ($|G|$). More symmetries mean a smaller effective state-action space, directly translating to faster learning.
  • Implicit Abstraction: Instead of explicitly mapping the environment to a reduced "abstract" state space (which can be mathematically cumbersome), the invariant kernel handles state aggregation implicitly.
  • Data Efficiency over Deep RL: In data-scarce regimes, non-parametric kernel methods natively incorporating symmetry can vastly outperform deep neural network counterparts (like DQN), which require large amounts of data to generalize effectively.

Key Results

The symmetry-aware KOVI algorithm consistently outperformed standard RBF kernel baselines and neural network approaches across all experiments:

  • Regret Reduction: In the Synthetic and Frozen Lake environments, the invariant kernel significantly reduced cumulative regret compared to standard RBF kernels.
Figure 1: Comparison of KOVI with invariant kernel vs. standard RBF kernel, across different settings. Cumulative regret is plotted against the number of episodes. (a) Regret for synthetic setting. (b) A rendered frame of Frozen Lake. (c,d) Regret for the Frozen Lake, fixed and random setting, respectively. Regret is averaged over 20 random seeds. Shaded area represents the standard error.
  • Comparison to Neural Networks: On the Fixed Frozen Lake task, KOVI with an invariant kernel converged to the maximum reward significantly faster than standard DQN and even its equivariant counterpart, SymDQN.
Comparison of KOVI, DQN, and SymDQN on the FrozenLake (Fixed) environment.
  • 2D Placement (SynPl): The invariant kernel achieved lower cumulative regret and successfully discovered optimal symmetric layouts where standard kernels lagged behind.

Limitations and Future Work

Despite its sample efficiency, the algorithm suffers from high computational complexity. Because Gaussian Process / kernel models are refitted at every step using the entire history of samples, exact kernel matrix inversion scales cubically with the number of steps, leading to an overall time complexity of $\mathcal{O}(HT^4)$. This makes the vanilla algorithm prohibitive for tasks requiring more than a few thousand samples.

The authors suggest that this bottleneck can be mitigated in practice using rank-1 Cholesky updates or sparse Gaussian Process approximations. For future work, they propose extending this framework to handle high-dimensional input domains and environments with only partial or approximate symmetries.

Summary updated

BibTeX
@inproceedings{cioba2026reinforcement,
  author = {Alexandru Cioba and Aya Kayal and Laura Toni and Sattar Vakili and Alberto Bernacchia},
  title = {{Reinforcement Learning Using known Invariances}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=5InIWpmXwm},
}
Figure