<!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>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Fine tuning based Domain Adaptation for Machine Translation of Low Resource Indic Languages</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Amulya Ratna Dash</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Harpreet Singh Anand</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yashvardhan Sharma</string-name>
          <email>yash@pilani.bits-pilani.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science and Information Systems, Birla Institute of Technology and Science</institution>
          ,
          <addr-line>Pilani, Jhunjhunu</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Low resource Machine Translation</institution>
          ,
          <addr-line>NLLB, BART, IndicTrans, Sentence Similarity</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Rajasthan, India</institution>
          ,
          <addr-line>333031</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <fpage>15</fpage>
      <lpage>18</lpage>
      <abstract>
        <p>This paper describes the proposed system for the machine translation of Indic language pairs Odia Hindi and Hindi - Odia for the General Translation and Domain Specific Translation tasks proposed by Forum of Information Retrieval Evaluation(FIRE) in 2023. For general task, the proposed system uses an ensemble of two pre-trained models and for domain specific task, the proposed system uses a pretrained model fine-tuned using domain specific training data filtered from open source datasets.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>CEUR
ceur-ws.org</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>CEUR
Workshop
Proceedings</p>
    </sec>
    <sec id="sec-3">
      <title>2. Related Work</title>
      <p>
        The emergence of Encoder-Decoder models, particularly the Transformer neural network
architecture proposed by Vaswani et al.[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] in 2017, was a notable breakthrough in the domain of
Natural Language Processing (NLP). Attention mechanisms [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] are utilized by transformers in
order to process sequences of words in a simultaneous manner, hence enabling the generation
of translations that are more contextually relevant and coherent. Transformer-based models
have proved to outperform other encoder - decoder models based on RNN and LSTM[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The
Transformer model uses multi-head self-attention mechanisms and position wise feed-forward
networks.
      </p>
      <p>
        Recent literature indicates that Transformer models pre-trained on large corpora can acquire
universal language representations that aid in subsequent tasks. The models are pre-trained on a
variety of self-supervised tasks, including predicting a masked word based on its context. Once
a model has been pre-trained, it can be fine-tuned on downstream datasets as opposed to being
trained from inception. GPT [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ][
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], BERT[8], and BART[9] are examples of transformer-based
pre-trained language models that have had tremendous success in NLP because of their ability
to learn universal language representations from large volumes of unlabeled text data and then
transfer this knowledge to downstream tasks.
      </p>
      <p>Yin et al.[10] proposed a method for using pre-trained Natural Language Inference(NLI) models
as a ready-made zero-shot sequence classifiers. The method works by posing the sequence
to be classified as the NLI premise and to construct a hypothesis from each candidate label.
IndicBART[11] is a pre-trained BART model for Indic languages, specifically trained for
Assamese, Bengali, Gujarati, Hindi, Marathi, Odia, Punjabi, Kannada, Malayalam, Tamil, Telugu
and English. Recently transformer-based models specialized for machine translation of Indic
languages like IndicTrans[12] and IndicTrans2[13] are available, which are trained on largest
available Indic language parallel corpora namely Samanantar and BPCC respectively. IndicTrans
model was trained for 11 Indic languages whereas IndicTrans2 was trained fore all the 22
scheduled Indian languages. NLLB(No Language Left Behind)[ 14], a massively multilingual machine
translation model has proven to be a breakthrough in the high-quality translation of around 200
languages across the world. MuRIL(Multilingual Representations for Indian Languages)[15],
is a multilingual Language Model specifically built for Indic languages supporting around 17
languages. MuRIL outperforms multilingual BERT (mBERT) on all NLP tasks.</p>
    </sec>
    <sec id="sec-4">
      <title>3. Dataset</title>
      <p>The dataset utilized for training is extracted from Bharat Parallel Corpus Collection (BPCC)[13],
released by AI4Bharat. BPCC is comprised of two parts - BPCC-Mined and BPCC-Human
totalling approximately 230 million bi-text pairs. BPCC-Mined contains about 228 million
pairs, with nearly 126 million pairs newly added as a part of this work. BPCC-Human, on
the other hand consists of 2.2 million gold standard English-Indic pairs, with an additional
644K bitext pairs from English Wikipedia sentences (forming the BPCC-H-Wiki subset) and
139K sentences covering everyday use cases (forming the BPCC-H-Daily subset). However the
dataset contains the text in a particular Indian Language and its translation in English. Thus,
for training Indic-Indic translation model, we used English as a pivot language to translate
Indic-English and then English-Indic language. The availability of direct Indic-Indic parallel
dataset may help build a better machine translation model as compared to dataset created via
pivoting.</p>
    </sec>
    <sec id="sec-5">
      <title>4. Proposed Technique</title>
      <p>The proposed technique uses corpus filtering methods, pretrained models, and fine-tuned
multilingual models to develop general and domain-specific machine translation systems.</p>
      <sec id="sec-5-1">
        <title>4.1. General Translation Task</title>
        <p>The proposed system translates the test set provided by task organizers using NLLB and
IndicTrans models. We receive two diferent versions of translated output for Odia → Hindi
and Hindi → Odia using both the models. For Odia → Hindi task, the sentence embeddings
of the Odia test set sentences, and their NLLB1 and IndicTrans2 Hindi translations using the
MuRIL3 model are generated. Similarly for Hindi → Odia, we generate the sentence embeddings
of the Hindi test set sentences, and both versions of Odia translations. Then, we calculate
the sentence similarity via embedding cosine similarity of each version of the translations
with the corresponding input sentences in the original language and accept the version with
higher cross-lingual semantic similarity. We now have Hindi and Odia test data with their most
appropriate Odia and Hindi translations respectively.</p>
      </sec>
      <sec id="sec-5-2">
        <title>4.2. Domain Specific Translation Task</title>
        <p>Domain specific task requires translation models specialized for the governance and healthcare
domains.</p>
        <sec id="sec-5-2-1">
          <title>1https://huggingface.co/facebook/nllb-200-distilled-600M 2https://github.com/AI4Bharat/indicTrans 3https://huggingface.co/google/muril-base-cased</title>
          <p>4.2.1. Domain specific Dataset
We classified the English sentences from English-Hindi(625K Hindi sentences) and
EnglishOdia(661K Odia sentences) dataset of BPCC using the BART-MNLI4 model via Zero-Shot
Classification.
4.2.2. Fine Tuning of NLLB
The AutoTokenizer from the NLLB model was used to tokenize the inputs. The domain-specific
dataset was used to train(fine-tune) the NLLB model in batches of 32 and trained for 5 epochs
with a learning rate of 2e-5. Using the same training parameters, we trained four fine-tuned
models, Governance specific Hindi-Odia and Odia-Hindi, and Healthcare specific Hindi-Odia
and Odia-Hindi model.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Results</title>
      <p>The Table 2 and Table 3 show the oficial results of our proposed system for General Translation
Task and Domain Specific Translation Task respectively.</p>
      <sec id="sec-6-1">
        <title>4https://huggingface.co/facebook/bart-large-mnli</title>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>6. Conclusion and Future Work</title>
      <p>In this paper, we describe our proposed system for machine translation of low-resource Indic
language pairs Hindi → Odia and Odia → Hindi, which achieved the second rank (chRF score)
for general and domain specific translations in the MTIL track. The proposed system received
COMET scores greater than 0.8 on 5 out of 6 sub-tasks, which validates that the translations
generated by the models were highly accurate and fluent.</p>
      <p>In the future, we would further increase the size of domain-specific training data by exploring
other available datasets and data augmentation techniques. Also, we would validate our system
for machine translation of other Indic language pairs.
[8] J. Devlin, M.-W. Chang, K. Lee, K. Toutanova, Bert: Pre-training of deep bidirectional
transformers for language understanding, arXiv preprint arXiv:1810.04805 (2018).
[9] M. Lewis, Y. Liu, N. Goyal, M. Ghazvininejad, A. Mohamed, O. Levy, V. Stoyanov, L.
Zettlemoyer, Bart: Denoising sequence-to-sequence pre-training for natural language generation,
translation, and comprehension, arXiv preprint arXiv:1910.13461 (2019).
[10] W. Yin, J. Hay, D. Roth, Benchmarking zero-shot text classification: Datasets, evaluation
and entailment approach, arXiv preprint arXiv:1909.00161 (2019).
[11] R. Dabre, H. Shrotriya, A. Kunchukuttan, R. Puduppully, M. M. Khapra, P. Kumar, Indicbart:
A pre-trained model for indic natural language generation, arXiv preprint arXiv:2109.02903
(2021).
[12] G. Ramesh, S. Doddapaneni, A. Bheemaraj, M. Jobanputra, R. Ak, A. Sharma, S. Sahoo,
H. Diddee, D. Kakwani, N. Kumar, et al., Samanantar: The largest publicly available
parallel corpora collection for 11 indic languages, Transactions of the Association for
Computational Linguistics 10 (2022) 145–162.
[13] J. Gala, P. A. Chitale, R. AK, S. Doddapaneni, V. Gumma, A. Kumar, J. Nawale, A.
Sujatha, R. Puduppully, V. Raghavan, et al., Indictrans2: Towards high-quality and
accessible machine translation models for all 22 scheduled indian languages, arXiv preprint
arXiv:2305.16307 (2023).
[14] M. R. Costa-jussà, J. Cross, O. Çelebi, M. Elbayad, K. Heafield, K. Hefernan, E. Kalbassi,
J. Lam, D. Licht, J. Maillard, et al., No language left behind: Scaling human-centered
machine translation, arXiv preprint arXiv:2207.04672 (2022).
[15] S. Khanuja, D. Bansal, S. Mehtani, S. Khosla, A. Dey, B. Gopalan, D. K. Margam, P. Aggarwal,
R. T. Nagipogu, S. Dave, et al., Muril: Multilingual representations for indian languages,
arXiv preprint arXiv:2103.10730 (2021).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Gangopadhyay</surname>
          </string-name>
          , G. Epili,
          <string-name>
            <given-names>P.</given-names>
            <surname>Majumder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Appicharla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ekbal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ahsan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Sharma</surname>
          </string-name>
          , Overview of mtil track at fire 2023:
          <article-title>Machine translation for indian languages</article-title>
          ,
          <source>in: Proceedings of the 15th Annual Meeting of the Forum for Information Retrieval Evaluation</source>
          ,
          <string-name>
            <surname>FIRE</surname>
          </string-name>
          <year>2023</year>
          , Goa,
          <source>India. December 15-18</source>
          ,
          <year>2023</year>
          , ACM,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Gangopadhyay</surname>
          </string-name>
          , G. Epili,
          <string-name>
            <given-names>P.</given-names>
            <surname>Majumder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Appicharla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ekbal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ahsan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Sharma</surname>
          </string-name>
          , Overview of mtil track at fire 2023:
          <article-title>Machine translation for indian languages</article-title>
          , in: K. Ghosh,
          <string-name>
            <given-names>T.</given-names>
            <surname>Mandl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Majumder</surname>
          </string-name>
          , M. Mitra (Eds.), Working Notes of FIRE 2023 -
          <article-title>Forum for Information Retrieval Evaluation, Goa, India</article-title>
          .
          <source>December 15-18</source>
          ,
          <year>2023</year>
          , CEUR Workshop Proceedings, CEUR-WS.org,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vaswani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Shazeer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Parmar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Uszkoreit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. N.</given-names>
            <surname>Gomez</surname>
          </string-name>
          , Ł. Kaiser,
          <string-name>
            <surname>I. Polosukhin</surname>
          </string-name>
          ,
          <article-title>Attention is all you need</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>30</volume>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>I.</given-names>
            <surname>Sutskever</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Vinyals</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q. V.</given-names>
            <surname>Le</surname>
          </string-name>
          ,
          <article-title>Sequence to sequence learning with neural networks</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>27</volume>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bahdanau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Cho</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y. Bengio,</surname>
          </string-name>
          <article-title>Neural machine translation by jointly learning to align and translate</article-title>
          ,
          <source>arXiv preprint arXiv:1409.0473</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Radford</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Narasimhan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Salimans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Sutskever</surname>
          </string-name>
          , et al.,
          <article-title>Improving language understanding by generative pre-training (</article-title>
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Radford</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Child</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Luan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Amodei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Sutskever</surname>
          </string-name>
          , et al.,
          <article-title>Language models are unsupervised multitask learners</article-title>
          ,
          <source>OpenAI blog 1</source>
          (
          <year>2019</year>
          )
          <article-title>9</article-title>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>