<!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>CAmIE: An Agent-Based Model for the Development of Large-Scale AmI Environments</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Marius-Tudor Benea</string-name>
          <email>marius-tudor.benea@lip6.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Amal El Fallah Seghrouchni</string-name>
          <email>amal.elfallah@lip6.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Adina Magda Florea</string-name>
          <email>adina.florea@cs.pub.ro</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department - University Politehnica of Bucharest</institution>
          ,
          <country country="RO">Romania</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>LIP6 - University Pierre and Marie Curie</institution>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This work introduces CAmIE, an agent-based model for the bottom-up development of large-scale AmI environments. It o ers tools to easily develop AmI applications and, while not visible to the users, it assures the interactions between these applications at runtime, enhancing them with a highly intelligent behavior. A series of distribution platforms as well as a collection of shared knowledge libraries are used, to motivate the human actors to contribute, leading, thus, to environments that integrate in the best possible way their collective intelligence.</p>
      </abstract>
      <kwd-group>
        <kwd>ambient intelligence</kwd>
        <kwd>collective intelligence</kwd>
        <kwd>multi-agent systems</kwd>
        <kwd>agent-based AmI applications</kwd>
        <kwd>large-scale AmI environments</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>The eld of ambient intelligence (AmI) is characterized mainly by middleware
solutions, small-scale, scenario-based, applications and innovative user-friendly
interfaces. Developing large-scale AmI environments is an ambitious goal and we
lack Application layer solutions. To solve this problem, we propose the CAmIE
(Collective AmI Environments ) model. It uses an agent-based, bottom-up,
approach and it aims at endowing the AmI environments with the collective
intelligence (CI) that could result from enhanced interactions between their main
actors. This makes the level of intelligence grow with the environment's size,
facilitating the progressive development of highly intelligent AmI environments.</p>
      <p>
        CI is a property of systems emerging from the interaction between their
components. It is considered to be higher than the sum of intelligence of all the
actors, taken separately. An important factor that in uences the CI of the groups
is diversity, [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Moreover, the most intelligent actors of an AmI environment are
the human actors and they are also the best resource for evaluating it, considering
the user-centered nature of ambient intelligence. Consequently, CAmIE tries
to integrate, in the best possible way, the CI of the human actors (users and
Copyright c 2015 for this paper by its authors. Copying permitted for private and
academic purposes.
several classes of developers), into the environment. A series of tools are o ered
to the developers with respect to this principle. A set of distribution platforms
makes possible their evolution. A collection of knowledge libraries encourages
the users, too, to share their knowledge. Finally, the interaction between AmI
applications, made possible by the use of agent technologies, creates the premise
for the environment's growth and for the emergence of CI.
      </p>
      <p>
        The main principles behind CAmIE and a literature analysis were o ered in
a previous work on the CAmI language, [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which is part of the model. The goal
of this paper is, thus, to provide a brief description of its remaining components.
      </p>
    </sec>
    <sec id="sec-2">
      <title>The CAmIE Model</title>
      <sec id="sec-2-1">
        <title>Layers</title>
        <p>
          Our model regards the Application layer of AmI (the AmI layers are: Hardware,
Interconnectivity, Interoperability, Application and Interface), responsible with
the intelligent behavior of the environment. It introduces three sublayers for
it (see Fig. 1 and Fig. 2): the Multi-agent layer, represented by the multi-agent
systems executing in the environment, the Collective knowledge layer (CKL), [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ],
for sharing knowledge between the actors (see Section 2.2) of the environment
and the Interaction layer assuring the interactions between them, between AmI
systems, at the MAS level, and between the users and the CKL.
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Processes and Actors</title>
        <p>
          There are two processes: development and execution, which are strongly
interconnected and interdependent. The interdependence is made possible by an
evaluation and evolution guidance system that collects very simple feedback from
the large community of users of such environments, in order to help improving
them. The actors available in the environment are: human actors and agents.
The human actors are either developers or users.
It has seven subcomponents, as illustrated in Fig. 1. The AmI Applications
Development component regards the tools used for AmI applications
development. CAmIE Agent Model, [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], extends the main lines of the agent models
described by S-CLAIM, [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], and CLAIM, [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ], to the problem of CAmIE. The
Compiler Back End is modular, o ering the possibility to implement any
agent component with di erent technologies. The Analysis &amp; Optimization
subcomponent considers both agent class and AmI application level aspects, for
optimizing the whole environment. The Compiler Front End is modular too
and it can be extended for new languages and knowledge representation
formalisms. The default language o ered for agent class de nition is CAmI, [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ].
        </p>
        <p>Translation and Interpretation consists of a repository of modules to
translate between di erent knowledge representation formalisms and to adapt the
content for interpretation by target ontologies. They are used by translation
services or integrated in agents. Visualization o ers an interface for the
interaction of the users with the knowledge libraries, by representing and
structuring their content in a user-friendly manner. The Knowledge libraries contain
general knowledge, best practices, as tuples of the form (context; goal; plan) or
(context; plan), where a plan is a list of associated agent behaviors, and a
mechanism of review, for both the users and the developers, to assure the consistency
of the content. A history of the evolution of the records is kept.</p>
        <p>
          The distribution platforms encourage the developers contribute. They can
contain: AmI applications, knowledge libraries, languages, formalisms, ontologies
and translation, interpretation, visualization and compiler modules.
1
It has eight subcomponents, as seen in Fig. 2. Multi-Agent Layer
Management keeps track of the AmI applications from the environment and of the
connections made and possible. It assures consistency in the associations with real
world entities too. CAmIE Applications Execution assures the deployment
of agents and the execution of AmI applications, based on scenario description
les. Connection facilitates the connection between AmI applications, based
on the concept of twin agents, [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], using the algorithm from Fig. 3. Composed
Agents gather the knowledge bases of more agents together and improve the
context sensitivity, by opening the boundaries of the application-level agent
hierarchies (see [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]). A composed agent can exist on more devices, based on good
synchronization methods. Translation and Interpretation o ers real-time
translation and interpretation services, based on the modules mentioned in
Section 2.3. Agents use them when they can't translate or interpret something on
their own. Similarly, Visualization o ers to the users real-time visualization
services for the knowledge libraries. Collective Knowledge Layer
Management indexes the published knowledge libraries and keeps track of important
details, like how to access them. The Knowledge Libraries are used, based on
subscriptions, by agents and they are updated by agents or users. They can also
be linked to other libraries and updated accordingly.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusion and Perspectives</title>
      <p>
        This work brie y describes the CAmIE model, for the bottom-up development of
large-scale AmI environments, endowed with a high level of intelligence, using an
agent-based approach. The validation of the CAmIE model is a work in progress.
So far, the stand-alone AmI applications development was proven by the works
on S-CLAIM, [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], and tATAmI, [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ], which are based on the same principles, on
scenarios such as the SmartRoom and the Pro-Con case studies. Our future work
comprises two more validation steps, one concerning the interactions between the
AmI applications and the emergence of CI and the other concerning the ability
of our model to create an entire ecosystem in order to reach the large-scale level
envisioned. For this purpose, a platform for CAmIE based on tATAmI-2, [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], is
currently being developed.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgment</title>
      <p>The work has been funded by the Sectoral Operational Programme Human
Resources Development 2007-2013 of the Romanian Ministry of European Funds
through the Financial Agreement POSDRU/159/1.5/S/132395.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Baljak</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benea</surname>
            ,
            <given-names>M.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Seghrouchni</surname>
            ,
            <given-names>A.E.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Herpson</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Honiden</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nguyen</surname>
            ,
            <given-names>T.T.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olaru</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shimizu</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tei</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toriumi</surname>
            , S.:
            <given-names>S-CLAIM</given-names>
          </string-name>
          :
          <article-title>An agent-based programming language for AmI, a Smart-Room case study</article-title>
          .
          <source>Procedia Computer Science</source>
          <volume>10</volume>
          ,
          <issue>30</issue>
          {
          <fpage>37</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Benea</surname>
            ,
            <given-names>M.T.</given-names>
          </string-name>
          :
          <article-title>An agent-based solution for the problem of designing complex ambient intelligence systems</article-title>
          . In: Intelligent Distributed
          <string-name>
            <surname>Computing</surname>
            <given-names>VII</given-names>
          </string-name>
          ,
          <source>Studies in Computational Intelligence</source>
          , vol.
          <volume>511</volume>
          , pp.
          <volume>323</volume>
          {
          <fpage>333</fpage>
          . Springer (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Benea</surname>
            ,
            <given-names>M.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Florea</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>El Fallah Seghrouchni</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>CAmI: An agent-oriented language for the collective development of AmI environments</article-title>
          .
          <source>In: Control Systems and Computer Science (CSCS)</source>
          ,
          <year>2015</year>
          20th International Conference on. vol.
          <volume>2</volume>
          , pp.
          <volume>749</volume>
          {
          <fpage>756</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (May
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>El</given-names>
            <surname>Fallah-Seghrouchni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Suna</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>An uni ed framework for programming autonomous, intelligent and mobile agents</article-title>
          .
          <source>In: Multi-Agent Systems and Applications III</source>
          , pp.
          <volume>353</volume>
          {
          <fpage>362</fpage>
          . Springer (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Howe</surname>
          </string-name>
          , J.:
          <article-title>Crowdsourcing: Why the Power of the Crowd Is Driving the Future of Business. Random House Digital</article-title>
          , Inc. (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Olaru</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>tATAmI-2 { a Flexible Framework for Modular Agents</article-title>
          .
          <source>In: Control Systems and Computer Science (CSCS)</source>
          ,
          <year>2015</year>
          20th International Conference on. pp.
          <volume>703</volume>
          {
          <fpage>710</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Olaru</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benea</surname>
            ,
            <given-names>M.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Seghrouchni</surname>
            ,
            <given-names>A.E.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Florea</surname>
            ,
            <given-names>A.M.:</given-names>
          </string-name>
          <article-title>tATAmI: A platform for the development and deployment of agent-based AmI applications</article-title>
          .
          <source>Procedia Computer Science</source>
          <volume>52</volume>
          (
          <issue>0</issue>
          ),
          <volume>476</volume>
          {
          <fpage>483</fpage>
          (
          <year>2015</year>
          ),
          <source>the ANT-2015 Conference</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>