<!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>Building an Integrated CBR-Big Data Oriented Architecture for Case-Based Reasoning Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Kareem Amin</string-name>
          <email>kareem.amin@dfki.uni-kl.de</email>
          <email>kareem.amin@sulzer.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Big Data Consultant, Sulzer GmbH</institution>
          ,
          <addr-line>Frankfurter Ring 162, 80807, Munich</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>PhD Candidate, German Research Center for Artificial Intelligence, Smart Data and Knowledge Services</institution>
          ,
          <addr-line>Trippstadter Strae 122, 67663 Kaiserslautern</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>189</fpage>
      <lpage>193</lpage>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The growth of intensive data-driven decision-making is now being recognized
broadly. Big data systems are mainstream and the demand for building
systems that able to process data streams is growing. Yet many decision support
systems act like ”black boxes”, providing little or no transparency in the
rationale of their processes [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The ”black box” methodologies are not acceptable
in crucial domains like health care, aviation, and maintenance. Experts prefer
to reason the decisions. Current big data strategies tend to process in-motion
data and o↵er many potential scenarios to work with. The big data term refers
to dynamic, large, structured and unstructured volumes of data generated from
di↵erent sources with di↵erent formats [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Therefore, it is a must for CBR
systems that tends to process the in-motion data to manage their sub-tasks, such
as collecting and formatting data, case base maintenance, cases retrieval, cases
adaptation and retaining new cases [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In my research I will describe the idea of
spanning the gap between CBR and Big Data based on the SEASALT
architecture [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. SEASALT is an application independent architecture to work with
heterogeneous data repositories and modularizing knowledge. It was proposed
based on the CoMES approach to develop collaborative multi-expert systems
and provides an application-independent architecture that features knowledge
acquisition from a Web community, knowledge modularization, and agent-based
knowledge maintenance. Its first research prototype was developed for the travel
medicine application [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. SEASALT aims to provide a coherent multi-agent CBR
architecture that can define the outlines and interactions to develop multi-agent
CBR systems.
      </p>
    </sec>
    <sec id="sec-2">
      <title>CBR &amp; Big Data</title>
      <p>
        When CBR research has addressed increased data sizes, the primary focus has
been compression of existing data rather than scale-up. Considerable CBR
research has focused on the eciency issues arising from case-base growth. As the
Copyright © 2017 for this paper by its authors. Copying permitted for private and
academic purpose. In Proceedings of the ICCBR 2017 Workshops. Trondheim, Norway
case base grows, the swamping utility problem can adversely a↵ect case retrieval
times, degrading system performance [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. CBR and Big Data collaboration is an
emerging topic, some researches have been carried out focusing mainly on case
base maintenance methods, aiming to reduce the case base size while preserving
competence [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ][
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Few CBR projects have considered scales up to a million of
cases [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ][
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. The ability of case-based reasoning to reason from individual
examples and its inertia-free learning makes it appear a natural approach to be
applied to big-data problems such as predicting from very large example sets [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
Likewise, if CBR systems had the capability to handle very large data sets, such
a capability could facilitate CBR research on very large data sources already
identified as interesting to CBR, such as cases harvested from the Experience
Web [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], cases resulting from large-scale real-time capture of case data from
instrumented systems [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], or cases arising from case capture in trace-based
reasoning [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Research Focus</title>
      <p>
        In my thesis I am going to concentrate on building a multi-agent CBR system
that extends the SEASALT architecture. The proposed approach is designed
to semi-automate the building of cases based on chunks of data coming from
di↵erent streams, and being able to work with big number of historical cases
stored in our case base. A real use case to elaborate the main goal of my model
would be in manufacturing [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. In manufacturing processes data comes from
di↵erent machines and sensors. We need to detect any pattern that has led to
a disqualified end product, and give a proactive solution to avoid or mitigate
the e↵ect of these kinds of patterns [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. Hence, from the Big Data 4V’s, I will
mainly focus on velocity and volume with lower exposure to variety. I need to
collect data from di↵erent sources and be able to detect patterns that match
our old cases in real time. To achieve the aforementioned goals, the following
objectives have to be fulfilled:
1. Extend the original SEASALT architecture with a new layer ”Knowledge
      </p>
      <p>Stream Management”
2. Correlate and synchronize between the chunks of data that come from
different sources
3. Collect sucient knowledge from domain experts that help in achieving point
2
4. Develop a methodology to apply the new approach to existing multi-agent
systems as well as integrating it into the development of new multi-agent
systems
5. Evaluate the new approach and the methodology within an industrial use
case
6. Compare performance and accuracy with other existing techniques and
systems</p>
      <p>The proposed approach is roughly described in details in the following
sections.</p>
    </sec>
    <sec id="sec-4">
      <title>The Knowledge Stream</title>
    </sec>
    <sec id="sec-5">
      <title>Management</title>
      <p>
        The original idea of the SEASALT architecture comes from Altho↵, Bach and
Reichle [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. SEASALT consists mainly of five main layers, Knowledge Source,
Knowledge Formalization, Knowledge Representation, Knowledge Provision, and
Individualized Knowledge. Every layer contains several software agents
designated for several tasks. Through my work, a new layer will be added:
”Knowledge Stream Management” (See Figure 1). The new layer has two main tasks,
the first is processing the streams of data coming from Knowledge Sources in
real time, and the second is to give real time analysis to data patterns found
within the streams. The Knowledge Stream Management layer will contain
software agents designated for the prescribed tasks. System nodes 3 would be the
available processing power. The Knowledge Provision layer will be distributed
across several nodes, and hence each node contains Knowledge Provision agents.
The Coordination Agent will act as the system manager who is aware of all
the system nodes and responsible for the whole system control. He will be the
data tap that uses the underlying framework to distribute the incoming requests
across the system nodes. Normally, there are two kinds of nodes, one for Queries
processing to retrieve results and the second for New Cases processing. It is
possible to have up to N nodes in the system according to the volume of data that
should be processed in real time. According to Big Data system architecture and
sizing best practices provided from Hortonworks 4, for sustained throughput of
50MB/sec and thousands of events per second, we need 1-2 nodes and 8+ cores
per node (more is better), 6+ disks per node (SSD or Spinning) and 2 GB of
memory per node and 1GB bonded. In every node, there would be a
Classification Agent to classify the received data chunks and assign it to the intended
Topic Agent. Each Classification Agent is aware of the knowledge map gathered
from knowledge sources and classify the incoming data according to predefined
classes (collected before from domain experts). Then, the Classification Agent
assigns the request to the intended Topic Agent(s). The Topic Agent is
performing queries to retrieve the most similar cases. Since distributed nodes are being
used in the hardware cluster, the Case Base will be replicated to avoid data
integrity problems using replication channels to replicate data between all Case
Base instances. The Case Factory agents will be centralized, and hence the Case
Factory will have only one instance that performs case maintenance on a single
Case Base. Afterwards, the results will be distributed to the whole system nodes
using the replication channels.
      </p>
      <p>We assume that solving big data problems will require also manual
knowledge modelling. CBR - standing with one foot in the area of Machine
Learning [automated knowledge generation] and with the other foot in the area of
Knowledge-Based Systems [manual and semi-automatic knowledge modelling]
3 Every single node is a processing power
4 Hortonworks is one of the biggest big data software companies founded in
June 2011 as an independent company based in Santa Clara, California.
http://www.hortonworks.com
is a natural candidate for finding a domain-and task-specific approach of
integrating automated knowledge generation [using machine learning] with manual
knowledge modeling [using knowledge-intensive CBR].</p>
    </sec>
    <sec id="sec-6">
      <title>Current Progress &amp; Future Directions</title>
      <p>Currently I am shaping my PhD goals and approach. I intend to implement
our approach and compare accuracy and speed performance with other case
base maintenance methods. I am currently working to learn the big data system
architectures and tools, that will help in the implementation phase. In the
meanwhile, I am trying to find a suitable industrial use case to apply the proposed
approach.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Herlocker</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Konstan</surname>
            ,
            <given-names>J.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riedl</surname>
          </string-name>
          , J.:
          <article-title>Explaining Collaborative Filtering Recommendations</article-title>
          .
          <source>In: Proceedings of the 2000 ACM Conference on Computer supported cooperative work</source>
          ,
          <source>ACM</source>
          (
          <year>2000</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>2. A community white paper developed by leading researchers across the United States, ”Challenges and Opportunities with Big Data</article-title>
          ,” Purdue University, USA,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Aitor</given-names>
            <surname>Mata</surname>
          </string-name>
          , ”
          <article-title>A Survey of Distributed and Data Intensive CBR Systems</article-title>
          ,” SpringerVerlag Berlin Heidelberg, pp.
          <fpage>582</fpage>
          -
          <lpage>586</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Meike</given-names>
            <surname>Reichle</surname>
          </string-name>
          , Kerstin Bach and
          <string-name>
            <surname>Klaus-Dieter</surname>
          </string-name>
          . Altho↵, ”
          <article-title>Knowledge engineering within the application-independent architecture SEASALT”</article-title>
          <source>International Journal Knowledge Engineering and Data Mining</source>
          , vol.
          <volume>1</volume>
          .1, no.
          <issue>3</issue>
          , pp.
          <fpage>202</fpage>
          -
          <lpage>215</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Kerstin</given-names>
            <surname>Bach</surname>
          </string-name>
          ,Meike Reichle and
          <string-name>
            <surname>Klaus-Dieter</surname>
          </string-name>
          .
          <article-title>Altho↵, ”A Domain Independent System Architecture for Sharing Experience,”</article-title>
          <source>Proceedings of LWA</source>
          <year>2007</year>
          , Workshop Wissens- und
          <string-name>
            <surname>Erfahrungsmanagement</surname>
          </string-name>
          ,
          <year>September 2007</year>
          , pp.
          <fpage>296</fpage>
          -
          <lpage>303</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Vahid</given-names>
            <surname>Jalali</surname>
          </string-name>
          and David Leake,
          <source>”CBR Meets Big Data: A Case Study of Large-Scale Adaptation Rule Generation,” Case-Based Reasoning Research and Development</source>
          , pp.
          <fpage>181</fpage>
          -
          <lpage>196</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Smyth</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Keane</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Remembering to forget: A competence-preserving case deletion policy for case-based reasoning systems</article-title>
          .
          <source>In: Proceedings of the Thirteenth International Joint Conference on Artificial Intelligence</source>
          , San Mateo, Morgan Kaufmann (
          <year>1995</year>
          )
          <fpage>377382</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Smyth</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McKenna</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Building compact competent case-bases</article-title>
          .
          <source>In: Proceedings of the Third International Conference on Case-Based Reasoning</source>
          , Berlin, Springer Verlag (
          <year>1999</year>
          ),
          <fpage>329342</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Daengdej</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lukose</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tsui</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beinat</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prophet</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Dynamically creating indices for two million cases: A real world problem</article-title>
          .
          <source>In: Advances in Case-Based Reasoning</source>
          , Berlin, Springer (
          <year>1996</year>
          )
          <fpage>105119</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Beaver</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumoulin</surname>
          </string-name>
          , J.:
          <article-title>Applying mapreduce to learning user preferences in near realtime</article-title>
          .
          <source>In: Case-Based Reasoning Research and Development, ICCBR</source>
          <year>2014</year>
          , Berlin, Springer (
          <year>2014</year>
          )
          <fpage>1528</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Plaza</surname>
          </string-name>
          , E.:
          <article-title>Semantics and experience in the future web</article-title>
          .
          <source>In: Proceedings of the Ninth European Conference on Case-Based Reasoning</source>
          , Springer (
          <year>2008</year>
          )
          <fpage>4458</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Ontanon</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>Y.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Snodgrass</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bonfiglio</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Winston</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McDonald</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gonzalez</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Case-based prediction of teen driver behavior and skill</article-title>
          .
          <source>In: Case-Based Reasoning Research and Development, ICCBR</source>
          <year>2014</year>
          , Berlin, Springer (
          <year>2014</year>
          )
          <fpage>375389</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Cordier</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lefevre</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Champin</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Georgeon</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mille</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Trace-based reasoning modeling interaction traces for reasoning on experiences</article-title>
          .
          <source>In: Proceedings of the 2014 Florida AI Research Symposium</source>
          , AAAI Press (
          <year>2014</year>
          )
          <fpage>363368</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>S.</given-names>
            <surname>Windmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Maier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Niggemann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Frey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bernardi</surname>
          </string-name>
          , Ying Gu,
          <string-name>
            <given-names>H.</given-names>
            <surname>Pfrommer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Steckel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kruger</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Kraus</surname>
          </string-name>
          , ”
          <source>Big Data Analysis of Manufacturing Processes,” in 12th European Workshop on Advanced Control and Diagnosis</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Mller</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bergmann</surname>
          </string-name>
          , R.:
          <article-title>Workflow Streams: A Means for Compositional Adaptation in Process-Oriented CBR</article-title>
          .
          <source>In: Proceedings of ICCBR 2014</source>
          . Cork, Ireland,
          <year>2014</year>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>