Latent exploration for Reinforcement Learning

Alberto Silvio Chiappa, Alessandro Marin Vargas, Ann Huang, Alexander Mathis

Introduction

In Reinforcement Learning (RL), exploration is typically achieved by adding random Gaussian noise to an agent's actions. While effective for low-dimensional tasks, this "brute force" approach often fails in complex, overactuated systems like humanoids or musculoskeletal models. In such systems, independent noise across many actuators leads to uncoordinated movements and energy waste, as muscles or motors often work against each other.

Lattice (LATent TIme-Correlated Exploration) addresses this by shifting exploration from the final action output to the policy network's latent state. By perturbing the latent representation, the agent explores using learned motor synergies, resulting in more structured, energy-efficient, and effective learning.

Methodology

The core innovation of Lattice is the injection of temporally-correlated noise into the last hidden layer (latent state) of the policy network. This approach generalizes previous methods like Generalized State-Dependent Exploration (gSDE), which only considers time correlation, by adding actuator correlation.

Overview of the Lattice architecture (A), its mathematical relationship to other exploration methods (B), and the time-correlation mechanism (C).

As illustrated in the figure above, Lattice perturbs the latent state $x$ before it is transformed by the output weight matrix $W$. The resulting action $a$ is defined as:

$$a = (W + P_a + \alpha W P_x)x$$

Where $W$ represents the learned weights, $P_a$ is the action-space perturbation, $P_x$ is the latent-space perturbation, and $\alpha$ is a scaling factor. By perturbing the latent state, the noise in the action space becomes a multivariate Gaussian with a full covariance matrix induced by the network's weights. This allows the agent to explore by adjusting high-level synergies rather than individual, independent muscle twitches.

Results

Lattice was evaluated across two major benchmarks: PyBullet Locomotion (including a complex Humanoid task) and MyoSuite (musculoskeletal control).

  • Performance and Synergy: Lattice leverages the network's learned knowledge of actuator synergies. In humanoid locomotion, Lattice-SAC achieved rewards up to 18% higher than standard unstructured exploration.
  • Energy Efficiency: Because exploration is coordinated, agents trained with Lattice are significantly more energy-efficient, showing 20% to 60% less energy consumption in reaching and manipulation tasks compared to baselines.
  • Task-Space Variance: Latent noise produces higher variance in actual joint movement compared to action noise of the same magnitude, as it avoids the cancellation effects of opposing actuators.

Discussion

While Lattice significantly improves exploration efficiency and energy usage, it introduces a computational overhead of approximately 20-30% due to the modeling of a full covariance matrix. Future research may focus on low-rank approximations to reduce these costs while maintaining the benefits of structured latent exploration. In conclusion, Lattice demonstrates that structured exploration in the latent space is key to mastering overactuated robotic systems.

Summary updated

BibTeX
@inproceedings{chiappa2023latent,
  author = {Alberto Silvio Chiappa and Alessandro Marin Vargas and Ann Huang and Alexander Mathis},
  title = {{Latent exploration for Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=JSVXZKqfLU},
}
Figure