Recurrent Control Nets for Deep Reinforcement Learning

Vincent Liu, Ademi Adeniji, Nathaniel Lee, Jason Zhao, Mario SroujiarXiv 2019

Introduction

Generating smooth, rhythmic motion in robotic systems remains a significant challenge in Reinforcement Learning (RL). While animals naturally exhibit coordinated gaits through biological circuits, artificial agents often struggle with jerky movements. This paper introduces the Recurrent Control Net (RCN), an architecture that combines the structural benefits of partitioned control with the temporal memory of Recurrent Neural Networks (RNNs) to achieve more natural locomotive patterns.

Problem Statement

In nature, Central Pattern Generators (CPGs) produce rhythmic patterns—such as walking or swimming—without requiring constant high-level cognitive input. Conversely, standard artificial neural networks, like Multilayer Perceptrons (MLPs), often lack an internal sense of rhythm or "memory" of previous states, leading to inefficient and disjointed motion. While Structured Control Nets (SCNs) attempted to address this by splitting control into linear and non-linear components, they still lacked the temporal context necessary for sustained cyclic motion.

Methodology

The authors propose the Recurrent Control Net (RCN), which integrates two key architectural principles:

  1. The SCN Split: The policy is divided into a Linear Module for immediate, local control and a Nonlinear Module for complex, global coordination.
  2. Recurrence: The nonlinear component utilizes a Recurrent Neural Network (RNN) instead of a standard MLP.
The RCN architecture splits control into linear and nonlinear modules, where the nonlinear part is a recurrent unit.

The RNN maintains a hidden state that serves as a memory of past observations, allowing the agent to track its position within a movement cycle. These networks were optimized using Evolutionary Strategies (ES), a gradient-free method. To streamline the search space for ES, the authors intentionally omitted bias vectors, reducing the total parameter count.

Experimental Setup

The RCN was evaluated on the OpenAI Gym platform using the MuJoCo physics engine across four locomotive benchmarks:

  • Walker2d-v2: A bipedal walking task.
  • Humanoid-v2: A complex 3D human-like figure.
  • Swimmer-v2: A multi-segment robot in a fluid environment.
  • HalfCheetah-v2: A 2D four-legged robot optimized for speed.

Results and Discussion

The RCN consistently demonstrated superior performance and efficiency compared to standard baselines.

Comparison of episodic rewards on HalfCheetah-v2, demonstrating the performance gains of RCN over MLP and SCN.

Key Insights:

  • Rhythmic Intuition via Recurrence: The RNN's hidden state effectively encodes the "phase" of movement, acting as a digital CPG.
  • The Complexity Trap: Interestingly, simpler vanilla RNNs outperformed more complex units like LSTMs and GRUs when trained with ES. The authors suggest that the additional parameters in gated units create local optima that hinder gradient-free optimization.
  • Synergy of Linear and Recurrent Paths: The RCN outperformed standalone RNNs, suggesting that the linear path handles immediate physics interactions, freeing the recurrent module to focus on global rhythm.
  • Parameter Efficiency: RCNs achieved state-of-the-art results with significantly fewer parameters than standard MLP baselines.

Conclusion

The Recurrent Control Net provides a robust framework for learning rhythmic locomotive tasks by mimicking biological control structures. While the "complexity trap" of LSTMs/GRUs was observed under Evolutionary Strategies, future work may explore gradient-based methods like PPO to leverage more complex memory units. Additionally, exploring temporal convolutions as an alternative to recurrence remains a promising avenue for high-dimensional tasks.

Summary updated

BibTeX
@misc{liu2019recurrent,
  author = {Vincent Liu and Ademi Adeniji and Nathaniel Lee and Jason Zhao and Mario Srouji},
  title = {{Recurrent Control Nets for Deep Reinforcement Learning}},
  year = {2019},
  eprint = {1901.01994},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.01994},
}
Figure