<!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>System Report of HW-TSC on the CAPITEL NER Evaluation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lizhi Lei</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Minghan Wang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hao Yang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Shiliang Sun</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ying Qin</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daimeng Wei</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>East China Normal University</institution>
          ,
          <addr-line>Shanghai</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Huawei Translation Service Center</institution>
          ,
          <addr-line>Beijing</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <fpage>60</fpage>
      <lpage>63</lpage>
      <abstract>
        <p>In this paper, we present participation in the Named Entity Recognition and Classification evaluation organized by CAPITEL at IberLEF 2020. We mainly aim to investigate the eficiency of data augmentation in transfer learning for NER. In addition to the oficial training set, we use Spacy to annotate the Spanish news monolingual corpus to create an augmented dataset. We perform experiments on two sets of data under 4 experimental settings, the experimental result show that pre-training on the augmentation set and then fine-tuning on the oficial set (i.e. cascadingly fine-tuning) could improve the performance compared to fine-tune on any of them separately or mixed.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Named entity recognition</kwd>
        <kwd>Pre-trained language models</kwd>
        <kwd>Fine-tuning</kwd>
        <kwd>Data augmentation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Model</title>
      <p>
        Fine-tuning a pre-trained language model in downstream tasks has become a standard paradigm for
many NLP tasks like sentiment classification, NER or POS-tagging, because models for these tasks
can be easily designed as the combination of a unified encoder and a task specific classifier. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]
      </p>
      <p>
        Here we choose to use multilingual-BERT [
        <xref ref-type="bibr" rid="ref1 ref6">1, 6</xref>
        ] and distillBERT [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] as the encoder and a linear layer
as the classifier. We use the hugging-face implementation released in the transformers library [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and
their pre-trained parameters. Experimental results show that the performance of multilingual-BERT
is better than distillBERT therefore we only report results coming from the multilingual-BERT.
      </p>
      <p>
        We use cross-entropy as the loss function. Note that BERT uses WordPiece tokenizer [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] to encode
tokens, which may split a token into pieces of sub-tokens. In the hugging-face implementation, for
token  which can be split into sub-tokens  [0∶ ], only the first sub-token  0 is used to compute the
loss, this doesn’t afect un-split tokens and remains the distribution of each class unchanged.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Dataset</title>
      <sec id="sec-3-1">
        <title>3.1. CAPITEL</title>
        <p>
          As described by the organizers, the CAPITEL dataset is composed of Spanish news and has been
annotated with Person (PER), Location (LOC), Organization (ORG), and Other (OTH). The corpus has
been annotated with the BIOES format [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], where entities with a single token should be labeled as
“S-ENT", otherwise should be labeled as “B/I/E-ENT" when there are multiple tokens, representing
begin, inside and end of an entity. For example: Alex(S-PER) is(O) going(O) with(O) Marty(B-PER)
A.(I-PER) Rick(E-PER) to(O) Los(B-LOC) Angeles(E-LOC).
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Augmented</title>
        <p>To create the augmented dataset, 38,000 sentences were sampled from the WMT news translation
corpus. Then, we use Spacy to annotate the corpus and create the augmented dataset which contains
11,000 PER, 6,000 LOC, 4,000 ORG and 6,000 OTH. Note that the “MISC" annotation of Spacy is similar
to the CAPITEL’s OTH, so it can be directly converted.</p>
        <p>Table 1 shows the detail of two datasets employed in experiments, where the cap and aug represents
for the CAPITEL and the augmented set respectively. From the table we can see that the distribution
of each entity type for CAPITEL and augmented is diferent, which means the augmented set should
be used carefully to prevent from introducing such bias.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiment</title>
      <p>Basically, our experiments are conducted under four settings:
• Cap Fine-tuning on all of the oficial training data.
• Aug Fine-tuning on all of the augmented training data.
• Mix Fine-tuning on the mixture of 10000 augmented data and all of the oficial data.
• Cascade Pre-training on the all of the augmented training data and fine-tuning on the oficial
set.</p>
      <p>The first experiment can be considered as a strong baseline, which shows that fine-tuning a PLM
with in-domain data is already able to achieve an acceptable performance.</p>
      <p>The second experiment shows that fine-tuning solely on the augmented set could have a negative
impact on the performance. We consider that the distribution of each entity in the CAPITEL and
augmented data is diferent which could be a reason. Another reason might comes from the noise of
the annotation. Unlike some data augmentation method achieved by corrupting input features which
doesn’t introduce bias on the mapping of  to  , Spacy annotation is not the golden truth, we tried
to use the Spacy to tag the CAPITEL training set which achieves 51.18%, 72.03% 57.79%, 50.43% of
F1 score for the PER, LOC, ORG and the Macro respectively. This means the augmented data could
mislead the model to learn incorrect pattern, thus should be used carefully.</p>
      <p>The third experiment aims to evaluate the performance of fine-tuning on the mixture of two set.
Unfortunately, same as the second experiment, the noise of the augmented data still brings negative
influence on the performance, although could be fixed to a certain extent by the correct pattern in the
oficial data, which means that the mixture paradigm only applies to high-quality augmented data.</p>
      <p>Despite the performance was unexpected for the second experiment, we decided to continue
experiments fine-tuning the trained model with the CAPITEL training set. We can see that further
finetuning on the unbiased clean data successfully fix the biased estimation of the noisy augmented data,
at the same time, the performance improvement might comes from the more generalized knowledge
learned from the correct annotation of the augmented data.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>In this paper, we present our work in the CAPITEL NER evaluation and investigate the method of
improving performance with transfer learning and data augmentation. We find that cascadingly
finetuning a pre-trained model on the augmented set and oficial set could significantly improve the
performance. Our submission is based on this strategy and achieves the third place.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          ,
          <article-title>BERT: pre-training of deep bidirectional transformers for language understanding, in: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis</article-title>
          , MN, USA, June 2-7,
          <year>2019</year>
          , Volume
          <volume>1</volume>
          (Long and Short Papers),
          <year>2019</year>
          , pp.
          <fpage>4171</fpage>
          -
          <lpage>4186</lpage>
          . URL: https://www.aclweb.org/anthology/N19-1423/.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>V.</given-names>
            <surname>Yadav</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bethard</surname>
          </string-name>
          ,
          <article-title>A survey on recent advances in named entity recognition from deep learning models</article-title>
          ,
          <source>in: Proceedings of the 27th International Conference on Computational Linguistics</source>
          , Association for Computational Linguistics, Santa Fe, New Mexico, USA,
          <year>2018</year>
          , pp.
          <fpage>2145</fpage>
          -
          <lpage>2158</lpage>
          . URL: https://www.aclweb.org/anthology/C18-1182.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sun</surname>
          </string-name>
          , J. Han,
          <string-name>
            <given-names>C.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>A survey on deep learning for named entity recognition</article-title>
          , CoRR abs/
          <year>1812</year>
          .09449 (
          <year>2018</year>
          ). URL: http://arxiv.org/abs/
          <year>1812</year>
          .09449. arXiv:
          <year>1812</year>
          .09449.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.</given-names>
            <surname>Porta-Zamorano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Espinosa-Anke</surname>
          </string-name>
          ,
          <article-title>Overview of CAPITEL Shared Tasks at IberLEF 2020: NERC and Universal Dependencies Parsing</article-title>
          ,
          <source>in: Proceedings of the Iberian Languages Evaluation Forum (IberLEF</source>
          <year>2020</year>
          ),
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>T.</given-names>
            <surname>Wolf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Debut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sanh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chaumond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Delangue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Cistac</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rault</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Louf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Funtowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Brew</surname>
          </string-name>
          ,
          <article-title>Huggingface's Transformers: State-of-the-art natural language processing</article-title>
          , CoRR abs/
          <year>1910</year>
          .03771 (
          <year>2019</year>
          ). URL: http://arxiv.org/abs/
          <year>1910</year>
          .03771. arXiv:
          <year>1910</year>
          .03771.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>K. K</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Mayhew</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Roth</surname>
          </string-name>
          ,
          <article-title>Cross-lingual ability of multilingual BERT: an empirical study</article-title>
          ,
          <source>in: 8th International Conference on Learning Representations, ICLR</source>
          <year>2020</year>
          ,
          <string-name>
            <given-names>Addis</given-names>
            <surname>Ababa</surname>
          </string-name>
          , Ethiopia,
          <source>April 26-30</source>
          ,
          <year>2020</year>
          ,
          <year>2020</year>
          . URL: https://openreview.net/forum?id=
          <fpage>HJeT3yrtDr</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>V.</given-names>
            <surname>Sanh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Debut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chaumond</surname>
          </string-name>
          , T. Wolf,
          <article-title>DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter</article-title>
          , CoRR abs/
          <year>1910</year>
          .01108 (
          <year>2019</year>
          ). URL: http://arxiv.org/abs/
          <year>1910</year>
          .01108. arXiv:
          <year>1910</year>
          .01108.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schuster</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q. V.</given-names>
            <surname>Le</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Norouzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Macherey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Krikun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Cao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Macherey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Klingner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Shah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Johnson</surname>
          </string-name>
          , X. Liu,
          <string-name>
            <given-names>L.</given-names>
            <surname>Kaiser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gouws</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Kato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kudo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kazawa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Stevens</surname>
          </string-name>
          , G. Kurian,
          <string-name>
            <given-names>N.</given-names>
            <surname>Patil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Young</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Riesa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rudnick</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Vinyals</surname>
          </string-name>
          , G. Corrado,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hughes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Dean</surname>
          </string-name>
          ,
          <article-title>Google's neural machine translation system: Bridging the gap between human and machine translation</article-title>
          ,
          <source>CoRR abs/1609</source>
          .08144 (
          <year>2016</year>
          ). URL: http://arxiv. org/abs/1609.08144. arXiv:
          <volume>1609</volume>
          .
          <fpage>08144</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J. P. C.</given-names>
            <surname>Chiu</surname>
          </string-name>
          , E. Nichols,
          <article-title>Named entity recognition with bidirectional LSTM-CNNs, Trans</article-title>
          .
          <source>Assoc. Comput. Linguistics</source>
          <volume>4</volume>
          (
          <year>2016</year>
          )
          <fpage>357</fpage>
          -
          <lpage>370</lpage>
          . URL: https://transacl.org/ojs/index.php/tacl/article/view/ 792.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>