Abstract
In the automation of many kinds of processes, the observable outcome can often be described as the combined effect of an entire sequence of actions, or controls, applied throughout its execution. In these cases, strategies to optimise control policies for individual stages of the process might not be applicable, and instead the whole policy might have to be optimised at once. On the other hand, the cost to evaluate the policy's performance might also be high, being desirable that a solution can be found with as few interactions as possible with the real system. We consider the problem of optimising control policies to allow a robot to complete a given race track within a minimum amount of time. We assume that the robot has no prior information about the track or its own dynamical model, just an initial valid driving example. Localisation is only applied to monitor the robot and to provide an indication of its position along the track's centre axis. We propose a method for finding a policy that minimises the time per lap while keeping the vehicle on the track using a Bayesian optimisation (BO) approach over a reproducing kernel Hilbert space. We apply an algorithm to search more efficiently over high-dimensional policy-parameter spaces with BO, by iterating over each dimension individually, in a sequential coordinate descent-like scheme. Experiments demonstrate the performance of the algorithm against other methods in a simulated car racing environment.
Introduction
In autonomous racing, the primary objective is to complete a lap in the minimum time possible. However, achieving this is computationally challenging. Traditional control methods, such as Model Predictive Control (MPC), rely on highly accurate mathematical models of the vehicle's physics and the track layout—information that is often unavailable or difficult to estimate in real-world scenarios.
Model-free policy search methods, like Reinforcement Learning, offer an alternative but frequently suffer from the "curse of dimensionality." Representing a complex driving policy requires many parameters, and standard Bayesian Optimization (BO)—typically the preferred method for optimizing expensive-to-evaluate functions—often fails when the parameter space exceeds 10 or 20 dimensions. This paper introduces CDBO (Coordinate Descent Bayesian Optimisation), a model-free approach that combines BO with a randomized coordinate descent strategy to optimize high-dimensional control policies efficiently.
Methodology
The proposed CDBO algorithm is designed to scale BO to high-dimensional policy spaces (up to 100 dimensions in testing).
- Policy Representation: The driving policy is represented using a Reproducing Kernel Hilbert Space (RKHS) framework. Specifically, an array of Radial Basis Function (RBF) kernels is placed along the track, where the acceleration command is calculated as a weighted sum of these kernels.
- Surrogate Modeling: A Gaussian Process (GP) is employed to model the relationship between policy weights and the resulting lap time (the reward).
- The CDBO Algorithm: The core innovation lies in the optimization of the Acquisition Function. Rather than using global optimizers like CMA-ES, which struggle in high dimensions, CDBO utilizes Stochastic Coordinate Descent. By optimizing one parameter at a time in a random order while keeping others fixed, the search is localized, making it computationally efficient and robust against local minima.
- Initialization: The process begins with a "warm start" from a sub-optimal controller (e.g., driving at a constant slow speed) to provide the GP with a baseline of valid data.
Experimental Setup
The algorithm was evaluated using the Speed Dreams simulation engine on two distinct tracks:
- Forza: A relatively simple, flat circuit inspired by Monza, Italy (5,784m).
- Allondaz: A challenging road track featuring significant elevation changes and complex geometry (6,356m).
Results and Key Insights
CDBO consistently outperformed standard BO, CMA-ES, and REMBO (a popular high-dimensional BO variant) across both test tracks.
Key findings include:
- Dimensional Stability: Unlike evolutionary strategies like CMA-ES, which see performance degrade as parameters increase, CDBO remains stable. It successfully found improvements whether using 10 or 100 kernels.
- Computational Efficiency: In 100-dimension tests on the Forza track, CDBO was approximately 10 times faster in runtime than standard BO using CMA-ES, while achieving a higher average reward.
- Local Bias as a Feature: In racing, the optimal policy is often a narrow ridge surrounded by failure (crashing). By using coordinate descent, the algorithm biases its search locally around the current best solution, preventing it from wasting time in irrelevant regions of the parameter space.
Conclusion and Future Work
While CDBO successfully learned to manage acceleration and braking—discovering vehicle friction limits without prior knowledge—the study utilized a separate PI controller for steering. Future work will focus on extending this approach to higher-dimensional action spaces, such as simultaneous steering and throttle optimization, and adapting the model to dynamic environments containing other vehicles.
Summary updated