Uploaded May 2023 | Updated November 2026, 12 hours ago
Control design for robotic systems is complex and often requires solving an optimization to follow a trajectory accurately. Online optimization approaches like Model Predictive Control (MPC) have been shown to achieve great tracking performance, but require high computing power. Conversely, learning-based offline optimization approaches, such as Reinforcement Learning (RL), allow fast and efficient execution on the robot but hardly match the accuracy of MPC in trajectory tracking tasks. In systems with limited compute, such as aerial vehicles, an accurate controller that is efficient at execution time is imperative. We propose an Analytic Policy Gradient (APG) method to tackle this problem. APG exploits the availability of differentiable simulators by training a controller offline with gradient descent on the tracking error. We address training instabilities that frequently occur with APG through curriculum learning and experiment on a widely used controls benchmark, the CartPole, and two common aerial robots, a quadrotor and a fixed-wing drone. Our proposed method outperforms both model-based and model-free RL methods in terms of tracking error. Concurrently, it achieves similar performance to MPC while requiring more than an order of magnitude less computation time. Our work provides insights into the potential of APG as a promising control method for robotics. To facilitate the exploration of APG, we open-source our code and make it publicly available.
Reference:
Nina Wiedemann, Valentin Wüest, Antonio Loquercio, Matthias Müller, Dario Floreano, Davide Scaramuzza
Training Efficient Controllers via Analytic Policy Gradient
IEEE International Conference on Robotics and Automation, 2023
PDF: arxiv.org/pdf/2209.13052
Code: github.com/lis-epfl/apg_trajectory_tracking
For more information about our research, visit these pages:
1. Agile Drone Flight: https://rpg.ifi.uzh.ch/aggressive_flight.html
2. Autonomous Drone Racing: https://rpg.ifi.uzh.ch/research_drone_racing.html
3. Machine Learning: https://rpg.ifi.uzh.ch/research_learning.html
4. Vision-based Navigation for Micro Aerial Vehicles (MAVs): https://rpg.ifi.uzh.ch/research_mav.html
5. Active Vision and Exploration: https://rpg.ifi.uzh.ch/research_active_vision.html
Affiliations:
Robotics and Perception Group, Dep. of Informatics, University of Zurich, and Dep. of Neuroinformatics, University of Zurich and ETH Zurich, Switzerland. http://rpg.ifi.uzh.ch/
Laboratory of Intelligent Systems, École Polytechnique Fédérale de Lausanne (EPFL). https://www.epfl.ch/labs/lis/
Embodied AI Lab, Intel.
Control design for robotic systems is complex and often requires solving an optimization to follow a trajectory accurately. Online optimization approaches like Model Predictive Control (MPC) have been shown to achieve great tracking performance, but require high computing power. Conversely, learning-based offline optimization approaches, such as Reinforcement Learning (RL), allow fast and efficient execution on the robot but hardly match the accuracy of MPC in trajectory tracking tasks. In systems with limited compute, such as aerial vehicles, an accurate controller that is efficient at execution time is imperative. We propose an Analytic Policy Gradient (APG) method to tackle this problem. APG exploits the availability of differentiable simulators by training a controller offline with gradient descent on the tracking error. We address training instabilities that frequently occur with APG through curriculum learning and experiment on a widely used controls benchmark, the CartPole, and two common aerial robots, a quadrotor and a fixed-wing drone. Our proposed method outperforms both model-based and model-free RL methods in terms of tracking error. Concurrently, it achieves similar performance to MPC while requiring more than an order of magnitude less computation time. Our work provides insights into the potential of APG as a promising control method for robotics. To facilitate the exploration of APG, we open-source our code and make it publicly available.
Reference:
Nina Wiedemann, Valentin Wüest, Antonio Loquercio, Matthias Müller, Dario Floreano, Davide Scaramuzza
Training Efficient Controllers via Analytic Policy Gradient
IEEE International Conference on Robotics and Automation, 2023
PDF: arxiv.org/pdf/2209.13052
Code: github.com/lis-epfl/apg_trajectory_tracking
For more information about our research, visit these pages:
1. Agile Drone Flight: https://rpg.ifi.uzh.ch/aggressive_flight.html
2. Autonomous Drone Racing: https://rpg.ifi.uzh.ch/research_drone_racing.html
3. Machine Learning: https://rpg.ifi.uzh.ch/research_learning.html
4. Vision-based Navigation for Micro Aerial Vehicles (MAVs): https://rpg.ifi.uzh.ch/research_mav.html
5. Active Vision and Exploration: https://rpg.ifi.uzh.ch/research_active_vision.html
Affiliations:
Robotics and Perception Group, Dep. of Informatics, University of Zurich, and Dep. of Neuroinformatics, University of Zurich and ETH Zurich, Switzerland. http://rpg.ifi.uzh.ch/
Laboratory of Intelligent Systems, École Polytechnique Fédérale de Lausanne (EPFL). https://www.epfl.ch/labs/lis/
Embodied AI Lab, Intel.










