Technical Report: Adaptive Control for Linearizable Systems Using On-Policy Reinforcement Learning

Tyler Westenbroek, Eric Mazumdar, David Fridovich-Keil, Valmik Prabhu, Claire J. Tomlin, S. Shankar SastryarXiv 2020

Introduction

In robotics and autonomous systems, the dual requirements of adaptability and safety often create a significant engineering tension. While systems must adapt to unknown or changing physical dynamics, they must also maintain rigorous stability guarantees to prevent catastrophic failure. Traditionally, researchers have relied on Model-Reference Adaptive Control (MRAC) for these guarantees. However, MRAC is prone to mathematical "singularities"—points where the controller attempts to invert a non-invertible model, leading to a loss of controllability.

Conversely, Reinforcement Learning (RL) offers powerful tools for online adaptation but frequently lacks the formal stability certificates required for safety-critical hardware. This report details a framework that bridges these domains, utilizing on-policy reinforcement learning to adaptively control nonlinear systems while maintaining high-confidence stability bounds.

Problem Statement

The integration of adaptive control and RL faces two primary hurdles:

  1. The Singularity Problem: Standard adaptive techniques often require an invertible system model. If the estimated parameters lead to a singular matrix, the control law fails. To prevent this, engineers typically constrain parameters to narrow, known-safe regions, which significantly limits the system's ability to learn from new data.
  2. Continuous-Discrete Mismatch: While most adaptive control theory is formulated in continuous-time, RL is implemented in discrete-time (sampled-data) settings. This sampling can break the affine relationships and mathematical structures that control theorists use to prove stability.

Proposed Methodology

The proposed framework combines Feedback Linearization—a method that cancels out nonlinearities to transform a system into a linear one—with Policy Gradient Reinforcement Learning.

Sampled-Data RL Implementation

Recognizing that real-world robots operate at specific sampling rates, the authors implement a discrete-time version of the control law. They utilize an Euler approximation of the reward signal and a policy gradient update (analogous to the REINFORCE algorithm) to approximate the ideal continuous-time behavior.

Probing Noise and Persistence of Excitation

To facilitate learning, Gaussian "probing noise" is injected into the control signal. This noise serves a dual purpose:

  • Gradient Estimation: It allows the policy gradient to estimate the slope of the reward function.
  • Persistence of Excitation (PE): It ensures the system explores its state space sufficiently to reveal the underlying dynamics, a prerequisite for accurate parameter convergence.

Stochastic Approximation

By leveraging tools from stochastic approximation literature, the authors demonstrate that the system remains stable despite the inherent noise and the discrete-time sampling intervals. This allows for the use of general function approximators, such as neural networks or radial basis functions, without the risk of the controller "blowing up" during the learning phase.

Key Theoretical Insights

Theorem 1: High-Probability Stability

The core contribution of this work is a mathematical bound on the expected tracking error. The authors prove that the error decays exponentially toward a small neighborhood around zero. The size of this neighborhood is determined by the sampling rate ($\Delta t$) and the noise level ($\sigma$). Unlike traditional proofs that claim absolute stability, this framework provides a high-confidence bound, showing that with probability $1 - \lambda$, the tracking error will remain within a specified concentration.

The Bias-Variance Tradeoff

The research quantifies a fundamental tradeoff in adaptive RL: decreasing noise reduces the variance of the learning process, but the bias of the gradient estimate is fundamentally limited by the sampling interval. This implies that a slow sampling rate creates an inherent floor for the accuracy of the gradient estimate that cannot be overcome by noise reduction alone.

Experimental Results: Double Pendulum Simulation

The framework was evaluated using a simulated Double Pendulum, a classic nonlinear system. The "true" system parameters (mass and length) were hidden from the controller, which began with inaccurate measurements scaled to 1.3x the true values.

Using 250 radial basis functions as function approximators, the adaptive RL controller successfully reduced tracking error over time. In comparison, a standard model-based controller using the same initial inaccurate parameters remained stuck with high error, as it lacked the mechanism to update its internal model of the physics online.

Limitations and Future Directions

While the framework provides a robust path forward for stable online learning, several challenges remain:

  • Persistence of Excitation (PE): Ensuring the system moves enough to learn without violating safety constraints is difficult in high-dimensional tasks.
  • Full State Measurement: The current theory assumes the system can perfectly measure its entire state. Future research will need to address "output feedback" scenarios where only partial or noisy measurements are available.
  • Baseline Integration: While RL baselines are commonly used to reduce variance, a rigorous theoretical analysis of how different baseline types affect these stability proofs is still required.

Summary updated

BibTeX
@misc{westenbroek2020technical,
  author = {Tyler Westenbroek and Eric Mazumdar and David Fridovich-Keil and Valmik Prabhu and Claire J. Tomlin and S. Shankar Sastry},
  title = {{Technical Report: Adaptive Control for Linearizable Systems Using On-Policy Reinforcement Learning}},
  year = {2020},
  eprint = {2004.02766},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.02766},
}
Figure