Learning Autonomous Race Driving with Action Map** Reinforcement Learning
Abstract
Autonomous race driving poses a complex control challenge as vehicles must be operated at the edge of their handling limits to reduce lap times while respecting physical and safety constraints. This paper presents a novel reinforcement learning (RL)-based approach, incorporating the action map** (AM) mechanism to manage state-dependent input constraints arising from limited tire-road friction. A numerical approximation method is proposed to implement AM, addressing the complex dynamics associated with the friction constraints. The AM mechanism also allows the learned driving policy to be generalized to different friction conditions. Experimental results in our developed race simulator demonstrate that the proposed AM-RL approach achieves superior lap times and better success rates compared to the conventional RL-based approaches. The generalization capability of driving policy with AM is also validated in the experiments.
keywords:
Autonomous race driving, reinforcement learning, safety constraint, action map**.1 Introduction
Autonomous driving has been a hot topic in both research and industry in recent decades [1, 2, 3, 4]. Various environmental perception [5, 6, 7], planning [8, 9], and motion control [10, 11] approaches for autonomous driving have been proposed. Many of them have been successfully applied to regular cars in the market. Current autonomous driving techniques have covered most driving scenarios, including highway driving, urban driving, autonomous parking, etc. In this work, we study autonomous driving in the race driving scenario where advanced driving skills are required to fully utilize the car’s handling capability and minimize the lap time. In highway and urban driving scenarios, the vehicle is operated near the equilibrium point, and the dynamic can be approximated by a linear model. Differently, in race driving, the vehicle is operated near its physical limits, and thus the complex nonlinear dynamics and constraints should be considered [12, 13]. These factors make autonomous race driving more challenging in terms of control than other driving scenarios.
The autonomous race driving controller should respect multiple input constraints due to physical and safety limits. The control inputs, including steering, acceleration, and deceleration have static range limits. For RL-based methods, this constraint can be easily addressed by applying a sigmoid or tanh activation function in the output layer of the policy network. Moreover, the inputs are further restricted by the limit of tire-road friction which depends on the car’s instantaneous motion states. For this kind of state-dependent constraint, most existing RL-based control methods use penalty terms in the reward function, which gives punishment to the current policy when the constraint is violated. Although this reward-sha** solution is rather simple, however, the learned policy tends to be relatively conservative. To address this state-dependent input constraint in RL-based control, we introduce the action map** (AM) mechanism [14], which converts the actions from the direct output from the neural network to real control inputs that satisfy the state-dependent constraints with a pre-defined map** function. This mechanism could effectively address the conservatism associated with penalty-based solutions.
In this paper, we develop a novel numerical AM-RL framework for autonomous race driving. The state-dependent control input constraint due to the limit of tire-road friction is addressed by the AM mechanism. By establishing a map** from unconstrained network output actions to constrained control inputs, it can be guaranteed that the vehicle is always controlled within the friction limits. However, the vehicle dynamics related to the friction limit are rather complex, and it is very difficult to find a closed-form expression for the map** function. Therefore, we further propose a numerical approximation method to implement AM. Then, we incorporate AM with the twin delayed deep deterministic policy gradient (TD3) algorithm [15] to train the race driving policy. For the states, we use a set of forward-observation points to indicate the curvature of the race track ahead. The reward function is specially designed to encourage the driving policy to maximize the car’s velocity along the race track while avoiding driving off the track or driving in the wrong way direction. Finally, the proposed race control approach is evaluated in our developed race simulator. The race driving policy trained with TD3 and AM obtains shorter lap times and higher success rates compared to other comparative approaches. The main contributions of this paper are summarized as follows:
-
1.
The AM mechanism is introduced to RL-based autonomous race driving control problem to address the state-dependent input constraints arising from limited tire-road friction.
-
2.
The AM mechanism enables the RL-based controller to better utilize the maximum tire-road friction, addressing the conservatism often associated with conventional reward-sha** solutions. The AM mechanism also allows the learned driving policy to be generalized to different friction conditions by adapting the friction constraint in the action map** function.
-
3.
A numerical approximation method is proposed to implement the AM mechanism, overcoming the challenges of dealing with complex nonlinear dynamics with constraints. This numerical method further extends the original AM mechanism, enabling it to address constraint RL problems with a more general form.
The remainder of this paper is organized as follows. Section 2 reviewed related work about autonomous racing and safe RL. In Section 3, we briefly introduce the race vehicle’s dynamic model and the constraint of tire friction. In Section 4, the developed RL algorithm with AM mechanism for race driving is explained in detail. The simulation experiments, results, and discussions are presented in Section 5. At last, Section 6 concludes this paper.
2 Related Work
In recent decades, model predictive control (MPC) has been one of the major methods used to address the challenge of autonomous racing for both trajectory planning and motion control. In [16], the time-optimal driving control task with the constraint of race track boundaries is formulated as a nonlinear model predictive control (NMPC) problem using a generalized Gauss-Newton method. However, the tire-road friction constraint in race driving dynamics is not considered. This NMPC-based method is further extended in [17] where the lateral tire-road friction limit is described by a Pacejka model. Then, a Hessian sequential quadratic programming optimization algorithm is employed to solve the NMPC problem. Similar MPC-based methods are also presented in [18, 19, 20]. In those methods, the control strategies are developed based on the vehicle’s dynamic model and the race track’s geometrical model. To reduce the computational complexity of the optimization problems, the models are usually simplified and linearized. This could seriously affect the performance of the controller if applied to a real vehicle. To address this issue, the MPC is incorporated with some data-driven and learning-based approaches. The measurement data from real-world experiments are used to refine the dynamic model and optimize the controller. In [21], a learning-based MPC approach is proposed for autonomous racing. A relatively simple nominal vehicle model is built first. Then, the model is improved by Gaussian process regression based on the measurement data. Similarly, in [22], the affine time-varying prediction model is used to approximate the vehicle model. Moreover, the model predictive path integral (MPPI) control is proposed for autonomous racing in [23, 24]. With the help of the model learning ability, many control strategies have achieved success in real-world experiments with a variety of race cars, including a full-size electric formula race car [21], a 1:10 scale RC car [22], and a 1:5 scale rally race car [23, 24, 25].
More recently, the rapid advancement of machine learning has introduced novel solutions to complex control problems. Reinforcement learning (RL), a significant type of machine learning approach, has found extensive applications in addressing continuous control problems. The RL-based control algorithm directly trains a neural network-based control policy that maximizes a reward function by online interacting with the real system or using saved trajectories. Therefore, prior knowledge of the system dynamics might not needed, and the reward function is fully flexible. Many newly proposed RL algorithms, such as deep deterministic policy gradient (DDPG) [26], twin delayed deep deterministic policy gradient (TD3) [15], proximal policy optimization (PPO) [27], and soft actor-critic (SAC) [28], have shown notable capability in the control of complex nonlinear dynamic systems, like quadrotor helicopters and multi-joint manipulators [29, 30, 31].
In many physical control applications utilizing RL, the control policy must adhere to safety constraints. In the aforementioned RL algorithms, one could impose penalties on actions violating constraints to derive a safe policy. However, this approach is often inefficient and does not ensure safety throughout the training process. To address this issue, several safe RL algorithms have been proposed. In [32], the MPC method is combined with the RL algorithm to guarantee safe exploration in training. In [33], a general-purpose RL policy search algorithm named constraint policy optimization (CPO) is proposed based on the trust region method. Reward constraint policy optimization (RCPO) [34] is a similar safe RL algorithm that uses a penalty signal to guide the policy toward a constraint-satisfying solution. There is another kind of ‘plug-and-play’ style safe mechanism that directly works on top of the policy to correct the actions without changing the original RL algorithm, such as the safety layer (SL) technique [35] and the AM mechanism [14]. Although SL and AM share a similar structure, the specific approaches in building the constraint model and correcting unsafe actions are significantly different. A detailed comparison and discussion of the two methods, along with experiment results, are provided in Section 5. Moreover, in contrast to model-free RL algorithms, many safe RL algorithms or safe mechanisms require some prior knowledge of the environment, such as the dynamic model and constraint function model. If these models are not directly accessible, they can be acquired through a model identification process guided by safe rules or human demonstration.
The RL-based control methods have also been widely applied in the fields of autonomous driving and racing. In [36], a rally race driving policy is learned with the A3C algorithm in an end-to-end way. The image from a forward-facing camera is directly fed into the policy network without any mediated perception. Similarly, a vision-based lateral control strategy for autonomous driving on a race track is developed in [11]. A convolutional neural network is built to extract track features from driver-view images. Then, a DDPG-based control policy gives control commands based on the track features and the car’s speed. Furthermore, a race driving agent named ‘GT Sophy’ has achieved super-human performance in the Gran Turismo game [37, 38]. The agent is trained using an improved SAC algorithm. Instead of using images, this agent’s observation of the track ahead is represented by a series of points along the centerline and each edge of the track. Similarly, Remonda et al. [39] propose to use the look-ahead curvature to represent the upcoming shape of the track, and train policies with diverse variants of DDPG (with long short-term memory, prioritized experience replay, multi-step target, etc.). Their proposed approach outperforms the state-of-the-art bots in the TORCS simulator [40] and even surpasses professional drivers in qualifying sessions in a professional simulator [41].
In the aforementioned RL-based autonomous racing approaches, the safety constraint is not explicitly considered. Due to the complexity of autonomous racing tasks, those general-purpose safe RL algorithms are difficult to be applied. For example, implementing the CPO algorithm in autonomous racing is quite challenging as it involves evaluating constraint functions to determine the feasibility of a certain control policy. Consequently, the safety RL methods for autonomous racing are usually specially designed. Niu et al. [42] propose a two-stage safe RL racing approach. In the first stage, a rule-based safeguard module is employed to enforce the constraint during the policy training at low speed. Then, in the second stage, the rule-based module is replaced with a data-driven module to develop a closed-form analytical safety solution at high speed. This approach is validated with the TORCS simulator and achieves zero safety violations. In [43], a viability theory-based safety supervisory architecture is proposed. The supervisor is built with a viability kernel based on the car’s dynamic model. It ensures the vehicle stays within the friction limit while maintaining recursive feasibility during the training process. Among the approaches discussed above, incorporating an additional safety module emerges as a common and logical solution for safe RL in autonomous racing. Our proposed approach, featuring the AM mechanism, also adopts this strategy.
3 Vehicle Model
In this section, the single track vehicle model and friction constraint for autonomous race driving are presented. The single track model, or known as the ‘bicycle model’, is commonly used in car handling studies [12]. As shown in Fig. 1, based on the assumption that both front wheel steering systems have equal gear ratio, the dynamics and kinematics of two front wheels and two rear wheels can be represented by two center wheels located on the center of the front and rear axles. The pose and motion of the race car are defined under two coordinate frames: earth-fixed frame (-) and vehicle body-fixed frame (-).
The notations used to describe the vehicle model in Fig. 1 are listed as follows:
-
1.
: vehicle velocity at center of gravity in body-fixed frame.
-
2.
: vehicle longitudinal and lateral velocity in body-fixed frame.
-
3.
: vehicle heading angle (yaw angle).
-
4.
: vehicle turning rate.
-
5.
: front wheel steering angle.
-
6.
: vehicle sideslip angle.
-
7.
: distance from center of gravity to front/rear axle.
-
8.
: tire sideslip angles of front/rear wheels.
-
9.
: lateral tire force on front/rear wheels.
-
10.
: traction force on driven wheel.
-
11.
: braking force on wheels.
![Refer to caption](x1.png)
Moreover, the effects of longitudinal and lateral load transfer are omitted. The race track is assumed to be flat and has uniform friction coefficient. In the following, the vehicle’s longitudinal dynamics, lateral dynamics, and the tire friction constraint.
3.1 Longitudinal Dynamics
The longitudinal model describes the vehicle’s motion along -axis of the body-fixed frame. A force balance along the vehicle’s longitudinal direction yields:
(1) |
where is the total mass of the vehicle, is longitudinal tire force, is aerodynamic drag force, and is rolling resistance force. The longitudinal tire force is the friction force from the track that acts on the tire. It is the reacting force of the traction force or braking force.
3.1.1 Traction Force
The traction force is generated by the vehicle’s powertrain and acts on the driven wheels. Different from a gasoline engine with a gearbox, the electric motor has special characteristics when generating torques at different speeds. If the motor speed is no greater than the base speed or rated speed, that is, , the motor works in the constant torque region, and the output torque can be directly controlled by the motor control signal. The traction force is
(2) |
where is the motor torque coefficient, which is determined by the transmission efficiency and the reduction gear ratio, is the radius of wheels, is the normalized motor control input. If the motor speed is greater than the base speed, that is, , the motor works in the constant power region. The output torque is limited by the maximum power . The traction force is
(3) |
3.1.2 Braking Force
The braking force is generated by the vehicle’s braking system and acts on all wheels. We assume the braking force is proportional to the braking control signal, that is,
(4) |
where is the normalized braking control signal, is the coefficient of the braking system.
3.1.3 Aerodynamic Drag Force
The equivalent aerodynamic drag force on a vehicle in a windless environment can be given by
(5) |
where is the density of air, is the aerodynamic drag coefficient, is the frontal area of the vehicle.
3.1.4 Rolling Resistance Force
The rolling resistance is roughly proportional to the down force on the tires, that is,
(6) |
where is the rolling resistance coefficient, and is the acceleration due to gravity.
The longitudinal motion of the car is controlled by the motor control signal and the brake control signal . However, two control inputs cannot be applied simultaneously in real situations. Therefore, we combine them into a single control signal , where denotes full motor power and denotes full brake.
3.2 Lateral Dynamics
The lateral model describes the vehicle’s translational motion along -axis and rotational motion around -axis. A force balance along the vehicle’s lateral direction yields
(7) |
A moment balance around -axis yields the rotational dynamics as
(8) |
where is vehicle body moments of inertia about the body-fixed -axis. The lateral tire forces and are proportional to their corresponding tire sideslip angles, that is
(9) | ||||
(10) |
where and are cornering stiffness of the front and rear tires, and denote the direction of the velocity of front and rear wheels, and they can be obtained by
(11) | |||
(12) |
Finally, the vehicle’s velocity in earth-fixed frame can be expressed with the following kinematic equations:
(13) | ||||
(14) |
Moreover, the lateral motion of the vehicle can also be approximated by a simpler kinematic model with the assumption that the slip angles of the front and rear wheels are both zero. Then, the slip angle and turning rate is expressed by:
(15) | ||||
(16) |
For an autonomous racing vehicle, the steering angle of the front wheels is actuated by the electric power steering system. The input can be regarded as a normalized steering angular speed signal . or makes the power steering system actuate steering wheels to left or right at the maximum angular speed , and means maintain the current steering angle.
3.3 Constraint of Tire Friction
The longitudinal and lateral forces that control the vehicle rely on the friction force or grip between the tire and the road. In real conditions, the friction force has an upper limit, which depends on a number of physical factors, including road surface material, tire size, tire pressure, tire temperature, etc. If we assume these physical factors remain the same during the race, we could use a friction circle model to describe the constraint of tire friction. As shown in Fig. 2, the friction circle model indicates that the total resultant force applied on the vehicle cannot exceed the maximum friction force, which is
(17) |
where and are the longitudinal and lateral resultant force vectors, is the total vertical load on the tires. is the maximum tire-road friction coefficient. The aerodynamic lift force and downforce are omitted in the vehicle model, and we have . Then, the constraint can also be represented by , where is the resultant acceleration measured from the vehicle. During the race, sudden and large braking or steering input, especially at high speed, could easily exceed the upper limit of grip, which could result in side slip or tail slip, and bring the vehicle into an uncontrollable spin. To guarantee the vehicle is controllable and stable in a race, we should always consider the constraint of tire friction when designing an autonomous race driving controller.
![Refer to caption](x2.png)
4 Race Driving with AM-RL
In this section, the autonomous race driving policy is developed with an RL-based method. To guarantee the driving policy satisfies the safety constraint of tire friction in both training and implementation, we apply our proposed AM mechanism to the RL algorithm. In the following, we first introduce the basics of RL and the race driving Markov decision process (MDP) model. Then, the AM mechanism for the tire friction constraint is described. Finally, we present the implementation process of applying AM to a specific RL algorithm and train an autonomous race diving policy.
4.1 Race Driving MDP Model
In this subsection, the race driving MDP model for RL-based autonomous racing approaches is presented. The basic idea of RL is iteratively optimizing the control policy of an agent based on the input-output experiences from a step-by-step agent-environment interaction system. The goal is to maximize the accumulated every-step reward. The agent-environment interaction system is generally modeled as an MDP, which is defined by a tuple , where is the set of states, is the set of actions, and are the state transition model and the reward function respectively, is the discount factor. The policy is denoted as which maps states to actions. For each step of the interaction at time step , the agent in state , takes action following its policy , then receives a reward with the reward function , and finally enters a new state following the state transition model . The accumulated reward from step onward is defined as the return, . The expected return following the policy can be represented by the state-action value function, which is defined as .
The goal of race driving in this study is to finish a lap of the track safely in the shortest possible time. To solve the race driving task with RL, the race driving MDP model which expresses the interaction between an autonomous driving agent and a car-track environment is established first. In this MDP, the state transition model is determined by the aforementioned vehicle dynamic model. The fundamental principle of building the state and action space is to make the agent-environment interaction satisfy the Markov property to the largest extent. Therefore, all system states that could affect the race car’s motion should be included. Following this principle, the state, action, and reward function are defined and described as follows.
![Refer to caption](x3.png)
State: The states of the race driving MDP are divided into two groups. The first group of states describes the race car’s pose and motion. In the first group of states, , , and denote the vehicle’s longitudinal velocity, turning rate, and front wheel steering angle, respectively. These states have been defined in Section 3. The car’s position and orientation with respect to the track are expressed by the relative cross-centerline distance and the relative heading angle . As shown in Fig. 3, is the distance from the car’s center of gravity to the centerline of the track. is the car’s heading angle with respect to the tangential direction of the centerline projected point (orthogonal projection of the car’s center of gravity onto the centerline). means the car is precisely following the track direction, while or means the car is traveling in the opposite direction of the track, also known as wrong-way driving. The second group of states is composed of forward-observation vectors, which are used to indicate the curvature of the race track ahead. As shown in Fig. 3, the vectors (red dotted arrow lines) all start from the car’s center point and point to the forward-observation points on the centerline. The forward-observation points are determined by moving the car’s centerline projected point forward along the centerline over a distance of . Specifically, a forward-observation vector is defined as:
(18) |
where is the rotational matrix that transforms the forward-looking vector from the inertial frame to the body-fixed frame. Then, forward-observation vectors are connected and form a forward-observation feature . The state vector of the race driving MDP is defined as:
(19) |
Action: The vehicle is controlled by the motor/brake control signal and steering control signal . Therefore, we define two actions, and , as the output from the race driving policy. The action vector is defined as:
(20) |
The relationship between the actions and the control signals is further explained in Section 4.2.
Reward Function: The reward function guides the RL algorithm to optimize the policy toward a certain objective. To define a proper reward function for the autonomous race driving task, the objective of finishing a lap safely in the shortest time should be broken down into each time step. From the perspective of a single time step, the driving policy should maximize the car’s velocity along the track direction, which is denoted by as shown in Fig. 3. Therefore, our velocity reward is set as: . Furthermore, to guide the driving policy to operate safely, we set negative rewards for driving off the track, for driving in the wrong way direction, and for violation of tire friction constraint. If the car is safely operated inside the track, . Then, the reward function is defined as:
(21) |
It is noted that the negative reward only applies to conventional RL algorithms that are not specially designed to address the friction constraint. For the proposed AM-RL approaches, is not needed.
4.2 AM mechanism for Tire Friction Constraint
The autonomous racing control policy should generate proper control inputs that satisfy the constraint of tire friction to prevent the car from entering uncontrollable states. Based on the car’s dynamic model, the friction constraint dynamically changes and it is dependent on the car’s speed and steering angle. In this subsection, we proposed a numerical AM mechanism to tackle this type of state-dependent input constraint of tire friction.
The AM mechanism addresses the state-dependent constraint by establishing a map** between an unconstrained virtual policy and a constrained real policy . The virtual policy is represented by the neural network which directly maps states to actions, and it does not consider the constraints. Next, the virtual policy is converted to its corresponding constrained real policy that satisfies the state-dependent constraint. The real policy directly interacts with the real system, while the virtual policy is optimized with the RL algorithm using the interaction experiences.
More specifically, we define the unconstrained virtual policy as , where is the state vector. Here we define as a compact subspace of , and is the dimension of the state space. is the virtual action, and is the unconstrained action space. To be compatible with the neural networks represented policy, in the following, the unconstrained action space is defined as which is a compact subspace of , and is the dimension of the action space. Let be a compact set-valued map from to the power set , and is characterized by its graph . In this work, we use to denote the control input space that satisfies the state-dependent constraint. Then, the constrained real policy is defined as , where is the real control input.
Let be the set of all continuous functions map** from to . Let be the set of all continuous functions that satisfying the range of in . We assume that the union of all graphs of map in is equal to , that is, . Then, the connection between the virtual unconstrained policy and the real constrained policy can be described as a map . According to the action map** theorem (Theorem 1 in [14]), the map exists if and only if there exists a continuous map such that, for each , the map is the homeomorphism of with and is defined as .
In the following, the tire friction constraint in race driving is studied under the framework of AM. The unconstrained virtual policy is constructed as , where is the virtual action vector, and denote the virtual longitudinal action and virtual lateral action respectively. This virtual policy is represented by a neural network and optimized through RL algorithms. The constrained real policy is denoted by , where is the real control input vector, and , are the normalized motor/brake and the steering control input respectively. The constrained real policy can be obtained by the policy space map** , which is realized through its corresponding continuous map** function:
(22) |
This continuous map** function maps the action from the unconstrained virtual policy to the real control input that satisfies the tire friction constraint. is a subset of the state vector which only contains the state variables related to the tire friction constraint. An illustrative example of the action map** while the race car’s longitudinal velocity , front wheel steering angle is given in Fig. 4. The boundary of the unconstrained action space is shown on the left, and the action can be freely selected inside the boundary. The boundary of the constrained control input space is shown on the right, and the shape of the boundary depends on the race car’s current states . Any control input vector located outside the boundary will violate the tire friction constraint. In Fig. 4, we give two action vector examples and marked in blue arrows. If we directly use those two actions as the control inputs to the real system, satisfies the constraint while fails. Therefore, in this task, an intuitive explanation of the action map** is to map the to its corresponding and guarantee it is inside the boundary of .
![Refer to caption](x4.png)
However, due to the complexity of the vehicle dynamics and constraints, it is rather difficult to give a closed-form expression of the map** function. Therefore, we provide a numerical approximation method to implement the action map** mechanism for a complex dynamic system with state-dependent input constraints. The basic idea is to shorten those overrun action vectors to the boundary of while kee** the same direction. For the convenience of processing the vectors, both action vectors and control input vectors are temporarily converted to polar coordinate form. The action and control inputs are expressed by and respectively. and denote the lengths; and denote the directions. Here, we define a control input space boundary function that gives the maximum length of action direction in the current car state, that is,
(23) |
In the following, we present a numerical method to determine the boundary function. Let be evenly spaced velocity values over , and is the maximum speed. Let be evenly spaced front wheel steering angle values over , and is the maximum steering angle. Let be evenly spaced action vector directions over . Then, we iterate all combinations of the race car’s state with all control input directions and lengths, and check the car’s response to control inputs using the dynamic model. More specifically, for each car state , we iterate all action directions. For a certain direction , we apply the control input vector to the dynamic system while increasing the length till the control input fails to satisfy the tire friction constraint, and we could determine the maximum length at car state and action direction . Based on this sampling method, we obtain a look-up table of three dimensions to represent the boundary function, that is . To demonstrate the boundary function built from sampling, we visualize the boundary function of in Fig. 5. Inside the 3D space is the admissible space for control inputs of different steering angle . Fig. 6 gives another view of the control input boundaries at velocity with steering angle in range deg.
![Refer to caption](x5.png)
![Refer to caption](x6.png)
Due to the discrete nature of the boundary function, we cannot directly find the maximum length for any , , and , which are continuous values. Therefore, we use an off-the-shelf linear multidimensional interpolation method to approximate the maximum length. The approximated boundary function is denoted by , where is the approximate value of . Finally, we summarize the numerical action map** procedure with the discrete boundary function in Algorithm 1. With the help of this numerical action map** method, the action that could violate the constraint is mapped to a safe control input right inside the boundary. This method fundamentally prevents the race car from entering uncontrollable states while making full use of the maximum tire-road friction.
4.3 Implementation of RL Training with AM
The AM mechanism can address the state-dependent constraint for a variety of policy gradient-based RL algorithms with parameterized policy and continuous action space, such as DDPG, TD3, PPO, SAC, etc. In this subsection, we incorporate the numerical approximation method of AM to the TD3 algorithm to train an autonomous race driving policy as an example.
TD3 is a deterministic policy-based reinforcement learning algorithm that employs an actor-critic architecture. The actor and critic functions are represented by fully connected neural networks. A block diagram of the network structure is shown in Fig. 7. The actor network, which represents the unconstrained virtual policy is denoted as , and is the network parameters. As illustrated in Fig. 7, the actor network has two hidden layers, and each hidden layer contains hidden nodes with the ReLU activation function. For the output layer, we use the tanh function to limit the actions between and . The action network’s target network shares the same structure as the action network, and it is denoted as . The state-action value function is approximated by the critic networks. Different from the conventional DDPG algorithm, the TD3 algorithm introduces a pair of critic networks to mitigate the value function overestimation. The two critic networks are denoted by and . They share the same structure which is shown in Fig. 7. The input of critic networks concatenates the state vector and the action vector. The hidden layers have the same structure as the actor network while the output layer uses a linear function. The target networks of the critic networks are denoted by and .
![Refer to caption](x7.png)
The critic networks are trained using a batch training method with a replay buffer. For each time step , a state transition experience is saved to the replay buffer . During each training iteration, a batch of experiences is randomly selected from the replay buffer. Here, and are the reward received and state reached after taking at state . Next, two critic networks are trained separately to minimize the TD-error using the loss function:
(24) |
where , and is the target value from the target critic networks, which is,
(25) |
The target value for the critic networks is from the smaller value between two target networks, which reduces the overestimation of the state-action value. is a small noise sampled from a clipped Gaussian distribution , which is used to avoid overfitting. After the target values are determined, the gradients is given as:
(26) |
The parameters of two critic networks are adjusted according to:
(27) |
where is a small updating rate.
The policy’s performance is assessed based on the expected return starting from the initial time step, that is, . According to the deterministic policy gradient theorem [44], the gradient of the policy performance is given by:
(28) |
Then, the actor network is trained using the approximated gradient of the performance function based on the critic network and the same batch of transition experiences. The approximation of the policy gradient is given by:
(29) |
The virtual control policy is improved by updating the parameter using gradient ascent with a small updating rate :
(30) |
After each training iteration, the target networks are soft-updated with small update rates and :
(31) | ||||
(32) |
The overall training procedures of the race driving policy with TD3-AM are summarized in Algorithm 2. In line 9, a Gaussian noise is added to the virtual action to promote exploration. In lines 14-20, a delayed policy update method is utilized to further improve the stability of the training process. In particular, updates to the actor network and the target networks occur after a set number () of updates to the critic networks. Furthermore, the policy is saved and evaluated at a certain interval of training iterations.
5 Simulations and Results
In this section, the proposed RL-based race driving strategies are evaluated in our built race simulation environment. In the following, we first introduce the simulation environment and training details. Then, the evaluation results are presented and discussed.
5.1 Simulation Environment and Training Details
The simulation environment is developed following the vehicle model given in Section 3. The Runge-Kutta four-order (RK4) method is used to numerically solve the differential equations. The simulation time step is s. The car model used in the simulation is an all-electric mid-size sedan. The physical parameters of the car model are given in Table LABEL:tb_car.
Parameter | Value | Unit |
Vehicle mass | kg | |
Front axle distance | m | |
Rear axle distance | m | |
Tire rolling radius | m | |
Tire corner stiffness | N/rad | |
Tire rolling resistance coefficient | - | |
Maximum steering angle | deg | |
Yaw moment of inertia | kg | |
Aerodynamic drag coefficient | - | |
Density of air | kg/ | |
Vehicle frontal area | 2.05 | |
Maximum motor power | kW | |
Motor torque coefficient | N | |
Braking force coefficient | N | |
Maximum friction coefficient | - | |
Acceleration due to gravity |
We build two race tracks for race driving policy training and evaluation. The layout of track-A is given in Fig. 8(a). It is a simple testing track with only five corners. The length and width of track-A are m and m respectively. The layout of track-B is given in Fig. 8(b). The layout is modeled after the Ruisi Circuit located in Bei**g, China. Track-B has ten corners. The total length is m and the width is m. In Fig. 8, the finish line and running direction of the tracks are marked with a red line across the track and a white arrow respectively.
![Refer to caption](x8.png)
![Refer to caption](x9.png)
A typical race track can be regarded as a sequence of basic corners connected together. Therefore, the driving skill of cornering is the key to minimizing the lap time. As shown in Fig. 9, a basic corner can be divided into three parts: in-straight (red part), curve (blue part), and out-straight (green part). The solid green line indicates the racing line, which is the theoretical fastest line through the corner. Obviously, the racing line significantly reduces the tightness of the corner by using the in-straight and the out-straight parts, which allows for the highest speed possible to run through this corner. There are four key points on the racing line. The braking point is the position to start applying the brake before the corner. The turn-in point is the position to start steering into the corner. The apex is located on the inside of a corner, and it is the aiming point after the turn-in point. The apex is also the position to start acceleration. The exit point is where the car once again reaches the outside of the corner, and it is also the aiming point after the car passes the apex. The ideal racing line and key points depend on the curvature of the corner, the condition of the previous corner and the following corner, and the handling performance of the car being driven.
![Refer to caption](x10.png)
We conduct the following simulation experiments on a workstation with Ubuntu 20.04 operating system, Intel Core i9-13900k CPU, 32GB RAM, and NVIDIA GeForce RTX 4090 GPU. The neural networks for RL algorithms are built with the PyTorch framework and implemented on the GPU.
The driving policy is trained following Algorithm 2. To implement the numerical AM mechanism, we first determine the discrete boundary function based on the race car’s dynamics with friction constraint. The numbers of the discretization points are set as: . The discretization step sizes for speed, steering angle, and action vector angle are m/s, deg, and deg, respectively. Then, we could use the AM mechanism in policy training following Algorithm 1. The training parameters are listed in Table LABEL:tb_rlparam. At the beginning of each training episode, we place the car on a random position in the straight part of the track with a random speed . The initial , , and are all zero. For each time step, the states are normalized to or with respect to their minimum and maximum values. For the forward-observation feature state , we utilize forward observation points at varying distances: meters. The maximum duration for one episode is steps, equivalent to seconds.
Parameter | Value |
Discount factor | |
Initial learning rate for critic network | |
Initial learning rate for actor network | |
Updating rate for target critic network | |
Updating rate for target actor network | |
Batch size | |
Replay buffer size | |
Exploration noise variance | |
Policy smoothing variance | |
Update delay step |
To further explore the capabilities of the proposed TD3-AM algorithm, we introduce several comparative approaches, including the conventional TD3 algorithm, the proximal policy optimization (PPO) algorithm, and the safety layer technique (SL). Given that TD3 operates as an off-policy RL algorithm, we opt for the on-policy PPO algorithm as an additional baseline RL algorithm, and we also apply AM to the PPO algorithm. In our experiments, the PPO algorithm is implemented with the Stable-Baselines3 library [45]. The structure of the actor and critic networks and the batch size used for PPO are the same as the TD3-AM. Other training parameters are also carefully tuned. The safety layer is a state-of-the-art safe exploration technique for RL with state constraints [35]. As we introduced before, SL shares a similar idea with AM, which is adjusting the original action from the actor network to satisfy the constraints. Therefore, it is also compatible with both on-policy and off-policy RL algorithms. In the following experiments, SL is built following the procedures given in [35]. We first collect transition data from the simulation environment where the race car is randomly initialized and given random actions. The transitions of constraint violations are specially marked. Then, the immediate-constraint function of SL is approximated with a two-hidden-layer neural network based on the collected data through supervised learning. After that, we apply SL to both TD3 and PPO algorithms.
5.2 Evaluation Results on Track-A
For the evaluation on track-A, we train and test all six approaches mentioned above, which are: 1) TD3; 2) TD3-SL; 3) TD3-AM; 4) PPO; 5) PPO-SL; 6) PPO-AM. Each approach is trained for M iterations. After every k iterations, the driving policy is evaluated by an evaluation episode where the race car starts from the finish line and runs for s. The accumulated reward and lap time of the episode is recorded. For each approach, we perform independent training trials starting with randomly initialized actor and critic networks.
Figure 10 (first row) displays the learning progress, as indicated by the average accumulated rewards of the evaluation episodes. The solid lines and shaded areas depict the average values and standard deviations of the rewards for the identical evaluation episode across 10 trials. The curves show that the learning progress of the TD3-based approaches is more stable and consistent, while the PPO-based approaches are not very stable. Moreover, the TD3-AM approach achieves the highest average reward.
![Refer to caption](x11.png)
In motorsport, the lap time of a ‘flying lap’ is a major criterion to evaluate a race car’s performance and the skill of a race driver. The ‘flying lap’ starts when the car crosses the finish line of the previous lap at a high rate of speed. In our evaluation episode, if the driving policy could finish at least two laps without any fault, the second lap can be regarded as a ‘flying lap’ and this episode is identified as a ‘success episode’. To demonstrate the performance improvement of the driving policies during the learning process, we aggregate the results of every evaluation episode from trials as a group. The lap time and success rate of all groups are given in the second and third rows of Fig. 10. The median values and the max/min value of lap time in each evaluation group are shown by solid lines and shaded areas respectively. If there is no success episode in one evaluation group, the lap time is not shown. The success rate of the TD3-AM policy finally reaches , while other policies are all below . The PPO-based policies obtain lower success rates than the TD3-based policies, and the PPO-based policies also take more training iterations before having a success episode. However, for the lap time, the PPO and PPO-SL policies obtain a shorter time than their corresponding TD3 and TD3-SL policies. More importantly, the driving policies with AM achieve further shorter lap time than other policies.
Furthermore, we introduce other criteria for comparison, including 1) the best lap time achieved in all evaluation episodes; 2) the average cumulative number of episodes terminated due to the friction constraint violation; and 3) training speed in seconds per 1k iteration. These values are listed in Table LABEL:tb_tracka. From the best lap time, we find that TD3 and PPO approaches make significant improvements after using AM. The best lap times of TD3-AM and PPO-AM are and shorter than their corresponding baselines. In comparison, the improvements by introducing SL are relatively smaller. The TD3-AM driving policy achieves the best lap time of all policies. From the number of constraint violations, we observe that introducing SL could reduce the number of friction constraint violations by half, and the AM mechanism successfully avoids any violations. The training speed of the PPO-based approaches is approximately three times faster than the TD3-based approaches. Applying AM and SL to TD3 and PPO prolongs the training time about s and s slower per k iteration. Note that processing the action map** or safety layer of a single step takes less than ms.
Although both SL and AM are designed to address the constraint, only the AM mechanism achieves zero violation in all episodes. The main reason is that the numerical AM mechanism is more efficient at handling constraints with complex input coupling and nonlinear dynamics. From the vehicle model given above, the friction constraint function includes nonlinear couplings among speed, steering angle, and control inputs. To deal with the constraint, the SL technique approximates the friction constraint function with a linear model with respect to , where the coefficient is a function of car motion states , extracted with a pre-trained neural network. Then, this constraint function is solved via an analytical optimization method. This method works well for decoupled systems. However, when there is coupling among inputs, this form of linear approximation does not fit the actual dynamics. We observe that the fitting accuracy of network is relatively low from the pre-training, and that makes some of the actions fail to satisfy the constraint. Nevertheless, SL still works in some areas of the state space and effectively reduces the number of constraint violations.
Driving Policy | Best Lap Time (s) | Number of Constraint Violation | Training Speed (s/1k iteration) |
TD3 | 47.28 | 252 | 1.186 |
TD3-SL | 44.26 | 123 | 1.572 |
TD3-AM | 36.94 | 0 | 1.579 |
PPO | 39.67 | 304 | 0.441 |
PPO-SL | 39.54 | 135 | 0.644 |
PPO-AM | 37.76 | 0 | 0.620 |
The trajectories of the fastest flying lap by all six driving policies are shown in Fig. 11. The speed is illustrated by the color of the trajectory. The speed at the exit point of corners C1-C5 is marked on the figure. From the trajectories and speed, we find that all driving policies have mastered some basic skills of race driving. The policies have learned to decelerate upon approaching a corner and accelerate after exiting a corner. The policies also have learned to use the racing line to drive at a higher speed through a corner. Comparing these trajectories reveals that the PPO-AM and TD3-AM policies exhibit smoother and more extended trajectories than others. The speeds at the exit points are consistently higher than those achieved by other policies. Both PPO-AM and TD3-AM policies showcase excellent driving skills, with highly similar trajectories.
![Refer to caption](x12.png)
To comprehensively demonstrate the driving behavior of the learned policies, we show the speed, throttle/brake control, steering control, and resultant acceleration in Fig. 12. Note that the -axis denotes the track distance, which is the distance from the finish line to the vehicle’s position along the centerline of the race track. The exit points of corners C1-C5 are marked in Fig. 12. From the speed and throttle/brake curves, the TD3-AM policy tends to maintain a proper speed in corners. Differently, the TD3 policy continuously applies the brake, which makes the car run unnecessarily slow in corners. Furthermore, in corners C2, C3, and C4, the TD3 policy outputs fast-changing throttle/brake and steering control signals, which is harmful to the car’s balance in real driving. In comparison, the control signals from the TD3-AM policy are much smoother. From the resultant acceleration, both driving policies satisfy the constraint of friction, which is given by a red horizontal line () in the figure. In each corner, the acceleration of the TD3-AM policy is closer to the limit. That means the TD3-AM policy could better maximize the maneuverability of the vehicle.
For conventional RL-based approaches (TD3 and PPO), constraint violations are penalized in the reward function, discouraging control policies from approaching the friction limit. The reward-sha** solution non-equivalently transforms the original optimization problem with constraints into a multi-objective optimization problem, where the constraint conditions become part of the penalty terms, which makes the control policy conservative. In comparison, introducing the AM mechanism directly prevents exceeding the friction limit from the perspective of action space without changing the objective of the optimization problem. Our method reconciles the contradiction between the need for higher speed and satisfying the friction constraint in turning maneuvers. In summary, the AM mechanism significantly improves the efficiency of RL algorithms in optimizing the race driving policy.
![Refer to caption](x13.png)
5.3 Evaluation Results on Track-B
The capability of the proposed TD3-AM driving policy is further evaluated on track-B. The generalization ability of the AM mechanism is also demonstrated and discussed. The corners in track-B are more complex and volatile compared to track-A, with the track width being only half of track-A. The six approaches are trained and evaluated on Track-B with identical training configurations, with the distinction that each approach is trained for 50M iterations instead of 20M. The learned driving policies are also evaluated every 1k iteration. However, both the TD3 and TD3-SL policies fail to achieve a satisfactory driving policy capable of completing a lap. The best lap times for the other four policies are listed in Table LABEL:tb_laptimeb. Similar to the results on track-A, the introduction of the AM mechanism also significantly enhances performance on track-B. Given the similarities in driving behaviors between PPO-AM and TD3-AM, we focus on demonstrating the TD3-AM driving policy in the following.
Driving Policy | Best Lap time (min:sec) |
PPO | 1:26.23 |
PPO-SL | 1:18.38 |
PPO-AM | 1:09.55 |
TD3-AM | 1:04.16 |
The trajectory of the fastest flying lap by the trained TD3-AM driving policy is shown in Fig. 13. The color of the trajectory illustrates the speed. The speeds at the exit points of corners C1-C10 are marked in the figure. Although track-B is much more difficult than track-A, the TD3-AM algorithm still has successfully mastered the driving skills for track-B. In consecutive corners C3-C7 and hairpin corners C8 and C9, the driving agent utilizes the full width of the track to minimize corner curvature, resulting in a remarkably smooth trajectory. The overall trajectory closely aligns with the theoretical optimal race line.
![Refer to caption](x14.png)
In real race situations, the constraint of friction frequently changes due to tire wear, tire replacement, or wet track. If the maximum friction decreases while the original driving policy is in use, there is a higher risk of violating the friction constraint, particularly in sharp corners. The proposed TD3-AM driving policy can easily adapt to different friction constraints by adjusting the friction limit in the action map** function. To demonstrate this feature, we compare the TD3-AM driving policy using two action map** functions where the friction limits are and respectively. We use the most difficult part of track-B, consecutive corners C3-C7, to demonstrate the performances. The trajectories are compared in Fig. 14. The network output action , control signal of throttle/brake and steering, and resultant acceleration are compared in Fig. 15 where the exit point of corners C3-C7 are marked. The trajectories of the driving policies with the constraint of and are similar, yet the speed of the policy with policy is obviously slower. Since the maximum friction is lower, driving through a corner at a slower speed is the only way to avoid losing grip.
![Refer to caption](x15.png)
![Refer to caption](x16.png)
From the resultant acceleration curves in Fig. 15, both driving policies satisfy their corresponding constraint. The acceleration curves are very close to the upper limit in the corners, which means the policies could make the most of the tire grip to pass the corners at high speeds. That ability is mostly attributed to the AM mechanism. Specifically, from Fig. 15, when the resultant acceleration approaches the limit in sharp corners, the constrained control input space becomes smaller. At this stage, whenever the network outputs an action that is outside the constrained space, the action map** function gives the corresponding control signal that barely complies with the constraint. For example, in curves C3 and C4, the actor networks of both policies output the full-throttle action, while the acceleration curves indicate that turning at the current speed is very close to the friction limit. Then, the action map** function gives a lower throttle signal to maintain the maximum possible speed through the corner. It should be noted that directly using an action map** function with a lower friction limit can only guarantee that the driving policy satisfies the new friction constraint. The new driving policy cannot achieve the near-optimal driving performance as the original one, and it may not successfully finish a lap if the new friction limit is much lower. However, the new driving policy can be quickly improved and reach the near-optimal level with a few episodes of training in the lower friction situation. In this way, with the AM mechanism, the learned driving policy can quickly generalize to lower friction conditions without re-training the whole driving policy.
Track-B is modeled after a real race track, and many cars have been tested on this track by professional drivers. Although the driving policy evaluation on track-B is performed in the simulation environment, we can make a rough comparison between our learned driving policy and the real professional drivers. We use the flying lap time data from [46], and select six cars with similar lap times for comparison. The cars’ basic performance parameters and lap times are listed in Table 5. The maximum power (Max Pow.) and 0 to 100 km/h acceleration time (Acc. Time) indicate the car’s acceleration performance; the 100 km/h to 0 brake distance (Brake Dist.) is associated with the maximum friction force. From these data, although our test model has little merit in basic performance parameters, the learned driving policy still managed to achieve a comparable lap time. Given the disparities between the simulation environment and the real-world scenario, we cannot directly compare the performances between the learned policy and the professional driver. However, the proposed TD3-AM algorithm for race driving has demonstrated its potential to acquire professional-level driving skills.
Make/Model | Max Power (kW) | Acc. Time (s) | Brake Dist (m) | Lap Time (min:sec) |
BMW 325Li (2021) | 135 | 7.90 | 38.7 | 1:03.28 |
Honda Civic (2022) | 134 | 8.13 | 38.2 | 1:03.91 |
VW Golf 8 (2021) | 110 | 8.08 | 35.9 | 1:04.12 |
Our Test Model | 125 | 8.80 | 42.5 | 1:04.16 |
Ford Focus (2019) | 135 | 8.90 | 37.1 | 1:04.30 |
KIA K5 (2020) | 176 | 7.48 | 34.1 | 1:05.10 |
Mazda Atenza (2020) | 141 | 8.03 | 37.0 | 1:05.40 |
6 Conclusions and Future Work
In this paper, we present a novel numerical AM-RL framework for autonomous race driving. The proposed numerical AM mechanism enables the RL-based driving agent to safely operate the vehicle within the friction limit while maximizing its handling capability. Leveraging the proposed TD3-AM approach, we have successfully trained a race driving agent with professional-level skills. The simulation results highlight improved race driving performance and the generalization capability to different friction conditions of the proposed approach, representing a significant advancement in addressing the friction constraint in autonomous racing. The lap time of the TD3-AM driving policy is 22% shorter than the baseline TD3 driving policy, and the success rate is 90%, which is much higher than the baseline policies.
In our future work, we aim to assess the practical applicability of our AM-RL framework through real-world car race experiments. Due to the unavailability of an accurate dynamic model for the vehicle, we intend to first establish a conservative friction constraint function using approximate physical parameters, and then enhance its accuracy progressively through online learning. We will also explore methods to handle sensor noise and other uncertainties in real-world applications. Additionally, we also plan to investigate the capabilities of AM-RL in addressing other nonlinear control problems with constraints.
References
References
- [1] S. Grigorescu, B. Trasnea, T. Cocias, G. Macesanu, A survey of deep learning techniques for autonomous driving, Journal of Field Robotics 37 (3) (2020) 362–386.
- [2] E. Yurtsever, J. Lambert, A. Carballo, K. Takeda, A survey of autonomous driving: Common practices and emerging technologies, IEEE access 8 (2020) 58443–58469.
- [3] L. Liu, S. Lu, R. Zhong, B. Wu, Y. Yao, Q. Zhang, W. Shi, Computing systems for autonomous driving: State of the art and challenges, IEEE Internet of Things Journal 8 (8) (2020) 6469–6486.
- [4] L. Chen, Y. Li, C. Huang, B. Li, Y. Xing, D. Tian, L. Li, Z. Hu, X. Na, Z. Li, et al., Milestones in autonomous driving and intelligent vehicles: Survey of surveys, IEEE Transactions on Intelligent Vehicles 8 (2) (2022) 1046–1056.
- [5] Y. Li, J. Ibanez-Guzman, Lidar for autonomous driving: The principles, challenges, and trends for automotive lidar and perception systems, IEEE Signal Processing Magazine 37 (4) (2020) 50–61.
- [6] D. Feng, C. Haase-Schütz, L. Rosenbaum, H. Hertlein, C. Glaeser, F. Timm, W. Wiesbeck, K. Dietmayer, Deep multi-modal object detection and semantic segmentation for autonomous driving: Datasets, methods, and challenges, IEEE Transactions on Intelligent Transportation Systems 22 (3) (2020) 1341–1360.
- [7] H. Fujiyoshi, T. Hirakawa, T. Yamashita, Deep learning-based image recognition for autonomous driving, IATSS research 43 (4) (2019) 244–252.
- [8] L. Claussmann, M. Revilloud, D. Gruyer, S. Glaser, A review of motion planning for highway autonomous driving, IEEE Transactions on Intelligent Transportation Systems 21 (5) (2020) 1826–1848. doi:10.1109/TITS.2019.2913998.
- [9] J. Chen, W. Zhan, M. Tomizuka, Autonomous driving motion planning with constrained iterative lqr, IEEE Transactions on Intelligent Vehicles 4 (2) (2019) 244–254.
- [10] A. Amini, I. Gilitschenski, J. Phillips, J. Moseyko, R. Banerjee, S. Karaman, D. Rus, Learning robust control policies for end-to-end autonomous driving from data-driven simulation, IEEE Robotics and Automation Letters 5 (2) (2020) 1143–1150.
- [11] D. Li, D. Zhao, Q. Zhang, Y. Chen, Reinforcement learning and deep learning based lateral control for autonomous driving [application notes], IEEE Computational Intelligence Magazine 14 (2) (2019) 83–98.
- [12] M. Guiggiani, The science of vehicle dynamics, Pisa, Italy: Springer Netherlands (2014) 15.
- [13] R. Rajamani, Vehicle dynamics and control, Springer Science & Business Media, 2011.
- [14] X. Yuan, Y. Wang, J. Liu, C. Sun, Action map**: A reinforcement learning method for constrained-input systems, IEEE Transactions on Neural Networks and Learning Systems 34 (10) (2023) 7145–7157. doi:10.1109/TNNLS.2021.3138924.
- [15] S. Fujimoto, H. Hoof, D. Meger, Addressing function approximation error in actor-critic methods, in: International Conference on Machine Learning, 2018, pp. 1587–1596.
- [16] R. Verschueren, S. De Bruyne, M. Zanon, J. V. Frasch, M. Diehl, Towards time-optimal race car driving using nonlinear mpc in real-time, in: 53rd IEEE conference on decision and control, IEEE, 2014, pp. 2505–2510.
- [17] R. Verschueren, M. Zanon, R. Quirynen, M. Diehl, Time-optimal race car driving using an online exact hessian based nonlinear mpc algorithm, in: 2016 European control conference (ECC), IEEE, 2016, pp. 141–147.
- [18] P. Scheffe, T. M. Henneken, M. Kloock, B. Alrifaee, Sequential convex programming methods for real-time optimal trajectory planning in autonomous vehicle racing, IEEE Transactions on Intelligent Vehicles 8 (1) (2022) 661–672.
- [19] R. C. T. Novi, A. Liniger, C. Annicchiarico, Real-time control for at-limit handling driving on a predefined path, Vehicle System Dynamics 58 (7) (2020) 1007–1036.
- [20] A. Liniger, J. Lygeros, Real-time control for autonomous racing based on viability theory, IEEE Transactions on Control Systems Technology 27 (2) (2017) 464–478.
- [21] J. Kabzan, L. Hewing, A. Liniger, M. N. Zeilinger, Learning-based model predictive control for autonomous racing, IEEE Robotics and Automation Letters 4 (4) (2019) 3363–3370.
- [22] U. Rosolia, F. Borrelli, Learning how to autonomously race a car: a predictive control approach, IEEE Transactions on Control Systems Technology 28 (6) (2019) 2713–2719.
- [23] G. Williams, N. Wagener, B. Goldfain, P. Drews, J. M. Rehg, B. Boots, E. A. Theodorou, Information theoretic mpc for model-based reinforcement learning, in: 2017 IEEE International Conference on Robotics and Automation (ICRA), IEEE, 2017, pp. 1714–1721.
- [24] G. Williams, P. Drews, B. Goldfain, J. M. Rehg, E. A. Theodorou, Information-theoretic model predictive control: Theory and applications to autonomous driving, IEEE Transactions on Robotics 34 (6) (2018) 1603–1622.
- [25] P. Drews, G. Williams, B. Goldfain, E. A. Theodorou, J. M. Rehg, Aggressive deep driving: Model predictive control with a cnn cost model, arXiv preprint arXiv:1707.05303.
- [26] T. P. Lillicrap, J. J. Hunt, A. Pritzel, N. Heess, T. Erez, T. Y, D. Silver, D. Wierstra, Continuous control with deep reinforcement learning, in: ICLR, 2016.
- [27] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, O. Klimov, Proximal policy optimization algorithms, arXiv preprint arXiv:1707.06347.
- [28] T. Haarnoja, A. Zhou, P. Abbeel, S. Levine, Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor, in: International conference on machine learning, PMLR, 2018, pp. 1861–1870.
- [29] Y. Wang, J. Sun, H. He, C. Sun, Deterministic policy gradient with integral compensator for robust quadrotor control, IEEE Transactions on Systems, Man, and Cybernetics: Systems 50 (10) (2019) 3713–3725.
- [30] J. Hwangbo, I. Sa, R. Siegwart, M. Hutter, Control of a quadrotor with reinforcement learning, IEEE Robotics and Automation Letters 2 (4) (2017) 2096–2103.
- [31] S. Gu, E. Holly, T. Lillicrap, S. Levine, Deep reinforcement learning for robotic manipulation with asynchronous off-policy updates, in: 2017 IEEE international conference on robotics and automation (ICRA), IEEE, 2017, pp. 3389–3396.
- [32] T. Koller, F. Berkenkamp, M. Turchetta, A. Krause, Learning-based model predictive control for safe exploration, in: 2018 IEEE conference on decision and control (CDC), IEEE, 2018, pp. 6059–6066.
- [33] J. Achiam, D. Held, A. Tamar, P. Abbeel, Constrained policy optimization, in: International conference on machine learning, PMLR, 2017, pp. 22–31.
- [34] C. Tessler, D. J. Mankowitz, S. Mannor, Reward constrained policy optimization, arXiv preprint arXiv:1805.11074.
- [35] G. Dalal, K. Dvijotham, M. Vecerik, T. Hester, C. Paduraru, Y. Tassa, Safe exploration in continuous action spaces, arXiv preprint arXiv:1801.08757.
- [36] M. Jaritz, R. De Charette, M. Toromanoff, E. Perot, F. Nashashibi, End-to-end race driving with deep reinforcement learning, in: 2018 IEEE International Conference on Robotics and Automation (ICRA), IEEE, 2018, pp. 2070–2075.
- [37] F. Fuchs, Y. Song, E. Kaufmann, D. Scaramuzza, P. Dürr, Super-human performance in gran turismo sport using deep reinforcement learning, IEEE Robotics and Automation Letters 6 (3) (2021) 4257–4264.
- [38] P. R. Wurman, S. Barrett, K. Kawamoto, J. MacGlashan, K. Subramanian, T. J. Walsh, R. Capobianco, A. Devlic, F. Eckert, F. Fuchs, et al., Outracing champion gran turismo drivers with deep reinforcement learning, Nature 602 (7896) (2022) 223–228.
- [39] A. Remonda, S. Krebs, E. E. Veas, G. Luzhnica, R. Kern, Formula rl: Deep reinforcement learning for autonomous racing using telemetry data, in: Workshop on Scaling-Up Reinforcement Learning: SURL, 2019.
- [40] B. Wymann, E. Espié, C. Guionneau, C. Dimitrakakis, R. Coulom, A. Sumner, Torcs, the open racing car simulator, Software available at http://torcs. sourceforge. net 4 (6) (2000) 2.
- [41] A. Remonda, E. Veas, G. Luzhnica, Comparing driving behavior of humans and autonomous driving in a professional racing simulator, PLoS one 16 (2) (2021) e0245320.
- [42] J. Niu, Y. Hu, B. **, Y. Han, X. Li, Two-stage safe reinforcement learning for high-speed autonomous racing, in: 2020 IEEE international conference on Systems, Man, and Cybernetics (SMC), IEEE, 2020, pp. 3934–3941.
- [43] B. D. Evans, H. W. Jordaan, H. A. Engelbrecht, Safe reinforcement learning for high-speed autonomous racing, Cognitive Robotics 3 (2023) 107–126.
- [44] D. Silver, G. Lever, N. Heess, T. Degris, D. Wierstra, M. Riedmiller, Deterministic policy gradient algorithms, in: International conference on machine learning, PMLR, 2014, pp. 387–395.
-
[45]
A. Raffin, A. Hill, A. Gleave, A. Kanervisto, M. Ernestus, N. Dormann,
Stable-baselines3: Reliable
reinforcement learning implementations, Journal of Machine Learning Research
22 (268) (2021) 1–8.
URL http://jmlr.org/papers/v22/20-1364.html -
[46]
KBRACER, Ruisi circuit lap time leaderboard,
https://kbracer.github.io (Jan. 2023).
URL https://kbracer.github.io