<!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>DBpedia Spotlight at the MSM2013 Challenge</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pablo N. Mendes</string-name>
          <email>pablo@knoesis.org</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dirk Weissenborn</string-name>
          <email>dirk.weissenborn@mailbox.tu-dresden.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chris Hokamp</string-name>
          <email>christopherhokamp@my.unt.edu</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dept. of Comp. Sci., Dresden Univ. of Tech</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Kno.e.sis Center, CSE Dept., Wright State University</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Lang. and Inf. Tech., Univ. of North Texas</institution>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2013</year>
      </pub-date>
      <volume>1019</volume>
      <fpage>57</fpage>
      <lpage>61</lpage>
      <abstract>
        <p>DBpedia Spotlight [5] is an open source project developing a system for automatically annotating natural language text with entities and concepts from the DBpedia knowledge base. The input of the process is a portion of natural language text, and the output is a set of annotations associating entity or concept identifiers (DBpedia URIs) to particular positions in the input text. DBpedia Spotlight provides programmatic interfaces for phrase recognition and disambiguation (entity linking), including a Web API supporting various output formats (XML, JSON, RDF, etc.) The annotations generated by DBpedia Spotlight may refer to any of 3.77 million things in DBpedia, out of which 2.35 million are classified according to a cross-domain ontology with 360 classes. Through identity links, DBpedia also provides links to entities in more than 100 other languages, and tens of other data sets. This paper describes our application of DBpedia Spotlight to the challenge of extracting Person (PER), Location (LOC), Organization (ORG) and Miscellaneous (MISC) entities from microposts (e.g. tweets) as part of the MSM2013 Challenge at WWW2013. All of the code used in this submission is available as Open Source Software, and all of the data used is shared as Open Data. A description of the software, data sets and more detailed evaluations are available from our supporting material page at http://spotlight.dbpedia.org/research/msm2013/.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Syst./NERType
Unsup. (1)
CRF (2)</p>
    </sec>
    <sec id="sec-2">
      <title>Datasets</title>
      <p>
        DBpedia Spotlight’s annotation model was constructed based on a number of
datasets derived mainly from DBpedia and Wikipedia. First, for each DBpedia
resource r, we extracted from Wikipedia all paragraphs containing wiki links
with target on r’s Wikipedia article. Second, from the collection of wiki links,
disambiguation pages and redirects, we extracted a number of lexicalization
examples – words that have been used to express a given DBpedia entity. Third,
we use the community-maintained DBpedia Ontology mappings to collect a list
of ontology classes (and superclasses) for each DBpedia resource. More details
on this preliminary extraction process are available from Mendes et al., 2011 [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]
and Mendes et al. 2012 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        To adapt this framework to the challenge, we also extended the coverage of
known instance types by importing extra rdf:type statements between DBpedia
and the DBpedia Ontology from Aprosio et al., 2013 [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], between DBpedia and
Freebase4 and between DBpedia and OpenCyc5 by Pohl, 2012 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        Subsequently, we extended our lexicalization examples with a number of
person and organization names based on ‘naming’ ontology properties such as
foaf:givenName, foaf:name, foaf:familyName, etc.We further extended our
lexicon with gazeteers from BALIE [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] including names for association,
company designator, company, government, military, first name, last name, person
title, celebrity, month, city, state province, country.
      </p>
      <p>To allow our tool to output the target types of the challenge, we manually
browsed through the ontology and created mapping from the types used in the
MSM2013 Challenge, and the ontology types in the DBpedia Ontology, Freebase
and OpenCyc. We refer to this set as “Manual Mappings.”</p>
      <p>Evaluation Corpus Pre-processing. The version of the MSM2013
Challenge corpus used in our evaluation contains a number of undesirable artifacts,
presumably resulting from pre-processing parsing and tagging steps. The text
was seemingly pre-tokenized, including spaces between tokens and punctuation,
although not consistently so throughout the data set.</p>
      <p>In our pre-processing, we attempted to reconstruct original sentences by
adding extra markers as token separators (\/), as well as removing parsing
artifacts (-[LR]RB-, #B-ORG/), Twitter markers (RT,#\S+), and other artifacts
included in the training set for anonymization ( URL , MENTION , Mention ,
&lt;NEWLINE&gt; and HASHTAG ). For the sentence reconstruction, we also reverted
the separation from the left-neighboring token of punctuation such as commas,
apostrophes and exclamation marks. We will refer to this corpus as
“reconstructed sentences”.
4 http://downloads.dbpedia.org/3.8/links/freebase_links.nt.bz2
5 http://opencyc.org
#MSM2013 Concept Extraction Challenge Making Sense of Microposts III</p>
    </sec>
    <sec id="sec-3">
      <title>Methodology</title>
      <p>The Concept Extraction task proposed is very similar to the task performed
by Named Entity Recognition (NER). The task can be broken down into two
problems. First, a segmentation problem requires finding boundaries of entity
names within sentences; and second, a classification problem requires correctly
classifying the segment into one of the entity types. We have tested approaches
that perform each task separately, as well as approaches that perform both tasks
jointly.</p>
      <p>First, we tested an unsupervised approach – i.e. one that does not use the
training set provided in the challenge. It uses DBpedia Spotlight’s phrase
recognition and disambiguation to perform NER in a two-step process of segmentation
and classification (dbpedia spotlight 1.tsv). For this approach, the reconstructed
sentences were sent through DBpedia Spotlight’s lexicon-based recognition, and
subsequently through the disambiguation algorithm. Based on the types of the
entities extracted, we used our manual mappings to classify the names into one
of the NER types.</p>
      <p>Our joint segmentation/classification method is a supervised-machine
learning approach enhanced by knowledge-based distant supervision from DBpedia.
We use lexicalizations from DBpedia to indicate that a given token may be within
an entity or concept name. This feature is intended to help with the
segmentation task, particularly in cases where morphological characteristics of a word are
not informative. Moreover, we use the ontology types for DBpedia resources to
create a battery of features which further bias the classification task, according
to the types predicted by DBpedia Spotlight.</p>
      <p>
        We collected all our best features and created a Linear-Chain Conditional
Random Fields (CRF) model to act as our NER (dbpedia spotlight 2.tsv). We
used Factorie [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] to implement our CRF. Our features include morphological
(e.g. punctuation, word shape), context-based (e.g. surrounding tokens) and
knowledge-based characteristics. Our knowledge-based features include the
presence of a token within a name in our knowledge base, as well as the types
predicted for this entity.
      </p>
      <p>Given those features and the provided training corpus, the model is trained
using stochastic gradient ascent. Gibbs sampling is used to estimate the posterior
distribution for each label during training. We also added a small post-processing
filter to remove whole entities that contain less than two letters or digits in them
as well as entities with name ”the” and ”of”.</p>
      <p>
        Finally, we included Stanford NER [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] as our third baseline (dbpedia spotlight 3.tsv),
since it is a well known NER implementation.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Evaluation and Discussion</title>
      <p>entities. The scores shown for our supervised method are our averaged 10-fold
cross-validation scores.</p>
      <p>We also report token-based precision, recall and F1 averaged over a 10-fold
cross-validation on the training set. For Stanford NER (Vanilla) (with default
features), we obtain P: 0.77, R: 0.54 and F1: 0.638. For Stanford NER (Enhanced),
after adding our knowledge-based features, we observe improvements to P: 0.806,
R: 0.604 and F1: 0.689. The same evaluation approach applied to DBpedia
Spotlight CRF yields P:0.91, R:0.72, F1:0.8.</p>
      <p>We found the segmentation to be far harder than classification in this dataset.
First, as expected in any task that requires agreement between human experts,
some annotation decisions are debatable. Second, inconsistent tokenization was
a big issue for our implementation.</p>
      <p>In some cases, our model found annotations that were not included by the
human-annotators, such as ORG/twitter, where “twitter account” could be (but
was not) interpreted as an account within the ORG Twitter. In other cases,
our model trusted the tokenization provided in the training set and predicted
MISC/Super Bowl-bound while the human-generated annotation was MISC/Super
Bowl.</p>
      <p>However, in general, after guessing correctly the boundaries, the type
classification seemed an easier task. Our manual mappings already obtain an average
accuracy over 82%. After training, those numbers are improved even further.</p>
      <p>However, in some cases, there seems to be some controversial issues in the
classification task. Is “Mixed Martial Arts” a Sport or a SportEvent? Is
“Hollywood” an organization or a location? Depending on the context, the difference
can be subtle and may be missed even by the human annotators.</p>
      <p>By far, the toughest case to classify is MISC. Perhaps, such a “catch all”
category may be too fuzzy, even for human annotators. The annotations often
contain human languages like MISC/English;MISC/Dutch; where the guidelines
stated that only Programming languages would be annotated.</p>
      <p>In future work we plan to carefully evaluate the contribution of each of our
features, further expand our evaluations within the MISC type, and conduct a
reannotation of the dataset to normalize some of the issues found.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>A. P.</given-names>
            <surname>Aprosio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Giuliano</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Lavelli</surname>
          </string-name>
          .
          <article-title>Automatic expansion of DBpedia exploiting Wikipedia cross-language information</article-title>
          .
          <source>In ESWC'13</source>
          ,
          <string-name>
            <surname>Montpellier</surname>
          </string-name>
          , France,
          <year>2013</year>
          (to appear).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>J. R.</given-names>
            <surname>Finkel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Grenager</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Manning</surname>
          </string-name>
          .
          <article-title>Incorporating non-local information into information extraction systems by gibbs sampling</article-title>
          . In In ACL,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>A.</given-names>
            <surname>McCallum</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Schultz</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          . FACTORIE:
          <article-title>Probabilistic programming via imperatively defined factor graphs</article-title>
          .
          <source>In NIPS</source>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>P. N.</given-names>
            <surname>Mendes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Jakob</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Bizer</surname>
          </string-name>
          .
          <article-title>DBpedia for NLP: A Multilingual Crossdomain Knowledge Base</article-title>
          .
          <source>In LREC'12</source>
          , Istanbul, Turkey,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>P. N.</given-names>
            <surname>Mendes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Jakob</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          <article-title>Garc´ıa-</article-title>
          <string-name>
            <surname>Silva</surname>
            , and
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Bizer</surname>
          </string-name>
          . DBpedia Spotlight:
          <article-title>Shedding light on the web of documents</article-title>
          . In I-Semantics, Graz, Austria,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>D.</given-names>
            <surname>Nadeau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Turney</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Matwin</surname>
          </string-name>
          .
          <article-title>Unsupervised Named-Entity Recognition: Generating Gazetteers and Resolving Ambiguity</article-title>
          .
          <source>Advances in Artificial Intelligence</source>
          ,
          <volume>4013</volume>
          :
          <fpage>266</fpage>
          -
          <lpage>277</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>A.</given-names>
            <surname>Pohl</surname>
          </string-name>
          .
          <article-title>Classifying the Wikipedia Articles into the OpenCyc Taxonomy</article-title>
          . In WoLE'12 at ISWC'
          <volume>12</volume>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>