<!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>TECNE: Knowledge Based Text Classi cation Using Network Embeddings</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Rima Turker</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>Maria Koutraki</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>Lei Zhang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Harald Sack</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>FIZ Karlsruhe</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Karlsruhe Institute of Technology, Institute AIFB</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Leibniz Institute for Information Infrastructure</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Text classi cation is an important and challenging task due to its application in various domains such as document organization and news ltering. Several supervised learning approaches have been proposed for text classi cation. However, most of them require a signi cant amount of training data. Manually labeling such data can be very time-consuming and costly. To overcome the problem of labeled data, we demonstrate TECNE, a knowledge-based text classi cation method using network embeddings. The proposed system does not require any labeled training data to classify an arbitrary text. Instead, it relies on the semantic similarity between entities appearing in a given text and a set of prede ned categories to determine a category which the given document belongs to.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Text classi cation is gaining more and more attention due to the availability of
a huge number of text data, which includes search snippets, news data as well as
text data generated in social networks. Recently, several supervised approaches
have been proposed for text classi cation [
        <xref ref-type="bibr" rid="ref1 ref6 ref7">6,1</xref>
        ]. However, they all require a
signi cant amount of labeled training data. Manual labeling of such data can be a
very time-consuming and costly task. Especially, if the text to be labeled is of a
speci c scienti c or technical domain, crowd-sourcing based labeling approaches
do not work successfully and only expensive domain experts are able to ful ll
the manual labeling task. Alternatively, semi-supervised text classi cation
approaches [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] have been proposed to reduce the labeling e ort. Yet, due to the
diversity of the documents in many applications, generating small training set
for the semi-supervised approaches still remains an expensive process [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Moreover, to cope with the problem of labeled data several dataless text classi cation
methods have been proposed. Similar to our proposed approach, the methods
do not require any labeled data, rather they rely on the semantic similarity
between documents and the prede ned categories. However, the most prominent
and successful dataless classi cation approaches cannot utilize the rich entity
and category information in large-scale knowledge bases.
      </p>
      <p>In this paper we demonstrate TECNE, an approach which classi es an
arbitrary input text, according to a prede ne set of categories, without requiring
any training data. The approach is able to capture the semantic relation
between the entities represented in a text and the prede ned categories by
embedding them into a common vector space using state-of-the-art network embedding
techniques. Finally, the category of the given text can be derived based on the
semantic similarity between entities (present in the given text) and a set of
prede ned categories. The similarity is computed based on the vector representation
of the entities and the categories.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Description of TECNE</title>
      <p>Given a Knowledge Base KB, containing a set of entities E = fe1; e2; ::; eng
and a set of hierarchically related categories C = fc1; c2; ::; cmg, where each
entity ei 2 E is associated with a set of categories C0 C via a relation cat
E C, such that cat(ei) = C0. The input of the system is an arbitrary text
t, which contains a set of mentions Mt = fm1; : : : ; mkg that uniquely refer to
a set of entities as well as a set of prede ned categories C0 C (from the
underlying knowledge base KB). The output of TECNE is a score value for
each category ci 2 C0 based on the semantic similarity between the given text t
and the prede ned categories C0.</p>
      <p>
        TECNE Overview The general work ow of TECNE presented in Figure 1 is
similar to our previous study [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>The input is a text t of an arbitrary length. Then, the classi cation task start
with the detection of each entity mention present in t based on a prefabricated
\Anchor-Text Dictionary" from Wikipedia. The Anchor-Text Dictionary
contains all mentions and their corresponding Wikipedia entities. In our example
the detected mentions are \IBM", \midrange computer" and \eServer".</p>
      <p>
        As a next step, for each detected entity mention in t, the candidate
entities are generated with the help of the Anchor-Text Dictionary. In our example
TECNE: Knowledge Based Text Classi cation Using Network Embeddings
these are \IBM", \Midrange computer" and \IBM eServer". Also, the prede ned
categories (Sports, Technology, Culture, World) are mapped to Wikipedia
categories. Finally, based on the entity and category embeddings [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] that have been
precomputed from Wikipedia, the output of TECNE is a score for each
prede ned category. Ideally, the most semantically related category to the entities
present in the input text should have the highest score. Thereby, in the given
example the category Technology has the highest score. More technical details
about the approach and the evaluation of the system can be found in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Demonstration</title>
      <p>A recorded video of our demonstration can be found here: https://goo.gl/pSxkcy
TECNE is implemented in Java using a client-server architecture with
communication over HTTP. The server is a RESTful web service, which is implemented
using Spark1. Moreover, the client user interface is achieved by using Vaadin
Framework2 as a Web Application. The system supports both service-oriented
and user-oriented interfaces for classifying short/long text documents. The
system accepts any arbitrary text that needs to be classi ed as an input. In the
interest of convince, the system utilizes three di erent APIs that a user can use
to provide an online text as an input to the system. The rst API3 is used to
fetch an abstract of Wikipedia articles. Simply, a user can enter the name of
the Wikipedia article and the abstract of the certain article would be fetched
automatically. Figure 2 presents the screen shot of this service, where the input
is the abstract of the Albert Einstein's Wikipedia page. The second API4 and
the third API5 are used to retrieve long and short random news respectively
from di erent web pages. Besides that, a user can select a prede ned sample
sentence as an input or also manually enter any text without using the already
provided data sources.</p>
      <p>For the sake of simplicity, the system covers 4 di erent categories, i.e. the
system can classify a text based on 4 di erent categories, Sports, Business,
World, and Science-Technology. However, it can be easily extended to support
higher number of categories for the classi cation purpose. For classifying a text,
TECNE proceeds in 3 main steps as following:
1 http://sparkjava.com 2 https://vaadin.com/ 3 https://en.wikipedia.org/w/api.php
4 https://webhose.io/ 5 https://newsapi.org</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and Future Work</title>
      <p>In this paper, we demonstrate TECNE, a system for knowledge based text
classi cation using network embeddings. Future works also include the extension of
TECNE towards enabling user to de ne a category list where the input text will
be categorized accordingly.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Biswas</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Turker, R.,
          <string-name>
            <surname>Moghaddam</surname>
            ,
            <given-names>F.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koutraki</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sack</surname>
          </string-name>
          , H.:
          <article-title>Wikipedia infobox type prediction using embeddings</article-title>
          .
          <source>In: DL4KGS@ESWC</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xing</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ma</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          :
          <article-title>E ective document labeling with very few seed words: A topic model approach</article-title>
          . In: CIKM. pp.
          <volume>85</volume>
          {
          <fpage>94</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Tang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Qu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yan</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mei</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          :
          <article-title>Line: Large-scale information network embedding</article-title>
          .
          <source>CoRR</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Turker, R., Zhang,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Koutraki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Sack</surname>
          </string-name>
          , H.:
          <article-title>\the less is more" for text classi cation</article-title>
          .
          <source>SEMANTICS</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Xuan</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jiang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ren</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yan</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Luo</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          :
          <article-title>Automatic bug triage using semisupervised text classi cation</article-title>
          .
          <source>CoRR</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>J.J.</given-names>
          </string-name>
          , LeCun, Y.:
          <article-title>Character-level convolutional networks for text classi cation</article-title>
          .
          <source>In: NIPS</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>6 https://en.wikipedia.org/wiki/Albert Einstein</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>