<!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>Using word2vec to Build a Simple Ontology Learning System</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Vienna Univ. of Economics</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Business</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Welthandelsplatz</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Austria</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>gerhard.wohlgenannt</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>filip.minic}@wu.ac.at http://www.wu.ac.at</string-name>
        </contrib>
      </contrib-group>
      <fpage>2</fpage>
      <lpage>5</lpage>
      <abstract>
        <p>Ontology learning has been an important research area in the Semantic Web eld in the last 20 years. Ontology learning systems generate domain models from data (typically text) using a combination of sophisticated methods. In this poster, we study the use of Google's word2vec to emulate a simple ontology learning system, and compare the results to an existing \traditional" ontology learning system.</p>
      </abstract>
      <kwd-group>
        <kwd>ontology learning</kwd>
        <kwd>word2vec</kwd>
        <kwd>term extraction</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Ontologies are the vocabulary used on the Semantic Web. Manual ontology
construction is an expensive e ort, therefore a number of systems to automatically
extract ontologies from data (often natural language text) have been proposed.
Those systems bootstrap the ontology construction process by providing
ontology engineers with learned ontologies. Ontology learning (OL) system are usually
big and complex frameworks that use di erent data sources and techniques to
extract terms, synonyms, concepts, taxonomies, etc. from data.</p>
      <p>
        Mikolov et al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] present a system called word2vec, which, despite its
simplicity, has been shown to be very e ective to provide similar terms, but also to
extract certain syntactic and semantic relations simply using vector operations
such as addition and subtraction of vectors.
      </p>
      <p>
        The complexity of traditional OL systems makes them hard to use,
maintain and extend. Replacing or improving some complex parts of traditional OL
systems would therefore bene t the community. This leads us to the following
research questions: How well is the state-of-the-art tool word2vec suited to execute
OL tasks such as term and taxonomy extraction from text? Which di erences
regarding results are to expected?
nally construct a taxonomy. Text2Onto [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] uses many algorithms from the NLP
and Information Retrieval elds to generate ontology models. Manzano-Macho
et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] emphasize the bene ts of using heterogeneous sources of evidence in OL,
in order to leverage redundant information in various sources. Most OL systems
are geared to generate lightweight ontologies, it is unclear if fully automated
learning of heavyweight ontologies is feasible at all [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        Word2vec [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] computes continuous vector representations for large text data
sets. Word2vec outperforms the state-of-the-art in word similarity tasks, and
provides high performance for measuring syntactic and semantic similarities.
      </p>
      <p>In this publication we present our initial results from integrating word2vec
into traditional OL.
3</p>
    </sec>
    <sec id="sec-2">
      <title>Methods</title>
      <p>
        In this section we brie y introduce the two methods that will be compared, the
OL framework developed at WU Vienna, and the word2vec implementation.
Our Ontology Learning system: Due to limitations in space, we can only
give a brief overview of the work ow of our OL system, more details are found
eg. in Wohlgenannt [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The input to our OL system are heterogeneous evidence
sources: domain text, Wordnet, DBpedia, and APIs of some social media sites.
From those sources the system extracts evidence for important terms and
relations between terms. The system learns domain ontologies from scratch using a
small amount (for example: two) seed concepts in that domain. The process is a
follows (simpli ed): (i) Extract new term and relation candidates from evidence
sources based on seed concepts with various methods: co-occurrence, Hearst
patterns, etc. (ii) Integrate all evidences into a big semantic network. (iii) Use
spreading activation (a neural network method) to nd the 25 most important
concept candidates. (iv) Evaluate the 25 candidates with crowdsourcing or
domain experts for domain relevance. (v) Position the selected new concepts in the
ontology, which gives an extended ontology. (vi) Use the extended ontology as
new seed ontology and go back to step i). We typically run this iterative ontology
extension cycle for 3 times and then halt.
word2vec: Word2vec is a two-layer neural net, which uses natural language
text as input. The output are continuous feature vectors of a given size (eg. 300
dimensions) for the input words (or phrases). Word2vec trains neural nets to
reconstruct the linguistic contexts of words, using two methods: continuous
bagof-words (CBOW) or continuous skip-gram. With CBOW, the model predicts
the current word using a window of surrounding words. Word2vec is well suited
to provide high-quality similar terms for an input term, and also allows vector
operations. A well-know example of this is: king is to queen what man is to
x. And the vector operation king queen + man should than provide woman
as best guess. With word2vec, we use exactly the same work ow as in our OL
system: Three iterations learning 25 terms each, and using the con rmed terms
as new seed terms in the next iteration.
word2vec for Ontology Learning
      </p>
    </sec>
    <sec id="sec-3">
      <title>Evaluation</title>
      <sec id="sec-3-1">
        <title>Evaluation Setup</title>
        <p>We compare the results for three methods. First, word2vec { unigrams is a
word2vec model trained on single words in the corpus. word2vec { bigrams uses
single words and bigrams from the corpus, and nally, OL uses the results from
our OL system. With these three methods, we extract concept candidates from
four corpora each. The corpora mainly consist of news media coverage about the
climate change domain mirrored in a speci c month. The basic setup is always
the same, we start from a seed ontology, and do three extension steps, where we
collect 25 concept candidates, and add the candidates which have been manually
judged as domain-relevant to the ontology.
4.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Results</title>
        <p>We keep the process for word2vec as simple as possible. After word2vec model
generation with the standard word2vec scripts based on the plain-text corpus,
we apply the built-in word2vec similarity function to get terms related to the
seed terms. On the plus side, the word2vec implementation is extremely
simple1, and provides a high-percentage of relevant concept candidates. On the
minus side, candidates suggested by word2vec are (as expected) sometimes even
too strongly related to the seed terms, for example: syntactic variations such
as plural forms or near-synonyms. In future work, we will address the issue of
too similar terms/concepts suggested by word2vec with i) detection and
ltering of syntactic variations and synonyms, ii) using vector operations to detect
interesting relations as well as new concept candidates. One interesting nding
was, that with our traditional OL system, the more concepts already exist in
the ontology, the lower the quality of generated new candidates { but with the
word2vec system is was the other way around.
1 Source-code and data found at: https://aic.ai.wu.ac.at/~wohlg/iswc2016</p>
        <p>In addition to concept detection, we evaluated word2vec for taxonomy
building. For this task, we rst collected some prede ned term pairs with taxonomic
relations in the sense of skos:broader such as tree / forest or methane /
greenhouse gas. We then applied those taxonomic term pairs with the word2vec
analogy function, for example tree is to forest what coal is to X { and let word2vec
generate suggestions for X. If X was a concept existing in the ontology, we
manually evaluated the correctness of the taxonomic relation. For the ontologies
generated with method (i) word2vec { unigrams, the word2vec-based taxonomy
generation method suggested 64 taxonomic relations, of which 34 were evaluated
as correct (53.13%). In the word2vec { bigrams method we had 209 suggestions,
and 101 correct (48.33%). An accuracy of around 50% on taxonomic relation
suggestion is not very impressive, but we see lot of room for improving the
system by parameter settings and using bigger corpora in future work. A source of
error were eg. wrong directions in taxonomic relations suggested by word2vec.
5</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>In this poster we presented rst results from emulating ontology learning (OL)
tasks by using word2vec. Results show that word2vec can be very useful in term
and concept extraction, for learning taxonomic relations more work needs to
be done. The contributions are as follows: (i) nding and implementing simple
substitutes of some complex parts of OL systems, and (ii) evaluating word2vec
for term/concept extraction and taxonomy generation. Future work will include
large scale evaluations in various domains and including tools for synonym
detection. Furthermore, we will improve the extraction of taxonomic relations by
parameter tuning, the use of bigger corpora, and more training relations.
Finally, we also plan to see how well word2vec works for the OL task of detecting
non-taxonomic relations, and compare it to existing approaches.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Cimiano</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , Volker, J.:
          <article-title>Text2onto: A framework for ontology learning and datadriven change discovery</article-title>
          .
          <source>In: Proceedings of the 10th Int. Conf. on NLP and IS</source>
          . pp.
          <volume>227</volume>
          {
          <fpage>238</fpage>
          . NLDB'
          <volume>05</volume>
          , Springer-Verlag, Berlin, Heidelberg (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>David</given-names>
            <surname>Manzano-Macho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.G.P.</given-names>
            ,
            <surname>Borrajo</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          :
          <article-title>Unsupervised and domain independent ontology learning: Combining heterogeneous sources of evidence</article-title>
          . In: Calzolari, e.a. (ed.)
          <source>Proceedings of LREC'08. ELRA</source>
          , Marrakech, Morocco (May
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Corrado</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>E cient estimation of word representations in vector space</article-title>
          .
          <source>arXiv preprint arXiv:1301.3781</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Velardi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Faralli</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Navigli</surname>
          </string-name>
          , R.:
          <article-title>OntoLearn Reloaded: A Graph-based Algorithm for Taxonomy Induction</article-title>
          .
          <source>Computational Linguistics</source>
          <volume>39</volume>
          (
          <issue>3</issue>
          ),
          <volume>665</volume>
          {
          <fpage>707</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Wohlgenannt</surname>
          </string-name>
          , G.:
          <article-title>Leveraging and balancing heterogeneous sources of evidence in ontology learning</article-title>
          . In: et al.,
          <string-name>
            <surname>G</surname>
          </string-name>
          . (ed.)
          <source>ESWC</source>
          <year>2015</year>
          , Portoroz,
          <source>Slovenia. Lecture Notes in Computer Science (LNCS)</source>
          , vol.
          <volume>9088</volume>
          , pp.
          <volume>54</volume>
          {
          <fpage>68</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Wong</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          , Liu,
          <string-name>
            <given-names>W.</given-names>
            ,
            <surname>Bennamoun</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Ontology learning from text: A look back and into the future</article-title>
          .
          <source>ACM Computing Surveys</source>
          <volume>44</volume>
          (
          <issue>4</issue>
          ),
          <volume>20</volume>
          :1{
          <fpage>20</fpage>
          :36 (Sep
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>