<!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>An Architecture for Multiple Heterogeneous Case-Based Reasoning Employing Agent Technologies.</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Elena I Teodorescu</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Miltos Petridis</string-name>
        </contrib>
      </contrib-group>
      <fpage>65</fpage>
      <lpage>68</lpage>
      <abstract>
        <p>This paper presents an investigation into applying Case-Based Reasoning to Multiple Heterogeneous Case Bases using agents. The adaptive CBR process and the architecture of the system are presented. A case study is presented to illustrate and evaluate the approach. The process of creating and maintaining the dynamic data structures is discussed. The similarity metrics employed by the system are used to support the process of optimisation of the collaboration between the agents which is based on the use of a blackboard architecture. The blackboard architecture is shown to support the efficient collaboration between the agents to achieve an efficient overall CBR solution, while using case-based reasoning methods to allow the overall system to adapt and “learn” new collaborative strategies for achieving the aims of the overall CBR problem solving process.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction1</title>
      <p>
        Case-based reasoning (CBR) is now an established artificial
intelligence paradigm. Given a case-base of prior experiences, a CBR
system solves new problems by retrieving cases from the
casebase, and adapting their solutions to comply the new
requirements[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        Multiple Case Based Reasoning (MCBR) is used to retrieve
solutions for a new problem from more than one case-base. Methods
for managing sharing of standardized case bases have been studied
in research on distributed CBR (e.g. [
        <xref ref-type="bibr" rid="ref12">13</xref>
        ]), as have methods for
facilitating large-scale case distribution [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Leake and
Sooriamuthhi propose a new strategy for MCBR - an agent selectively
supplements its own case-base as needed, by dispatching problems
to external case-bases and using cross-case-base adaptation to
adjust their solutions for inter-case-base differences [
        <xref ref-type="bibr" rid="ref12 ref4 ref5 ref6">4, 5, 6,13</xref>
        ].
      </p>
      <p>In many problems in modern organisations, the knowledge
encapsulated by cases is contained in multiple case bases reflecting
the fragmented way with which organisations capture and organise
knowledge. The traditional approach is to merge all case bases into
a central case base that can be used for the CBR process. However,
this approach brings with it three challenges:
• Moving cases into a central case base potentially
separates from its context and makes maintenance more
difficult.
• Various case bases can use different semantics. There is
therefore a need to maintain various ontologies and
mappings across the case bases.
• The knowledge content “value” of individual cases can
be related to its origination. This can be lost when
merging into a central case base.</p>
      <p>
        Keeping the cases distributed in the form of a Heterogeneous
Multiple Case Based Reasoning system (HMCBR) may have a
number of advantages such as increased maintainability and
com1 Department of Computing Science, University of Greenwich, Park
Row, London SE10 9LS email:{ E.I.Teodorescu , M.Petridis}@gre.ac.uk
petence and the contextualisation of the cases. Past research at
Greenwich [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ][
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] has shown the need to combine knowledge
encoded in cases from various heterogeneous sources to achieve a
competent, seamless CBR system.
      </p>
      <p>
        Ontanon and Plaza [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] looked at a way to “improve the overall
performance of the multiple case systems and of the individual
CBR agents without compromising the agent’s autonomy”. They
present [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] a framework for collaboration among agents that use
CBR and strategies for case bartering (case trading by CBR
agents). Nevertheless, they do not focus at the possibility of cases
having different structures and what impact this will have on
applying CBR to heterogeneous case bases. Leake [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] states that “An
important issue beyond the scope of this paper is how to establish
correspondences between case representations, if the
representations used by different case-bases differ.”
      </p>
      <p>Given several case bases as the search domain, it is very likely
that they have different structures. Ideally, accessing Multiple Case
Bases should not require a change to their data structures. In order
for an MCBR system to effectively use case-bases that may have
been developed in different ways, for different tasks or task
environments, methods are needed to adjust retrieved cases for local
needs.</p>
      <p>
        Leake and Sooriamurthi [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] proposed a theoretical
“cross-casebase adaptation” which would adapt suggested solutions from one
case base to apply to the needs of another. They are currently
exploring sampling methods for comparing case-base
characteristics in order to select appropriate cross-case-base adaptation
strategies.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Adaptive CBR</title>
      <p>In order to enable effective solution retrieval across autonomous
case bases with differing structures, it is essential to have access
and a good understanding of each of the different case base
structures involved. This would make it possible to identify the
commonalities, equivalences and specific characteristics of every case
base associated with the system.</p>
    </sec>
    <sec id="sec-3">
      <title>2.1 The process of adaptive CBR</title>
      <p>Instead of trying to adapt the suggested solutions from one case
base to the needs of another, the approach investigated in this study
will be to create a “dynamic structure” of a general case. This
dynamic structure would be modified every time a new case base
with a new structure is added.</p>
      <p>The process of adaptive CBR, within the architecture of the
HMCBR System (Figure 1), will incorporate a number of steps.</p>
      <p>Firstly, in order for the system to work with a particular case
base, it will need to know the structure of that case base. Every
newly added case base will therefore have to publish its structure to
a Registry System. The published structures are required to have
their own data dictionaries attached to enable the creation of a
dynamic Data Dictionary.</p>
      <p>The published structure will be retrieved by the Dynamic CB
System and used to adapt the local dynamic structure to
accommodate any new elements and map existing ones.</p>
      <p>When the dynamic structure reflects all participating case bases,
a case query can be submitted. The system would then reformulate
the target case structure into each provider’s case base structure.
The target case structure will be a subset of the dynamic structure.</p>
      <p>
        The reformulated cases are submitted to each provider and
solution cases are retrieved using KNN techniques [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The structures
of these solutions will be translated into the dynamic structure, thus
creating a dynamic case base. Finally, the system will apply the
classical CBR process to the dynamic case base.
      </p>
      <p>The whole process is intended to provide a transparent view of
the CBR process across the heterogeneous system.
2.2</p>
    </sec>
    <sec id="sec-4">
      <title>Case Study</title>
      <p>This case study requires searching for a property from three estate
agencies without amalgamating their case bases structures.</p>
      <p>Let us suppose that the estate agencies have different case base
structures (figure 2).</p>
      <p>A possible buyer should be able to search for a property and get
all the suitable solutions from all three agencies. A search should
retrieve the best matches from all case bases as if it was dealing
with a single case base in a way transparent to the buyer.</p>
      <p>Case Bases Structures 1(CBS1)
Case Bases Structures 2(CBS2)</p>
      <p>Case Bases Structures 3(CBS3)
Creating and maintaining a dynamic structure makes the
selfadaptive multi case base reasoning system possible. By adding a
new case base to the existing ones, new attributes are added to a
global dynamic structure and new relations linked to these
attributes are established.</p>
      <p>CBS1. Apartment Studio
type
Detached
house
DCBS
name</p>
      <p>House 0 0 1</p>
      <p>Flat 1 0.8 0
Fig. 3. Data Dictionary includes relations between some of the
attributes.</p>
      <p>A data dictionary is required to keep all the metadata for the
dynamic structure. This data dictionary would have multiple
functions: It records the location and the name of every attribute from
the Case Base Structures (CBS) and how these are translated into
the Dynamic Case Base Structure (DCBS). It also stores the type
and any default value for every single attribute.</p>
      <p>The Data Dictionary will reflect any relationships between the
Dynamic Case Base Structure attributes. These relationships can be
mathematical relationships or look-up tables (figure 3).</p>
      <p>We will use the presented case study to show how a dynamic
structure is created and how it is continuously changed by adding
new case bases to the search domain.</p>
      <p>Let us suppose that our general structure (the initial state of the
Dynamic Structure containing few main attributes of a property) is
already built (see figure 4). The structure has attached a basic Data
Dictionary mainly containing the data types of the existing
attributes.</p>
      <p>We will show how this initial structure will be dynamically
changed by consecutively adding the three agents to the search
domain.</p>
      <p>Adding the Case Base Structure 1 to the system implies
mapping of the attributes ParkingSpace, Area and Type into the
Dynamic Structure (these attributes are already existing in the initial
structure) and also adding more attributes to it (i.e. NoOfRooms,
NoOfBathrooms, GardenLength, GardenWidth)
Fig. 4. Initial state of the Dynamic Structure and Data Dictionary
The Data Dictionary will reflect the mapping of attributes:
CBS1.ParkingSpace = DCBS.ParkingSpace;
CBS1.Area = DCBS.Location</p>
      <p>CBS1.type= DCBS.name</p>
      <p>The following attributes will be added to the dynamic data
dictionary:</p>
      <p>NoOfRooms: integer;</p>
      <p>GardenLength: double; GardenWidth: double</p>
      <p>Any other relevant relationships such as look-up tables for
defining mappings between the values of attribute Type of CBS1 and
the values of the attribute Name of the dynamic structure will be
captured.</p>
      <p>Case Base Structure 2 will add another attribute, GardenSize, to
the Dynamic Structure and the data dictionary will record mapping
of attributes:</p>
      <p>CBS2.Name = DCBS.Name,
CBS2.Location = DCBS.Location ,</p>
      <p>CBS2.NoOfBedrooms = DCBS. NoOfBedrooms;</p>
      <p>The mathematical relationships are recorded:
DCBS.GardenSize = DCBS.GardenLength * DCBS.GardenWidth,</p>
      <p>Functions can be applied, for example to keep the same metric
system:</p>
      <p>DCBS.GardenSize= CBS2.GardenSizeInFeet/(3.281)2
The Data Dictionary would also include a look-up table
showing the conversion of values of CBS2.Name to values of
DCBS.Name.</p>
      <p>Attention has to be paid to the meanings of the names of the
attributes. For example, if the attribute “Type” in CBS1 and the
attribute “Name” in CBS2 have the same meaning (they would be
translated as “Name” in DCBS, with values found in a look-up
table), the attribute “Name” from CBS3 has not the same meaning
as the one from CBS2. It is actually translated into DCBS.Location
(similar to CBS2.Location)</p>
    </sec>
    <sec id="sec-5">
      <title>4 Optimising the agent collaboration process</title>
      <p>In order to optimise the process of collaboration between the
agents to achieve an efficient solution from the overall CBR
process when applied across the heterogeneous case bases, an overall
similarity metric is required. Additionally, an overall process to
enable collaboration between the agents is necessary based on a
flexible architecture to enable this collaboration.
4.1</p>
    </sec>
    <sec id="sec-6">
      <title>Defining an overall similarity metric</title>
      <p>The overall similarity metric between a target and a source Case
can be defined as:
,
                 1
where:
σ: overall similarity
σCBy: similarity from case base provider CBy
CT: target case
CS: source case</p>
      <p>: weighting for a case base provider y for case CT</p>
      <p>To allow for defining locally optimised similarity metrics for
different providers, the following metric can be defined:
,
,
where:
tribute x
: the weighting from case base provider CBy for
at, , : the local similarity metric for provider CBy
for attribute x.</p>
      <p>This extended similarity metric takes into account the level of
trust that the HMCBR system attributes to the competence of each
case base provider. The level of trust is determined by applying
CBR to the case-base of the history of queries. Additionally it
allows to adjust the trust to particular providers to different
“regions” in the case base allowing for case base providers to be
“specialised” on particular types of domain knowledge. Finally, the
extended metric allows for different ways of defining similarity
based on possible particularities pertaining to individual case base
providers.</p>
      <p>Let us assume that in our case study the third estate agent is
specialised in city apartments. After a few searches for country side
houses with gardens, reasoning can be applied to the History
casebase. Results will show that, for this particular query, the estate
agent’s level of trust is not high, i.e. there will be less solutions for
this particular case base added to the Dynamic case-base.</p>
      <p>A global level of trust of a provider’s case-base can be
calculating taking in consideration the results of all the previous enquiries
for that provider.</p>
    </sec>
    <sec id="sec-7">
      <title>4.2 An architecture and process to support effective collaboration between case base agents</title>
      <p>
        The architecture of the HMCBR system shown in figure 1 contains
the dynamic CB system, which incorporates a blackboard
architecture. Blackboards have been used very effectively in the past for
the construction of hybrid and agent based AI systems [11], [
        <xref ref-type="bibr" rid="ref11">12</xref>
        ].
      </p>
      <p>The dynamic CB system is where the process for agent
collaboration is controlled. It is based on a blackboard architecture
incorporating the blackboard containing the target and retrieved cases
from various providers together with similarity calculations and
rankings. The blackboard also contains a log of the solution
process and the reconciliation strategy followed, thus representing the
state of the overall CBR solution process at any point in this
process. Figure 7 shows the structure of the dynamic CB module
incorporating the blackboard architecture.</p>
      <sec id="sec-7-1">
        <title>AgentCB2 AgentCB3</title>
        <p>BB
Manager</p>
      </sec>
      <sec id="sec-7-2">
        <title>Dynamic Data Dictionary</title>
        <p>The blackboard manager manages the overall solution process,
communicates with and keeps track of the CB agents, selects and
implements a solution strategy and monitors and evaluates the
solutions achieved. Given a new target case, the blackboard
manager decides on strategy for finding similar cases from the CB
providers. The blackboard system decides which CB providers to
use and the number of cases to retrieve from each one and other
requirements, such as the requirement for diversity, similarity
thresholds etc. The system then initialises the agents and assigns to
them a mission. On return, the results (cases) are mapped using the
dynamic data dictionary and written to the blackboard. A “global”
CBR process is used to decide on the retrieved cases. The system
then selects and presents the shortlisted cases after the
reconciliation process and provides these to the user, together with links to
their original forms for the user to explore. Finally, the system
“reflects” on the process by updating the query history and
confidence weights for each provider.</p>
        <p>The system described here has been implemented and tested on
a set of case bases from three different estate agent case bases, all
using different structures. Experiments with the system have shown
that the system can retrieve useful cases combining cases from all
case bases to provide a more efficient overall solution when
compared to using the case bases separately or mapping them to one
central case base. Additionally, the system has shown that it can
provide a more diverse retrieved case population in both cases. A
full scale evaluation of the system, including using a different
application domain is under way.
5</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>Conclusion</title>
      <p>At a time of increasing web-based communication and sharing of
knowledge between organisations and organisational units within
enterprises, heterogeneous CBR applied to Multiple Case Bases
seems to be the natural progression in this area of research.</p>
      <p>The paper investigates an approach based on agents operating
on different structures/views of the problem domain in a
transparent and autonomous way. In this approach all data is kept locally
by each case base provider in its native form. Agents can be
dynamically added to the system, thus increasing the search domain
and potentially the competence and vocabulary of the system.</p>
      <p>This research proposes a new architecture for a self-adaptive
MCBR system which involves the use of a dynamic structure based
on the blackboard architecture. The Dynamic Structure reflects all
participating case base provider structures. As new agents are
added to the system, their case base structure is published and is
used to adapt the Dynamic Structure accordingly.</p>
      <p>The Dynamic Structure is used at runtime to translate search
queries into the local structures of each agent. Each agent can then
use the translated query to match it to its local cases and retrieve
the best matches.</p>
      <p>A Data Dictionary is created in order to manage the Dynamic
Structure. This contains the metadata for the Dynamic Structure,
such as mapping details of the case base provider’s structures to the
Dynamic Structure, type information and relationships between
attributes of the dynamic structure.</p>
      <p>The dynamic case base system manages the overall process,
including controlling the agents, reconciling and optimising the
retrieved cases and feeding back into its strategy by continuously
adjusting weights representing confidence levels on individual case
base providers. A prototype system to evaluate the efficiency of
using a heterogeneous Multiple Case Based Reasoning system is
currently being evaluated. Preliminary findings are encouraging.</p>
      <p>Further work will concentrate into optimising the process of
collaboration between the agents and methods and strategies for the
reconciliation of retrieved cases.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1] Kolodner, J.:
          <source>Case-based Reasoning</source>
          , Morgan Kaufmann, 1993
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Knight</surname>
            <given-names>B</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Petridis</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mileman</surname>
            <given-names>T</given-names>
          </string-name>
          :
          <article-title>Maintenance of a Case-Base for the Retrieval of Rotationally Symmetric Shapes for the Design of Metal Castings LNAI</article-title>
          <year>1998</year>
          : Springer Verlag.
          <source>Advances in Case-Based Reasoning, 5th European Workshop</source>
          , Trento, Italy, Sept. 6-
          <fpage>9</fpage>
          .
          <year>2000</year>
          pp
          <fpage>418</fpage>
          -
          <lpage>430</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Knight</surname>
            <given-names>B</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Petridis</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mejasson</surname>
            <given-names>P</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Norman</surname>
            <given-names>P</given-names>
          </string-name>
          :
          <article-title>A Intelligent design assistant (IDA): a CBR System for Materials Design Journal of Materials</article-title>
          and Design 22 pp
          <fpage>163</fpage>
          -
          <lpage>170</lpage>
          ,
          <year>2001</year>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>David</given-names>
            <surname>Leake</surname>
          </string-name>
          &amp;
          <article-title>Raja Sooriamurthi: “Automatically Selecting Strategies for Multi-Case-Base Reasoning” -</article-title>
          <source>Proceedings of the Sixth European Conference on Case-Based (ECCBR)</source>
          , Aberdeen, Scotland, September,
          <year>2002</year>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>David</given-names>
            <surname>Leake</surname>
          </string-name>
          &amp; Raja Sooriamurthi : “
          <source>Managing Multiple Case Bases: Dimensions and Issues” (Proceedings of the Fifteenth Florida Artificial Intelligence Research</source>
          Society (FLAIRS) Conference , Pensacola, Florida, May
          <year>2002</year>
          ),
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>David</given-names>
            <surname>Leake</surname>
          </string-name>
          &amp; Raja Sooriamurthi: “
          <source>When Two Case Bases are Better Than One: Exploiting Multiple Case Bases” (Proceedings of the Fourth International Conference on Case-Based Reasoning (ICCBR)</source>
          , Vancouver, Canada, July,
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Enric</given-names>
            <surname>Plaza</surname>
          </string-name>
          , Santiago Ontañón:
          <article-title>Cooperative Multiagent Learning</article-title>
          .
          <source>Adaptive Agents and Multi-Agents Systems 2002</source>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Santiago</given-names>
            <surname>Ontañón</surname>
          </string-name>
          , Enric Plaza:
          <article-title>A bartering approach to improve multiagent learning</article-title>
          .
          <source>AAMAS 2002</source>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Francisco</surname>
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Martín</surname>
          </string-name>
          , Enric Plaza, Josep Lluís Arcos:
          <article-title>Knowledge and Experience Reuse Through Communication Among Competent (Peer) Agents</article-title>
          .
          <source>International Journal of Software Engineering and Knowledge Engineering</source>
          <year>1999</year>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Hayes</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Doyle</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cunningham</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Distributed CBR Using</surname>
            <given-names>XML</given-names>
          </string-name>
          ,
          <source>Proceedings of the Fourth European Conference on Case-Based (ECCBR)</source>
          , Dublin, Ireland,
          <year>June 1998</year>
          [11]
          <string-name>
            <given-names>R</given-names>
            <surname>Engelmore</surname>
          </string-name>
          , T Morgan :
          <article-title>Blackboard Systems</article-title>
          , AddisonWesley,
          <year>1988</year>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Petridis</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Knight</surname>
            <given-names>B</given-names>
          </string-name>
          , (
          <year>2001</year>
          )
          <article-title>: “A blackboard architecture for a hybrid CBR system for scientific software</article-title>
          ”
          <source>in Proceedings of the Workshop Program at the 4th International Conference in Case-based Reasoning ICCBR01</source>
          , Vancouver 2001, Eds R. Weber,
          <string-name>
            <surname>G.</surname>
          </string-name>
          <source>von Wagenheim</source>
          , pp
          <fpage>190</fpage>
          -
          <lpage>195</lpage>
          , NCARAI, Naval Research Laboratory, Code 5510 Washington DC.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [13]
          <article-title>Case Dispatching versus Case-Base Merging: when MCBR matters: David Leake</article-title>
          and
          <string-name>
            <given-names>Raja</given-names>
            <surname>Sooriamurthi</surname>
          </string-name>
          .
          <source>International Journal on Artificial Intelligence Tools: Architectures, Languages and Algorithms</source>
          (IJAIT).
          <article-title>Special issue on recent advances in techniques for intelligent systems</article-title>
          . Vol
          <volume>13</volume>
          , No 1,
          <fpage>2004</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>