Contextual Tuning of Model Predictive Control for Autonomous Racing

Read original: arXiv:2110.02710 - Published 8/23/2024 by Lukas P. Frohlich, Christian Kuttel, Elena Arcari, Lukas Hewing, Melanie N. Zeilinger, Andrea Carron
Total Score

0

📈

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • Researchers propose a data-efficient approach for tuning both the model and control objective in autonomous racing applications.
  • The key innovation is using a learned dynamics model to encode environmental conditions as "context," enabling efficient knowledge transfer across different conditions.
  • The approach is extensively evaluated on an experimental platform with 1:28 scale RC cars, showing improved lap times compared to standard Bayesian optimization.

Plain English Explanation

Autonomous racing is an exciting application of robotics and AI, where self-driving vehicles race around a track to achieve the fastest lap times. Model predictive control is a popular technique used to control the vehicle's behavior in these races.

One challenge is that environmental conditions, like rain, can change the vehicle's dynamics and make the original control settings suboptimal. Typically, only the predictive model is updated, while the control parameters remain fixed. This can lead to less-than-ideal performance.

The researchers in this paper tackle the problem of adapting both the model and control objective in a data-efficient way. The key idea is to use a learned dynamics model to capture the environmental conditions as a "context." This allows them to employ contextual Bayesian optimization to efficiently transfer knowledge across different conditions.

By considering the context, the researchers can find the optimal control settings for each environment with fewer data samples compared to standard approaches. This is particularly important for autonomous racing, where collecting real-world data can be time-consuming and expensive.

Technical Explanation

The researchers propose a framework for data-efficient controller tuning in autonomous racing applications. The core novelty is the use of a learned dynamics model to encode the environmental conditions as a "context" that can be leveraged for efficient optimization.

Specifically, the researchers train a dynamics model to predict the vehicle's behavior based on the current state, control inputs, and environmental conditions. This allows them to represent the environmental conditions as a low-dimensional context, which is then used to guide a contextual Bayesian optimization process.

The contextual Bayesian optimization efficiently transfers knowledge across different environmental conditions, requiring fewer data samples to find the optimal controller configuration for each context. This is in contrast to standard approaches that only adapt the predictive model while keeping the controller parameters fixed.

The researchers extensively evaluate their proposed framework on an experimental platform with 1:28 scale RC race cars. They run over 3,000 laps across various environmental conditions and demonstrate that their approach outperforms standard Bayesian optimization in terms of achieving faster lap times with fewer data samples.

Critical Analysis

The researchers provide a thorough evaluation of their approach, demonstrating its effectiveness on a realistic experimental platform. However, the paper does not discuss some potential limitations or areas for future research:

  • The experiments were conducted on small-scale RC cars, and it's unclear how well the approach would scale to full-size autonomous vehicles with more complex dynamics.
  • The paper does not explore the sensitivity of the approach to the quality and representativeness of the learned dynamics model, which is a crucial component.
  • The researchers do not investigate the computational overhead of the contextual Bayesian optimization process and how it might impact real-time control requirements in a racing scenario.

Additionally, the researchers could have further challenged their approach by comparing it to more sophisticated reinforcement learning-based or adaptive control techniques for autonomous racing.

Conclusion

The researchers present a novel data-efficient approach for tuning both the predictive model and control objective in autonomous racing applications. By leveraging a learned dynamics model to encode environmental conditions as context, they are able to employ contextual Bayesian optimization to efficiently transfer knowledge across different conditions.

The extensive evaluation on an experimental platform demonstrates the effectiveness of the proposed framework, showing improved lap times compared to standard Bayesian optimization. This work highlights the potential of data-driven techniques to enhance the closed-loop behavior of autonomous vehicles in challenging and dynamic environments.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

📈

Total Score

0

Contextual Tuning of Model Predictive Control for Autonomous Racing

Lukas P. Frohlich, Christian Kuttel, Elena Arcari, Lukas Hewing, Melanie N. Zeilinger, Andrea Carron

Learning-based model predictive control has been widely applied in autonomous racing to improve the closed-loop behaviour of vehicles in a data-driven manner. When environmental conditions change, e.g., due to rain, often only the predictive model is adapted, but the controller parameters are kept constant. However, this can lead to suboptimal behaviour. In this paper, we address the problem of data-efficient controller tuning, adapting both the model and objective simultaneously. The key novelty of the proposed approach is that we leverage a learned dynamics model to encode the environmental condition as a so-called context. This insight allows us to employ contextual Bayesian optimization to efficiently transfer knowledge across different environmental conditions. Consequently, we require fewer data to find the optimal controller configuration for each context. The proposed framework is extensively evaluated with more than 3'000 laps driven on an experimental platform with 1:28 scale RC race cars. The results show that our approach successfully optimizes the lap time across different contexts requiring fewer data compared to other approaches based on standard Bayesian optimization.

Read more

8/23/2024

Total Score

0

Automatic Parameter Tuning of Self-Driving Vehicles

Hung-Ju Wu, Vladislav Nenchev, Christian Rathgeber

Modern automated driving solutions utilize trajectory planning and control components with numerous parameters that need to be tuned for different driving situations and vehicle types to achieve optimal performance. This paper proposes a method to automatically tune such parameters to resemble expert demonstrations. We utilize a cost function which captures deviations of the closed-loop operation of the controller from the recorded desired driving behavior. Parameter tuning is then accomplished by using local optimization techniques. Three optimization alternatives are compared in a case study, where a trajectory planner is tuned for lane following in a real-world driving scenario. The results suggest that the proposed approach improves manually tuned initial parameters significantly even with respect to noisy demonstration data.

Read more

6/26/2024

📈

Total Score

0

Active Learning of Discrete-Time Dynamics for Uncertainty-Aware Model Predictive Control

Alessandro Saviolo, Jonathan Frey, Abhishek Rathod, Moritz Diehl, Giuseppe Loianno

Model-based control requires an accurate model of the system dynamics for precisely and safely controlling the robot in complex and dynamic environments. Moreover, in the presence of variations in the operating conditions, the model should be continuously refined to compensate for dynamics changes. In this paper, we present a self-supervised learning approach that actively models the dynamics of nonlinear robotic systems. We combine offline learning from past experience and online learning from current robot interaction with the unknown environment. These two ingredients enable a highly sample-efficient and adaptive learning process, capable of accurately inferring model dynamics in real-time even in operating regimes that greatly differ from the training distribution. Moreover, we design an uncertainty-aware model predictive controller that is heuristically conditioned to the aleatoric (data) uncertainty of the learned dynamics. This controller actively chooses the optimal control actions that (i) optimize the control performance and (ii) improve the efficiency of online learning sample collection. We demonstrate the effectiveness of our method through a series of challenging real-world experiments using a quadrotor system. Our approach showcases high resilience and generalization capabilities by consistently adapting to unseen flight conditions, while it significantly outperforms classical and adaptive control baselines.

Read more

9/4/2024

Faster Model Predictive Control via Self-Supervised Initialization Learning
Total Score

0

Faster Model Predictive Control via Self-Supervised Initialization Learning

Zhaoxin Li, Letian Chen, Rohan Paleja, Subramanya Nageshrao, Matthew Gombolay

Optimization for robot control tasks, spanning various methodologies, includes Model Predictive Control (MPC). However, the complexity of the system, such as non-convex and non-differentiable cost functions and prolonged planning horizons often drastically increases the computation time, limiting MPC's real-world applicability. Prior works in speeding up the optimization have limitations on solving convex problem and generalizing to hold out domains. To overcome this challenge, we develop a novel framework aiming at expediting optimization processes. In our framework, we combine offline self-supervised learning and online fine-tuning through reinforcement learning to improve the control performance and reduce optimization time. We demonstrate the effectiveness of our method on a novel, challenging Formula-1-track driving task, achieving 3.9% higher performance in optimization time and 3.6% higher performance in tracking accuracy on challenging holdout tracks.

Read more

8/9/2024