<!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>ComMA@FIRE 2020: Exploring Multilingual Joint Training across diferent Classification Tasks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ritesh Kumar</string-name>
          <email>ritesh78_llh@jnu.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bornini Lahiri</string-name>
          <email>bornini@hss.iitkgp.ac.in</email>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Atul Kr. Ojha</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Akanksha Bansal</string-name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Centre for Transdisciplinary Studies, Dr. Bhimrao Ambedkar University</institution>
          ,
          <addr-line>Agra</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>DSI, NUIG</institution>
          ,
          <addr-line>Galway</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Linguistics, K.M. Institute of Hindi and Linguistics, Dr. Bhimrao Ambedkar University</institution>
          ,
          <addr-line>Agra</addr-line>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Indian Institute of Technology</institution>
          ,
          <addr-line>Kharagpur</addr-line>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>Panlingua Language Processing LLP</institution>
          ,
          <addr-line>New Delhi</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, we give a description of the systems submitted to the three tracks of FIRE 2020 - Hate Speech and Ofensive Content Identification in Indo-European Languages (HASOC), Sentiment Analysis of Dravidian Languages in Code-Mixed Text and Event Detection from News in Indian Languages (EDNIL). While the first two tasks were binary and multi-class text classification problems, EDNIL was a sequence classification problem. For all the three tracks, we jointly fine-tuned mBERT, DistilBERT, RoBERTa and XLM-R using the dataset from all the languages for the given task.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;LATEX mBERT</kwd>
        <kwd>XLM-R</kwd>
        <kwd>DistilBERT</kwd>
        <kwd>Event Detection</kwd>
        <kwd>Ofensive Language</kwd>
        <kwd>Sentiment Analysis</kwd>
        <kwd>Multilingual Systems</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>• There are only a handful of languages for which the pre-trained models are available.</p>
      <p>Since pre-training is quite expensive - both in terms of computational resources and
infrastructure required as well as linguistic resources needed for building reasonably
good models - these pre-trained models are not available for a large number of languages.</p>
      <p>
        The lack of suficient resources for most of the world’s languages has been a classic problem
in NLP, resulting in a hugely imbalanced progress in the development of language technologies
for diferent languages (see [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] for an excellent analysis of this issue in NLP). One of the ways
of handling this problem is to make use of multilingual and transfer learning methods for
training the systems. In order to exploit these methods, pre-trained models such as mBERT
(multilingual BERT) and XLM-R (cross-lingual model of RoBERTa) have been made available.
      </p>
      <p>In this paper, we discuss our experiments using multilingual joint training methods for three
diferent kinds of tasks - sentiment analysis, ofensive language identification and event
detection - and report their results. All these three tasks were organised as shared tasks under the
aegis of the Forum of Information Retrieval Evaluation 2020 (FIRE 2020).</p>
    </sec>
    <sec id="sec-2">
      <title>2. The Tasks and Datasets</title>
      <p>We participated in the following tasks at FIRE 2020.</p>
      <p>
        • Sentiment Analysis of Dravidian Languages in Code-Mixed Text [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]: This task
was a message-level polarity classification task. The dataset consisted of YouTube
comments in Tamil and Malayalam (see Table 1) [3, 4]. Each comment was annotated with
one of the following categories - positive, negative, neutral and mixed emotions. In
addition to this, the task also involved a language identification task where the comments
not in the intended language were also to be identified.
• Event Detection from News in Indian Languages (EDNIL)[5]: This task involved
identifying those segments of text which contained an event within a news article. It
involved two sub-tasks - in sub-task 1, man-made and natural disasters were to be
automatically identified; in sub-task 2, sub-types of man-made disasters (16 sub-types) and
natural disasters (21 sub-types), casualties, time, place and reason of the disasters were to
be identified. The dataset was provided in 5 Indian languages - Hindi, Bengali, Marathi,
Tamil and English. We submitted our system for only sub-task 1 and 3 languages - Hindi,
Bengali and English (see Table 2).
• Hate Speech and Ofensive Content Identification in Indo-European Languages
(HASOC) [6]: This task consisted of two sub-tasks. In sub-task A, the data was
annotated as HOF (Hate Speech and Ofensive Language) and NOT (Not Ofensive). In
sub-task B, HOF instances were further classified into Hate Speech, Ofensive and
Profane. The dataset was provided in 3 languages - Hindi, English and German (see Table
3). In this task, we participated in both the sub-tasks in all the three languages.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Experiments and Results</title>
      <p>For each of the language in each of the task, we fine-tuned the following models
• cased multilingual BERT</p>
      <p>Two sets of models were trained for each of these - one was a separate model for each
language and the other was a joint multilingual model using the dataset of all the languages
available for each task. Thus for the sentiment analysis task, the multilingual model was trained
using Malayalam and Tamil datasets, for EDNIL task, Bangla, Hindi and English datasets were
Language</p>
      <p>Sub-task A</p>
      <p>Sub-task B
TOTAL</p>
      <p>NOT</p>
      <p>HOF</p>
      <p>TOTAL</p>
      <p>HATE</p>
      <p>OFFN</p>
      <p>PRFN
Hindi
English
German</p>
      <p>Train
Dev
Test
Train
Dev
Test
Train
Dev
Test
2599
354
663
3300
408
814
2000
373
526
1851
265
466
1653
199
391
1431
269
392
748
99
197
1647
209
423
569
104
134
748
99
197
1647
209
423
569
104
134
• cased multilingual DistilBERT
• XLM-R (cross-lingual, multilingual model of RoBERTa)
used and for HASOC task, Hindi, English and German datasets were used.</p>
      <p>The training was carried out using the Simple Transformers library. We used a batch size
of 12, maximum sequence length of 512 and a learning rate of 6e-5 for fine-tuning each of the
models. The models were trained for 15 epochs. For all the other hyperparameters, the default
setting of the library was retained. The results of each of the model for each of the task is
summarised in Table 4. In this table we report the weighted F-score of all the systems that we
submitted for diferent tasks.</p>
      <p>In addition to this, the Dravidian sentiment analysis task involved an additional language
classification task. We used an SVM classifier with character 5-gram and word unigram as
features for this task. We experimented with diferent combinations of character bigram to
5-gram and word unigram to trigram feature set to find the optimum features for the language
identification. In this task, the first step was that of language identification. If the language was
either Tamil or Malayalam then the test instance was classified for its sentiment polarity. The
scores reported here is the final score of the classification pipeline and includes errors made by
the language identification system.</p>
      <p>For EDNIL, we did not submit the models trained on individual languages because there was
no significant diference between the multilingual and the monolingual models. One reason
for this apparent failure of joint multilingual training could be the kind of data released for
EDNIL. The dataset is taken from the newspapers, which are heavily edited (and so kind of
not very natural) and removes all the characteristics of a natural multilingual communication
such as borrowings and code-mixing. Moreover the three languages that we jointly trained on
- Hindi, Bangla and English - all three did not share the script. Hence it is quite natural that
knowledge (or more appropriately patterns) from one language could not be transferred to the
other languages, hence, no improvement is noticed with joint training.</p>
      <p>However, in case of Dravidian sentiment analysis tasks, the dataset was taken from social
media which are more naturalistic and depicts the properties of multilingual communication
such as code-mixing and switching as well as the use of the same script (Roman) for writing all
languages including Malayalam and Tamil. As such we witness knowledge transfer from one
language to the other in case of joint multilingual training in these tasks.</p>
      <p>For HASOC, the complete test set is not yet released and the organisers have also not released
the scores for each model submitted to the task separately. However, only 15% of the test set was
supposed to be unseen - the labels for rest of the instances used for testing has been released
by the organisers. So the scores reported here are those obtained on the released test set (and
so do not exactly match those on the leaderboard since those scores are based on the additional
test set).</p>
      <p>In general, we see that the joint training across diferent tasks and languages have yielded
marginal improvements in performance. One of the reasons could be the small dataset size for
all the languages. Generally in cases of multilingual training at least one of the languages have
a relatively large dataset and the knowledge from that dataset is transferred to other languages.
However, because of lack of this, the improvement is marginal but nevertheless joint training
seems to give some improvement.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>In this paper, we have presented a description of our system submitted to three tracks at FIRE
2020 - Sentiment Analysis for Dravidian Languages, EDNIL and HASOC. We have explored
multilingual joint training of three transformers-based models - mBERT, mDistilBERT and
XLM-R - and evaluated their performance vis-a-vis monolingual models in each of the tasks.
The results demonstrate that multilingual joint training provides significant advantage in
processing what has been traditionally termed ’dificult’ (or noisy) datasets - the naturalistic,
multilingual, multi-scriptal social media conversations - while there is no significant gain when
the datasets are from what has been traditionally termed ’clean’, carefully edited datasets from
newspapers (in case of EDNIL). Of course, since these results are obtained on diferent tasks,
in order to validate these results, they also need to be tested on the same task with diferent
kinds of datasets (or even better with the two versions of the same dataset). However,
notwithstanding this extra variable, it is quite apparent that multilingual methods are quite efective
for classification and processing of multilingual documents while not so for the monolingual
documents.
[3] B. R. Chakravarthi, V. Muralidaran, R. Priyadharshini, J. P. McCrae, Corpus creation for
sentiment analysis in code-mixed Tamil-English text, in: Proceedings of the 1st Joint
Workshop on Spoken Language Technologies for Under-resourced languages (SLTU) and
Collaboration and Computing for Under-Resourced Languages (CCURL), European Language
Resources association, Marseille, France, 2020, pp. 202–210. URL: https://www.aclweb.org/
anthology/2020.sltu-1.28.
[4] B. R. Chakravarthi, N. Jose, S. Suryawanshi, E. Sherly, J. P. McCrae, A sentiment analysis
dataset for code-mixed Malayalam-English, in: Proceedings of the 1st Joint Workshop on
Spoken Language Technologies for Under-resourced languages (SLTU) and Collaboration
and Computing for Under-Resourced Languages (CCURL), European Language Resources
association, Marseille, France, 2020, pp. 177–184. URL: https://www.aclweb.org/anthology/
2020.sltu-1.25.
[5] B. Dave, S. Gangopadhyay, P. Majumder, P. Bhattacharya, S. Sarkar, S. L. Devi, Overview of
the FIRE 2020 EDNIL track: Event Detection from News in Indian Languages, in: P. Mehta,
T. Mandl, P. Majumder, M. Mitra (Eds.), Working Notes of FIRE 2020 - Forum for
Information Retrieval Evaluation, Hyderabad, India, December 16-20, 2020, CEUR Workshop
Proceedings, CEUR-WS.org, 2020.
[6] T. Mandl, S. Modha, G. K. Shahi, A. K. Jaiswal, D. Nandini, D. Patel, P. Majumder, J. Schäfer,
Overview of the HASOC track at FIRE 2020: Hate Speech and Ofensive Content
Identification in Multiple Languages), in: Working Notes of FIRE 2020 - Forum for Information
Retrieval Evaluation, CEUR, 2020. URL: http://ceur-ws.org/.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Santy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Budhiraja</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Bali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Choudhury</surname>
          </string-name>
          ,
          <article-title>The state and fate of linguistic diversity and inclusion in the NLP world, in: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Association for Computational Linguistics</article-title>
          , Online,
          <year>2020</year>
          , pp.
          <fpage>6282</fpage>
          -
          <lpage>6293</lpage>
          . URL: https://www.aclweb.org/anthology/2020.acl-main.
          <volume>560</volume>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <year>2020</year>
          .acl-main.
          <volume>560</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>B. R.</given-names>
            <surname>Chakravarthi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Priyadharshini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Muralidaran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Suryawanshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Jose</surname>
          </string-name>
          , E. Sherly,
          <string-name>
            <given-names>J. P.</given-names>
            <surname>McCrae</surname>
          </string-name>
          ,
          <article-title>Overview of the track on Sentiment Analysis for Dravidian Languages in Code-Mixed Text</article-title>
          , CEUR Workshop Proceedings, CEUR-WS.org,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>