Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.42.0
metadata
title: QP-RNN Interactive Demo
emoji: ๐ฎ
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.35.0
app_file: app.py
pinned: false
license: mit
QP-RNN: Quadratic Programming Recurrent Neural Network
This is an interactive demo for the paper "MPC-Inspired Reinforcement Learning for Verifiable Model-Free Control" (L4DC 2024).
What is QP-RNN?
QP-RNN is a novel neural network architecture that combines:
- ๐ฏ Structure of Model Predictive Control (MPC)
- ๐ง Learning capabilities of Deep Reinforcement Learning
- โ Verifiable properties (stability, constraint satisfaction)
At each time step, QP-RNN solves a parameterized Quadratic Program:
min 0.5 * y'Py + q(x)'y
s.t. -1 โค Hy + b(x) โค 1
Where the parameters (P, H, q, b) are learned through RL instead of derived from a model.
Demo Features
This interactive demo lets you:
- ๐ฎ Control a double integrator system with QP-RNN
- ๐ง Adjust controller parameters in real-time
- ๐ Visualize system response and phase portraits
- ๐ See performance metrics and constraint satisfaction
Key Advantages
- Interpretable: QP structure provides clear understanding
- Verifiable: Enables formal stability and safety analysis
- Efficient: Fixed-iteration solver suitable for real-time control
- Robust: Handles constraints and disturbances naturally
Links
- ๐ Paper
- ๐ป GitHub Repository
- ๐ค Full Training Code
Citation
@InProceedings{lu2024mpc,
title={MPC-Inspired Reinforcement Learning for Verifiable Model-Free Control},
author={Lu, Yiwen and Li, Zishuo and Zhou, Yihan and Li, Na and Mo, Yilin},
booktitle={Proceedings of the 6th Conference on Learning for Dynamics and Control},
year={2024}
}