<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Influence diagrams for the optimization of a vehicle speed profile</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Va´clav Kratochv´ıl</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jirˇ´ı Vomlel</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Information Theory and Automation Czech Academy of Sciences Pod voda ́renskou veˇzˇ ́ı 4, Prague</institution>
          ,
          <addr-line>182 08</addr-line>
          ,
          <country country="CZ">Czech Republic</country>
        </aff>
      </contrib-group>
      <fpage>44</fpage>
      <lpage>53</lpage>
      <abstract>
        <p>Influence diagrams are decision theoretic extensions of Bayesian networks. They are applied to diverse decision problems. In this paper we apply influence diagrams to the optimization of a vehicle speed profile. We present results of computational experiments in which an influence diagram was used to optimize the speed profile of a Formula 1 race car at the Silverstone F1 circuit. The computed lap time and speed profiles correspond well to those achieved by test pilots. An extended version of our model that considers a more complex optimization function and diverse traffic constraints is currently being tested onboard a testing car by a major car manufacturer. This paper opens doors for new applications of influence diagrams.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        Optimization of a vehicle speed profile is a well known
problem studied in literature. Some authors minimize the
energy consumption
        <xref ref-type="bibr" rid="ref15 ref16 ref21 ref22 ref3 ref7">(Monastyrsky and Golownykh, 1993;
Chang and Morlok, 2005; Saboohi and Farzaneh, 2009;
Hellstro¨m et al., 2010; Mensing et al., 2011; Rakha et al.,
2012)</xref>
        while others aim at minimizing the total time
        <xref ref-type="bibr" rid="ref27 ref4">(Velenis and Tsiotras, 2008)</xref>
        .
      </p>
      <p>
        In this paper we describe an application of influence
diagrams to the problem of the optimization of a vehicle speed
profile. Speed profile specifies the vehicle speed at each
point of the path. We illustrate the proposed method using
an example of the speed profile optimization of a Formula 1
race car at the Silverstone F1 circuit
        <xref ref-type="bibr" rid="ref27 ref4">(Velenis and Tsiotras,
2008)</xref>
        . The goal is to minimize the total lap time. This
example will be used throughout the paper to explain the key
concepts and for the final experimental evaluation of the
proposed approach. An advantage is that the optimal
solution is known
        <xref ref-type="bibr" rid="ref27 ref4">(Velenis and Tsiotras, 2008)</xref>
        . This allows us
to compare the influence diagram solution with the analytic
one. Both solutions have a close correspondence.
The proposed method allows applications of influence
diagrams to more complex scenarios of a speed profile
optimization. Speed constraints can be invoked not only by
path radii, but also by other causes like traffic regulations,
weather conditions, distance to other vehicles, etc.
Moreover, these conditions can be changing dynamically. Also,
the criteria to be optimized need not be the total time only.
We can consider also safety, fuel consumption, etc. We
believe that influence diagrams are very appropriate for these
situations since optimum policies are precomputed for any
speed the vehicle can attain. The optimal speed profile can
be quickly updated if the conditions change.
      </p>
      <p>There are two key properties that allow efficient
computations. The first one is that the overall utility function is the
sum of local utilities in all considered segments of the
vehicle path. This is the case not only when the goal is to
minimize the total time, but also when we aim at the
minimal total fuel consumption or a linear combination of these
two. The second key property is the Markov property. This
allows to aggregate the whole future in one probability and
one utility potential. These potentials are defined over the
speed variable in the current path segment.</p>
      <p>The paper is organized as follows. In Section 2, we
describe the physical model of a vehicle and define the
problem of the vehicle speed profile optimization. In Section 3,
we introduce influence diagrams and in Section 4 we apply
them to the vehicle speed profile optimization. The results
of numerical experiments with real data are presented in
Section 5. Section 6 reviews the related work. In Section 7,
we conclude the paper by a summary of our contribution
and by a discussion of our future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>PHYSICAL MODEL OF THE VEHICLE</title>
      <p>
        First, we describe a simple physical model of a vehicle.
The content of this section is based on
        <xref ref-type="bibr" rid="ref27 ref4">(Velenis and
Tsiotras, 2008)</xref>
        . Although this model is too simple to model the
complex behavior of a car-like vehicle, it is sufficient for
the optimization of a vehicle speed profile.
      </p>
      <p>We model a vehicle as a point mass moving along a path,
see Figure 1. We split the path into n 2 N small
segments of a specified length (e.g., 5 meters). Let s denote
the length of each segment, i 2 f0; : : : ; ng be the path
length coordinate, [i; i + 1] be the segment between path
length coordinates i and i + 1. We assume that the
acceleration is constant at each segment. Let vi be the velocity
at i, and ai the acceleration at the segment [i; i + 1]. The
velocity vi+1 at i + 1 is a function of the velocity vi and
acceleration ai:
vi+1
Time ti+1 spent at the path segment [i; i + 1] is:
ti+1
The vehicle is controlled by a control variable ui, which is
assumed to be constant at the segment [i; i+1]. The control
variable ui takes values from interval [ 1; +1], where
negative values represent braking and positive values represent
accelerating. We use variable ui to control acceleration ai:
ai
where atmax and atmin are engine and brakes
characteristics, namely the maximum tangential acceleration and
deceleration, respectively. cv is the deceleration coefficient
for aerodynamic drag.</p>
      <p>Example 1. For a F1 race car:
ai = ai(ui; vi)</p>
      <p>The vehicle path is characterized by a radius profile, which
is defined as the radius ri of the circular arc which best
approximates the path curve at each point i = 1; : : : ; n
(see Figure 1). The radius ri defines the maximum speed
at point i as
vi
vimax
=
pamax ri ;
n
(3)
(4)
(5)</p>
      <p>Lap distance[m]
where anmax is the maximum lateral acceleration.
Example 2. For a typical F1 race car anmax = 30 m s 2.
This implies that
vimax
= p30 ri :
(6)
If ri = 30 m then the maximum speed is 108 km h 1.
Example 3. In Figure 2, we present the radius and
maximum speed profiles of the F1 Silverstone circuit (the bridge
version). The radius larger than 500 meters is not
depicted1. From the radius profile, we derive the maximum
speed profile by use of formula (6).</p>
      <p>0
1000
2000
3000
4000</p>
      <p>5000</p>
      <p>Lap distance [m]</p>
      <p>Other restrictions on maximal and minimal tangential
accelerations are due to friction forces at the tires, which
restricts the control signals:
juij
uimax(vi) =
s
1</p>
      <p>vi
vimax
4
:
(7)
Now, we can formally specify the problem.</p>
      <p>Definition 1 (Vehicle speed profile optimization problem).
The goal is to find a vehicle speed profile vi; i = 1; : : : ; n
such that</p>
      <p>1Radius 500 meters allows maximum speed of 441 km h 1
– a speed never reached by an F1 race car.
v0 is the actual speed of the vehicle at coordinate 0,
it minimizes the total time Pn
i=1 ti,
it satisfies the speed constraints specified by
formula (5) for i = 0; 1; : : : ; n and
it satisfies the control constraints specified by
formula (7) for i = 0; 1; : : : ; n.</p>
      <p>Remark. Please, note that an optimal speed profile can
be also specified by values of control variable ui for i =
0; : : : ; n 1, from which it is computed.</p>
    </sec>
    <sec id="sec-3">
      <title>3 INFLUENCE DIAGRAMS</title>
      <p>
        An influence diagram
        <xref ref-type="bibr" rid="ref8">(Howard and Matheson, 1981)</xref>
        is a
Bayesian network augmented with decision variables and
utility functions. In graphs, random variables are depicted
as circles, decision variables as squares, and utility
functions as diamonds. As an example, see Figure 3. Random
and decision variables are denoted by capital letters, their
states by respective lower-case ones.
      </p>
      <p>A solution to the decision problem described by an
influence diagram consists of a series of decision policies for the
decision variables. Decision policy for decision variable U
defines for each configuration of parents of U a
probability distribution over the states of U . Decision strategy is a
sequence of decision policies, one for every decision
variable. The goal is to find an optimal decision strategy that
maximizes the expected total utility.
3.1</p>
      <sec id="sec-3-1">
        <title>SOLVING INFLUENCE DIAGRAMS</title>
        <p>
          Several methods for solving influence diagrams were
proposed. A simple method was published already in
          <xref ref-type="bibr" rid="ref8">(Howard
and Matheson, 1981)</xref>
          where influence diagrams were
introduced. They proposed to unfold respective influence
diagram into a decision tree and solve it using dynamic
programming. Another algorithm was developed by
          <xref ref-type="bibr" rid="ref23">(Shachter,
1986)</xref>
          and it foreshadowed the future graphical algorithms.
Basically, one can gradually simplify respective influence
diagram by successive removing nodes from its graph.
When a decision node is being removed (by maximizing
expected utility), the maximizing alternative is recorded
as the optimal policy. Three operations to remove graph
nodes were introduced; at least one of them can be used
at any given time. Another method is to reduce an
influence diagram into a Bayesian network by converting
decision variables into random variables – the solution of a
specific inference problem in this Bayesian network then
corresponds to the optimal decision policy of the influence
diagram
          <xref ref-type="bibr" rid="ref5">(Cooper, 1988)</xref>
          . One can also transform an
influence diagram into a valuation network and solve it
using variable elimination in the valuation network
          <xref ref-type="bibr" rid="ref25">(Shenoy,
1992)</xref>
          .
        </p>
        <p>
          We decided to use a method that employs a strong junction
tree
          <xref ref-type="bibr" rid="ref11 ref9">(Jensen et al., 1994; Jensen and Nielsen, 2007)</xref>
          , which
is a refinement of methods of
          <xref ref-type="bibr" rid="ref25">Shenoy (1992)</xref>
          and
          <xref ref-type="bibr" rid="ref24">Shachter
and Peot (1992)</xref>
          . The utility nodes are eliminated first by
marrying all parents of each utility node and by including
the corresponding utility potentials to cliques containing all
parents of the utility node. It has been shown that an
influence diagram can be solved exactly by message passing
performed on the strong junction tree.
        </p>
        <p>
          To every clique C in the junction tree, we associate a
probability potential C and a utility potential C . Let C1 and
C2 be adjacent cliques with separator S. To pass a
message from clique C2 to clique C1 potentials C1 and C1
are updated as follows2
          <xref ref-type="bibr" rid="ref9">(Jensen et al., 1994)</xref>
          :
0C1
0C1
C2 ;
=
=
        </p>
        <p>C1
C1 +</p>
        <p>S ;</p>
        <p>S ;
S
(8)
(9)
where</p>
        <p>S =</p>
        <p>M
C2nS</p>
        <p>S =</p>
        <p>M ( C2
C2nS</p>
        <p>C2 )
and M is a generalized marginalization operation. The
operator M acts differently for a random variable A and a
decision variable U of a (probability or utility) potential :
M = X ;
A</p>
        <p>A</p>
        <p>M
U
= max</p>
        <p>
          U
;
where PA is a shorthand for summation over all states of A
and maxU denotes maximum over all states of U . For a set
of variables C, we define MC as a sequence of
singlevariable marginalizations. The elimination order follows
the inverse order as determined by the relation . In case of
discrete variables, the complexity of one message passing
operation is O(jC1j + jC2j + jSj), where jCj denotes the
number of combinations of states of variables in C.
Despite its similarity with the junction tree algorithm for
Bayesian networks
          <xref ref-type="bibr" rid="ref13">(Lauritzen and Spiegelhalter, 1988)</xref>
          ,
only the collection phase of the strong junction tree is
needed to solve an influence diagram. The maximum
expected utility value can be obtained by doing the
remaining marginalization in the root. Above that, we can easily
get the optimal decision policy for decision variables
during the message passing process. For every combination of
parents of a decision variable (in our case the only parent
is the speed variable), it is the alternative with the maximal
expected utility in the moment of message passing.
Note that this approach is highly dependent on the process
of building a junction tree from an influence diagram. The
2Given two potentials and , their product and the
quotient = are defined in the natural way, except that 0=0 is
defined to be 0 and x=0 for x 6= 0 is undefined
          <xref ref-type="bibr" rid="ref9">(Jensen et al.,
1994)</xref>
          .
size of cliques is determining the speed of the algorithm.
Consequently, the junction tree algorithm is typically
infeasible for solving large influence diagrams. Fortunately,
this is not the case for our application.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4 INFLUENCE DIAGRAMS FOR</title>
    </sec>
    <sec id="sec-5">
      <title>VEHICLE SPEED PROFILE</title>
    </sec>
    <sec id="sec-6">
      <title>OPTIMIZATION</title>
      <p>In this section, we use the physical model of a vehicle from
Section 2 to create an influence diagram for the speed
profile optimization. We split the vehicle path into n
segments of the same length s. In each segment [i; i + 1],
i 2 f0; : : : ; n 1g there are three random variables Vi; Ai;
and Vi+1, one decision variable Ui, and one utility
potential Ti. A part of influence diagram corresponding to one
path segment is depicted in Figure 3. The influence
diagram used in the final experiments reported in Section 5
consisted of 1010 parts, one for a segment 5 meters long.</p>
      <p>Vi
Ui</p>
      <p>Ai</p>
      <p>Ti+1
Vi+1</p>
      <p>Variable Vi corresponds to the vehicle speed in the
beginning of the segment (at point i). Ai corresponds to the
vehicle acceleration in the segment [i; i + 1] and it is
assumed to be constant in this segment. Vi+1 is the vehicle
speed at the end of the segment (at point i + 1). The
decision variable Ui corresponds to the vehicle control signal
whose positive values denote application of vehicle
accelerator and negative values ones an application of brakes.
Utility function Ti corresponds to time spent at segment
[i; i + 1]. In our implementation the actual values of Ti
are time savings achieved at segment [i; i + 1]. They are
computed by subtracting time spent by the vehicle in the
segment from a constant tmax – the maximum considered
time3 the vehicle may spend at a segment of length s. This
allows us to use maximization over non-negative utility
potentials, which is required when working with random
variables having states of zero probability.</p>
      <p>3E.g., tmax is time for a minimal race speed 100 km=h, which
is equal to 0:036 seconds if s = 1 meter.
In this paper we consider discrete random and discrete
decision variables. For all i 2 f0; : : : ; ng, the variable Vi takes
its values from V, which is a finite subset of interval [0; 400]
measured in km=h, the values of Ai are from A, which
is a finite subset of interval [ 34; 16] measured in ms 2,
and values of decision variable Ui are from U , which is a
finite subset of interval [ 100; +100], where value 100
corresponds to the maximum braking (brakes 100%) while
+100 corresponds to full acceleration (accelerator 100%).
Sets V, A, and U are uniformly discretized with
discretization steps dV , dA, and dU , respectively. Symbols jVj, jAj,
and jU j denote the cardinalities of the respective sets.
The probability and utility potentials are defined using
formulas from Section 2. The conditional probability
distributions are “almost” deterministic. For each parent
configuration of a variable there are only two states from the finite
domain of that variable with a non-zero probability. These
two values are those that are closest to the value computed
by the corresponding formula of the physical model of the
vehicle. The conditional probability distribution of the
acceleration Ai is defined as:</p>
      <p>P (Ai = ajVi = vi; Ui = ui) =
8&lt; 1 adiAa if a = maxfa 2 A; a aig</p>
      <p>1 adAai if a = minfa 2 A; a &gt; aig
: 0 otherwise,
(10)
where ai is defined by formula (3).</p>
      <p>Example 4. Consider P (AijVi = 131km=h; Ui = 25)
and A = f 34; 33; : : : ; 1; 0; 1; 2; : : : ; 16g. Using (4)
we compute the acceleration of an F1 race car ai =
1:2 ms 2. The conditional probability distribution is
specified in Table 1.</p>
      <p>Similarly, we define the conditional probability distribution
P (Vi+1jVi; Ai). More specifically, we combine the above
approximation and formula (1). Finally, the utility function
is defined as
f (vi 1; vi; s)
=
tmax
ti(vi 1; vi; s) ;
(11)
where function ti is defined by formula (2).</p>
      <p>After elimination of utility nodes, the graph of the
influence diagram is transformed into a strong junction tree. See
Figure 4 where we present the strong junction tree of
influence diagram from Figure 3. There are two cliques for
path segment [i; i + 1], i 2 f0; : : : ; n 1g in the strong
junction tree. We will denote them CiA and CiV and define
CiA = fAi; Ui; Vig and CV = fVi+1; Ai; Vig. Cliques are
i
ordered reversely and the variable elimination is processed
also in this order. Rectangular nodes correspond to junction
tree separators.</p>
      <p>CiA
CiV</p>
      <p>Vi
Ai; Ui; Vi</p>
      <p>Ai; Vi
Vi+1; Ai; Vi</p>
      <p>Vi+1</p>
      <p>The junction tree is initialized as follows. Each conditional
probability distribution and each utility function is assigned
to a clique containing all its variables. Thus</p>
      <p>CiA = P (AijUi; Vi) ;
CiA = 0 ;</p>
      <p>CiV = P (Vi+1jAi; Vi) ;
CiV = f (Ti+1jVi; Vi+1) :</p>
      <sec id="sec-6-1">
        <title>4.1 IMPLEMENTATION OF CONSTRAINTS</title>
        <p>During the inference we have to consider the speed and
control constraints. Both, speed and control constraints are
inserted to corresponding cliques of the junction tree.
4.1.1</p>
      </sec>
      <sec id="sec-6-2">
        <title>Speed constraints</title>
        <p>
          Speed constraints are inserted in the form of likelihood
evidence. Likelihood evidence is a vector that for each state of
the corresponding variable takes values between zero and
one
          <xref ref-type="bibr" rid="ref10">(Jensen, 2001, Section 1.4.6)</xref>
          . Likelihood evidence of
a speed constraint is a vector of length jVj such that
(v) =
8 1
&lt;
        </p>
        <p>1
: 0
v vimax
dV
if v vimax
if v = minfv 2 V; v &gt; vimaxg (12)
otherwise,
where vimax is defined by (5).</p>
        <p>Remark. The idea behind the formula (12) is that the closer
the value of vimax is to the nearest speed value v 2 V that
is greater than vimax the higher is the likelihood of v. In
experiments, we observed that by giving a non-zero
probability to the state v just above the maximum value vimax we
improve the quality of results. The coarser the
discretization the larger the improvement.</p>
        <p>During the inference we include potential (Vi) into a
clique containing Vi that appears first in the computations.
4.1.2</p>
      </sec>
      <sec id="sec-6-3">
        <title>Control constraints</title>
        <p>The control constraints (7) are applied during
marginalization of the control variable Ui from a potential 0CV (we
i
will abbreviate it as ) performed in the steps specified by
formulas (8) and (9).</p>
        <p>For each vi 2 V we define a set of admissible control
U 0(vi)
=
fui 2 U ; juij
uimax(vi)g
and compute an optimal admissible control value
ui (vi)
=
arg</p>
        <p>max
ui2U0(vi)
(Ui = ui; Vi = vi) :
The optimal decision policy in Ui is for all vi 2 V
i(ujvi)
=
1 if u = ui (vi)
0 otherwise.</p>
        <p>(13)
The value of the new potential is
(Vi = vi)
=</p>
        <p>(Ui = ui (vi); Vi = vi) : (14)
However, whenever ui (vi) is the least or the largest value
of U 0(vi) we can reduce the discretization error by
considering also the nearest value ui (vi) outside Ui0. The idea is
similar to (12). If
(Ui = ui (vi); Vi = vi)
(Ui = ui (vi); Vi = vi)
then we replace the deterministic policy (13) by a
probabilistic policy
i(ujvi)
8
&gt; 1
&lt;
= 1
&gt;: 0
jui (vi) uimax(vi)j</p>
        <p>if u = ui (vi)
jui (vi)ddUUuimax(vi)j if u = ui (vi)
otherwise.</p>
        <p>Formula (14) is replaced by
(Vi = vi) =
i(ui jvi)
+ i(ui jvi)
(Ui = u (vi); Vi = vi)</p>
        <p>(Ui = ui (vi); Vi = vi) :
4.2</p>
      </sec>
      <sec id="sec-6-4">
        <title>ZERO COMPRESSION</title>
        <p>
          We solve the influence method using standard strong
junction tree method
          <xref ref-type="bibr" rid="ref9">(Jensen et al., 1994)</xref>
          briefly described in
Section 3.1. But the probability potentials we are working
with are sparse, i.e., they contain many zeroes. This is a
consequence of conditional probability distributions being
“almost” deterministic. In Hugin
          <xref ref-type="bibr" rid="ref1">(Andersen et al., 1990)</xref>
          a
procedure called zero compression is employed to improve
efficiency of inference with sparse potentials. In this
procedure an efficient representation of the clique tables is used
so that zeros need not be stored explicitly. The savings can
be large: in our case, we basically reduce the dimension of
each table by one. The compression does not affect the
accuracy of the inference process, as it introduces no
approximations
          <xref ref-type="bibr" rid="ref6">(Cowell et al., 1999)</xref>
          , i.e., it is an exact inference
method.
        </p>
        <p>Example 5. We can store the distribution from Example 4
using two numbers only – value val and position pos of
the first non-zero number in the table. Note that the second
non-zero number is positioned on pos+1 with value 1 val
and there are two non-zero numbers only. The same applies
to P (Vi+1jVi; Ai).</p>
        <p>In the standard inference method the complexity in one
path segment is O (jAj jVj (jVj + jU j)). In case of zero
compression the complexity drops to O(jVj (jAj + jU j)).
In Section 5.1 we evaluate the savings experimentally.
5</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>EXPERIMENTS</title>
      <p>We performed experiments with a model of a Formula 1
race car at the Silverstone F1 circuit (the bridge version).
The goal is to find a speed profile that minimizes the total
lap time and satisfies speed and acceleration constraints as
specified by Definition 1. The speed constraints are derived
from radius of curves and the maximum allowed lateral
acceleration amax – see formula (5). For a typical F1 race
n
car amax = 30 ms 2 – see Example 2. The acceleration
n
constraints are defined by formula (7).</p>
      <p>In our experiments we use the influence diagram described
in Section 3. The experiments were conducted in the
following way:
1. Define the length of one segment s and sets of
variables’ states V; A; U .
2. sInetituiaplitzhee pjuontecntitoianlstreeC.iA ; CiV ; CiA ; and
CiV and
3. Insert speed and acceleration constraints to the
junction tree.
4. Compute the optimal policies i; i = 0; 1; : : : ; n
1.
5. Use the optimal policy and the initial speed4 v0 =
312 km=h to compute an optimal speed profile as
specified by formulas (15), (16), and (17).</p>
      <p>
        The expected speed v^i+1 at coordinate i + 1 is computed
using formulas (1) and (4) from the expected control value
4Initial speed v0 is set as in
        <xref ref-type="bibr" rid="ref27 ref4">(Velenis and Tsiotras, 2008)</xref>
        .
u^i(vi), which is computed as a weighted average of
policies for two values vi; vi from V that are the closest to vi:
v^i+1
u^i(vi)
=
=
vi+1(v; s; ai (u^i(vi); vi)) ;
      </p>
      <p>X</p>
      <p>w(v; vi)
w(v; vi)
= 1
v2fvi;vig
jv
dV
vij :</p>
      <p>
        X u
u2U
i(ujv) ; (16)
(15)
(17)
All algorithms used in our experiments were implemented
in the programming language R
        <xref ref-type="bibr" rid="ref20">(R Core Team, 2014)</xref>
        .
5.1
      </p>
      <sec id="sec-7-1">
        <title>ZERO COMPRESSION EXPERIMENTS</title>
        <p>We compared computational time of the zero compression
and standard junction tree inference methods, see Table 2.
Recall that symbols jVj, jAj, and jU j denote the
cardinalities of the respective sets. The experiments were carried out
on an influence diagram consisting of 10 path segments.
We can see that zero compression brings large
computational savings for fine grained discretizations.
It turned out that the number of states of the model
variables should be in accordance with the path segmentation.
The finer is the path segmentation, the more variables’
values are required. Discretization that is not well balanced
with the path segmentation leads to oscillations of
decision (control) variables as it is illustrated for s = 1m,
jVj = jAj = jU j = 100 in Figure 5.
750</p>
        <p>800
Lap Distance [meters]
850
750</p>
        <p>800
Lap Distance [meters]
850
Settings: s = 1m, jVj = jAj = jU j = 100</p>
        <p>Settings: s = 5m, jVj = jAj = jU j = 100
0
0
1
−
lt[]ron% 050
o
C
In the experiments it turned out the oscillation depends
strongly on jVj. Basically, there are two reasons. First,
the discretization has to be able to distinguish small speed
changes within one segment of the path. The reason can be
elucidated by the following example.</p>
        <p>Example 6. Consider uniformly accelerated motion with
the initial speed v0 2 f200 km=h; 300 km=hg. In case
of full throttle, the acceleration computed by formula (4)
is a =: 9:52 ms 2 and a =: 1:42 ms 2, respectively.
Considering segments of various length s, we can compute
the speed at the end of the respective segment using
formula (1). From Table 3 we can see that in case of s = 1 m
the discretization has to be fine grained in order to capture
small speed changes within such a short segment.</p>
        <p>The second reason is the inference algorithm itself.
Information passes through clique separators. In Figure 4 we
can see that all separators contain Vi and every second
separator consists of single Vi only. Hence, the size of V limits
the information flow between respective cliques. In other
words, jVj represents a bottleneck of the inference
mechanism.</p>
        <p>Representative results for the whole Silverstone F1 circuit
are presented in Table 4. The expected lap time is quite
stable with respect to different discretizations. For the final
experiments we selected the configuration printed in
boldface since from those that respect the speed and
acceleration constraints well it is least computationally demanding.</p>
      </sec>
      <sec id="sec-7-2">
        <title>5.3 INFLUENCE DIAGRAM SOLUTION</title>
        <p>
          We used the influence diagram to compute the speed
profile for the Silverstone F1 circuit. It is plotted in the upper
part of Figure 6 by a full line. The bridge version of
Silverstone circuit is 5049 meters long, which corresponds to
1010 segments 5m long. In this figure we compare the
computed speed profile with a test pilot performance at the
Silverstone F1 circuit
          <xref ref-type="bibr" rid="ref18">(Oxford Technical Solutions, 2002)</xref>
          .
In the upper part of Figure 6 the test pilot speed profile is
plotted by a dotted line. Notice that the testing pilot
violates these restrictions several times. Also, the test pilot
acceleration is slower than expected. The speed constraints
used in the model seem to be too cautious and the car
acceleration ability a bit exaggerated.
        </p>
        <p>It is interesting to compare the total lap time estimated by
the influence diagram model with results achieved by F1
pilots. While the model estimated time 83:95 seconds is little
lower than time achieved by the test pilot – 85:51 seconds,
it is higher than the fastest ever lap time – 78:12 seconds
– attained by Sebastian Vettel with his Red Bull-Renault in
the qualification of the 2009 British Grand Prix.
5.4</p>
      </sec>
      <sec id="sec-7-3">
        <title>ANALYTIC SOLUTION</title>
        <p>
          The analytic solution was presented in
          <xref ref-type="bibr" rid="ref27 ref4">(Velenis and
Tsiotras, 2008)</xref>
          . It is plotted in Figure 7 by a dotted line together
with the influence diagram solution. The solutions are quite
similar but there are some differences. Apparently, the
analytical solution does not fully comply with the acceleration
constraints. This causes differences in the speed profiles,
otherwise they would be equivalent. We were not able to
explain this observation. In the lower part of Figure 7 we
present the control profile of the analytic solution
reconstructed from the speed profile of the analytic solution5.
6
        </p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>RELATED WORK</title>
      <p>
        The speed profile optimization problem can be also
specified using Markov decision processes (MDPs)
        <xref ref-type="bibr" rid="ref19">(Puterman,
1994)</xref>
        with a finite horizon, a non-stationary policy and a
non-linear stationary reward function. The solution of such
an MDP can be found by the approach presented in this
paper since solution methods of both approaches are based on
5The little oscillations are caused by imprecision of the
analytic speed profile taken from
        <xref ref-type="bibr" rid="ref27 ref4">(Velenis and Tsiotras, 2008)</xref>
        .
dynamic programming. In
        <xref ref-type="bibr" rid="ref27 ref4">(Velenis and Tsiotras, 2008)</xref>
        the
problem was solved analytically by methods of the
continuous time control
        <xref ref-type="bibr" rid="ref2">(Bertsekas, 2000)</xref>
        using the
Pontryagin’s maximum principle. We compared the influence
diagram solution with the analytic solution in Section 5.4 –
the solutions were similar. However, analytical solutions
for considered extended versions of the problem with an
advanced optimization function and additional constraints
are not known and numerical methods have to be used.
7
      </p>
    </sec>
    <sec id="sec-9">
      <title>CONCLUSIONS AND FUTURE WORK</title>
      <p>We proposed an application of influence diagrams to speed
profile optimization and tested it in a real-life scenario.
We summarize what we have achieved and what we have
learned:</p>
      <p>We were able to find optimal solutions efficiently.
We verified the solutions are in accordance with the
analytical solution of the considered problem.</p>
      <p>An important advantage of influence diagrams is that
once the policy is computed, it can be immediately
used to update the optimal speed profile under
modified circumstances. For example, if the driver has to
slow down because of an unexpected traffic situation,
the policy immediately provides the best new control
value and the speed profile is specified by following
the precomputed optimal policies.</p>
      <p>Influence diagrams are especially handy in more
complex real-life scenarios where the analytic solution is
unknown.</p>
      <p>
        In applications, different optimality criteria come into
play. We can do the computations efficiently as long
as they decompose additively along the path segments.
In future we plan to optimize speed profiles using influence
diagrams with continuous variables. Inspired by the work
of
        <xref ref-type="bibr" rid="ref12">(Kveton et al., 2006)</xref>
        on MDPs we plan to study
inference in influence diagrams based on mixtures of beta
distributions. Other possibilities to be considered are
approximations by mixtures of polynomials
        <xref ref-type="bibr" rid="ref14 ref26">(Shenoy and West,
2011; Li and Shenoy, 2012)</xref>
        or by mixtures of truncated
exponentials
        <xref ref-type="bibr" rid="ref17 ref27 ref4">(Cobb and Shenoy, 2008; Moral et al., 2001)</xref>
        .
Currently, we are applying influence diagrams to a more
complex scenario with a complex utility function, for
which no analytical solution is known. Methods of the
control theory, if applied to this scenario, thus need to rely on
approximate numerical methods.
      </p>
      <sec id="sec-9-1">
        <title>Acknowledgements</title>
        <p>This work was supported by the Czech Science Foundation
through project 13–20012S.</p>
        <p>Infl. diagram
4000</p>
        <p>5000
Infl. diagram: 83.95 s
Analytic sol.: 82.70 s</p>
        <p>Analytic sol.
0
1000</p>
        <p>2000 3000
Lap Distance [meters]</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Andersen</surname>
            ,
            <given-names>S. K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olesen</surname>
            ,
            <given-names>K. G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>F. V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          (
          <year>1990</year>
          ).
          <article-title>HUGIN: a shell for building Bayesian belief universes for expert systems</article-title>
          . In Shafer, G. and
          <string-name>
            <surname>Pearl</surname>
          </string-name>
          , J., editors,
          <source>Readings in Uncertain Reasoning</source>
          , pages
          <fpage>332</fpage>
          -
          <lpage>337</lpage>
          . Kaufman.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Bertsekas</surname>
            ,
            <given-names>D. P.</given-names>
          </string-name>
          (
          <year>2000</year>
          ).
          <article-title>Dynamic Programming and Optimal Control</article-title>
          .
          <source>Athena Scientific, 2nd edition.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>D. J.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Morlok</surname>
            ,
            <given-names>E. K.</given-names>
          </string-name>
          (
          <year>2005</year>
          ).
          <article-title>Vehicle speed profiles to minimize work and fuel consumption</article-title>
          .
          <source>Journal of Transportation Engineering</source>
          ,
          <volume>131</volume>
          (
          <issue>3</issue>
          ):
          <fpage>173</fpage>
          -
          <lpage>182</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Cobb</surname>
            ,
            <given-names>B. R.</given-names>
          </string-name>
          and Shenoy,
          <string-name>
            <surname>P. P.</surname>
          </string-name>
          (
          <year>2008</year>
          ).
          <article-title>Decision making with hybrid influence diagrams using mixtures of truncated exponentials</article-title>
          .
          <source>European Journal of Operational Research</source>
          ,
          <volume>186</volume>
          (
          <issue>1</issue>
          ):
          <fpage>261</fpage>
          -
          <lpage>275</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Cooper</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          (
          <year>1988</year>
          ).
          <article-title>A method for using belief networks as influence diagrams</article-title>
          .
          <source>In Proceedings of the Fourth Conference Annual Conference on Uncertainty in Artificial Intelligence (UAI-88)</source>
          , pages
          <fpage>55</fpage>
          -
          <lpage>63</lpage>
          , Corvallis, Oregon. AUAI Press.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Cowell</surname>
            ,
            <given-names>R. G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dawid</surname>
            ,
            <given-names>A. P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lauritzen</surname>
            ,
            <given-names>S. L.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Spiegelhalter</surname>
            ,
            <given-names>D. J.</given-names>
          </string-name>
          (
          <year>1999</year>
          ).
          <source>Probabilistic Networks and Expert Systems</source>
          . Springer-Verlag, Berlin-Heidelberg-New York.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Hellstro¨m</surname>
            , E.,
            <given-names>A</given-names>
          </string-name>
          ˚slund, J., and
          <string-name>
            <surname>Nielsen</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          (
          <year>2010</year>
          ).
          <article-title>Design of an efficient algorithm for fuel-optimal look-ahead control</article-title>
          .
          <source>Control Engineering Practice</source>
          ,
          <volume>18</volume>
          (
          <issue>11</issue>
          ):
          <fpage>1318</fpage>
          -
          <lpage>1327</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Howard</surname>
            ,
            <given-names>R. A.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Matheson</surname>
            ,
            <given-names>J. E.</given-names>
          </string-name>
          (
          <year>1981</year>
          ).
          <article-title>Influence diagrams</article-title>
          . In Howard, R. A. and
          <string-name>
            <surname>Matheson</surname>
          </string-name>
          , J. E., editors,
          <source>Readings on The Principles and Applications of Decision Analysis</source>
          , volume II, pages
          <fpage>721</fpage>
          -
          <lpage>762</lpage>
          . Strategic Decisions Group.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>F. V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Dittmer</surname>
            ,
            <given-names>S. L.</given-names>
          </string-name>
          (
          <year>1994</year>
          ).
          <article-title>From influence diagrams to junction trees</article-title>
          .
          <source>In Proceedings of the Tenth Conference on Uncertainty in Artificial Intelligence</source>
          , pages
          <fpage>367</fpage>
          -
          <lpage>373</lpage>
          . Morgan Kaufmann.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>F. V.</given-names>
          </string-name>
          (
          <year>2001</year>
          ).
          <source>Bayesian Networks and Decision Graphs</source>
          . Springer-Verlag, New York.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>F. V.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Nielsen</surname>
            ,
            <given-names>T. D.</given-names>
          </string-name>
          (
          <year>2007</year>
          ).
          <article-title>Bayesian Networks and Decision Graphs</article-title>
          , 2nd ed. Springer-Verlag, New York.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>Kveton</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hauskrecht</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Guestrin</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          (
          <year>2006</year>
          ).
          <article-title>Solving factored MDPs with hybrid state and action variables</article-title>
          .
          <source>Journal of Artificial Intelligence Research</source>
          ,
          <volume>27</volume>
          :
          <fpage>153</fpage>
          -
          <lpage>201</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Lauritzen</surname>
            ,
            <given-names>S. L.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Spiegelhalter</surname>
            ,
            <given-names>D. J.</given-names>
          </string-name>
          (
          <year>1988</year>
          ).
          <article-title>Local computations with probabilities on graphical structures and their application to expert systems (with discussion)</article-title>
          .
          <source>Journal of the Royal Statistical Society</source>
          , Series B,
          <volume>50</volume>
          :
          <fpage>157</fpage>
          -
          <lpage>224</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Shenoy</surname>
            ,
            <given-names>P. P.</given-names>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>A framework for solving hybrid influence diagrams containing deterministic conditional distributions</article-title>
          .
          <source>Decision Analysis</source>
          ,
          <volume>9</volume>
          (
          <issue>1</issue>
          ):
          <fpage>55</fpage>
          -
          <lpage>75</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <surname>Mensing</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Trigui</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Bideaux</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>Vehicle trajectory optimization for application in Eco-driving</article-title>
          .
          <source>In Vehicle Power and Propulsion Conference (VPPC)</source>
          , IEEE, pages
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Monastyrsky</surname>
            ,
            <given-names>V. V.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Golownykh</surname>
            ,
            <given-names>I. M.</given-names>
          </string-name>
          (
          <year>1993</year>
          ).
          <article-title>Rapid computation of optimal control for vehicles</article-title>
          .
          <source>Transportation Research Part B: Methodological</source>
          ,
          <volume>27</volume>
          (
          <issue>3</issue>
          ):
          <fpage>219</fpage>
          -
          <lpage>227</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <surname>Moral</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rumi</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , and Salmero´n,
          <string-name>
            <surname>A.</surname>
          </string-name>
          (
          <year>2001</year>
          ).
          <article-title>Mixtures of truncated exponentials in hybrid bayesian networks</article-title>
          . In Benferhat, S. and
          <string-name>
            <surname>Besnard</surname>
          </string-name>
          , P., editors,
          <source>Symbolic and Quantitative Approaches to Reasoning with Uncertainty</source>
          , volume
          <volume>2143</volume>
          of Lecture Notes in Computer Science, pages
          <fpage>156</fpage>
          -
          <lpage>167</lpage>
          . Springer Berlin Heidelberg.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <given-names>Oxford</given-names>
            <surname>Technical Solutions</surname>
          </string-name>
          (
          <year>2002</year>
          ).
          <article-title>RT3000 inertial and GPS measurement system</article-title>
          .
          <source>Technical report</source>
          , Oxfordshire, UK.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <surname>Puterman</surname>
            ,
            <given-names>M. L.</given-names>
          </string-name>
          (
          <year>1994</year>
          ).
          <article-title>Markov Decision Processes: Discrete Stochastic Dynamic Programming</article-title>
          . John Wiley &amp; Sons, New York, NY.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <string-name>
            <given-names>R Core</given-names>
            <surname>Team</surname>
          </string-name>
          (
          <year>2014</year>
          ).
          <article-title>R: A Language and Environment for Statistical Computing</article-title>
          . R Foundation for Statistical Computing, Vienna, Austria.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          <string-name>
            <surname>Rakha</surname>
            ,
            <given-names>H. A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kamalanathsharma</surname>
            ,
            <given-names>R. K.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Ahn</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          (
          <year>2012</year>
          ).
          <article-title>Aeris: Eco-vehicle speed control at signalized intersections using i2v communication</article-title>
          .
          <source>Technical Report FHWA-JPO-12-063</source>
          , Virginia Polytechnic Institute and State University and Virginia Tech Transportation Institute.
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <surname>Saboohi</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Farzaneh</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>2009</year>
          ).
          <article-title>Model for developing an eco-driving strategy of a passenger vehicle based on the least fuel consumption</article-title>
          .
          <source>Applied Energy</source>
          ,
          <volume>86</volume>
          (
          <issue>10</issue>
          ):
          <fpage>1925</fpage>
          -
          <lpage>1932</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <surname>Shachter</surname>
            ,
            <given-names>R. D.</given-names>
          </string-name>
          (
          <year>1986</year>
          ).
          <article-title>Evaluating influence diagrams</article-title>
          .
          <source>Operations Research</source>
          ,
          <volume>34</volume>
          (
          <issue>6</issue>
          ):
          <fpage>871</fpage>
          -
          <lpage>882</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <string-name>
            <surname>Shachter</surname>
            ,
            <given-names>R. D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Peot</surname>
            ,
            <given-names>M. A.</given-names>
          </string-name>
          (
          <year>1992</year>
          ).
          <article-title>Decision making using probabilistic inference methods</article-title>
          .
          <source>In Proceedings of the Eighth Conference Annual Conference on Uncertainty in Artificial Intelligence (UAI-92)</source>
          , pages
          <fpage>276</fpage>
          -
          <lpage>283</lpage>
          , San Mateo, CA. Morgan Kaufmann.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <surname>Shenoy</surname>
            ,
            <given-names>P. P.</given-names>
          </string-name>
          (
          <year>1992</year>
          ).
          <article-title>Valuation based systems for bayesian decision analysis</article-title>
          .
          <source>Operations Research</source>
          ,
          <volume>40</volume>
          :
          <fpage>463</fpage>
          -
          <lpage>484</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          <string-name>
            <surname>Shenoy</surname>
            ,
            <given-names>P. P.</given-names>
          </string-name>
          and
          <string-name>
            <surname>West</surname>
            ,
            <given-names>J. C.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>Inference in hybrid bayesian networks using mixtures of polynomials</article-title>
          .
          <source>International Journal of Approximate Reasoning</source>
          ,
          <volume>52</volume>
          (
          <issue>5</issue>
          ):
          <fpage>641</fpage>
          -
          <lpage>657</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <surname>Velenis</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Tsiotras</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2008</year>
          ).
          <article-title>Minimum-time travel for a vehicle with acceleration limits: Theoretical analysis and receding-horizon implementation</article-title>
          .
          <source>Journal of Optimization Theory and Applications</source>
          ,
          <volume>138</volume>
          (
          <issue>2</issue>
          ):
          <fpage>275</fpage>
          -
          <lpage>296</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>