Exploring Deep and Recurrent Architectures for Optimal Control

Sergey LevinearXiv 2013

Abstract

This paper investigates the application of deep and recurrent neural network architectures to complex robotic control tasks, specifically bipedal locomotion. While deep learning has seen significant success in perception, its role in direct motor control has been less explored. Using Guided Policy Search (GPS), we demonstrate that hierarchical and temporal representations allow controllers to generalize better to diverse terrains compared to traditional shallow architectures. Our results indicate that as the variety of training environments increases, the performance gap between deep/recurrent models and shallow models widens, suggesting that architectural complexity is a key driver for robust robotic behavior.

Introduction

By 2013, deep learning had fundamentally changed computer vision and natural language processing. However, in robotics, "deep" components were primarily relegated to perception—processing raw sensor data—while the actual control logic remained largely hand-engineered or based on simple linear models. Training high-dimensional neural networks to map raw states directly to joint torques is challenging due to unstable gradients and the precision required for physical balance. This study explores whether the representational power of deep and recurrent networks can be leveraged to create more capable and generalizable control policies.

To overcome the difficulties of training complex networks from scratch, the study utilizes Guided Policy Search (GPS). This approach decomposes the reinforcement learning problem into two manageable phases:

  1. Trajectory Optimization: Differential Dynamic Programming (DDP) is used to find optimal action sequences for specific task instances. These serve as high-quality "expert" demonstrations.
  2. Supervised Learning: The neural network policy is trained to mimic these optimized trajectories. This transforms a difficult RL problem into a more stable supervised learning task.
  3. Iterative Refinement: The process alternates between improving the trajectories based on the current policy and improving the policy to match the trajectories.

The study evaluates three primary architectures: Shallow (single-layer), Deep (two-layer), and Recurrent (single-layer with hidden state). Additionally, the impact of activation functions—specifically "soft" (Softplus) versus "hard" (ReLU)—is examined.

Experimental Setup

The architectures were tested on a simulated Planar Biped Locomotion task. The robot must navigate rough terrains with slopes between $-10^\circ$ and $+10^\circ$ while maintaining target velocity and stability. The state space is 30-dimensional, including joint angles, velocities, and contact sensors, with the policy outputting joint torques.

The bipedal robot navigating various training and test terrains.

Controllers were trained on sets of 1, 5, or 10 randomly generated terrains and then evaluated on a separate set of 10 test terrains to assess generalization capabilities.

Key Results and Insights

The experiments revealed several critical findings regarding the nature of control data and architectural performance:

  • Generalization and Depth: A clear trend emerged: as the number of training examples increased, deep and recurrent networks significantly outperformed shallow ones. While shallow networks could "memorize" a single terrain, they struggled to learn the underlying physics required for diverse environments.
  • Architecture and Optimization: Deep networks performed best with soft activations and second-order optimization (LBFGS). Conversely, recurrent networks benefited from hard ReLUs, which helped mitigate gradient issues during backpropagation through time.
  • Precision vs. Regularization: Unlike image classification, control requires extreme numerical precision. Standard regularization techniques like sparsity penalties often degraded performance, as they disrupted the fine-tuned covariance necessary for balance.
Success rates on training and test terrains for various architectures. Deep and recurrent models show superior generalization as training examples increase.

Discussion and Future Work

While deep and recurrent architectures offer superior representational capacity, they are also more prone to local optima. The optimization process often settles for "good enough" solutions that do not fully utilize the network's potential. Future research should focus on curriculum learning to guide networks toward better global optima and developing regularization schemes specifically tailored for the high-precision requirements of robotic control. Moving toward variational objectives may also improve the scalability of these methods via stochastic gradient descent.

Summary updated

BibTeX
@misc{levine2013exploring,
  author = {Sergey Levine},
  title = {{Exploring Deep and Recurrent Architectures for Optimal Control}},
  year = {2013},
  eprint = {1311.1761},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.1761},
}
Figure