Learning Over Contracting and Lipschitz Closed-Loops for Partially-Observed Nonlinear Systems

Nicholas H. Barbara, Ruigang Wang, Ian R. Manchester

TL;DR

This paper introduces a novel framework, the "Youla-REN," for learning robust and stable control policies for complex, partially-observed nonlinear systems. By leveraging a nonlinear extension of the Youla parameterization and Recurrent Equilibrium Networks (RENs), the Youla-REN automatically guarantees stability and robustness, enabling safer and more reliable learning-based control.

What Problem Does This Paper Address?

Developing effective control strategies for nonlinear systems, especially those where not all states are directly measurable (partially-observed), is a significant challenge. Traditional control methods often struggle with the complexity and uncertainty inherent in these systems. While deep reinforcement learning (RL) has shown promise, it often lacks the formal stability and robustness guarantees that are crucial for safety-critical applications like robotics. Existing approaches to parameterize stabilizing controllers for nonlinear systems are either limited in scope, difficult to implement in practice, or don't directly address partially-observed scenarios. This paper aims to bridge this gap by providing a learning framework that inherently enforces stability and robustness, making it suitable for real-world applications where safety is paramount.

Methods

The core contribution of this paper is the Youla-REN policy class. This framework combines two key ideas:

  1. Nonlinear Youla Parameterization: The authors extend the classical Youla-Kucera parameterization (which works for linear systems) to nonlinear systems. This parameterization represents the set of all stabilizing controllers.
  2. Recurrent Equilibrium Networks (RENs): RENs are a class of neural networks that are particularly adept at approximating contracting and Lipschitz systems.

By using RENs to parameterize the "Youla parameter" (denoted as Q), the Youla-REN policy class ensures that the resulting closed-loop system automatically satisfies two crucial properties:

  • Contraction: This is a strong notion of stability where the system's state exponentially forgets its initial conditions.
  • Lipschitz Continuity: This property guarantees robustness to external disturbances or changes in inputs.

The paper proves that if the base controller is already stabilizing and the Youla parameter Q is contracting and Lipschitz, then the overall closed-loop system will also be contracting and Lipschitz. This means that learning can proceed without explicit constraints or projections to enforce stability, simplifying the training process.

Datasets

The paper evaluates the Youla-REN policy class on two simulated reinforcement learning tasks:

  1. Magnetic Suspension: A one-dimensional system where a ball is controlled vertically by an electromagnet.
  2. Rotary-Arm Pendulum: A system where a pendulum is swung up and balanced on a rotating arm.

These are standard benchmarks in control and robotics, chosen for their nonlinear and partially-observed nature. The authors do not introduce new datasets but rather use these established environments to demonstrate the effectiveness of their proposed method.

Key Insights and Ideas

  • Automatic Stability and Robustness: The most significant insight is that by parameterizing controllers using contracting and Lipschitz RENs within a Youla framework, stability and robustness are inherently guaranteed. This is a major step towards safe learning-based control.
  • Tunable Performance-Robustness Trade-off: The Lipschitz bound of the REN parameter (denoted by γ) can be directly tuned. A stronger bound (smaller γ) leads to more robust policies, albeit potentially at the cost of some performance in unperturbed scenarios. This provides a practical way to balance these critical control objectives.
  • Simplicity of Learning: The Youla-REN approach avoids complex projections or constraints during training, making the learning process more straightforward and efficient compared to methods that require such mechanisms.
  • Generalizability: The framework is designed for general nonlinear, partially-observed systems, suggesting broad applicability.

Key Results

  • Comparable Performance: In simulations, the Youla-REN policies achieved performance comparable to existing state-of-the-art methods like nonlinear model predictive control (NMPC) and Feedback-LSTM policies on both the magnetic suspension and rotary-arm pendulum tasks.
  • Improved Robustness: The Youla-REN demonstrated superior robustness to adversarial attacks compared to Feedback-LSTM and base controllers, especially in the more complex rotary-arm pendulum task.
  • Effect of Lipschitz Bound: The experiments clearly showed that increasing the Lipschitz bound (smaller γ) improved robustness to adversarial attacks, though it could lead to slightly worse performance in the absence of attacks.
  • Training Efficiency: The paper highlights that training RENs directly is less conservative and faster than methods involving weight rescaling or solving large semi-definite programs.

Limitations and Future Work

  • Tuning the Lipschitz Bound: While the Lipschitz bound offers a tunable trade-off, finding the optimal bound for a specific problem requires careful tuning, as demonstrated by the example where an overly strong bound could lead to worse policies.
  • Perturbed Systems: The paper notes that the guaranteed contraction and Lipschitz properties might not hold under bounded but unknown additive disturbances, as illustrated in Example 1. Future work could explore how to handle such uncertainties more effectively.
  • Real-World Deployment: The current work is demonstrated in simulation. Extending the Youla-REN to real-world robotic systems would be a crucial next step to validate its practical utility and address potential challenges like sensor noise and actuator limitations.
  • Observer Design: While the paper assumes a correct and contracting observer, developing more robust and adaptive observer designs within this framework could further enhance its applicability.

Summary updated

BibTeX
@inproceedings{barbara2023learning,
  author = {Nicholas H. Barbara and Ruigang Wang and Ian R. Manchester},
  title = {{Learning Over Contracting and Lipschitz Closed-Loops for Partially-Observed Nonlinear Systems}},
  booktitle = {CDC},
  year = {2023},
  url = {https://openreview.net/forum?id=5KN8BxMb1R},
}
Figure