기본 정보
- 저자
- DOI
- 10.48550/arxiv.2212.07611
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2212.07611
- 토픽
- Electric and Hybrid Vehicle Technologies
- OpenAlex ID
- W6910496295
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Eco-driving strategies have been shown to provide significant reductions in fuel consumption. This paper outlines an active driver assistance approach that uses a residual policy learning (RPL) agent trained to provide residual actions to default power train controllers while balancing fuel consumption against other driver-accommodation objectives. Using previous experiences, our RPL agent learns improved traction torque and gear shifting residual policies to adapt the operation of the powertrain to variations and uncertainties in the environment. For comparison, we consider a traditional reinforcement learning (RL) agent trained from scratch. Both agents employ the off-policy Maximum A Posteriori Policy Optimization algorithm with an actor-critic architecture. By implementing on a simulated commercial vehicle in various car-following scenarios, we find that the RPL agent quickly learns significantly improved policies compared to a baseline source policy but in some measures not as good as those eventually possible with the RL agent trained from scratch.
본문 35,732자
본문 펼치기
## Residual Policy Learning for Powertrain Control
Lindsey Kerbel <sup>_∗_</sup> Beshah Ayalew <sup>_∗_</sup> Andrej Ivanco <sup>_∗∗_</sup>
Keith Loiselle <sup>_∗∗_</sup>
_∗_ _Department_ _of_ _Automotive_ _Engineering,_ _Clemson_ _University,_
_Greenville,_ _SC_ _29607,_ _USA_ _(e-mail:(lsutto2,_ _beshah)@clemson.edu)._
_∗∗_ _Allison_ _Transmission_ _Inc.,_ _One_ _Allison_ _Way,_ _Indianapolis,_ _IN,_
_46222,_ _USA_ _(e-mail:(andrej.ivanco,_
_keith.loiselle)@allisontransmission.com)_
Abstract: Eco-driving strategies have been shown to provide significant reductions in fuel
consumption. This paper outlines an active driver assistance approach that uses a residual policy
learning (RPL) agent trained to provide residual actions to default power train controllers while
balancing fuel consumption against other driver-accommodation objectives. Using previous
experiences, our RPL agent learns improved traction torque and gear shifting residual policies
to adapt the operation of the powertrain to variations and uncertainties in the environment. For
comparison, we consider a traditional reinforcement learning (RL) agent trained from scratch.
Both agents employ the off-policy Maximum A Posteriori Policy Optimization algorithm with
an actor-critic architecture. By implementing on a simulated commercial vehicle in various carfollowing scenarios, we find that the RPL agent quickly learns significantly improved policies
compared to a baseline source policy but in some measures not as good as those eventually
possible with the RL agent trained from scratch.
Copyright © 2022 The Authors. This is an open access article under the CC BY-NC-ND license
(https://creativecommons.org/licenses/by-nc-nd/4.0/)
_Keywords:_ Residual Policy Learning, Reinforcement Learning, Eco-driving, Gear Shifting
1. INTRODUCTION
With 29% of greenhouse emissions coming from the transportation sector in the United States, new governmental
regulations and incentives are being continuously adopted
(EPA, 2015a) to motivate vehicle original equipment manufacturers (OEMs) to apply various technical solutions
in reducing energy usage and emissions. Several measures
that attempt to influence the driver’s behavior to reduce
energy consumption, collectively known as Eco-driving
strategies, have been proposed to work with highly engineered powertrains including conventional, hybrid, and
electric vehicles (Barkenbus, 2010).
Many of these Eco-driving solutions involving passive
driver advisory tend to rely on driver compliance and
training. Implementing these strategies through active
control systems has shown to offer an significant energy
consumption savings while mitigating the need to rely on
the driver. These solutions use optimal control problem
formulations to optimize the velocity trajectory, modulate kinetic energy, and constrain accelerations and are
often integrated into an adaptive cruise control (ACC)
system (Nie and Farzaneh, 2020). In Yoon et al. (2020),
one approach is proposed to optimize traction torque while
still accommodating the driver’s request to manage the
kinetic energy of a commercial vehicle by using radar
information about the preceding vehicle demonstrating a
However, these control methods rely heavily on powertrain
and vehicle models which may be inaccurate in the face
of unknown traffic, vehicle conditions and environmental
variables. Common issues with model-based controls is
the requirement of knowing real-time vehicle and road
parameters such as rolling/aerodynamic resistances and
vehicle mass, for example. Borlaug et al. (2020) showed
that the fuel consumption varies up to 11% due to regional
driving patterns in addition to other factors such as vehicle
characteristics, weather, road and traffic conditions, and
driver tendencies. Despite extensive calibration efforts,
control systems deployed with production vehicles cannot
anticipate all the variations found in real-world driving
scenarios. These systems are often designed to encompass
a broad set of drive cycles, and this leads to compromises
on the achievable performance for a vehicle dedicated to a
specific vocation/fleet.
In a previous work (Kerbel et al., 2022), we presented a
data-driven reinforcement learning (RL) based controller
where a vehicle model is not utilized for the control strategy implementation. RL is fundamentally about learning
the optimal policy from interactions of the RL agent
with the environment without explicit needs for modeling. There are indeed several recent applications of RL
to vehicle control including automated lane change maneuvers (Wang et al., 2018), fuel optimal velocity trajectories (Hu et al., 2019), and optimal transmission gear
t l (Li d G¨ 2020) ll f hi h i t t d
into ACC. In most of these cases, including our prior
work, the RL agent is trained from scratch. It typically
takes several training episodes before a convergent policy
is found.
In this work, we build upon the idea of using an RLbased controller to assist a driver with optimal powertrain control to improve fuel economy. However, instead
of learning policies from scratch, we set up the RL agent
to learn residual policies that adapt to the actual vocation
of the specific vehicle. The starting policy in this framework is the original powertrain control policy shipped
with the vehicle (which we call the source policy). This
approach is known as residual policy learning (RPL), a
method to utilize RL to continuously improve upon a
predetermined source policy in an uncertain and dynamic
environment (Silver et al., 2018). Johannink et al. (2019)
and Schaff and Walter (2020) demonstrated the potential
of this approach to accelerate training of the RL agent
by boosting data efficiency where pre-designed complex
feedback laws are available as source policies for robots in
a manufacturing environment.
The contribution of this paper is to demonstrate the application of the RPL approach to driver-assist vehicle powertrain control using baseline (OEM equivalent) engineered
control policies as source policies. The detailed formulation
of the RPL agent is offered and its learning and ultimate
performance is compared against that of an RL agent
trained from scratch. In this application, we configure the
agents to compute both transmission gear selection and
traction torque commands.
The rest of the paper is organized as follows. Section 2
outlines the problem formulation. Section 3 details the
proposed RPL framework. Section 4 presents results and
discussions and Section 5 concludes the paper.
2. PROBLEM FORMULATION
In this work, we consider a commercial vehicle with a
powertrain consisting of a multispeed transmission and an
internal combustion engine where the goal is to provide
driver assistance via powertrain control. To formulate the
driver assistance controller as an RL agent, we model
the environment for the Markov Decision Process (MDP)
to consist of a driver controlling the ego-vehicle while
following a leading vehicle. The state of the environment
is then defined as _s_ = [ _Ve, Ae, Ades, ng_ ], where _Ve_ is the
ego vehicle’s velocity, _Ae_ is the ego vehicle’s acceleration,
_Ades_ is the driver’s desired input, and _ng_ is the transmission gear (range). The actions _a_ consist of the desired
traction torque and requested gear change ( _T_ and _ug_ )
where _ugϵ_ [ _−_ 1 _,_ 0 _,_ 1] (downshift, remain in current gear, or
upshift).
We seek a method to utilize the original powertrain control
policy as delivered by the OEM while learning an optimal
residual policy and state-action value through repeated
interactions with the prevailing environment experienced
by the vehicle. To formulate the MDP for this RPL agent,
we consider the same environment model as described
above but we augment the state vector with actions
(2)
where ∆ _Amax_, _Tmax_, and _m_ ˙ _f,max_ are the maximum acceleration error, allowed desired torque, and fuel rate. The
maximum power reserve _Pr,max_ is a function of velocity and is computed from the maximum engine torque
curve in each gear (Ngo, 2012). The weight components
_WA, WT, Wfr, Wg_, and _Wpr_ trade-off objectives of minimizing the error in the desired acceleration, traction
torque, fuel rate, gear shift frequency, and maintaining
available acceleration. For the comparative studies we
present later, the reward function remains the same between the RPL and the RL only versions, as they have the
same Eco-driving objectives.
3. RESIDUAL POLICY LEARNING FRAMEWORK
Figure 2 shows a schematic of the learning framework for
(a) RL Agent (b) RPL Agent
Fig. 1. Formulation of the driver-assistance controllers
with a regular RL agent vs an RPL agent.
The distinction between the formulations of the regular
RL agent and the RPL agent is depicted in Figure 1.
For the RPL agent, the deterministic source actions are
summed with actions sampled from learned residual actions _ar_ = [ _Tr, ug,r_ ]. The action vector applied to the
environment is then considered the mixed control action
vector _am_ = [ _Tm, ug,m_ ] solved as (1).
_am_ = _as_ + _ar_ (1)
The next state ( _s_ <sup>_′_</sup> ) of the environment and the rewards
( _r_ ) are calculated from the current state and the applied
mixed action through a detailed vehicle model simulation.
In practice, both the state transitions and rewards would
be generated from on-board data, often available as onboard diagnostics information, or from telematic and edge
devices that log suitably decimated data.
For both of our RL and RPL agents, we define a
multi-objective reward function that balances the driveraccommodation and fuel consumption reduction goals expressed through several terms. We seek to minimize the
absolute acceleration error with respect to the driver’s
desired acceleration ( _|Ades_ _−_ _Ae|_ ) while also minimizing
the fuel rate ( _m_ ˙ _f_ ) and the traction torque ( _T_ ) magnitude.
Further, we penalize gear shifting frequency for driver comfort. Another driveability component is to ensure there is
adequate acceleration capability available from the engine
to the driver by considering a power reserve ( _Pr_ ) term.
Each of these reward components are normalized with
respect to their corresponding maximum values to simplify
interpretations of weight selections as shown below.
_r_ ( _st, at_ ) = _−_ _WA_
_|Adest_ _−_ _Aet_ +1 _|_
∆ _Amax_
_−_ _WT_
_<u>|Tt|</u>_
_Tmax_
_−_ _Wfr_
_m_ ˙ _ft_ +1
_m_ ˙ _f,max_
_−_ _Wg|ngt_ +1 _−_ _ngt| −_ _Wpr_
_Pr,maxt_ +1 _−_ _Prt_ +1
_Pr,max_
Fig. 2. Proposed Residual Policy Learning Architecture
and actions between the environment and the controller
implemented at each step and the dashed lines represent
the information sent to a replay buffer ( _s, s_ <sup>_′_</sup> _, ar, r_ ), where
the RPL algorithm samples previous experiences to learn
the residual policy. We use an actor-critic architecture with
a deep neural network for the action policy (actor, parameterized by _θ_, denoted _πθ_ ) along with a critic network to approximate a state-action-value function (Q-value, parameterized by _φ_, denoted _Qφ_ ( _s, a_ )). In the overall framework,
the actor approximates the optimal residual actions given
the current state to modify the source actions sent to the
vehicle system (in the environment). Through the interactions with the mixed actions taken ( _am_ ), the environment
generates the next state and calculates a reward. The critic
uses the reward to approximate a value for the state-action
pair that was implemented in the environment. In this
case, we can consider the Q-value approximation for the
state and residual action pair because the source actions
are considered as states.
Since we have a hybrid action space, we train the actor
network to approximate both the optimal continuous action (desired torque, _T_ ) and the discrete action (desired
gear change, _ug_ ). In our experiments, these actions share
the same network parameters with different output layer
activation functions. The continuous residual torque action
is considered as a Guassian stochastic policy with the
mean (Tanh function) and a standard deviation (sigmoid
function) as its parameters. The discrete residual gear
action is modeled as a categorical distribution through
a softmax activation function with three discrete action
choices. We factorize the policy into continuous and discrete components by considering them as independent as
described in Neunert et al. (2020). While this holds true in
the practical arrangement of the powertrain control where
one can more or less manipulate gear and torque through
independent actuation, the independence assumption allows a ready factorization of the joint distribution of the
torque and gear actions.
The mixed torque and gear actions are then passed to
the powertrain simulation which enforces constraints consistent with the corresponding components. Specifically,
the computed mixed torque action request is saturated by
the limitations of the engine torque and/or the braking
system Similarly the requested mixed gear action (sum
change request) is limited to one gear change in either
direction and the final gear output is enforced by the
powertrain engine speed limits at the given vehicle speed.
The final available torque and gear actions are applied
to the vehicle model to transition to the next state. The
environment generates reward signals that encompass the
fuel rate ( ˙ _mf_ ), the vehicle acceleration ( _Ae_ ), and gear ( _ng_ )
that occurred as a result of the actions currently applied.
These signals are used for computing the total weighted
reward according to (2) that we aim to maximize.
In the next section, we briefly describe the reinforcement
learning algorithms we use to train the actor-critic setup
for the RPL agent as well as the RL only agent.
4. REINFORCEMENT LEARNING ALGORITHM
We have considered several state-of-the-art on-policy and
off-policy algorithms to train our actor-critic networks.
In general, off-policy algorithms such as DDPG (Lillicrap
et al., 2015) and SAC (Haarnoja et al., 2018) are known to
offer better sample efficiencies, especially in high dimensional and continuous spaces. Although the RPL architecture can be implemented alongside any RL algorithm, a
novel off-policy algorithm, known as maximum posteriori
optimization (MPO), was chosen considering that it combines the benefits of on-policy and off-policy algorithms
by drawing from a probabilistic inference perspective to
optimal control (Abdolmaleki et al., 2018). In our experiments, this algorithm demonstrated stable performance
with minimal hyperparameter tuning and did not require
special treatment for the hybrid action space other than
the one described above. Next, we briefly summarize the
key steps of this algorithm as it was implemented for the
RPL controller.
The algorithm starts with a policy evaluation step which
is done via a critic network that approximates the stateaction-value (Q-value) for the policy. To fit the parameters
_φ_ for the critic network, a squared loss function is minimized between the current action value for the current
policy iterate _Qθk_ ( _s, a|φ_ ) and an estimated target Q-value,
_Qtarget_ ( _st, at_ ).
_L_ ( _φ_ ) = E [ _Qθk_ ( _st, at|φ_ ) _−_ _Qtarget_ ( _st, at_ )] <sup>2</sup> (3)
Several algorithms exist to estimate a target Q-value. A
stable and efficient method that provides low variance
and low bias is desirable. In this work, we adopted a Qvalue target estimation method known for stability and
efficiency, the Retrace algorithm (Munos et al., 2016). We
refer the reader to this original paper for details of the
Retrace algorithm. For now it should suffice that we train
the critic network with the Retrace target to obtain the
Q-value estimate that minimizes the loss function (3) for
the current iterate of the policy.
Given the value function _Qθk_ ( _st, at_ ) for the current policy iterate _πθk_, the MPO algorithm uses an expectationmaximization scheme to update the policy in two steps (Neunert et al., 2020; Abdolmaleki et al., 2018). First, with
samples from the replay buffer, a non-parametric improved
policy _q_ is constructed to maximize E _q_ [ _Qθk_ ( _st, at_ )] without considerable deviation from the current policy This
max E _q_ ( _a|s_ )[ _Qθk_ ( _s, a_ )]
_q_
_s.t._ E _µ_ ( _s_ ) [ _KL_ ( _q_ ( _a|s_ ) _||πθk_ ( _a|s_ ))] _< ϵ_
(4)
action for the desired traction torque is a conversion of
the driver’s desired acceleration _Ades_ from the IDM using
the longitudinal dynamics as shown in (6). This effectively assumes the source torque policy to ideally invert
the demanded acceleration. The baseline also utilizes the
desired traction torque directly as calculated for the source
torque action. The source gear shifting policy, which is
also our baseline shifting strategy, implements a simple
instantaneous fuel optimal strategy, where _ug_ is chosen by
minimizing a cost function _Jk_ = _m_ ˙ _f,k_ + _qcug,k_ for the available gears. More detailed information can be found in Yoon
et al. (2020). In this case, the source gear controller has
full knowledge of the engine’s fuel efficiency map whereas
the residual action is a learned correction based directly
on the environment interactions.
For both the RL and RPL controllers to be compared in
the next sub-section, the actor and critic networks of each
consist of 3 linear hidden layers (256 units per layer) and
the parameters are randomly initialized. The vehicle model
and agent parameters are listed in Table 1.
Table 1.
Vehicle
Model
and
Hyperparameters
<u>Vehicle</u> <u>Model</u> <u>Hyper-parameters</u>
<u>mass</u> <u>9070</u> _<u>kg</u>_ <u>actor</u> <u>learning</u> <u>rate</u> <u>5e-5</u>
_<u>Af</u>_ <u>,</u> _<u>Cd</u>_ <u>7</u> _<u>.</u>_ <u>71</u> _<u>m</u>_ <sup>2</sup> <u>,</u> <u>0</u> _<u>.</u>_ <u>8</u> <u>critic</u> <u>learning</u> <u>rate</u> <u>1e-4</u>
<u>∆</u> _<u>t</u>_ <u>0</u> _<u>.</u>_ <u>2</u> _<u>s</u>_ _<u>γ</u>_ <u>,</u> _<u>λ</u>_ <u>,</u> _<u>β</u>_ <u>0</u> _<u>.</u>_ <u>99,</u> <u>0</u> _<u>.</u>_ <u>90,</u> <u>0</u> _<u>.</u>_ <u>1</u>
_<u>rwheel</u>_ <u>0</u> _<u>.</u>_ <u>498</u> _<u>Q</u>_ <sup>_retrace_</sup> <u>steps</u> <u>15</u>
_<u>Amax</u>_ <u>2(</u> _<u>m/s</u>_ <u>)</u> <sup>2</sup> <u>KL:</u> _<u>ϵµ, ϵσ, ϵd</u>_ <u>0</u> _<u>.</u>_ <u>1</u> _<u>,</u>_ <u>0</u> _<u>.</u>_ <u>001</u> _<u>,</u>_ <u>0</u> _<u>.</u>_ <u>1</u>
_<u>Cr</u>_ <u>0</u> _<u>.</u>_ <u>015</u> <u>batch</u> <u>size</u> <u>3072</u>
_<u>theadway</u>_ <u>3</u> _<u>s</u>_ _<u>M</u>_ <u>action</u> <u>samples</u> <u>40</u>
As mentioned in Figure 1, one distinction between the
RPL agent and the RL agent is the augmentation of
the source actions to the state vector that allows us to
treat the residual policy as an independent policy as
a function of the states. It is imperative to ensure the
residual policy only enhances the outcome of an already
good source policy; that is, it is important to prevent
negative transfer. To this end, in our implementation, the
residual actions are not combined with the source actions
until the critic loss function from (3) falls below a threshold
( _β_ ) in its approximation of the Q-value. Thereafter, the
residual policy is applied and it then learns as a typical
RL algorithm, except with a residual action output and
that the state is augmented with the source actions.
_5.2_ _Analysis_ _and_ _Discussion_
For analysis of the RPL scheme, an RL only agent and an
RPL agent were trained equivalently in independent simulations. Both agents neural networks are initialized with
randomized parameters for the actor and critic and utilize the same reward weights. They train the actor/critic
networks (learn) by gaining experiences (steps taken in
where _µ_ ( _s_ ) is the visitation distribution given in the replay
buffer, and the constraint uses a Kullback–Leibler (KL)
divergence to keep _q_ close to _πθk_ limited by _ϵ_ .
The second step fits a new parametric policy _πθ_ to _q_ . The
corresponding optimization problem can be written as:
_θk_ +1 = arg max E _s∼R_ [ _KL_ ( _q_ ( _a|s_ ) _||πθ_ ( _a|s_ ))] (5)
_θ_
As mentioned above, given the hybrid action space for
the present problem, the KL divergence constraint in (4)
is implemented in factorized form in two parts: one for
the continuous (torque) policy, and one for the discrete
(gear) policy. Equations (3-5) are solved via a gradientbased optimization solver Adam (Kingma and Ba, 2015).
The detailed derivations for the MPO algorithm can be
found in Neunert et al. (2020) and Abdolmaleki et al.
(2018). Further implementation details for the present
application can also be found in our straight RL implementation (Kerbel et al., 2022). Note that the RPL approach
is independent of the RL training framework and any
state-of-the-art RL algorithms could be applied to learn
an optimal residual policy.
5. RESULTS AND DISCUSSION
_5.1_ _Simulation_ _and_ _RPL_ _Settings_
The simulation environment (including the vehicle model)
and RPL algorithm were implemented in Python. A commercial vehicle with a conventional internal combustion
engine and 10-speed transmission is modeled to train and
demonstrate the RPL framework in car-following scenarios
using the dynamics of the vehicle model as shown in (6).
+ _Rr_ ( _Se_ ) + _Ra_ ( _Ve_ ) + _Rg_ ( _Se_ ) (6)
_<u>dVe</u>_ <u>1</u>
_dt_ <sup>=</sup> _Meff_
- _<u>Tt</u>_
_rw_
where _Rr_ ( _Se_ ) = _WCr_ cos _ψ_ ( _S_ ), _Ra_ ( _Ve_ ) = 1 _/_ 2 _ρCdAf_ _Ve_ <sup>2,</sup>
and _Rg_ ( _Se_ ) = _We_ sin _ψ_ ( _Se_ ). _Af_ _, C_ 1, _ρ_, and _ψ_ are the
frontal area of the vehicle, the coefficient of rolling resistance, the air density, and the road grade as a function of _S_, respectively. The vehicle’s position, velocity,
weight, effective mass, and wheel radius, are listed as
_Se, Ve, W, Meff_ and _rw_, respectively. The traction torque
_Tt_ derived by the powertrain and/or service brakes is the
sum of any positive and negative torques applied to the
wheels. The fuel rate is interpolated from a table given as
a function of engine speed and torque. The engine model
limits the torque based on the maximum allowable torque
by the engine at the given engine speed. The negative
torque is distributed first by applying the maximum engine
braking allowed and the remaining torque is applied by the
service brake system to the wheels.
To simulate human-like driving behavior, various driver
models have been proposed. We use a well-established
model designed to simulate a typical car-following scenario
known as the Intelligent Driver Model (IDM). It uses the
relative distance and velocity from the preceding vehicle
to calculate a desired acceleration (pedal input) of a driver
(for the ego vehicle) in the form _Ades_ (Treiber et al., 2000).
Although any type of deterministic or feedback controller
Fig. 3. Assessment of fuel economy during learning process
drive cycle velocity profile that is adjusted by a constant
randomly sampled noise. Every sixty seconds the noise is
re-sampled to emulate following a vehicle in randomized
traffic on a given route. For this study, the drive cycle
used for training is a randomized version of a combination
of the FTP and HUDDS urban drive cycles EPA (2015b).
The simulated route is repeated with each cycle where the
agents learn by randomly sampling a batch of previous
experiences every 250 simulation steps (one step consists
of an action taken in the dynamic environment). During
the training process, the actions are sampled from the
policy’s distribution to ensure all actions are explored. As
mentioned previously, the residual actions from the RPL
agent are not applied until the critic is properly trained
whereas the RL agent directly applies its policy actions
throughout the entire simulation cycle.
To evaluate the learning performance of the two agents,
the trained agents are simulated after each intermediate
training cycle without noise added to the drive cycle.
In these evaluations, the action is taken directly as the
highest probability action of the policy. Figure 3 illustrates the evaluated fuel economy measured in miles per
gallon (MPG) progression throughout the training cycles.
It shows how the RL agent learning from scratch requires
numerous cycles before it consistently maintains an improvement in fuel economy while the RPL agent is quick
to outperform the source policy. In fact, once the RPL
agent is utilized (about 70 cycles), the fuel economy with
the RPL agent is rarely less than the baseline (equivalent
to the source) policy’s MPG. This demonstrates that it is
possible to train an RPL agent directly on a real vehicle by
utilizing the highly developed OEM (as shipped) policies.
After training both agents to convergence, a portion of
the evaluation cycle is shown in Figure 4 to demonstrate
the actions presented by the baseline (driver only), the
RL agent, and the RPL agent. At this point, the rewards
are no longer significantly increasing with additional continued learning cycles. The differences in the final gear
and traction torque are shown where both the RL and
RPL agents tend to shift to a higher gear earlier and
more frequently leading to a generally more optimal engine
performance with a similar velocity profile to the baseline.
A stochastic evaluation with the converged agents is simulated using three standard drive cycles for the leading vehicle including the FTP/HUDDS and two European urban
drive cycles: Artemis (Urban and Road), and WLTP (Liu
et al 2017) modified for heavy duty vehicles In this
Fig. 4. Comparison of RL and RPL Performance
demonstrate the generality of the controllers in various and
uncertain environments. The driver-only baseline, RL only
agent, and the RPL agent were simulated 25 times for each
of the three stochastic drive cycles. Table 2 summarizes
these evaluations using a mean and standard deviation of
the cycle fuel consumption (MPG), the root mean square
error (RMSE) between the desired and actual acceleration,
and the mean number of gear changes applied throughout
each of the simulated cycles. In each case, the overall cycle
travel time was minimally affected.
Table 2.
RL
and
RPL
Controller
Results
<u>Cycle:</u> <u>FTP/HUDDS</u>
<u>Baseline</u> <u>RL</u> <u>RPL</u>
<u>MPG</u> <u>7</u> _<u>.</u>_ <u>34</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>11</u> <u>8</u> _<u>.</u>_ <u>33</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>16</u> <u>8</u> _<u>.</u>_ <u>07</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>21</u>
<u>%</u> <u>Difference</u> _<u>−</u>_ <u>+13</u> _<u>.</u>_ <u>45%</u> <u>+9</u> _<u>.</u>_ <u>85%</u>
<u>Accel</u> <u>RMSE</u> <u>(</u> _<u>m/s</u>_ <sup><u>2</u></sup> <u>)</u> <u>0</u> _<u>.</u>_ <u>36</u> <u>0</u> _<u>.</u>_ <u>49</u> <u>0</u> _<u>.</u>_ <u>48</u>
<u>#</u> <u>of</u> <u>Shifts</u> <u>464</u> <u>452</u> <u>610</u>
<u>Cycle:</u> <u>Artemis</u> <u>Urban</u>
<u>MPG</u> <u>6</u> _<u>.</u>_ <u>35</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>10</u> <u>7</u> _<u>.</u>_ <u>25</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>12</u> <u>6</u> _<u>.</u>_ <u>74</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>165</u>
<u>%</u> <u>Difference</u> _<u>−</u>_ <u>+14</u> _<u>.</u>_ <u>22%</u> <u>+6</u> _<u>.</u>_ <u>10%</u>
<u>Accel</u> <u>RMSE</u> <u>(</u> _<u>m/s</u>_ <sup><u>2</u></sup> <u>)</u> <u>0</u> _<u>.</u>_ <u>39</u> <u>0</u> _<u>.</u>_ <u>58</u> <u>0</u> _<u>.</u>_ <u>55</u>
<u>#</u> <u>of</u> <u>Shifts</u> <u>415</u> <u>460</u> <u>559</u>
<u>Cycle:</u> <u>WLTP</u>
<u>MPG</u> <u>7</u> _<u>.</u>_ <u>64</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>11</u> <u>8</u> _<u>.</u>_ <u>24</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>14</u> <u>8</u> _<u>.</u>_ <u>09</u> _<u>±</u>_ <u>0</u> _<u>.</u>_ <u>17</u>
<u>%</u> <u>Difference</u> _<u>−</u>_ <u>+7</u> _<u>.</u>_ <u>81%</u> <u>+5</u> _<u>.</u>_ <u>83%</u>
<u>Accel</u> <u>RMSE</u> <u>(</u> _<u>m/s</u>_ <sup><u>2</u></sup> <u>)</u> <u>0</u> _<u>.</u>_ <u>34</u> <u>0</u> _<u>.</u>_ <u>42</u> <u>0</u> _<u>.</u>_ <u>44</u>
<u>#</u> <u>of</u> <u>Shifts</u> <u>247</u> <u>216</u> <u>291</u>
Both RL and RPL agents show a significant improvement
in fuel economy while maintaining a similar balance with
driver accommodation and travel time. To achieve Ecodriving strategies, the accelerations are limited by the
residual traction torque as seen by a slightly higher acceleration error with both agents compared to the baseline. The
RL and RPL agents often request a higher gear than the
source policy to reduce the engine speed typically leading
to a lower fuel rate. The weights in the reward function are
adjusted via experimentation to balance these objectives
so we can ensure to follow the desired velocity profile
(based on the driver’s request) and limit over shifting The
policy in all three drive cycle evaluations as seen in Table
2, but only after training for over 200 cycles.
As current RPL work has focused on continuous actions for
robots (Barekatain et al., 2019), to our knowledge, this is
the first implementation on a vehicle with a hybrid action
space. Directly adding a residual to a continuous action is a
natural corrective adjustment as the output of the network
has a distribution with a mean value. In the case of the
discrete actions, where we simply add the residual action
(desired gear shift) to the source action, a bias towards
the source policy is seen in the final mixed action. The
action choice is only allowed to modify the source action in
one direction as the output of the RPL actor network is a
categorical probability of which action to choose. Summing
these probabilities also leads to a bias as the probability of
the source action chosen is one (for a deterministic policy),
but the probabilities for the residual three action choices
sum to one, meaning the source action will always have
the highest probability. This explains the difference in the
achieved performance of the RPL agent with respect to
the RL agent that does not use a source policy.
6. CONCLUSION
In this work, we proposed and demonstrated a novel
method that can build on previously engineered powertrain control policies via a residual policy learning agent
for active Eco-driving assistance. The RPL agent can learn
to adapt the OEM policy shipped with the vehicle to the
uncertainties and variations found when driving in the
vehicle’s actual real-world environment. We observed up
to a 10% fuel economy improvement with the RPL policy
with respect to a baseline policy that assumes access to
information about the vehicle’s engine efficiency maps.
The RPL agent was compared to another learning-based
controller where the action is taken entirely from an RL
agent that is trained from scratch. The primary benefit
of the RPL agent consists of being able to learn from
a source policy before its applied to a vehicle, thus allowing it to learn quicker. It improves upon pre-existing
knowledge by using interactions from the environment
to adapt and adjust the actions for better performance.
However, despite the faster learning compared to the RL
agent, a bias was observed in the RPL agent’s choices
towards that of the source policy, which explains why
the ultimate performance of the RPL agent still leaves
room for improvement. Future research is aimed at how to
remove this bias by perhaps some sort of adaptive mixing
of the source policy and the residual policy.
REFERENCES
Abdolmaleki, A., Springenberg, J.T., Tassa, Y., Munos,
R., Heess, N., and Riedmiller, M. (2018). Maximum a
posteriori policy optimisation. _CoRR_, abs/1806.06920.
Barekatain, M., Yonetani, R., and Hamaya, M. (2019).
MULTIPOLAR: multi-source policy aggregation for
transfer reinforcement learning between diverse environmental dynamics. _CoRR_, abs/1909.13111.
Barkenbus, J. (2010). Eco-driving: An overlooked climate
change initiative. _Energy_ _Policy_, 38, 762–769.
Borlaug B Holden J Wood E Lee B Fink J
specific fuel economy in the united states from realworld driving cycles. _Transportation_ _Research_ _Part_ _D:_
_Transport_ _and_ _Environment_, 86, 102448. doi:10.1016/j.
trd.2020.102448.
EPA, O.U. (2015a). Sources of greenhouse gas emissions.
URL `https://www.epa.gov/ghgemissions/sources-`
`greenhouse-gas-emissions` .
EPA, O.U. (2015b). Vehicle testing regulations.
URL `https://www.epa.gov/vehicle- and- fuel-`
`emissions-testing/vehicle-testing-regulations` .
Haarnoja, T., Zhou, A., Abbeel, P., and Levine, S. (2018).
Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. _CoRR_,
abs/1801.01290.
Hu, B., Li, J., Yang, J., Bai, H., Li, S., Sun, Y., and Yang,
X. (2019). Reinforcement learning approach to design
practical adaptive control for a small-scale intelligent
vehicle. _Symmetry_, 11, 1139. doi:10.3390/sym11091139.
Johannink, T., Bahl, S., Nair, A., Luo, J., Kumar, A.,
Loskyll, M., Ojea, J.A., Solowjow, E., and Levine, S.
(2019). Residual reinforcement learning for robot control. In _2019_ _International_ _Conference_ _on_ _Robotics_ _and_
_Automation_ _(ICRA)_, 6023–6029. doi:10.1109/ICRA.
2019.8794127.
Kerbel, L., Ayalew, B., Ivanco, A., and Loiselle, K. (2022).
Driver assistance eco-driving and transmission control
with deep reinforcement learning.
Kingma, D.P. and Ba, J. (2015). Adam: A method for
stochastic optimization. _International_ _Conference_ _on_
_Learning_ _Representations_ .
Li, G. and G¨orges, D. (2020). Ecological adaptive cruise
control for vehicles with step-gear transmission based
on reinforcement learning. _IEEE_ _Transactions_ _on_ _Intel-_
_ligent_ _Transportation_ _Systems_, 21(11), 4895–4905. doi:
10.1109/TITS.2019.2947756.
Lillicrap, T.P., Hunt, J.J., Pritzel, A., Heess, N., Erez,
T., Tassa, Y., Silver, D., and Wierstra, D. (2015).
Continuous control with deep reinforcement learning.
_CoRR_, abs/1509.02971.
Liu, Y., Martinet, S., Louis, C., Pasquier, A., Tassel, P.,
and Perret, P. (2017). Emission characterization of
in-use diesel and gasoline euro 4 to euro 6 passenger
cars tested on chassis dynamometer bench and emission
model assessment. _Aerosol_ _and_ _Air_ _Quality_ _Research_,
17. doi:10.4209/aaqr.2017.02.0080.
Munos, R., Stepleton, T., Harutyunyan, A., and Belle
mare, M.G. (2016). Safe and efficient off-policy reinforcement learning. In _Proceedings_ _of_ _the_ _30th_ _Inter-_
_national_ _Conference_ _on_ _Neural_ _Information_ _Processing_
_Systems_, 1054–1062. Curran Associates Inc.
Neunert, M., Abdolmaleki, A., Wulfmeier, M., Lampe, T.,
Springenberg, J.T., Hafner, R., Romano, F., Buchli, J.,
Heess, N., and Riedmiller, M.A. (2020). Continuousdiscrete reinforcement learning for hybrid control in
robotics. _CoRR_, abs/2001.00449.
Ngo, D. (2012). _Gear_ _shift_ _strategies_ _for_ _automotive_
_transmissions_ . Ph.D. thesis, Mechanical Engineering.
doi:10.6100/IR735458.
Nie, Z. and Farzaneh, H. (2020). Adaptive cruise control for eco-driving based on model predictive control
algorithm. _Applied_ _Sciences_, 10, 5271. doi:10.3390/
app10155271.
Schaff, C.B. and Walter, M.R. (2020). Residual policy
learning for shared autonomy. _CoRR_, abs/2004.05097.
Silver, T., Allen, K.R., Tenenbaum, J., and Kaelbling,
L.P. (2018). Residual policy learning. _CoRR_,
abs/1812.06298.
Treiber, M., Hennecke, A., and Helbing, D. (2000). Con
gested traffic states in empirical observations and microscopic simulations. _Physical_ _Review_ _E_, 62, 1805–1824.
doi:10.1103/PhysRevE.62.1805.
Wang, P., Chan, C., and de La Fortelle, A. (2018). A
reinforcement learning based approach for automated
lane change maneuvers. _CoRR_, abs/1804.07871.
Yoon, D., Ayalew, B., Ivanco, A., and Loiselle, K. (2020).
Predictive kinetic energy management for an add-on
driver assistance eco-driving of heavy vehicles. _IET_
_Intelligent_ _Transport_ _Systems_, 14. doi:10.1049/iet-its.
2020.0380.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.