<!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>Probabilistic Metamodel Merging</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Robert Lagerström</string-name>
          <email>robertl@ics.kth.se</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Moustafa Chenine</string-name>
          <email>moustafac@ics.kth.se</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pontus Johnson</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ulrik Franke</string-name>
          <email>ulrikf@ics.kth.se</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>The Royal Institute of Technology, Industrial information and control systems</institution>
          ,
          <addr-line>Osquldas v.12, 10044 Stockholm</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
      </contrib-group>
      <fpage>25</fpage>
      <lpage>28</lpage>
      <abstract>
        <p>This paper proposes the use Bayesian networks for the automatic merging of metamodels. The proposed Bayesian networks calculate the probability that a merge of two metamodel elements is suitable, thus suggesting what to merge.</p>
      </abstract>
      <kwd-group>
        <kwd>Metamodel merging</kwd>
        <kwd>Bayesian networks</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        In recent years, both researchers and practitioners have discovered the emerging
possibilities of using metamodels and ontologies. As a consequence, a large quantity
of metamodels and ontologies now exists within all sorts of different applications.
The distributed environment of metamodel and ontology development has led to large
overlaps within and between metamodels. Since these diverse metamodels often
describe similar aspects of systems, developers and users would gain large benefits if
metamodels could easily be merged and aligned with each other. Therefore,
integration and merging of metamodels and ontologies has received an increasing
interest lately [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ][
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>This paper proposes an approach to metamodel merging where a probabilistic
inference engine is employed to evaluate candidate metamodel concepts suitable for
merging. The proposed approach uses Bayesian networks to assess the probability
that a merge of two elements is suitable. The Bayesian network evaluates a merge
based on various syntactic and semantic characteristics of the candidate concepts,
such as the similarity of names and associations to other concepts.</p>
      <p>
        The concepts described in this paper all pertain to a certain type of metamodels
called abstract models. Abstract models have previously been proposed as a notation
for describing and analyzing enterprise systems [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The models represent the
architectures of these systems as well as other expert knowledge and empirical
observations that can be instantiated and used for analysis. An abstract model contains
classes and class associations, augmented with attributes and attribute associations. A
UML description of abstract models can be seen in Fig. 1.
source reverse
      </p>
    </sec>
    <sec id="sec-2">
      <title>Merging Metamodels using Bayesian Networks</title>
      <p>
        A Bayesian network, B=(G, P), is a representation of a joint probability
distribution, where G=(V, E) is a directed acyclic graph consisting of vertices, V, and
edges, E. The vertices denote a domain of random variables X1,…, Xn, also called
chance nodes. Each chance node, Xi, may take on a value xi from the finite domain
Val(Xi). The edges denote causal dependencies between the nodes, i.e. how the nodes
relate to each other. The second component, P, of the network B, describes a
conditional probability distribution for each chance node, P(Xi), given its parents
Pa(Xi) in G. More comprehensive treatment on Bayesian networks can be found in
e.g. Jensen [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>When merging abstract models, there are two concerns. Firstly, do any of the
classes in the source models represent the same concepts? Secondly, when two classes
have been merged, do any of the attributes in the merged class represent the same
concepts? If these two concerns are correctly handled, then all associations separately
holding in the source models will also be correctly transferred into the target model.
Therefore, two Bayesian networks were developed; one describing class merges and
one describing attribute merges, c.f. Fig. 2.</p>
      <p>The nodes in the class merge network have the following scales: Class Merge =
{Yes, No}, Class Similarity Association = {Yes, No}, Class Names = {Identical,
Similar, Dissimilar}, Class References = {SamePublication, SameAuthor,
DifferentAuthors}, Class Attributes = {All, Some, None}, and Class Associations =
{All, Some, None}.</p>
      <p>The nodes in the attribute merge network have the following scales: Attribute
Merge = {Yes, No}, Attribute Similarity Association = {Yes, No}, Attribute Names =
{Identical, Similar, Dissimilar}, Attribute References = {SamePublication,
SameAuthor, DifferentAuthors}, and Attribute Associations = {All, Some, None}.</p>
      <p>
        To illustrate the application of the Class Merge network c.f. the Bayesian network
screenshot from GeNIe [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] in Fig. 3.
      </p>
      <p>Assume that a package, i.e. a set of abstract models, contains the abstract models
presented in Fig. 4.</p>
      <p>The method starts by comparing the pairs of classes from the models presented in
Fig. 4. Then, the classes with the highest probability are merged. In this example, the
class pair Documentation and Document received the probability P = 100 %, and are
therefore merged.</p>
      <p>The next step is to compare all pairs of attributes in the merged class
Documentation. Then, the attributes with the highest probability are merged. In this
example, the pair Readability and Readability received the probability P = 100 %, and
are therefore merged.</p>
      <p>It all starts over from the beginning by comparing all pairs of classes and iterates
until no classes receive probabilities over a predefined merging threshold. The
resulting model in this example is presented in Fig. 5.</p>
      <p>
        Affects[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]
      </p>
    </sec>
    <sec id="sec-3">
      <title>4 Conclusions</title>
      <p>This paper addresses the issue of metamodel merging, using the probabilistic
framework of Bayesian networks. It was shown that Bayesian networks can be used
to guide the merging of metamodels, by considering some key features of the classes
and attributes at hand: basically their names, references, and associations. With this
information it is possible to discern the probability that the concepts are sufficiently
similar to be merged.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Noy</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Musen</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>The PROMPT suite: interactive tools for ontology merging and mapping</article-title>
          .
          <source>Internationl Journal of Human-Computer Studies</source>
          , Vol.
          <volume>59</volume>
          , No 6, p.
          <fpage>983</fpage>
          -
          <lpage>1024</lpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Doan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Madhaven</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Domingos</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Halevy</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Learning to map between ontologies on the semantic web</article-title>
          .
          <source>In the proceedings of the 11th International Conference on World Wide Web</source>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Johnson</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Johansson</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sommestad</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ullberg</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>A Tool for Enterprise Architecture Analysis</article-title>
          ,
          <source>In Proceedings of the 11th IEEE International Enterprise Distributed Object Computing Conference (EDOC)</source>
          , Vol.
          <volume>11</volume>
          ,
          <string-name>
            <surname>Annapolis</surname>
            <given-names>USA</given-names>
          </string-name>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Jensen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <source>Bayesian Networks and Decision Graphs</source>
          . Springer-Verlag (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <article-title>GeNIe: Decision System Laboratories, About GeNIe</article-title>
          and SMILE, University of Pittsburgh, http://genie.sis.pitt.edu/about.html (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>