A Policy Optimization Method Towards Optimal-time Stability

Shengjie Wang, Fengbo Lan, Xiang Zheng, Yuxue Cao, Oluwatosin Oseni, Haotian Xu, Yang Gao, Tao Zhang · DOI

Abstract

In current model-free reinforcement learning (RL) algorithms, stability criteria based on sampling methods are commonly utilized to guide policy optimization. However, these criteria only guarantee the infinite-time convergence of the system's state to an equilibrium point, which leads to sub-optimality of the policy. In this paper, we propose a policy optimization technique incorporating sampling-based Lyapunov stability. Our approach enables the system's state to reach an equilibrium point within an optimal time and maintain stability thereafter, referred to as "optimal-time stability". To achieve this, we integrate the optimization method into the Actor-Critic framework, resulting in the development of the Adaptive Lyapunov-based Actor-Critic (ALAC) algorithm. Through evaluations conducted on ten robotic tasks, our approach outperforms previous studies significantly, effectively guiding the system to generate stable patterns.

Introduction

In robotic control, stability is a fundamental requirement. We aim for systems that complete tasks without oscillating or diverging. Traditional control theory relies on Lyapunov functions—mathematical models demonstrating that a system will eventually settle into equilibrium. However, modern model-free Reinforcement Learning (RL) often faces a timing issue: existing stability-constrained algorithms typically only guarantee infinite-time convergence. This means a robot will eventually stabilize, but it may take an inefficiently long time to do so, resulting in sub-optimal policies. This research introduces "optimal-time stability," where a system reaches its goal as quickly as possible while maintaining rigorous stability.

The ALAC Framework

To address this, we developed the Adaptive Lyapunov-based Actor-Critic (ALAC) algorithm. ALAC integrates stability checks directly into the standard Actor-Critic architecture.

The ALAC framework architecture

The methodology consists of four key components:

  1. Sampling-based Lyapunov Stability: Instead of requiring a perfect mathematical model, ALAC uses a data-driven approach to identify a Lyapunov function candidate based on observed costs.
  2. Adaptive Constraints: Unlike previous methods with fixed stability parameters, ALAC treats the parameters governing the stability constraint (specifically $\lambda$ and $k$) as learnable.
  3. Lagrangian Optimization: The algorithm employs a Lagrangian-based method to solve the optimization problem, adaptively tightening stability constraints during training to force the policy toward the fastest stable path.
  4. Actor-Critic Integration: The "Critic" evaluates stability while the "Actor" updates the policy to maximize efficiency within those stable bounds.

Defining Optimal-Time Stability

The core innovation lies in recognizing that stability should not be a binary constraint. By minimizing the sum of discounted costs, the system is incentivized to reach equilibrium faster.

Trajectories in State Space

As illustrated in the state space diagram, while a "cyan" path represents a stable but slow sub-optimal trajectory, the "purple" path represents the optimal-time stability that ALAC targets. By making constraint parameters adaptive, the algorithm can explore the environment with loose requirements initially and gradually hone in on the most efficient stable policy.

Experimental Evaluation

ALAC was evaluated on ten diverse robotic control environments using MuJoCo and PyBullet, including:

  • Classic Controls: Cartpole-cost and Point-circle-cost.
  • Locomotion: HalfCheetah, Swimmer, Ant, and Humanoid.
  • Complex Robotics: Minitaur (a quadruped) and space-robotics tasks involving free-floating robotic arms.

Key Results

Benchmarked against six major algorithms (including SAC-cost and LAC), ALAC demonstrated:

  • Superior Optimality: Achieved the lowest accumulated cost across nearly all tasks.
  • Enhanced Reliability: Consistently showed the fewest stability violations.
  • Robustness: Maintained performance under external disturbances better than standard RL methods.
  • Generalization: Successfully adapted to unseen goals, such as different target velocities.

Conclusion

ALAC represents a significant step toward efficient and stable robotic control. While current results are limited to high-fidelity simulations, future work will focus on transitioning these "optimal-time" policies to physical hardware, where sensor noise and friction are more prevalent. Additionally, integrating safety constraints (avoiding obstacles) alongside stability remains a key area for development.

Summary updated

Abstract

In current model-free reinforcement learning (RL) algorithms, stability criteria based on sampling methods are commonly utilized to guide policy optimization. However, these criteria only guarantee the infinite-time convergence of the system's state to an equilibrium point, which leads to sub-optimality of the policy. In this paper, we propose a policy optimization technique incorporating sampling-based Lyapunov stability. Our approach enables the system's state to reach an equilibrium point within an optimal time and maintain stability thereafter, referred to as "optimal-time stability". To achieve this, we integrate the optimization method into the Actor-Critic framework, resulting in the development of the Adaptive Lyapunov-based Actor-Critic (ALAC) algorithm. Through evaluations conducted on ten robotic tasks, our approach outperforms previous studies significantly, effectively guiding the system to generate stable patterns.
BibTeX
@inproceedings{wang2023policy,
  author = {Shengjie Wang and Fengbo Lan and Xiang Zheng and Yuxue Cao and Oluwatosin Oseni and Haotian Xu and Yang Gao and Tao Zhang},
  title = {{A Policy Optimization Method Towards Optimal-time Stability}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=pu1Y9XTBa5},
}
Figure