<!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>EasyESA: A Low-effort Infrastructure for Explicit Semantic Analysis</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Danilo Carvalho</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>C¸ag˘atay C¸ allı</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andr´e Freitas</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Edward Curry</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Engineering</institution>
          ,
          <addr-line>METU, Ankara</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Explicit Semantic Analysis</institution>
          ,
          <addr-line>ESA</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Insight Centre for Data Analytics, National University of Ireland</institution>
          ,
          <addr-line>Galway</addr-line>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>PESC/COPPE, Federal University of Rio de Janeiro</institution>
          ,
          <addr-line>UFRJ</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Distributional semantic models (DSMs) are semantic models which are based on the statistical analysis of co-occurrences of words in large corpora. DSMs can be used in a wide spectrum of semantic applications including semantic search, question answering, paraphrase detection, word sense disambiguation, among others. The ability to automatically harvest meaning from unstructured heterogeneous data, its simplicity of use and the ability to build comprehensive semantic models are major strengths of distributional approaches. The construction of distributional models, however, is dependent on processing large-scale corpora. The English version of Wikipedia 2014, for example, contains 44 GB of article data. The hardware and software infrastructure requirements necessary to process large-scale corpora bring high entry barriers for researchers and developers to start experimenting with distributional semantics. In order to reduce these barriers we developed EasyESA, a high-performance and easy-to-deploy distributional semantics framework and service which provides an Explicit Semantic Analysis (ESA) [4] infrastructure. DSMs are represented as a vector space model, where each dimension represents a context C for the linguistic context in which the target word occurs in a reference corpus. A context can be defined using documents, co-occurrence window sizes (number of neighbouring words or data elements) or syntactic features. The distributional interpretation of a target word is defined by a weighted vector of the contexts in which the word occurs, defining a geometric interpretation under a distributional vector space. The weights associated with the vectors are defined using an associated weighting scheme W, which can recalibrate the relevance of more generic or discriminative contexts. A semantic relatedness measure S between two words can be calculated by using different similarity/distance measures such as the cosine similarity or Euclidean distance. In the Explicit Semantic Analysis DSM [4], Wikipedia is used as a reference corpus and the contexts are defined by each Wikipedia article. The weighting scheme is defined by TF/IDF (term frequency/inverse document frequency) and</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>the similarity measure by the cosine similarity. The interpretation vector of a
term on ESA is a weighted vector of Wikipedia articles, which is called in the
ESA model a concept vector.</p>
      <p>A keyword query over the ESA semantic space returns the list of ranked
articles titles, which define a concept vector associated with the query terms
(where each vector component receives a relevance score). The approach supports
the interpretation of small text fragments, where the final context vector is the
centroid of the words’ concept vectors. The ESA semantic relatedness measure
between two terms is calculated by computing the cosine similarity between the
concept vectors representing the interpretation of the two terms.
3</p>
    </sec>
    <sec id="sec-2">
      <title>EasyESA</title>
      <p>
        EasyESA consists of an open source platform that can be used as a remote
service or can be deployed locally. The API consists of three services:
Semantic relatedness measure: Calculates the semantic relatedness measure
between two terms. The semantic relatedness measure is a real number in the
[
        <xref ref-type="bibr" rid="ref1">0,1</xref>
        ] interval, representing the degree of semantic proximity between two terms.
Semantic relatedness measures are comparative measures and are useful when
sets of terms are compared in relation to their semantic proximity. Semantic
relatedness can be used for semantic matching in the context of the development
of semantic systems such as question answering, text entailment, event matching
and semantic search.
      </p>
      <p>
        – Example: Request for the semantic relatedness measure between the words wife
and spouse.
– Service URL: http://vmdeb20.deri.ie:8890/esaservice?task=esa&amp;term1=wife&amp;
term2=spouse
Concept vector: Given a term, it returns the associated concept vector: a
weighted vector of contexts (Wikipedia articles). The term can contain multiple
words. The concept vectors can be used to build semantic indexes, which can be
applied for semantic applications which depends on high performance semantic
matching. An example of a semantic index built using ESA concept vectors is
available in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>– Example: Request for the concept vector of the word wife with maximum
dimensionality of 50.
– Service URL: http://vmdeb20.deri.ie:8890/esaservice?task=vector&amp;source=wife&amp;
limit=50
Query explanation: Given two terms, returns the overlap between the concept
vectors.</p>
      <p>– Example: Request for the concept vector overlap between the words wife and spouse
for concept vectors with 100 dimensions.
– Service URL: http://vmdeb20.deri.ie:8890/esaservice?task=explain&amp;term1=wife
&amp;term2=spouse&amp;limit=100</p>
      <p>Mean request values are 0.055 ms for the semantic relatedness measure and
0.080 ms for the concept vector (500 dimensions) on an Intel Core i7 Quad Core
3770 3.40 GHz 32GB DDR3 RAM computer.</p>
      <p>EasyESA was developed using Wikiprep-ESA1 as a basis. The software is
available as an open source tool at http://easy-esa.org. The improvements
targeted the following contributions: (i) major performance improvements
(fundamental for the application of distributional semantics in real applications
which depends on 100s of requests per second); (ii) robust concurrent queries;
(iii) RESTful service API; (iv) deployment of an online service infrastructure;
(v) packaging and pre-processed files for easy deployment of a local ESA
infrastructure. A detailed description of the improvements can be found at http:
//easy-esa.org/improvements.
4</p>
    </sec>
    <sec id="sec-3">
      <title>Demonstrations</title>
      <p>Two demonstration applications were built using EasyESA targeting to show
the low effort involved in the use of distributional semantics in the context
of different semantic tasks. In the demonstration, Wikipedia 2013 was used as
a reference corpus. Videos of the running applications are available at: http:
//treo.deri.ie/iswc2014demo
Semantic Search: The first demonstration consists is the use of EasyESA for
simulating a semantic search application. In this scenario users can enter a set of
terms which can represent the searchable items (for example film genres). Each
term associated with a genre has a distributional conceptual representation, i.e.
is represented by a concept vector. Users can then enter a search term which
has no lexical similarity to the indexed terms. The demonstration computes the
semantic relatedness for each vector, ranking the results by their degree of
semantic relatedness. In the example, the search query ‘winston churchill’ returns
the most likely film genres which are associated with the query. Genres ‘war’,
‘documentary’, and ‘historical’ were the top most related terms. Figure 1 shows
a screenshot of the interface of the example. The demonstration application can
be accessed in: http://vmdeb20.deri.ie/esa-demo/semsearch.html.
Word Sense Disambiguation (WSD): In the second demonstration, EasyESA
is used to perform a word sense disambiguation task (WSD). The user enters
a sentence and then selects a word to get the correct sense from WordNet.
The WSD application gets the sentence context (the words surrounding the
target word) finds its associated context vector and computes the semantic
relatedness measure in relation to the context vector of the associated
WordNet glosses for each word sense available. The different senses are then ranked
by their semantic relatedness values. In the examples there is no lexical
overlap between the sentence context and the different WordNet glosses, with the
distributional knowledge from Wikipedia filling the semantic gap between the
context and the glosses. The demonstration application can be accessed in:
http://vmdeb20.deri.ie/esa-demo/sensedisambig.html.
1 https://github.com/faraday/wikiprep-esa</p>
    </sec>
    <sec id="sec-4">
      <title>Applications using EasyESA</title>
      <p>
        While the demonstration focuses on providing easy to replicate applications
for users to start experimenting with distributional semantics, more complex
applications were built using EasyESA. Freitas et al [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] used EasyESA for
terminology-level search over Linked Data vocabularies, achieving better
performance in the semantic matching process when compared to WordNet-based
query expansion approach. EasyESA was used in the Treo QA system [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], a
schema-agnostic query approach over the Linked Data Web. The system uses
a distributional semantics approach to match query terms to dataset elements,
supporting schema-agnostic queries. Hasan &amp; Curry [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] use EasyESA for
semantically matching complex events from semantically heterogeneous data sources,
in a real time scenario.
      </p>
      <p>Acknowledgment: This publication was supported in part by Science Foundation
Ireland (SFI) (Grant Number SFI/12/RC/2289) and by the Irish Research Council.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Freitas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Curry</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <article-title>Natural Language Queries over Heterogeneous Linked Data Graphs: A Distributional-Compositional Semantics Approach</article-title>
          .
          <source>In Proc. of the 19th Intl. Conf. on Intelligent User Interfaces</source>
          .
          <article-title>(</article-title>
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Freitas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Curry</surname>
          </string-name>
          , E.,
          <string-name>
            <surname>O'Riain</surname>
            ,
            <given-names>S.,</given-names>
          </string-name>
          <article-title>A Distributional Approach for Terminological Semantic Search on the Linked Data Web</article-title>
          .
          <source>In Proc. of the 27th ACM Symposium On Applied Computing (SAC)</source>
          ,
          <source>Semantic Web and Applications (SWA)</source>
          .
          <article-title>(</article-title>
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Curry</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <article-title>Approximate Semantic Matching of Events for The Internet of Things,</article-title>
          .
          <source>In ACM Transactions on Internet Technology (TOIT)</source>
          .
          <article-title>(</article-title>
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Gabrilovich</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Markovitch</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <article-title>Computing semantic relatedness using Wikipediabased explicit semantic analysis</article-title>
          .
          <source>In Proc. of the 20th Intl. Joint Conf. on Artificial Intelligence</source>
          ,
          <fpage>1606</fpage>
          -
          <lpage>1611</lpage>
          . (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>