<!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>A Bayesian Approach to Learning in Fault Isolation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Hannes Wettig</string-name>
          <email>wettig@hiit</email>
          <email>wettig@hiit.fi</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anna Pernest˚al</string-name>
          <email>annap@isy.liu.se</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tomi Silander</string-name>
          <email>tsilande@hiit.fi</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mattias Nyberg</string-name>
          <email>mattias.nyberg@scania.com</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dept. Electrical Engineering, Link ̈oping University</institution>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Helsinki Institute for, Information Technology</institution>
          ,
          <country country="FI">Finland</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Scania CV AB</institution>
          ,
          <addr-line>So ̈dert ̈alje</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Fault isolation is the art of localizing faults in a process, given observations from it. To do this, a model describing the relation between faults and observations is needed. In this paper we focus on learning such models both from training data and from prior knowledge. There are several challenges in learning fault isolators. The number of data, as well as the available computing resources, are often limited and there may be previously unobserved fault patterns. To meet these challenges we take on a Bayesian approach. We compare five different methods for learning in fault isolation, and evaluate their performance on a real fault isolation problem; the diagnosis of an automotive engine.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>We consider the problem of fault isolation, i.e. the
problem of localizing faults that are present in a
process given observations from this process. To do this, a
model of the relations between observations and faults
is needed. In the current work we investigate and
compare different methods for learning from training data
and prior knowledge.</p>
      <p>
        We are motivated by the problem of fault isolation in
an automotive engine, and the learning methods are
evaluated using experimental training data and
evaluation data from real driving situations. In engine fault
isolation there may be several hundreds of faults and
observations. There will be fault patterns, i.e.
cooccuring faults, from which there are no training data.
Furthermore, training data is typically experimental
and obtained by implementing faults, running the
process, and collecting observations. On the other hand,
there is often engineering knowledge available about
the process. The engineering knowledge can for
example be used to determine the structure of dependencies
between faults and observations. This kind of
knowledge is often the only basis in previous algorithms for
fault isolation [
        <xref ref-type="bibr" rid="ref15 ref2 ref8">6, 12, 19</xref>
        ].
      </p>
      <p>Due to the fact that there are previously unobserved
fault patterns in training data, frequentist and purely
data-based methods are bound to fail. To meet these
challenges we use a Bayesian approach to learning in
fault isolation. We consider five different methods of
learning a model from training data, which are all
previously present in the literature in different forms. We
taylor these methods to incorporate the available
background information. The methods we consider are
Direct Inference (DI), Logistic Regression (LogR),
Linear Regression (LinR), Naive Bayes (NB) and general
Bayesian Networks (BN).</p>
      <p>
        The main contributions of the current work are the
investigation of Bayesian learning methods and
regression models for fault isolation by comparing the five
methods mentioned above, the application and
evaluation of the methods on real-world data, and the
combination of data-driven learning and prior knowledge
within these methods. In order to do this
investigation, we first discuss the characteristics of the fault
isolation problem in terms of probability theory, and
performance measures that are meaningful for fault
isolation. Consecutively we show how the five
methods can be adopted to the isolation problem. We apply
them to the task of fault isolation in an automotive
diesel engine. Finally, we compare the five methods,
and discuss their advantages and drawbacks.
Bayesian methods for fault isolation are previously
studied in literature. In these previous works it is
generally assumed that the model is given [
        <xref ref-type="bibr" rid="ref11 ref22">26, 15</xref>
        ],
or can be derived from a physical model without
using training data [
        <xref ref-type="bibr" rid="ref13 ref21">17, 25</xref>
        ]. In the current work on the
other hand, we focus on learning the models. Previous
works on Learning models for fault isolation typically
rely on pattern recognition methods described e.g. in
[1, 3]. Examples of such methods are presented for
example in [
        <xref ref-type="bibr" rid="ref10">14</xref>
        ]. Pattern recognition methods are
applicable if there is sufficient training data available.
Unfortunately, this is rarely the case in fault isolation.
In [
        <xref ref-type="bibr" rid="ref16">20</xref>
        ] the problem of learning with missing fault
patterns is discussed. In [
        <xref ref-type="bibr" rid="ref16">20</xref>
        ] training data is combined
with fundamental methods for fault isolation described
in [
        <xref ref-type="bibr" rid="ref18">2, 22</xref>
        ]. This approach is referred to as Direct
Inference in the current work, and compared to the other
four methods for learning.
      </p>
      <p>The paper is structured as follows. We introduce
notation, and formulate the diagnosis problem in
Section 2. Therein we also define relevant performance
measures. In Section 3 we briefly describe the five
methods used, and in particular how they are applied
to the diagnosis problem, before we perform the
evaluating experiments and compare the results obtained in
Section 4. Finally, in Section 5 we conclude the paper
by summarizing our results and discussing future work
directions.
2</p>
      <p>PROBLEM FORMULATION
Before going into the details of each of the learning
methods we introduce some notation, and discuss the
characteristics of the fault isolation problem. Then we
carefully state the problem at hand and define
performance measures.
2.1</p>
      <sec id="sec-1-1">
        <title>BAYESIAN FAULT ISOLATION</title>
        <p>The fault isolation problem can be formulated as a
prediction problem, where the task is to determine
the fault(s) present in a system, given a set of
observations from the system. Let the faults be
represented by the binary variables Y = (Y1, . . . , YK ), and
let the observations from the system be represented
by the variables X = (X1, . . . , XL), where each Xl is
discrete or continuous. Generally, we use upper case
letters to denote variables, and lower case letters to
denote their values. Boldface letters denote vectors.
We write p(X = x) (or simply p(x)) to denote either
probabilities or probability distributions both in the
continuous and in the discrete case. The meaning will
be clear from the context.</p>
        <p>We are given a set of training data D, consisting of
samples (yn, xn), n = 1, . . . , ND, pairs of fault and
observation variables. The training data is collected
by implementing faults and then collecting
observations, meaning that training data is experimental. To
evaluate the system we use a set E consisting of NE
samples. The evaluation data is collected by running
the system, meaning that it is observational.
Furthermore, we assume that the fault isolation algorithm is</p>
        <p>X1 X2 X3 X4 X5 X6 X7 X8
triggered by a fault detector telling us there must be
at least one fault present in the process.</p>
        <p>The structure of dependencies between the faults and
observations has three basic properties, illustrated in
the example Bayesian network of Figure 1.</p>
        <p>The first property is that faults assumed to be a priori
independent, i.e. that</p>
        <p>
          K M
p(y) = Y p(yk|y1, . . . , yk−1) ≈ Y p(yk),
k=1 k=1
(1)
meaning that faults cannot cause other faults to occur.
Although not necessary for the methods in the current
work, this is a standard assumption in many fault
isolation algorithms [
          <xref ref-type="bibr" rid="ref2">6</xref>
          ], and it simplifies the reasoning in
the following sections.
        </p>
        <p>
          Second, faults may causally affect one or several of
the observation variables introducing dependencies
between faults and variables. A dependency between
fault variable Yk and observation variable Xl means
that the fault may be visible in the observation.
The third property is that an observation variable Xl
may be dependent on other observation variables.
Dependencies between observation variables may arise
due to several reasons. For example they can be caused
by unobserved factors, such as humidity, driver
behavior, and operation point of the process. These
unobserved factors could be modeled using hidden nodes,
but since they are numerous and unknown they are
here simply modeled with dependencies between
observation variables. This is more carefully discussed in
[
          <xref ref-type="bibr" rid="ref17">21</xref>
          ].
        </p>
        <p>We take a Bayesian view point on fault isolation. The
objective is to find the probability for each fault to
be present given the current observation, the training
data, and the prior knowledge I, i.e. to compute the
probabilities p(yk|x, D, I), k = 1, . . . , K. The
probability for each fault can be found by marginalizing over
y−k = (y1, . . . , yk−1, yk+1, . . . , yK ),
p(yk|x, D, I) = X p(y−k, yk|x, D, I).</p>
        <p>y−k
(2)
Note that (y−k, yk) = y, and (2) means that we seek
the conditional distribution p(y|x, D, I). To simplify
the notation we will omit the background information
I in the equations.</p>
        <p>Computing the conditional distribution p(y|x, D) is
generally difficult. To approximate it we need a model
M and a method for determining the parameters of
the model.
To evaluate the different models to be used in Bayesian
fault isolation, we use two performance measures:
logscore and percentage of correct classification.
All the methods considered in this paper – with the
exception of DI – build separate models for each fault
and thus assume independence among these. A priori
this corresponds to approximation (1). However, when
we build separate models for each fault, we also make
a stronger assumption, namely that the faults remain
independent given the observations,</p>
        <p>K K
p(y|x) = Y p(yk|x, y1, . . . , yk−1) ≈ Y p(yk|x) (5)
k=1 k=1
The log-loss is a commonly used measure [1], and given
by
This approximation is (after applying Bayes’ rule and
canceling terms) equivalent to
μ(E , M) =
1 NE</p>
        <p>
          X log p(yj |xj , M),
NE j=1
(3)
The scoring function μ measures two important
properties of the fault isolation system; both the ability to
assign large probability mass to faults that are present,
and also the ability to assign small probability mass
to faults that are not present. Furthermore, the
logscore is a proper score. A proper score has the
characteristic that it is maximized when the learned
probability distribution corresponds to the empirically
observed probabilities. In the fault isolation problem the
conditional probabilities for faults is often combined
with decision theoretic methods for troubleshooting
[
          <xref ref-type="bibr" rid="ref4">8</xref>
          ], where optimal decision making requires conditional
probabilities close to the generating distribution.
The second measure we use is not proper. It is closely
related to the 0/1-loss used e.g. in pattern
classification [1]. However, in case of multiple faults present it
suffices to assign highest probability to any of them.
We define
ν(E , M) = #{j : ymjax(xj , M) = 1}/NE ,
(4)
where ymjax(xj , M) is the fault assigned highest
probability by M given xj . The ν-score reflects the
performance of the fault isolation system combined with
the simple troubleshooting strategy “check the most
probable fault first”.
3
        </p>
        <p>MODELLING APPROACHES
In this section we briefly present the inference
methods used to tackle the fault isolation problem. We
carefully state all assumptions made, and describe the
adjustments of each method to apply it to the
diagnosis problem. However, we begin by describing two
assumptions that need to be made for all methods
except DI.</p>
        <p>
          K K
Y p(x|yk) ≈ Y p(x|y1, . . . , yk),
k=1 k=1
meaning that the observation x is dependent on each
fault yk, but this dependency is assumed to be
independent of all other faults yk′ , k′ 6= k. In other words,
we assume no “explaining away” [
          <xref ref-type="bibr" rid="ref6">10</xref>
          ]. Looking at
Figure 1 we observe, that this indeed is a strong
assumption, since there are unshielded colliders (V-structures,
bastards, common children of non-connected nodes) of
the faults present.
        </p>
        <p>Assumption (5) is primarily made for technical
reasons, in order to be able to build separate models for
each fault. But often it is also the case (as in the
application of Section 4) that there is training data
only from single faults. This means we do not have
any training data telling us about the joint effect of
multiple faults.</p>
        <p>Remember that it is known that there is at least one
fault present when the fault isolator is employed, see
Section 2.1. Therefore, instead of computing p(y|x),
we search
p(y|x, X yk &gt; 0) = p(y|x)(1 − p(y ≡ 0|x)).</p>
        <p>k
Unfortunately
p(y|x, X yk &gt; 0) 6= Y p(yk|x, X yk &gt; 0),</p>
        <p>k k k
a fact which recouples the single-fault models
introduced in (5). This fact is ignored during the learning
phase and the single-fault models are trained
individually. We then apply (7) in the evaluation phase.
3.2</p>
      </sec>
      <sec id="sec-1-2">
        <title>DIRECT INFERENCE</title>
        <p>
          Several previous fault isolation algorithms rely on prior
knowledge about which observations may be affected
(6)
(7)
(8)
by each fault [
          <xref ref-type="bibr" rid="ref18 ref8">2, 22, 12</xref>
          ]. Such information is
typically expressed in a so called Fault Signature Matrix
(FSM). An example of an FSM is given in Table 1.
In the FSM, a zero in position (k, l) means that fault
Yk can never affect observation Xl. The direct
inference method aims at combining the information given
by the FSM with the training data available. Assume
that observations are binary and that the background
information I containing the FSM is given. Then,
under certain assumptions it can be shown [
          <xref ref-type="bibr" rid="ref16">20</xref>
          ] that
p(y|x, D) =
(0
nxy+αxy p(y|I)
Ny+Ay π0
x ∈ γ
otherwise,
(9)
where π0 is a normalization constant, nxy is the count
of training data with fault y and observations x, αxy
is a parameter describing the prior belief in the
observation x when the fault is y (a Dirichlet prior),
Ny = Px′ nx′y, and Ay = Px′ αx′y. The sets γ
are determined by the background information as
described in [
          <xref ref-type="bibr" rid="ref16">20</xref>
          ].
        </p>
        <p>The direct inference method is developed for sparse
sets of training data, particularly when there is only
training data from a subset of the fault patterns to
isolate.
3.3</p>
      </sec>
      <sec id="sec-1-3">
        <title>BAYESIAN NETWORKS</title>
        <p>When using Bayesian networks for prediction, we
search the joint distribution p(y, x|θ), where θ are
parameters describing the conditional probability
distributions in the network. From the joint distribution,
the conditional distribution for y can be computed.
We consider two types of Bayesian networks: Naive
Bayes and general Bayesian Networks.
3.3.1</p>
      </sec>
      <sec id="sec-1-4">
        <title>Naive Bayes</title>
        <p>
          The Naive Bayes classifier assumes that the
observations are independent given the fault. Naive Bayes is
is one of the standard methods for Bayesian prediction
and often performs surprisingly well [
          <xref ref-type="bibr" rid="ref19">3, 23</xref>
          ]. However,
due to the erroneous independence assumptions it is
poorly calibrated when there are strong dependencies
between the observations. To alleviate this problem,
we apply variable selection according to an internal
leave-one-out scoring function:
        </p>
        <p>S(V ) =
1 ND</p>
        <p>X log P (ykn|xn, V, D \ {(yn, xn)}, α),
ND n=1
(10)
where V ⊂ X is the variable set under consideration
and α is the Dirichlet hyper-parameter for the
NBmodel.
3.3.2</p>
      </sec>
      <sec id="sec-1-5">
        <title>General Bayesian Network</title>
        <p>
          Since it is known that the faults causally precede the
observations, and since the observations are known to
be dependent given the faults, a natural step forward
from the Naive Bayes structure is a Bayesian network.
In the network we constrain the fault to be a root
node, but otherwise leave the structure unconstrained.
One such network was learned for each fault using a
BDe score (with an equivalent sample size parameter
of 1.0). For small systems (&lt; 30 variables) learning can
be performed using the exact algorithm in [
          <xref ref-type="bibr" rid="ref23">27</xref>
          ], while
for larger systems approximate methods, e.g. [
          <xref ref-type="bibr" rid="ref5">9</xref>
          ], can
be used.
3.4
        </p>
      </sec>
      <sec id="sec-1-6">
        <title>REGRESSION</title>
        <p>Fault isolation is a discriminative task, where we are
to predict the fault vector y given the observations x,
i.e. estimate the conditional likelihood
p(y|x, θ) =</p>
        <p>p(y, x|θ)
Py p(y, x|θ)
.</p>
        <p>
          (11)
It is well known [
          <xref ref-type="bibr" rid="ref14 ref7">18, 11</xref>
          ] that in such case it can be
of great benefit to employ a discriminative learning
method, that only learns the probabilities asked,
instead of wasting training data to learn the joint data
likelihood as in the Bayesian network methods of
Section 3.3. Regression models form a family of such
methods.
3.4.1
        </p>
      </sec>
      <sec id="sec-1-7">
        <title>Linear Regression</title>
        <p>The most straight-forward regression method is linear
regression, where each fault variable is assumed to be a
linear combination of the observations plus a gaussian
noise term,
yk = wkT x + wk0 + ǫk,
ǫ ∼ N (0, σ).</p>
        <p>Here wk, wk0, and σ are parameters to be determined.
This gives the probability distribution
p(yk|x) =</p>
        <p>exp(−
c′(α, β) − 2 log(exp(α) + exp(−α))</p>
        <p>ND
w∗ = arg min − X log p(ykn|xn, w)
w n=1</p>
        <p>ND
= arg min − X(wkT xn + wk0 − ykn)2.</p>
        <p>w n=1
When the parameters w∗ are known, the parameter σ
can also be computed. The normalization constant in
(12) is given by Z = exp(−((w∗)kT x+ wk∗0 − 1)2/2σ2)+
exp(−((w∗)kT x + wk∗0 − 0)2/2σ2).
3.4.2</p>
      </sec>
      <sec id="sec-1-8">
        <title>Logistic Regression</title>
        <p>
          Learning parameters to maximize (11) for a Bayes Net
B is known to be equivalent to logistic regression under
the condition that no child of the class can be a
“bastard”, a common child of two variables that are not
interconnected directly. More formal definition and
proofs can be found in [
          <xref ref-type="bibr" rid="ref20">24</xref>
          ]. In our case, this implies
approximation (5).
        </p>
        <p>To start with, for each fault we learn a logistic
regression model corresponding to a discriminative Naive
Bayes classifier 1.</p>
        <p>We name the parameters of the logistic regression
model α and β such that the conditional likelihood
is defined as</p>
        <p>p(yk = 1|x, α, β) :=
where
exp s(x, α, β)
exp s(x, α, β) + exp −s(x, α, β)
(13)</p>
        <p>L
s(x, α, β) := α + X xlβl.</p>
        <p>l=1
We also include a smoothing term c(α, β) in our
objective function which takes the place of a prior in
the corresponding NB classifier. To unify its role for
different observations, we first normalize our data by
shifting and scaling such that for l = 1, . . . , L
X xln = 0 and
n
max |xln| = 1
n
Starting out from the uniform prior, we pretend to
have seen one vector of each class at node Yk and two
vectors of each class with extreme values ±1 at each
node Xl, with all other values zero (∼unobserved).</p>
        <p>
          1possible other choices include tree-augmented Naive
Bayes (TAN) [
          <xref ref-type="bibr" rid="ref20">24, 5</xref>
          ]
(14)
(15)
        </p>
        <p>L
− 4 X log(exp(βl) + exp(−βl)). (16)</p>
        <p>l=1
However, we found this smoothing term problematic,
since it is flat near zero. Therefore, we never get any
parameters exactly zero. But in logistic regression
many small parameters can make a difference, while
they may be weakly supported. We choose to replace
log(exp(x) + exp(−x)) by |x|. This is a good
approximation away from zero, but forces unsupported
parameters to zero, implicitly performing attribute selection.
For fault Yk we search parameters as to maximize
log p(yk|x, α, β) + c(α, β)</p>
        <p>ND L
= X log p(ykn|xn, α, β) − 2|α| − 4 X |βl|. (17)
n=1 l=1
We do this by simple line search, one parameter at a
time2.</p>
        <p>Finally, we try a variant of this algorithm which
weights the training vectors. We have prior
knowledge about the probabilities p(yk) with which to
expect some fault yk in the real-world setting or, in this
case, the evaluation set. These probabilities differ from
the relative frequencies observed in the training set.
The idea is to weight the training vectors in the
objective as to focus the optimization on areas of the data
space more likely to be seen later on. The
corresponding objective for fault Yk becomes</p>
        <p>ND
X log wkp(yin|xn, α, β) + c(α, β)
n=1
(18)
where the weight wk is the prior p(yk) divided by the
observed relative frequency #{n : ykn = yk}/ND.
4</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>EXPERIMENTS</title>
      <p>To evaluate the different methods learning fault
isolation models, we apply them to the diagnosis of the gas
flow in a 6-cylinder diesel engine in a Scania truck. In
automotive engines, sensor faults are one of the most
common faults, and here we consider five faults that
may appear in different sensors. The faults are listed
together with their prior probabilities in Table 2.</p>
      <p>
        2There are much faster optimization techniques, some
of which are compared in [
        <xref ref-type="bibr" rid="ref12">16</xref>
        ], but for our purposes this
did nicely
      </p>
      <sec id="sec-2-1">
        <title>EXPERIMENTAL SETUP</title>
        <p>
          For the gas flow of the diesel engine there is physical
model from which a set of 29 diagnostic tests are
automatically generated using structural analysis [
          <xref ref-type="bibr" rid="ref9">4, 13</xref>
          ].
Each of the observations is constructed to be sensitive
to a subset of the faults.
        </p>
        <p>For training and evaluation data we use measurements
from real operation of the truck, with faults
implemented. The training data consists of 100 samples
each from the five single faults. Evaluation data
consists of data from the five single faults, but also of data
from two multiple faults y1&amp;y2, and y1&amp;y4.
Evaluation data is observational, and consists of 1000
samples, distributed roughly according to the prior
probabilities in Table 2.</p>
        <p>
          The data we consider is originally continuous, but all
except the regression algorithms take in discrete data.
The data is discretized in two different ways: binary,
with thresholds set such that all fault free data is
known to be contained in the same bin; and discretized
using k-means clustering [
          <xref ref-type="bibr" rid="ref3">7</xref>
          ] with k = 4. DI is applied
to the discrete data. NB and BN are run both on
discrete and binary data. The regression methods LinR
and LogR are applied to the continuous data.
As described in Section 3 the NB and DI algorithms
perform best if not all observations are used. For both
DI and NB we perform variable selection such that an
internal log-score is maximized. For DI, the best result
is obtained by using only six of the observations. In
NB between seven and 18 observations are used for
each fault.
4.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>RESULTS</title>
        <p>In Table 3 the log-score (μ) and percentage of
correct classification (ν) are presented for the different
methods. In addition we report the number of
parameters used by each predictor. This is relevant, since
for on-board fault isolation the computing and
storage capacity is often limited. For comparison we also
report the default which is obtained by simply using
the prior probabilities given in Table 2.
We observe, that among the four best methods in
Table 3 three are discriminative and learn the conditional
distribution instead of the joint distribution.
Furthermore, LogR with training sample weighting performs
best on this data in log-score sense, while using a
small number of parameters. Surprisingly the
weighting trick has made quite a difference and LogR without
weights it is outperformed by NB-disc. NB performs
better when it is fed with discretized observations
instead of binary, while for BN the effect is reversed.
Clearly the discretized data contain more information,
but it seems that in more complex Bayes Nets the
conditional probability tables easily grow too large. In DI
good results are obtained by exploiting prior
knowledge in terms of that some faults never cause an
observation to pass certain thresholds.</p>
        <p>Measured by the ν-score the relative differences
between the methods become smaller. We observe
that this score favors the regression models and the
Bayesian methods using binary data. The reason for
the good performance of the methods using binary
data is the particular way of thresholding the data
such that all fault free samples are contained in the
same bin.</p>
        <p>Table 4 compares the log-scores of the predictions
given for the single faults by DI and LogR+weights.
Note that because of inequality (8) the columns do
not sum to the corresponding entries in Table 3. Not
surprisingly, both methods (as all others) have most
trouble with faults y1, y2 and y4, the ones appearing
simultaneously in evaluation data, but not in training
data. This gives evidence for explaining away being
important in this problem. Figure 2, in which the
probabilities for each fault using LogR + weights are
plotted, shows this in more detail. In the Figure we
have ordered the evaluation data such that the
rightmost samples have multiple faults, visualizing that the
double faults are most difficult to predict.</p>
        <p>nx)1
|
10.5
y
(
p00
nx)1
2|0.5
y
(
p00
nx)1
3|0.5
y
(
p00
nx)1
4|0.5
y
(
p00
nx)1
5|0.5
y
(
p00</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>CONCLUSIONS</title>
      <p>We have considered the problem of fault isolation in
an automotive diesel engine. We have discussed the
special characteristics of this problem. There is
experimental training data available which is distributed
differently from what we expect to see in the real-world
setting. In particular, evaluation data consists partly
of previously unseen fault patterns. In addition there
is prior knowledge available about which faults may
affect each observation, and also the knowledge that
at least one fault is present.</p>
      <p>We have studied different Bayesian and regression
approaches to combine this by nature heterogeneous
information into probability distributions for the faults
conditioned on given observations. We have compared
the performance of the methods using real-world data,
and have found that the discriminative logistic
regression method to perform best. Among the best methods
we have also found the naive Bayes classifier and the
direct inference method.</p>
      <p>One of the clearest implications of this work is that
all methods have difficulties with handling unobserved
fault patterns. Unfortunately, unobserved patterns are
common in fault isolation, so this problem should be
tackled in future work. All the methods used, except
direct inference, ignore explaining away. However, this
explaining away effect can possibly be helpful when
diagnosing unseen patterns. Furthermore, it is crucial to
include background information in the learning phase
whenever it is available.</p>
      <p>In our work to come we will investigate models
capable of both explaining away and taking prior
knowledge into account, while providing an efficient
inference procedure, as on-board computers offer very
limited resources. We expect further improvement of
performance is possible.</p>
      <p>[1] Christopher M. Bishop. Neural Networks for
Pattern Recognition. Oxford University Press, 1995.
[2] Johan de Kleer and Brian C. Williams. Diagnosis
with Behavioral Modes. In Readings in
Modelbased Diagnosis, pages 124–130, San Francisco,
CA, USA, 1992. Morgan Kaufmann Publishers
Inc.
[3] Luc Devroye, Laszlo Gy¨orfi, and Gabor Lugosi.</p>
      <p>A Probabilistic Theory of Pattern Recognition.</p>
      <p>Springer, New York, 1996.
[4] Henrik Einarsson and Gustav Arrhenius.
Automatic design of diagnosis systems using
consistency based residuals. Master’s thesis, Uppsala
University, 2004.
[5] Russel Greiner and Wei Zhou. Structural
Extension to Logistic Regression: Discriminative
Parameter Learning of Belief Net Classifiers. In 13th
international conference on uncertainty in
artificial intelligence, 2002.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <source>100 200 300 400 500 600 700 800 900 1000 n</source>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Walter</given-names>
            <surname>Hamscher</surname>
          </string-name>
          , Luca Console, and Johan deKleer.
          <article-title>Readings in Model-based Diagnosis</article-title>
          . Morgan Kaufmann Publishers Inc., San Francisco, CA, USA,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [7]
          <string-name>
            <surname>John</surname>
            <given-names>A. Hartigan. Clustering</given-names>
          </string-name>
          <string-name>
            <surname>Algorithms</surname>
          </string-name>
          . Wiley,
          <year>1975</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>David</given-names>
            <surname>Heckerman</surname>
          </string-name>
          , John S. Breese, and
          <string-name>
            <given-names>Koos</given-names>
            <surname>Rommelse</surname>
          </string-name>
          .
          <article-title>Decision-theoretic troubleshooting</article-title>
          .
          <source>Communications of the ACM</source>
          ,
          <volume>38</volume>
          (
          <issue>3</issue>
          ):
          <fpage>49</fpage>
          -
          <lpage>57</lpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>David</given-names>
            <surname>Heckerman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Dan</given-names>
            <surname>Geiger</surname>
          </string-name>
          , and
          <string-name>
            <given-names>David M.</given-names>
            <surname>Chickering</surname>
          </string-name>
          .
          <article-title>Learning Bayesian Networks: The Combination of Knowledge and Statistical Data</article-title>
          .
          <source>Machine Learning</source>
          ,
          <volume>20</volume>
          (
          <issue>3</issue>
          ):
          <fpage>197</fpage>
          -
          <lpage>243</lpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Finn</surname>
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Jensen</surname>
          </string-name>
          . Bayesian Networks. SpringerVerlag, New York,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Petri</surname>
          </string-name>
          . Kontkanen, Petri. Myllym¨aki, and Henry. Tirri.
          <article-title>Classifier learning with supervised marginal likelihood</article-title>
          . In J. Breese and D. Koller, editors,
          <source>Proceedings of the 17th International Conference on Uncertainty in Artificial Intelligence (UAI)</source>
          , pages
          <fpage>277</fpage>
          -
          <lpage>284</lpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Jozef</surname>
            <given-names>Korbicz</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jan M. Koscielny</surname>
            , Zdzislaw Kowalczuk, and
            <given-names>Wojciech</given-names>
          </string-name>
          <string-name>
            <surname>Cholewa</surname>
          </string-name>
          .
          <source>Fault Diagnosis. Models, Artificial Intelligence , Applications</source>
          . Springer, Berlin, Germany,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Mattias</surname>
            <given-names>Krysander</given-names>
          </string-name>
          ,
          <article-title>Jan A˚slund, and Mattias Nyberg. An Efficient Algorithm for Finding Minimal Over-constrained Sub-systems for Modelbased Diagnosis</article-title>
          .
          <source>IEEE Transactions on Systems, Man, and Cybernetics - Part A: Systems and Humans</source>
          ,
          <volume>38</volume>
          (
          <issue>1</issue>
          ):
          <fpage>197</fpage>
          -
          <lpage>206</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>Gareth</given-names>
            <surname>Lee</surname>
          </string-name>
          , Parisa Bahri, Srinivas Shastri, and
          <string-name>
            <given-names>Anthony</given-names>
            <surname>Zaknich</surname>
          </string-name>
          .
          <article-title>A multi-category decision support framework for the tennessee eastman problem</article-title>
          .
          <source>In Proceedings of the European Control Conference</source>
          <year>2007</year>
          , Greece,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Uri</surname>
            <given-names>Lerner</given-names>
          </string-name>
          , Ronald Parr, Daphne Koller, and
          <string-name>
            <given-names>Gautam</given-names>
            <surname>Biswas</surname>
          </string-name>
          .
          <article-title>Bayesian Fault Detection and Diagnosis in Dynamic Systems</article-title>
          .
          <source>In AAAI/IAAI</source>
          , pages
          <fpage>531</fpage>
          -
          <lpage>537</lpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Thomas</surname>
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Minka</surname>
          </string-name>
          .
          <article-title>A comparison of numerical optimizers for logistic regression</article-title>
          .
          <source>Technical report, Micrsoft Research</source>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>Sriram</given-names>
            <surname>Narasimhan</surname>
          </string-name>
          and
          <string-name>
            <given-names>Gautam</given-names>
            <surname>Biswas</surname>
          </string-name>
          .
          <article-title>Modelbased Diagnosis of Hybrid Systems</article-title>
          .
          <source>IEEE Trans. on Systems, Man, and Cybernetics</source>
          ,
          <string-name>
            <surname>Part</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <volume>37</volume>
          (
          <issue>3</issue>
          ):
          <fpage>348</fpage>
          -
          <lpage>361</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Andrew</surname>
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Ng</surname>
            and
            <given-names>Michael I.</given-names>
          </string-name>
          <string-name>
            <surname>Jordan</surname>
          </string-name>
          .
          <article-title>On Discriminative vs. Generative classifiers: A comparison of logistic regression and naive Bayes</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          <volume>14</volume>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>Mattias</given-names>
            <surname>Nyberg</surname>
          </string-name>
          .
          <article-title>Model-Based Diagnosis of an Automotive Engine Using Several Types of Fault Models</article-title>
          .
          <source>IEEE Transactions on Control Systems Technology</source>
          ,
          <volume>10</volume>
          (
          <issue>5</issue>
          ):
          <fpage>679</fpage>
          -
          <lpage>689</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Anna</surname>
            <given-names>Pernest</given-names>
          </string-name>
          ˚al and
          <string-name>
            <given-names>Mattias</given-names>
            <surname>Nyberg</surname>
          </string-name>
          .
          <article-title>Diagnosing Known and Unknown Faults from Incomplete Data</article-title>
          .
          <source>In Proceedings of European Control Conference</source>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [21]
          <string-name>
            <surname>Anna</surname>
            <given-names>Pernest</given-names>
          </string-name>
          ˚al, Mattias
          <string-name>
            <surname>Nyberg</surname>
            , and
            <given-names>Bo</given-names>
          </string-name>
          <string-name>
            <surname>Wahlberg</surname>
          </string-name>
          .
          <article-title>A Bayesian Approach to Fault Isolation with Application to Diesel Engine Diagnosis</article-title>
          .
          <source>In Proceedings of 17th International Workshop on Principles of Diagnosis (DX 06)</source>
          , pages
          <fpage>211</fpage>
          -
          <lpage>218</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>Raymond</given-names>
            <surname>Reiter</surname>
          </string-name>
          .
          <article-title>A Theory of Diagnosis From First Principles</article-title>
          .
          <source>In Readings in Model-based Diagnosis</source>
          , pages
          <fpage>29</fpage>
          -
          <lpage>48</lpage>
          , San Francisco, CA, USA,
          <year>1992</year>
          . Morgan Kaufmann Publishers Inc.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>Irina</given-names>
            <surname>Rish</surname>
          </string-name>
          .
          <article-title>An empirical study of the naive bayes classifier</article-title>
          .
          <source>In IJCAI 2001 Workshop on Empirical Methods in Artificial Intelligence</source>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [24]
          <string-name>
            <surname>Teemu</surname>
            <given-names>Roos</given-names>
          </string-name>
          , Hannes Wettig, Peter Gru¨nwald, Petri Myllym¨aki, and
          <string-name>
            <given-names>Henry</given-names>
            <surname>Tirri</surname>
          </string-name>
          .
          <article-title>On Discriminative Bayesian Network Classifiers and Logistic Regression</article-title>
          .
          <source>Machine Learning</source>
          , pages
          <fpage>267</fpage>
          -
          <lpage>296</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [25]
          <string-name>
            <surname>Indranil</surname>
            <given-names>Roychoudhury</given-names>
          </string-name>
          , Gautam Biswas, and
          <string-name>
            <given-names>Xenofon</given-names>
            <surname>Koutsoukos</surname>
          </string-name>
          .
          <article-title>A Bayesian Approach to Efficient Diagnosis of Incipient Faults</article-title>
          .
          <source>In Proceedings of 17th International Workshop on Principles of Diagnosis (DX 06)</source>
          , pages
          <fpage>243</fpage>
          -
          <lpage>250</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>Matthew</given-names>
            <surname>Schwall</surname>
          </string-name>
          and
          <string-name>
            <given-names>Christian</given-names>
            <surname>Gerdes</surname>
          </string-name>
          .
          <article-title>A probabilistic Approach to Residual Processing for Vehicle Fault Detection</article-title>
          .
          <source>In Proceedings of the 2002 ACC</source>
          , pages
          <fpage>2552</fpage>
          -
          <lpage>2557</lpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>Tomi</given-names>
            <surname>Silander</surname>
          </string-name>
          and
          <article-title>Petri Myllym¨aki. A Simple Approach for Finding the Globally Optimal Bayesian Network Structure</article-title>
          .
          <source>In Proceedings of the 22nd Conference on Uncertainty in AI (UAI)</source>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>