<!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>Long-tail dataset entity recognition based on Data Augmentation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Qikai Liu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pengcheng Li</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wei Lu</string-name>
          <email>weilu@whu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Qikai Cheng</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Information Management, Wuhan University</institution>
          ,
          <addr-line>Wuhan</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <fpage>79</fpage>
      <lpage>80</lpage>
      <abstract>
        <p>Datasets play an important role in data-driven scientific research. With the development of scientific research, more and more new datasets have been constructed. It is important to recognize dataset entities correctly, especially when it comes to unusual long-tail dataset entities. However, it is very dificult to obtain high quality training corpus in named entity recognition. We obtained our data based on a distant supervision method along with two data augmentation methods. We then use a BERT-BiLSTM-CRF model to predict long-tail dataset entity. By applying data augmentation methods, we achieve a highest F1-score of 0.7471.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        With the development and rise of artificial intelligence, data-driven
research has become a new paradigm. Therefore, the value of
datasets has been paid more and more attention. Commonly used
datasets are, for example, Wordnet, DBpedia, MovieLens, etc.
Currently, dataset entity recognition research is still in the exploratory
stage, especially when it comes to long-tail entity recognition.
Longtail entities are entities that have a low frequency in the document
collections and usually have no reference in existing Knowledge
Bases[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] . Current state-of-art NER models or tools usually perform
badly on long-tail entities of specific domains. Therefore it is
important to build models for long-tail entity recognition. However, high
quality training data is extremely important yet hard to build for
domain-specific named entity recognition task. Data augmentation
is usually used in computer vision field, but more researchers are
trying to apply data augmentation in NLP filed. Wei J W et al.[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
proposed EDA(easy data augmentation) techniques for boosting
performance on text classification tasks.
      </p>
      <p>In this paper, we propose a dataset long-tail entity recognition
model based on distant supervision method along with two data
enhancement ways to expand the training corpus. We finally achieve
a best F1-score of 0.7471 using data augmentation methods.</p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>
        There are many researchers focusing on domain entity recognition.
Aguilar G et al.[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] proposed a multi-task approach to recognize
named entity in social media data. Their approach obtained an
F1-score of 0.4186 in WNUT-2017. As for dataset entity recognition,
Duck G et al.[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] explored recognition of database and software
entities and compared dictionary and machine learning approaches to
each identification. Their machine learning approach achieved an
F1-score of 0.63. Long-tail entities are named entities that are rare,
often relevant only in specific knowledge domains, yet important
for retrieval and exploration purposes. Mesbah S et al.[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] presented
an iterative approach for training NER classifiers in scientific
publications, focusing on the long-tail entities types Datasets, Methods
in computer science publications, and Proteins in biomedical
publications.
3
3.1
      </p>
    </sec>
    <sec id="sec-3">
      <title>METHODS</title>
    </sec>
    <sec id="sec-4">
      <title>Model for Named Entity Recognition</title>
      <p>In this paper, BERT + BiLSTM + CRF model structure is adopted, as
shown in figure 1. The training corpus is firstly pre-trained by BERT
layer to get the word embedding vectors. Word embedding vectors
trained by BERT model contains context, syntax and semantic
information, carried by a dynamic vector. In diferent contexts, the
embedding for the same word may be diferent, which is capable of
carrying the context information of sentence. Then the embedding
vectors are fed into the BiLSTM layer. We use vanilla LSTM and
two way BiLSTM. Finally, the CRF layer takes the BiLSTM outputs
and decode them into labels we need for final annotation. Unlike
softmax, CRF can capture context tagging information and improve
the final annotation performance.</p>
      <p>
        During training, we feed the ground truth annotations to decoder
and minimize the loss in sequence level. We use adam optimizer
and the learning rate is scheduled using warming-up mechanism
following Vaswani et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
3.2
      </p>
    </sec>
    <sec id="sec-5">
      <title>Data Augmentation</title>
      <p>The size and diversity of training data can make a huge
diference when training a deep learning model. Therefore, to improve
Copyright 2020 for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
long-tail dataset entity recognition performance, we not only used
BERT model to capture potential semantic features of sentences but
also adopted two data augmentation methods in NLP field: entity
replacement and entity mask.</p>
      <p>Entity replacement (see figure 2): the entity words in the
original training corpus are randomly replaced with entities that in our
dataset entity dictionary but did not appear in the training corpus.</p>
      <p>Entity mask (see figure 3): the entity words in the original
training corpus are replaced with “unknown words” which are
generated randomly.</p>
      <p>We randomly take 20%, 50% and 100% of our original training
corpus and applied the above two data augmentation methods
respectively. Through data augmentation process, see figure 4, we
ifnally obtained six more augmented training corpus to train our
model.</p>
    </sec>
    <sec id="sec-6">
      <title>4 EXPERIMENTS AND DISCUSSION</title>
      <p>We collected full-text academic papers from ACL and ACM. We
then parsed all the PDF files into XML files using tools developed
in our own lab. We used NLTK to segment sentences and 10747988
sentences is obtained. And we created a dataset entity dictionary
of 10873 dataset entity words by crawling commonly used datasets
in the computer science field from Kaggle and other websites. By
applying a distant supervision matching method, we obtained a
training dataset with 70313 annotated sentences. We also had
human annotators labeled 200 sentences. The dataset entity mentions
in the 200 sentences are those that are infrequent and never appear</p>
      <p>Training data
Precision
0.7201
0.8167
0.8049
0.8156
0.8421
0.7385
0.7209</p>
      <p>Recall
0.6293
0.6853
0.6923
0.6503
0.6713
0.6713
0.6503</p>
      <p>F1
0.6716
0.7452
0.7444
0.7237
0.7471
0.7033
0.6838
in our 10873 dataset entity dictionary, therefore it is reasonable to
regard these entities as long-tail entity.</p>
      <p>We conducted total seven experiments including one original
corpus training and six data augmentation experiments, see table 1.
The experimental results show that the prediction results of the
model are greatly improved by adopting data augmentation
methods on six experiments. The best F1-score 0.7471 is obtained by
using entity mask(20%) and two entity replacement(20%, 50%)also
achieve F1-scores above 0.74.</p>
      <p>The results demonstrate the usefulness of data augmentation
methods on long-tail entity recognition. It also shows that data
augmentation doesn’t always work better when we augment more
data. We achieved best results on both methods by augmenting
only 20% of the training corpus. Therefore, we suggest conducting
more experiments when applying data augmentation methods as it
may have diferent results when it comes to diferent tasks.</p>
    </sec>
    <sec id="sec-7">
      <title>5 CONCLUSION</title>
      <p>In this paper, a distant supervision method is used to obtain a large
number of training data, and data augmentation is used to expand
the training data. The model performance in long tail entity
recognition is considerably improved by adopting data augmentation
mechanism, which has great theoretical and practical value. Data
augmentation shows great potential in improving the performance
of long tail entity recognition. In the future work, we plan to
conduct more experiments and employ methods such as active learning
to further improve long-tail dataset entity recognition performance.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>José</given-names>
            <surname>Esquivel</surname>
          </string-name>
          , Dyaa Albakour, Miguel Martinez, David Corney,
          <string-name>
            <given-names>and Samir</given-names>
            <surname>Moussa</surname>
          </string-name>
          .
          <article-title>On the long-tail entities in news</article-title>
          .
          <source>In European Conference on Information Retrieval</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Jason</surname>
            <given-names>W</given-names>
          </string-name>
          <string-name>
            <surname>Wei and Kai Zou</surname>
          </string-name>
          . Eda:
          <article-title>Easy data augmentation techniques for boosting performance on text classification tasks</article-title>
          .
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Gustavo</given-names>
            <surname>Aguilar</surname>
          </string-name>
          , Suraj Maharjan,
          <string-name>
            <surname>Adrián Pastor</surname>
            López-Monroy, and
            <given-names>Thamar</given-names>
          </string-name>
          <string-name>
            <surname>Solorio</surname>
          </string-name>
          .
          <article-title>A multi-task approach for named entity recognition in social media data</article-title>
          .
          <source>arXiv preprint arXiv:1906.04135</source>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Geraint</given-names>
            <surname>Duck</surname>
          </string-name>
          , Aleksandar Kovacevic, David L Robertson,
          <string-name>
            <surname>Robert Stevens</surname>
            , and
            <given-names>Goran</given-names>
          </string-name>
          <string-name>
            <surname>Nenadic</surname>
          </string-name>
          .
          <article-title>Ambiguity and variability of database and software names in bioinformatics</article-title>
          .
          <source>Journal of biomedical semantics</source>
          ,
          <volume>6</volume>
          (
          <issue>1</issue>
          ):
          <fpage>29</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Sepideh</given-names>
            <surname>Mesbah</surname>
          </string-name>
          , Christoph Lofi, Manuel Valle Torre, Alessandro Bozzon, and
          <string-name>
            <surname>Geert-Jan Houben</surname>
          </string-name>
          .
          <article-title>Tse-ner: An iterative approach for long-tail entity extraction in scientific publications</article-title>
          .
          <source>In International Semantic Web Conference</source>
          , pages
          <fpage>127</fpage>
          -
          <lpage>143</lpage>
          . Springer,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Ashish</given-names>
            <surname>Vaswani</surname>
          </string-name>
          , Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez,
          <string-name>
            <surname>Łukasz Kaiser</surname>
            , and
            <given-names>Illia</given-names>
          </string-name>
          <string-name>
            <surname>Polosukhin</surname>
          </string-name>
          .
          <article-title>Attention is all you need</article-title>
          .
          <source>In Advances in neural information processing systems</source>
          , pages
          <fpage>5998</fpage>
          -
          <lpage>6008</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>