<!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>Conflict Management in Interactive Financial Service Selection</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alexander Felfernig</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Martin Stettinger</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Applied Software Engineering, Institute for Software Technology</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Knowledge-based systems are often used to support search and navigation in a set of financial services. In a typical process users are defining their requirements and the system selects and ranks alternatives that seem to be appropriate. In such scenarios situations can occur in which requirements can not be fulfilled and alternatives (repairs) must be proposed to the user. In this paper we provide an overview of model-based diagnosis techniques that can be applied to indicate ways out from such a ”no solution could be found” dilemma. In this context we focus on scenarios from the domain of financial services.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Knowledge-based systems such as recommenders [
        <xref ref-type="bibr" rid="ref18 ref2">2, 18</xref>
        ] and
configurators [
        <xref ref-type="bibr" rid="ref28 ref6 ref9">6, 9, 28</xref>
        ] are often used to support users (customers) who are
searching for solutions fitting their wishes and needs. These systems
select and also rank alternatives of relevance for the user. Examples
of such applications are knowledge based recommenders that support
users in the identification of relevant financial services [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ] and
configurators that actively support service configuration [
        <xref ref-type="bibr" rid="ref12 ref20">12, 20</xref>
        ].
      </p>
      <p>
        The mentioned systems have the potential to improve the
underlying business processes, for example, by reducing error rates in the
context of order recording and by reducing time efforts related to
customer advisory. Furthermore, customer domain knowledge can
be improved by recommendation and configuration technologies;
through the interaction with these systems customers gain a deeper
understanding of the product domain and – as a direct consequence
– less efforts are triggered that are related to the explanation of basic
domain aspects. For a detailed overview of the advantages of
applying such technologies we refer the reader to [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>When interacting with knowledge-based systems, situations can
occur where no recommendation or configuration can be identified.
In order to avoid inefficient manual adaptations of requirements,
techniques can be applied which automatically determine repair
actions that allow to recover from an inconsistency. For example, if
a customer is interested in financial services with high return rates
but at the same time does not accept risks related to investments, no
corresponding solution will be identified.</p>
      <p>
        There are quite different approaches to deal with the so-called no
solution could be found dilemma – see Table 1. In the context of
this paper we will focus on the application of the concepts of
modelbased diagnosis [
        <xref ref-type="bibr" rid="ref27 ref5">27, 5</xref>
        ]. A first application of model-based diagnosis
to the automated identification of erroneous constraints in
knowledge bases is reported in Bakker et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In their work the
authors show how to model the task of identifying faulty constraints
in a knowledge base as a diagnosis task. Felfernig et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] extend
the approach of Bakker et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] by introducing concepts that
allow the automated debugging of (configuration) knowledge bases
on the basis of test cases. If one or more test cases fail within the
scope of regression testing, a diagnosis process is activated that
determines a minimal set of constraints in such a way that the deletion
of these constraints guarantees that each test case is consistent with
the knowledge base. Model-based diagnosis [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ] relies on the
existence of conflict sets which represent minimal sets of inconsistent
constraints. Conflict sets can be determined by conflict detection
algorithms such as QUICKXPLAIN [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ].
      </p>
      <p>
        Beside the automated testing and debugging of inconsistent
knowledge bases, model-based diagnosis is also applied in situations
where the knowledge base per se is consistent but a set of customer
requirements induces an inconsistency. Felfernig et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] also sketch
an approach to the application of model-based diagnosis to the
identification of minimal sets of fault requirements. Their approach is
based on breadth-first search that uses diagnosis cardinality as the
only ranking criteria.
      </p>
      <p>
        A couple of different approaches to the determination of
personalized diagnoses for inconsistent requirements have been proposed.
DeKleer [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] introduces concepts for the probability-based
identification of leading diagnoses. O’Sullivan et al. [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] introduce the concept
of representative explanations (diagnosis sets) where each existing
diagnosis element is contained in at least one diagnosis of a
representative set of diagnoses. Felfernig et al. [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] show how to integrate
basic recommendation algorithms into diagnosis search and with this
to increase the prediction quality (in terms of precision) of
diagnostic approaches. Felfernig et al. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] extend this work and compare
different personalization approaches with regard to their prediction
quality and the basis of real-world datasets. Based on the concepts of
QUICKXPLAIN, Felfernig et al. [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] introduced FASTDIAG which
improves the efficiency of diagnosis search by omitting the
calcualation of conflicts as a basis for diagnosis calculation. This diagnostic
approach is also denoted as direct diagnosis [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. The applicability
of FASTDIAG has also been shown in SAT solving scenarios [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ].
      </p>
      <p>Different types of knowledge-based systems have already been
applied to support the interactive selection and configuration of
fi</p>
    </sec>
    <sec id="sec-2">
      <title>Foundations of model-based diagnosis</title>
      <p>Conflict detection and model-based diagnosis of inconsistent
constraint satisfaction problems (CSPs)</p>
      <p>Regression testing and automated debugging of configuration
knowledge bases using model-based diagnosis (breadth-first search)
Identification of minimal diagnoses for user requirements for the
purpose of consistency preservation (breadth-first search)
Identification of preferred minimal conflict sets on the basis of a
divide-and-conquer based algorithm (QUICKXPLAIN)
Identification of representative explanations (each existing diagnosis
element is contained in at least one diagnosis of the result set)
Identification of personalized diagnoses on the basis of</p>
      <p>recommendation algorithms</p>
      <p>Probability based identification of leading diagnoses
Identification of preferred minimal diagnoses on the basis of a
divide-and-conquer based algorithm (FASTDIAG)
Preferred minimal diagnoses for SAT based knowledge representations</p>
    </sec>
    <sec id="sec-3">
      <title>Reiter 1987 [27], DeKleer et al. 1992 [5] Bakker et al. 1993 [1]</title>
    </sec>
    <sec id="sec-4">
      <title>Felfernig et al. 2004 [8]</title>
      <p>
        Junker 2004 [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]
O’Sullivan et al. 2007 [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]
Felfernig et al. 2009,2013
[
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ]
      </p>
      <p>
        DeKleer 1990 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
Felfernig et al. 2012 [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]
      </p>
    </sec>
    <sec id="sec-5">
      <title>Marques-Silva et al. 2013 [23]</title>
      <p>
        nancial services. Fano and Kurth [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] introduce an approach to the
visualization and planning of financial service portfolios. The
simulation is based on an integrated model of a human’s household and
interdependencies between different financial decisions. Felfernig et
al. [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ] show how to apply knowledge-based recommender
applications for supporting sales representatives in their dialogs with
customers. Major improvements that can be expected from such an
approach are less errors in the offer phase and more time for
additional customer meetings. An approach to apply the concepts of
cased-based reasoning [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] for the purpose of recommending
financial services is introduced by Musto et al. [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ].
      </p>
      <p>The major focus of this paper is to provide an overview of
techniques that help to recover from inconsistent situations in an
automated fashion. In this context we show how inconsistencies can be
identified and resolved. The major contributions of this paper are the
following: (1) we provide an overview of error identification and
repair techniques in the context of financial services recommendation
and configuration. (2) We show how diagnosis and repair techniques
can be applied on the basis of different knowledge representations
(CSPs as well as table-based representations). (3) We provide an
outlook of major issues for future work.</p>
      <p>
        The remainder of this paper is organized as follows. In Section
2 we introduce basic definitions of a constraint satisfaction problem
(CSP) and a corresponding solution. On the basis of these
definitions we introduce a first working example from the financial
services domain. Thereafter (in Section 3) we introduce a basic
definition of a diagnosis task and show how diagnoses and repairs for
inconsistent user requirements can be determined. In Section 4 we
switch from constraint-based to table-based knowledge
representations where (personalized) solutions are determined on the basis of
conjunctive queries [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. In Section 5 we provide one further
example of consistency management in the loan domain. In Section 6 we
discuss issues for future work. With Section 7 we conclude the paper.
2
      </p>
      <sec id="sec-5-1">
        <title>Constraint-based Representations</title>
        <p>
          Constraint Satisfaction Problems (CSPs) [
          <xref ref-type="bibr" rid="ref16 ref22">16, 22</xref>
          ] are successfully
applied in many industrial scenarios such as scheduling [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ],
configuration [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], and recommender systems [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. The popularity of this
type of knowledge representation can be explained by the small set
of representation concepts (only variables, related domains, and
constraints have to be defined) and the still high degree of expressivity.
        </p>
        <p>Definition 1 (Constraint Satisfaction Problem (CSP) and
Solution). A constraint satisfaction problem (CSP) can be defined as a
triple (V; D; C) where V = fv1; v2; :::; vng represents a set of
variables, dom(v1); dom(v2); :::; dom(vn) represents the
corresponding variable domains, and C = fc1; c2; :::; cmg represents a set of
constraints that refer to corresponding variables and reduce the
number of potential solutions. A solution for a CSP is defined by an
assignment A of all variables in V where A is consistent with the
constraints in C.</p>
        <p>
          Usually, user requirements are interpreted as constraints
CREQ = fr1; r2; :::; rqg where ri represent individual user
requirements. In this paper we assume that the constraints in C are
consistent and inconsistencies are always induced by the constraints
in CREQ. If such a situation occurs, we are interested in the
elements of CREQ which are responsible for the given inconsistency.
On the basis of a first example we will now provide an overview of
diagnosis techniques that can be used to recover from such
inconsistent situations. An example of a CSP in the domain of financial
services is the following. For simplicity we assume that each
variable has the domain flow, medium, highg.
of HSDAG construction (an example is depicted in Figure 1). In the
context of our example of C and CREQ, a first minimal conflict set
that could be returned by an algorithm such as QUICKXPLAIN [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]
is CS1 : fr1; r3g.
        </p>
        <p>V = fav; wr; rrg
dom(av) = dom(wr) = dom(rr) = flow; medium; highg
C = fc1 : :(av = high^wr = high); c2 : :(wr = low^rr =
high); c3 : :(rr = high ^ av = high)g
An overview of the variables of this CSP is given in Table 2.</p>
        <p>variable
av
wr
rr
description
availability
willingness to take risks
expected return rate
ri 2 CREQ
r1 : av = high
r2 : wr = low
r3 : rr = high</p>
        <p>In addition to this basic CSP definition we introduce an example
set of customer requirements CREQ = fr1 : av = high; r2 : wr =
low; r3 : rr = highg which is inconsistent with the constraints
defined in C. On the basis of this simplified financial service
knowledge base defined as a CSP we will now show how inconsistencies
induced by customer requirements can be identified and resolved.
3</p>
        <p>Diagnosis &amp; Repair of Inconsistent Constraints
In our working example, the requirements CREQ and the set of
constraints C are inconsistent, i.e., inconsistent(CREQ [ C). In
such situations we are interested in a minimal set of requirements
that have to be deleted or adapted such that consistency is restored.
Consistency resolution is in many cases based on the resolution of
conflicts. In our case, a minimal conflict is represented by a minimal
set of requirements in CREQ that have to be deleted or adapted such
that consistency can be restored.</p>
        <p>Definition 2 (Conflict Set). A conflict set CS is a subset of CREQ
s.t. inconsistent (CS [ C). A conflict set is minimal if there does
not exist another conflict set CS0 with CS0 CS. A minimal
cardinality conflict set CS is a minimal conflict set with the additional
property that there does not exist another minimal conflict CS0 with
jCS0j &lt; jCSj.</p>
        <p>
          Minimal conflict sets can be determined on the basis of
conflict detection algorithms such as QUICKXPLAIN [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. They can be
used to derive diagnoses. In our case, a diagnosis represents a
set of requirements that have to be deleted from CREQ such that
C [ (CREQ ) is consistent, i.e., diagnoses help to restore the
consistency between CREQ and C.
        </p>
        <p>Definition 3 (Diagnosis Task and Diagnosis). A diagnosis task can
be defined as a tuple (C; CREQ) where C represents a set of
constraints in the knowledge base and CREQ represents a set of
customer requirements. is a diagnosis if CREQ [C is consistent.
A diagnosis is minimal if there does not exist a diagnosis 0 with
0 . Furthermore, is a minimal cardinality diagnosis if there
does not exist a diagnosis 0 with j 0j &lt; j j.</p>
        <p>
          A standard approach to the determination of diagnoses is based on
the construction of a hitting set directed acyclic graph (HSDAG) [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ]
where minimal conflict sets are successively resolved in the process
        </p>
        <p>There are two possibilities of resolving CS1, either by
deleting requirement r1 or by deleting requirement r3. If we delete r3
(see Figure 1), we managed to identify the first minimal diagnosis
1 = fr3g which is also a minimal cardinality diagnosis. The
second option to resolve CS1 is to delete r1. In this situation, another
conflict exists in CREQ, i.e., a conflict detection algorithm would
return CS2 : fr2; r3g. Again, there are two possibilities to resolve
the conflict (either by deleting r2 or by deleting r3). Deleting r3 leads
to a diagnosis which is not minimal since fr3g itself is already a
diagnosis. Deleting r2 leads to the second minimal diagnosis which is
2 = fr1; r2g.</p>
        <p>The diagnoses 1 and 2 are indicators of minimal changes that
need to be performed on the existing set of requirements such that
a consistency between CREQ and C can be restored. The issue of
finding concrete repair actions for the requirements contained in a
diagnosis will be discussed later in this paper.</p>
        <p>
          There can be quite many alternative diagnoses. In this context it
is not always clear which diagnosis should be selected or in which
order alternative diagnoses should be shown to the user. In the
following we present one approach to rank diagnoses. The approach we
sketch is based on multi-attribute utility theory [
          <xref ref-type="bibr" rid="ref29">29</xref>
          ] where we assume
that customers provide weights for each individual requirement. In
the example depicted in Table 3, two customers specified their
preferences in terms of weights for each requirement. For example,
customer 1 specified a weight of 0.7 for the requirement r3 : rr = high,
i.e., the attribute rr is of highest importance for the customer. These
weights can be exploited for ranking a set of diagnoses.
        </p>
        <p>Formula 1 can be used for determining the overall importance
(imp) of a set of requirements (RS). The higher the importance the
lower the probability that these requirements are element of a
diagnosis shown to the customer. Requirement r3 has a high importance
for customer 1, consequently, the probability that r3 is contained in
a diagnosis shown to customer 1 is low.</p>
        <p>imp(RS) = importance(RS) =
r2RS weight(r)
(1)</p>
        <p>Formula 2 can be used to determine the relevance of a partial or
complete (minimal) diagnosis, i.e., this formula can be used to rank
diagnoses with regard to their relevance for the customer. The higher
the relevance of a diagnosis, the higher the ranking of the diagnosis
in a list of diagnoses shown to the customer.</p>
        <p>rel( ) = relevance( ) = importa1nce( ) (2)</p>
        <p>Tables 4 and 5 show the results of applying Formulae 1 and 2 to
the customer preferences (weights) shown in Table 3. For customer
1 (see Table 4), diagnosis 2 = fr1; r2g has the highest relevance.
For customer 2 (see Table 5), diagnosis 1 = fr3g has the highest
relevance. Consequently, diagnosis 2 is the first one that will be
shown to customer 1 and diagnosis 1 is the first one that will be
shown to customer 2.</p>
        <p>diagnosis j</p>
        <p>1 : fr3g
2 : fr1; r2g
importance( j )
0.7
0.3
relevance( j )
1.43
3.33</p>
        <p>
          On the basis of the relevance values depicted in Table 4, Figure 2
depicts a HSDAG [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ] with additional annotations regarding
diagnosis relevance (rel). The higher the relevance of a (partial) diagnosis,
the higher the ranking of the corresponding diagnosis.
        </p>
        <p>
          The afore discussed approaches to diagnosis determination are
based on the construction of a HSDAG [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ]. Due to the fact that
conflicts have to determined explicitly when following this approach,
diagnosis determination does not scale well [
          <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
          ]. The FASTDIAG
algorithm [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] tackles this challenge by determining minimal and
preferred diagnoses without the need of conflict detection. This
algorithm has shown to have the same predictive quality as HSDAG
based algorithms that determine diagnoses in a breadth-first search
regime. The major advantage of FASTDIAG is a high-performance
diagnosis search for the leading diagnoses (first-n diagnoses).
        </p>
        <p>
          FASTDIAG is based on the principle of divide and conquer – see
Figure 3: if a set of requirements CREQ is inconsistent with a
corresponding set of constraints C and the first part fr1; r2; :::; rk=2g
of CREQ is consistent with C then diagnosis search can focus on
frk=2+1; :::; rkg, i.e., can omit the requirements in fr1; r2; :::; rk=2g.
A detailed discussion of FASTDIAG can be found in [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ].
        </p>
        <p>Determination of Repair Actions. Repair actions for diagnosis
elements can be interpreted as changes to the originial set of
requirements in CREQ in such a way that at least one solution can be
identified. If we assume that CREQ is a set of unary constraints that
are inconsistent with C and is a corresponding diagnosis, then a
set of repair actions R = fa1; a2; :::; alg can be identified by the
consistency check CREQ [ C where aj (a variable assignment)
is a repair for the constraint rj if rj is in .</p>
        <p>
          In this section we took a look at different approaches that support
the determination of diagnoses in situations where a given set of
requirements becomes inconsistent with the constraints in C. In the
following we will take a look at an alternative knowledge
representation where tables (instead of CSPs) are used to represent knowledge
about financial services. Again, we will show how to deal with
inconsistent situations.
4
In Section 3 we analyzed different ways of diagnosing inconsistent
CSPs [
          <xref ref-type="bibr" rid="ref16 ref22">16, 22</xref>
          ]. We now show how diagnosis can be performed on
a predefined set of solutions, i.e., a table-based representation.
Table 6 includes an example set of investment products. The set of
financial services f1; 2; :::; 8g is stored in an item table T [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] –
T can be interpreted as an explicit enumeration of the possible
solutions (defined by the set C in Section 2). Furthermore, we
assume that the customer has specified a set of requirements CREQ
= fr1 : rr 5:5; r2 : rt = 3:0; r3 : acc = yes; r4 : bc = yesg.
The existence of a financial service in T that is able to fulfill all
requirements can be checked by a relational query [CREQ]T where
CREQ represents a set of selection criteria and T represents the
corresponding product table.
        </p>
        <p>An example query on the product table T could be [rr 5:5]T
which would return the financial services f6,7,8g. For the query
[r1;r2;r3;r4]T there does not exist a solution. In such situations we
are interested in finding diagnoses that indicate minimal sets of
requirements in CREQ that have to be deleted or adapted in order to
be able to identify a solution.</p>
        <p>Definition 4 (Conflict Sets in Table-based Representations). A
conflict set CS is a subset of CREQ s.t. [CS]T returns an empty result
set. Minimality properties of conflict sets are the same as introduced
in Definition 2.</p>
        <p>A diagnosis task and a corresponding diagnosis in the context of
table-based representations can be defined as follows.</p>
        <p>Definition 5 (Diagnosis in Table-based Representations). A
diagnosis task can be defined as a tuple (T ; CREQ) where T represents a
product table and CREQ represents a set of customer requirements.
is a diagnosis if [CREQ ]T returns at least one solution.
Minimality properties of diagnoses are the same as in Definition 3.</p>
        <p>The requirements rj 2 CREQ are inconsistent with the items
included in T (see Table 6), i.e., there does not exist a
financial service in T that completely fulfills the user requirements in
CREQ. Minimal conflict sets that can be derived for CREQ =
fr1 : rr 5:5; r2 : rt = 3:0; r3 : acc = yes; r4 : bc = yesg
are CS1 : fr1; r2g, CS2 : fr2; r3g, and CS3 : fr1; r4g. The
determination of the corresponding diagnoses is depicted in Figure 4.</p>
        <p>Diagnoses are determined in the same fashion as discussed in
Section 2. Minimal diagnoses that can be derived from the conflict
sets CS1; CS2; and CS3 are 1 : fr1; r2g, 2 : fr1; r3g and
3 : fr2; r4g (see Figure 4).</p>
        <p>Again, the question arises which of the diagnoses has the
highest relevance for the user (customer). Table 7 depicts the importance
distributions for the requirements of our example. Based on the
importance distributions depicted in Table 7 we can derive a preferred
diagnosis (see Figure 5). Diagnosis 3 will be first shown to
customer 1 since 3 has the highest evaluation in terms of relevance
(see Formula 2). The first diagnosis shown to customer 2 is 2.
diagnosis</p>
        <p>j
1 : fr1; r2g
2 : fr1; r3g
3 : fr2; r4g
importance( j )
0.8
0.8
0.2
relevance( j )
1.25
1.25
5.0</p>
        <p>Loans: creditworthiness (cw), loan limit (ll), runtime in years (rt), and interest rate (ir).</p>
        <p>An Additional Example: Selection of Loans
As a third example we introduce the domain of loans. The entries in
Table 10 represent different loan variants that can be chosen by
customers. Customers can specify their requirements on the basis of the
variables depicted in Table 11. Furthermore, the different loan
variants are characterized by their expected creditworthiness (cw), loan
limit (ll), runtime in yrs. (rt), and interest rate (ir). These variables
are basic elements of the definition of the following Constraint
Satisfaction Problem (CSP).</p>
        <p>variable
ccw
ils
mpp
irt
pir</p>
        <p>description
current creditworthiness</p>
        <p>intended loan sum
maximum periodical payment</p>
        <p>intended runtime
preferred interest rate
ri 2 CREQ
r1 : ccw = 3
r2 : ils = 30:000</p>
        <p>–
r3 : irt = 6yrs:
r4 : pir = 4:5%</p>
        <p>V = fccw, ils, mpp, irt, pir, cw, ll, rt, irg
dom(ccw) = dom(cw) = f1,2,3g; dom(ils) = dom(ll) = float;
dom(mpp) = float; dom(irt) = dom(rt) = integer; dom(pir) =
dom(ir) = integer.</p>
        <p>C = fc1 : ccw cw; c2 : ils ls; c3 : irt = rt; c4 : pir
ir; c5 : see below; c6;7 : see belowg</p>
        <p>Constraint c5 represents the entities of Table 10 in disjunctive
normal form, for example, the first table row can be represented as
basic constraint fcw = 1 ^ ll = 30:000 ^ rt = 5:0 ^ ir = 3%g.
The disjunct of all basic constraints is the disjunctive normal form.
Constraints c6;7 can be used to avoid situations where the periodical
payments for a loan exceed the financial resources of the customer.
c6 : mpp
costs(id) + ils
rt
(3)
c7 : costs(id) = ils ir(id) (rt(id2) + 1) (4)</p>
        <p>For the purpose of our example let us assume that the customer
has the following requirements: CREQ = fr1 : ccw = 3; r2 :
ils = 30:000; r3 : irt = 6yrs:; r4 : pir = 4:5%g. Since the
customer creditworthiness has been evaluated with 3, only three
alternative loan variants are available (the ids 3,6,9). These variants are
depicted in Table 12.</p>
        <p>id
3
6
9
cw
3
3
3</p>
        <p>ll
20.000
30.000
30.000</p>
        <p>rt
5.0 yrs.
7.0 yrs.
5.0 yrs.</p>
        <p>
          ir
5%
5.2%
5%
The requirements CREQ include one minimal conflict set which
is CS1 : fr3; r4g. Consequently, there exist two different
possibilities to resolve the conflict: one possibility is to change the value for
the intended runtime (irt) from 6.0 years to 5.0 years and to keep the
preferred interest rate (pir) as is. The other possibility is to change
the preferred interest rate from 4.5% to 6% and to keep the intended
runtime as is. The overall loan costs related to these two alternatives
are depicted in Table 13. If the overall loan costs are a major criteria
then repair alternative 1 would be chosen by the customer, otherwise
– if the upper limit for periodical payments is strict – repair
alternative 2 will be chosen.
A major issue for interactive applications is to guarantee reasonable
response times which should be below one second [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. This goal can
not be achieved with standard diagnosis approaches since they
typically rely on the (pre-)determination of conflict sets. Although
existing divide-and-conquer based diagnosis approaches are significantly
faster when determining only leading (preferred) diagnosis, i.e., not
all diagnoses have to be determined, there is still a need for
improving diagnosis efficiency in more complex settings. In this context,
on research issue is the development of so-called anytime diagnosis
algorithms that help to determine nearly optimal (e.g., in terms of
prediction quality) diagnoses with less computational efforts.
        </p>
        <p>Although the prediction quality of diagnoses significantly
increases and numerous recommendation algorithms have already been
evaluated, there is still a need for further advancing the
state-of-theart in diagnosis prediction. One research direction is to focus on
learning-based approaches that help to figure out which combination
of a set of basic diagnosis prediction methods best performs in the
considered domain. Such approaches are also denoted as
ensemblebased methods which focus on figuring out optimal configurations of
basic diagnosis prediction methods.</p>
        <p>Efficient calculation and high predictive quality are for sure central
issues of future research. Beyond efficiency and prediction quality,
intelligent visualization concepts for diagnoses are extremely
important. For example, the the context of group decision scenarios where
groups of users are in charge of resolving existing inconsistencies in
the preferences between group members, visualizations have to be
identified that help to restore consistency (consensus) in the group
as soon as possible. Such visualizations could focus on visualizing
the mental state on individual group members as well visualizing the
individual decision behavior (e.g., egoism vs. altruism).</p>
        <p>Since CREQ is inconsistent with the constraints in C we could
determine minimal diagnoses as indicators for possible adaptations
in the requirements. A possible criteria for personalizing
diagnosis ranking could be the costs related to a loan (see Formula 4).
7</p>
      </sec>
      <sec id="sec-5-2">
        <title>Conclusions</title>
        <p>In this paper we give an overview of existing approaches to
determine diagnoses in situations were no solution can be found. We first
provide an overview of existing related work and then focus on
basic approaches to determine diagnoses in the context of two
knowledge representation formalisms (constraint satisfaction and
conjunctive query based approaches). For explanation purposes we introduce
three different types of financial services as working examples (basic
investment decisions, selection of investment products, and loan
selection). On the basis of these examples we sketch the determination
of (preferred) diagnoses. Thereafter, we provide a short discussion of
open research issues which includes diagnosis efficiency, prediction
quality, and intelligent visualization.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Bakker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Dikker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Tempelman</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Wogmim</surname>
          </string-name>
          , '
          <article-title>Diagnosing and solving over-determined constraint satisfaction problems'</article-title>
          ,
          <source>in IJCAI 1993</source>
          , pp.
          <fpage>276</fpage>
          -
          <lpage>281</lpage>
          , Chambery, France, (
          <year>1993</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Burke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Goeker</surname>
          </string-name>
          , '
          <article-title>Recommender systems: An overview'</article-title>
          ,
          <source>AI Magazine</source>
          ,
          <volume>32</volume>
          (
          <issue>3</issue>
          ),
          <fpage>13</fpage>
          -
          <lpage>18</lpage>
          , (
          <year>2011</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Card</surname>
          </string-name>
          , G. Robertson, and
          <string-name>
            <given-names>J.</given-names>
            <surname>Mackinlay</surname>
          </string-name>
          , '
          <article-title>The information visualizer, an information workspace'</article-title>
          ,
          <source>in Conference on Human Factors in Computing Systems: Reaching Through Technology</source>
          , pp.
          <fpage>181</fpage>
          -
          <lpage>186</lpage>
          , New York, NY, USA, (
          <year>1991</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>J. de Kleer</surname>
          </string-name>
          , '
          <article-title>Using crude probability estimates to guide diagnosis'</article-title>
          ,
          <source>AI Journal</source>
          ,
          <volume>45</volume>
          (
          <issue>3</issue>
          ),
          <fpage>381</fpage>
          -
          <lpage>391</lpage>
          , (
          <year>1990</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>J. de Kleer</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Mackworth</surname>
            , and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Reiter</surname>
          </string-name>
          , '
          <article-title>Characterizing diagnoses and systems'</article-title>
          ,
          <source>AI Journal</source>
          ,
          <volume>56</volume>
          (
          <fpage>197</fpage>
          -
          <lpage>222</lpage>
          ),
          <fpage>57</fpage>
          -
          <lpage>95</lpage>
          , (
          <year>1992</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Falkner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Haag</surname>
          </string-name>
          , '
          <article-title>Recommendation Technologies for Configurable Products'</article-title>
          ,
          <source>AI Magazine</source>
          ,
          <volume>32</volume>
          (
          <issue>3</issue>
          ),
          <fpage>99</fpage>
          -
          <lpage>108</lpage>
          , (
          <year>2011</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Fano</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Kurth</surname>
          </string-name>
          , '
          <article-title>Personal Choice Point: Helping Users Visualize What it Means to Buy a BMW'</article-title>
          ,
          <source>in International Conference on Intelligent User Interfaces IUI'03</source>
          , pp.
          <fpage>46</fpage>
          -
          <lpage>52</lpage>
          , Miami, FL, USA, (
          <year>2003</year>
          ). ACM, New York, USA.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Friedrich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Jannach</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Stumptner</surname>
          </string-name>
          , '
          <article-title>Consistency-based diagnosis of configuration knowledge bases'</article-title>
          ,
          <source>Artificial Intelligence</source>
          ,
          <volume>152</volume>
          (
          <issue>2</issue>
          ),
          <fpage>213</fpage>
          -
          <lpage>234</lpage>
          , (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Hotz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bagley</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Tiihonen</surname>
          </string-name>
          ,
          <article-title>Knowledge-based Configuration -</article-title>
          From Research to Business Cases, Elsevier, Morgan Kaufmann,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Isak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Szabo</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Zachar</surname>
          </string-name>
          , '
          <source>The VITA Financial Services Sales Support Environment'</source>
          , pp.
          <fpage>1692</fpage>
          -
          <lpage>1699</lpage>
          , Vancouver, Canada, (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Kiener</surname>
          </string-name>
          , '
          <article-title>Knowledge-based Interactive Selling of Financial Services with FSAdvisor'</article-title>
          ,
          <source>in 17th Innovative Applications of Artificial Intelligence Conference (IAAI05)</source>
          , pp.
          <fpage>1475</fpage>
          -
          <lpage>1482</lpage>
          , Pittsburgh, Pennsylvania, (
          <year>2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mehlau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Wimmer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Russ</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Zanker</surname>
          </string-name>
          , '
          <article-title>Konzepte zur flexiblen Konfiguration von Finanzdienstleistungen'</article-title>
          ,
          <source>Banking and Information Technology</source>
          ,
          <volume>5</volume>
          (
          <issue>1</issue>
          ),
          <fpage>5</fpage>
          -
          <lpage>19</lpage>
          , (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schubert</surname>
          </string-name>
          , G. Friedrich,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mandl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mairitsch</surname>
          </string-name>
          , and E. Teppan, '
          <article-title>Plausible repairs for inconsistent requirements'</article-title>
          ,
          <source>in 21st International Joint Conference on Artificial Intelligence (IJCAI'09)</source>
          , pp.
          <fpage>791</fpage>
          -
          <lpage>796</lpage>
          , Pasadena, CA, (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schubert</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Reiterer</surname>
          </string-name>
          , '
          <article-title>Personalized diagnosis for over-constrained problems'</article-title>
          ,
          <source>in 23rd International Conference on Artificial Intelligence (IJCAI</source>
          <year>2013</year>
          ), pp.
          <fpage>1990</fpage>
          -
          <lpage>1996</lpage>
          , Peking, China.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schubert</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Zehentner</surname>
          </string-name>
          , '
          <article-title>An Efficient Diagnosis Algorithm for Inconsistent Constraint Sets'</article-title>
          ,
          <source>Artificial Intelligence for Engineering Design, Analysis, and Manufacturing (AIEDAM)</source>
          ,
          <volume>25</volume>
          (
          <issue>2</issue>
          ),
          <fpage>175</fpage>
          -
          <lpage>184</lpage>
          , (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>E.</given-names>
            <surname>Freuder</surname>
          </string-name>
          , '
          <article-title>In pursuit of the holy grail'</article-title>
          ,
          <source>Constraints</source>
          ,
          <volume>2</volume>
          (
          <issue>1</issue>
          ),
          <fpage>57</fpage>
          -
          <lpage>61</lpage>
          , (
          <year>1997</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>G.</given-names>
            <surname>Friedrich</surname>
          </string-name>
          , '
          <article-title>Interactive Debugging of Knowledge Bases'</article-title>
          ,
          <string-name>
            <surname>in</surname>
            <given-names>DX</given-names>
          </string-name>
          '
          <year>2014</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          , Graz, Austria, (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>D.</given-names>
            <surname>Jannach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zanker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          , and G. Friedrich,
          <string-name>
            <surname>Recommender</surname>
            <given-names>Systems</given-names>
          </string-name>
          , Cambridge University Press,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>U.</given-names>
            <surname>Junker</surname>
          </string-name>
          , 'Quickxplain:
          <article-title>Preferred explanations and relaxations for over-constrained problems'</article-title>
          ,
          <source>in 19th National Conference on AI (AAAI04)</source>
          , pp.
          <fpage>167</fpage>
          -
          <lpage>172</lpage>
          , San Jose, CA, (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>S.</given-names>
            <surname>Leist</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Winter</surname>
          </string-name>
          , 'Konfiguration von Versicherungsdienstleistungen', Wirtschaftsinformatik,
          <volume>36</volume>
          (
          <issue>1</issue>
          ),
          <fpage>45</fpage>
          -
          <lpage>56</lpage>
          , (
          <year>1994</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>F.</given-names>
            <surname>Lorenzi</surname>
          </string-name>
          and
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricci</surname>
          </string-name>
          , '
          <article-title>Case-based recommender systems: a unifying view'</article-title>
          ,
          <source>Intelligent Techniques for Web Personalization</source>
          ,
          <fpage>89</fpage>
          -
          <lpage>113</lpage>
          , (
          <year>2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>A.</given-names>
            <surname>Mackworth</surname>
          </string-name>
          , '
          <article-title>Consistency in Networks of Relations'</article-title>
          ,
          <source>Artificial Intelligence</source>
          ,
          <volume>8</volume>
          (
          <issue>1</issue>
          ),
          <fpage>99</fpage>
          -
          <lpage>118</lpage>
          , (
          <year>1977</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>J.</given-names>
            <surname>Marques-Silva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Heras</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Janota</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Previti</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Belov</surname>
          </string-name>
          , '
          <article-title>On computing minimal correction subsets'</article-title>
          ,
          <source>in IJCAI 2013</source>
          , pp.
          <fpage>615</fpage>
          -
          <lpage>622</lpage>
          , Peking, China, (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>C.</given-names>
            <surname>Musto</surname>
          </string-name>
          , G. Semeraro,
          <string-name>
            <given-names>P.</given-names>
            <surname>Lops</surname>
          </string-name>
          , M. DeGemmis, and G. Lekkas, '
          <source>Financial Product Recommendation through Case-based Reasoning and Diversification Techniques'</source>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>2</lpage>
          ,
          <string-name>
            <given-names>Foster</given-names>
            <surname>City</surname>
          </string-name>
          , CA, USA, (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <surname>B. O'Sullivan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Papadopoulos</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Faltings</surname>
            , and
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Pu</surname>
          </string-name>
          , '
          <article-title>Representative explanations for over-constrained problems'</article-title>
          ,
          <source>in AAAI'07</source>
          , pp.
          <fpage>323</fpage>
          -
          <lpage>328</lpage>
          , Vancouver, Canada, (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>M.</given-names>
            <surname>Pinedo</surname>
          </string-name>
          , Scheduling: Theory, Algorithms, and Systems, Springer,
          <volume>4</volume>
          <fpage>edn</fpage>
          .,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>R.</given-names>
            <surname>Reiter</surname>
          </string-name>
          , '
          <article-title>A theory of diagnosis from first principles'</article-title>
          ,
          <source>AI Journal</source>
          ,
          <volume>23</volume>
          (
          <issue>1</issue>
          ),
          <fpage>57</fpage>
          -
          <lpage>95</lpage>
          , (
          <year>1987</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>J.</given-names>
            <surname>Tiihonen</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Felfernig</surname>
          </string-name>
          , 'Towards Recommending Configurable Offerings',
          <source>International Journal of Mass Customization</source>
          ,
          <volume>3</volume>
          (
          <issue>4</issue>
          ),
          <fpage>389</fpage>
          -
          <lpage>406</lpage>
          , (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>D.</given-names>
            <surname>Winterfeldt</surname>
          </string-name>
          and
          <string-name>
            <given-names>W.</given-names>
            <surname>Edwards</surname>
          </string-name>
          , '
          <article-title>Decision Analysis and Behavioral Research'</article-title>
          , Cambridge University Press, (
          <year>1986</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>