<!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>
      <journal-title-group>
        <journal-title>Dec</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>How good is NLLB-200 for low-resource languages? A study on Genoese</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Davide Buscaldi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paolo Rosso</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>LIPN, CNRS UMR 7030, Université Sorbonne Paris Nord</institution>
          ,
          <addr-line>99 av. Jean-Baptiste Clément, 93430, Villetaneuse</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>PRHLT, Universidad Politécnica de Valencia</institution>
          ,
          <addr-line>Camino de Vera s/n, 46022, Valencia</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>02</volume>
      <issue>2023</issue>
      <fpage>0000</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>English. In this paper we analyze the performance of the NLLB-200 models from Meta AI on a manually built parallel corpus of Ligurian (specifically, the Genoese variant), consisting in 283 sentences and their respective Italian translation. Our experiments highlight some issues with NLLB-200, especially regarding local knowledge, deriving from some choices done for the training process. Italiano. In quest'articolo analizziamo la performance del modello NLLB-200 di Meta AI su un corpus parallelo, costruito manualmente, di 283 frasi in genovese e la loro rispettiva traduzione in italiano. Mostriamo i punti deboli di NLLB-200, in particolare il trattamento dei toponimi ed altri termini in relazione con un contesto locale ligure, evidenziando alcuni problemi derivati dalle scelte fatte nel training di questo modello.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;NLLB</kwd>
        <kwd>Machine Translation</kwd>
        <kwd>Genoese</kwd>
        <kwd>Endangered Languages</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        lem that may afect MT tools and methods. In particular,
the syntax of Ligurian has not been completely
standardNLLB (No Languages Left Behind) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is a collection of ised: many variants of the same word may exist, even
language models created by Meta AI to fill the void left when they are pronounced in the same way, due to
variin Machine Translation (MT) for some low- and very ous reasons. First of all, the local variants of Ligurian, but
low-resource languages. NLLB-200 is the latest model also because the language has been passed down from
and is able to provide MT for 200 languages, including a generation to another one mostly in an oral way. For
some that had never been considered before. One of these instance, in Monegasque, the word “white" is written as
languages is Ligurian, an endangered language that is giancu while in Genoese (the predominant variant) it is
spoken mainly in the Liguria region in Italy, Monaco written as gianco3. This problem has been well exposed
(where it is called Monegasque), and some small islands in the work of [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], which also cite the lack of regulatory
in the Mediterranean Sea (Carloforte and Calasetta in bodies as one of the sources of variations. In their study,
Sardinia). they propose a corpus of normalized and unnormalized
      </p>
      <p>The content in Ligurian on the web is very scarce. The texts in Ligurian to train a neural model for the
normalmain source is Wikipedia, which has only 11, 1721 ar- ization of Ligurian texts. The example in Figure 1 allows
ticles in Ligurian, many of them being a bit more than to appreciate the high variability of Ligurian spelling.
drafts. In comparison, the number of articles in Welsh,
which has an estimated equivalent number of native
speakers (500, 000) is twenty times as much as Ligurian.2
This diference is easily explained by the fact that Welsh
is an oficial language, supported by the local government
while Ligurian is mostly orally spoken.</p>
      <p>The rarity of content in Ligurian is not the only
prob</p>
      <p>Given this premise, it is important to evaluate whether
the NLLB-200 model is able to deal with these
problems. For this reason, we conducted an evaluation by
composing a test dataset in Genoese that was not used
for NLLB training. The copyright-free subset of this</p>
      <sec id="sec-1-1">
        <title>3https://fr.wikipedia.org/wiki/Monegasque</title>
        <p>dataset is available at the following address: h t t p s : cross-entropy with respect to the word-level distribution
//github.com/dbuscaldi/zeneize. of the teacher model.</p>
        <p>In the following section we describe the NLLB-200
model and how the training has been carried out. In
Section 3 we show the experiments carried out on our 3. Experiments and Results
data set and discuss the results. Finally, in Section 4
we draw some conclusions of this analysis and propose
some ideas to improve the model on the basis of this
experimentation.</p>
        <p>
          We collected a dataset of texts in Genoese from three
diferent sources. First of all, 95 lines from two of the
most famous songs of Fabrizio De André, “Crêuza de
mä" (small path to the sea) and “’A çimma" (the cima is a
typical Genoese dish) with their respective translation in
2. NLLB-200 Italian found on the oficial Fondazione De André page 5
(retrieved on 2022-08-13), and the popular song “Trilli
To be able to interpret the results we must first take a bet- trilli". Then, 188 sentences from “Zêna e contórni", a
ter look at NLLB-200: the dataset on which it was trained, translation in Genoese from Charles Dickens section on
and the characteristics of NLLB-200 and the models used Genoa, Italy, from his “Pictures of Italy" work. We used
in our experiments. the wikisource text6 and an Italian translation obtained
from the English one with Deepl7.
2.1. Training Data We applied the NLLB-200 models on this dataset,
obtaining the results in Tables 1 and 2. We calculated the
The training data for Ligurian were created by compos- results using SacreBLEU [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], in particular the measures
ing a set of 6, 193 professionally-translated sentences in spBLEU [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] with flores-200 tokenization (as in the NLLB
the Wikipedia domain, named NLLB-Seed4 [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Data for paper), the character n-gram based measure chrF [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], and
NLLB-Seed was sampled from Wikimedia’s “List of arti- TER (Translation Error Rate) [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
cles every Wikipedia should have", a collection of 10,000 The time required to run the translation varied
considWikidata IDs corresponding to notable topics in diferent erably from the dist-600M (about 20 minutes) to the 3.3B
ifelds of knowledge and human activity. These are split model (about 3 hours and 45 minutes). The intermediate
into 11 categories such as People, History, Philosophy size models, 1.3B parameters took about 45 minutes on
and Religion, Geography. NLLB developers note that half average to process the whole dataset. All these values
the data for Ligurian were first translated from English were obtained on a CPU 2,6 GHz Intel Core i7 (no GPU
to Italian, then translated from Italian to Ligurian while acceleration used) and 16GB RAM.
the other half was translated directly from English. It can As it can be seen, the results are quite appalling even
be noted that this process is covering English language with the largest model, casting some doubts on the
usdomain knowledge rather than knowledge related to the ability of the NLLB-200 model for Genoese. It can be
local language. we will come back to this aspect later observed that all models are having more problems with
during our evaluation. the translation from Italian to Genoese than in the
opposite direction. As expected, in most cases, the larger
2.2. Models the model, the better the results, although the
improvements in the Italian-Genoese translation are lower than
The NLLB-200 model is an encoder-decoder model that in Genoese-Italian. TER values higher than 100 indicate
makes the most out of the LASER-3 embeddings [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. that the models are overgenerating, producing sequences
LASER-3 are multilingual embeddings that focus on train- that are longer than the reference ones. This is
particuing multiple language family-specific representations. larly evident in the songs subset, in the Italian to Genoese
This means that embeddings trained for Italian will still direction.
have a degree of similarity to other embeddings in the An inspection of the results in Genoese shows some
same family of languages (i.e., Romance languages). The interesting outputs of the models. Toponyms are often
ifnal translation models come in various configurations, translated incorrectly. For instance, let’s consider the
distilled and non-distilled. The non-distilled models have Ligurian capital, Genova, which is mentioned 9 times in
3.3B and 1.3B parameters, while the distilled ones have our dataset. In the Italian-Genoese direction, only NLLB
1.3B and 600M parameters. Distillation for these mod- 3.3B translates it correctly in 3 out of 9 cases. NLLB
els is based on online word-level distillation [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ], which 1.3B once translates “Genova" into “Genoa" instead of
means that the student model is trained on the training “Zena" and it always keeps “Genova" elsewhere. NLLB
data but with an additional objective: to minimize the
        </p>
      </sec>
      <sec id="sec-1-2">
        <title>4https://github.com/facebookresearch/fairseq/tree/nllb</title>
      </sec>
      <sec id="sec-1-3">
        <title>5http://www.fabriziodeandre.it/ 6https://lij.wikisource.org/wiki/Zêna_e_contórni 7https://www.deepl.com/translator</title>
        <p>Model
NLLB dist-600M
NLLB dist-1.3B
NLLB 1.3B
NLLB 3.3B
spBLEU
dist-600M is never able to translate correctly “Genova" for for..."). The larger model (dist-1.3B) is not immune to
into “Zena", it always translates it the same as in Italian this behaviour although it happens only 2 times instead
(Genova). Finally, NLLB dist-1.3B correctly translates it of 9. The non-distilled models don’t present this problem.
6 times. The problem seems also to afect other proper The fact that the models fall into this kind of repetition
nouns, such as Saint Peter (San Pietro in Italian) which could be due to the lack of suficient training data for
is correctly translagted in Genoese as “San Pê". In fact, the word-based online distillation process. Therefore the
is translated as “San Peixe", which is Portuguese for fish, probability distribution for the tokens is skewed towards
in both distilled models. The 3.3B model translates it as some frequent words (“pe" - for, “ti" - you, “ben" - well).
“San Pêo" and the 1.3B one translates it as “San Peçio". We observed that the minimum frequency in the
NLLBBoth these translations make no sense in Genoese. seed dataset of words that are repeated is 39 (for the word</p>
        <p>In the Genoese-Italian direction, only NLLB dist-1.3B “sciâ": probably as part of “in sciâ" - on top of).
translates “Zêna" correctly in 3 out of 9 cases. Both 1.3B
models translate in one case it as “Ginevra" (Geneva,
in Switzerland). Other spelling errors show “Giena" by 4. Conclusions
the dist-600M model and “Gênes" (in French instead of
Italian) by the 3.3B model. Looking into the tokenizer From our preliminary analysis, carried out on a dataset
we observed that “Genova" is not in the dictionary and specific to the Genoese culture, we can afirm that
curis tokenized as Gen-ova, and “Zêna" is tokenized as Z- rently NLLB-200 is not good enough to deal with Genoese
êna. On the other hand, “San Pê" is correctly translated texts or to translate text into Genoese. In particular, we
by all models. Due to the output occurring sometimes found out that local toponyms are dificult to translate:
in diferent languages than the target ones, we suspect how good is an MT tool that is not able to correctly
transthat the previous errors may result from the LASER-3 late the name of the largest city where the language is
embeddings which are language-family based. spoken or the name of the language itself? Given the</p>
        <p>Both distilled models fall into repetitions. For instance, information provided regarding NLLB-200 models, we
in the Dickens text, NLLB dist-600M translates “Ma, per can identify two main elements explaining this behaviour.
il momento, gironzolo qui intorno, in tutti i buchi e gli The first one is the training data: they do not cover
loangoli del quartiere, in un perpetuo stato di forzata sor- cal information, but general English Wikipedia articles,
presa" (“But, as yet, I stroll about here, in all the holes and so they lack to provide the context in which Genoese
corners of the neighbourhood, in a perpetual state of for- is usually spoken. The second one is the tokenization
process and the LASER-3 embeddings: given the high
lorn surprise") into “Ma, pe-o momento, o l’é in sciâ çitae, spelling variability of the Ligurian language, we suspect
in tutti i buchi e in tutti i cantoni do quartiere, in un stato that the tokenization process may not be precise and that
dneo wso,rhpereissâofnortçoâp poef tpheepceitpye, ipneaplletphee pheolpees..a."n(d“Bcourtn,eforsr it may map some tokens into a position in the embedding
of the neighbourhood, in a state of forced surprise for for space that does not correspond to their actual
“meaning", maybe also because of a sort of interference from
other Western Romance languages that are very close to
Ligurian.</p>
        <p>
          However, NLLB-200 is a big step forward making
endangered languages such as Ligurian and its variants
available to everyone. From our point of view, we think
that NLLB-200 could be improved in various ways, for
instance fine-tuning the model on more “local" datasets;
and possibly including knowledge regarding
Out-OfVocabolary words that are often named entities, for
instance with the methods proposed by [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], or integrating
dictionaries to deal with named entities.
        </p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Acknowledgments</title>
      <sec id="sec-2-1">
        <title>This work is supported/ partially supported by a public grant overseen by the IdEx Université Paris Cité (ANR-18IDEX-0001) as part of the Labex Empirical Foundations of Linguistics - EFL.</title>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Costa-jussà</surname>
          </string-name>
          , J.
          <string-name>
            <surname>Cross</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          <string-name>
            <surname>Çelebi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Elbayad</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Heafield</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Hefernan</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          <string-name>
            <surname>Kalbassi</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Lam</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Licht</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Maillard</surname>
          </string-name>
          , et al.,
          <article-title>No language left behind: Scaling human-centered machine translation</article-title>
          ,
          <source>arXiv preprint arXiv:2207.04672</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Lusito</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Ferrante</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Maillard</surname>
          </string-name>
          ,
          <article-title>Text normalization for low-resource languages: the case of ligurian</article-title>
          ,
          <source>in: Proceedings of the Sixth Workshop on the Use of Computational Methods in the Study of Endangered Languages</source>
          ,
          <year>2023</year>
          , pp.
          <fpage>98</fpage>
          -
          <lpage>103</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>K.</given-names>
            <surname>Hefernan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Çelebi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Schwenk</surname>
          </string-name>
          ,
          <article-title>Bitext mining using distilled sentence representations for lowresource languages</article-title>
          ,
          <source>arXiv preprint arXiv:2205.12654</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Rush</surname>
          </string-name>
          ,
          <article-title>Sequence-level knowledge distillation</article-title>
          ,
          <source>in: Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing</source>
          , Association for Computational Linguistics, Austin, Texas,
          <year>2016</year>
          , pp.
          <fpage>1317</fpage>
          -
          <lpage>1327</lpage>
          . URL: https://aclantholo gy.org/D16-1139. doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>D16</fpage>
          -1139.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Post</surname>
          </string-name>
          ,
          <article-title>A call for clarity in reporting bleu scores</article-title>
          , arXiv preprint arXiv:
          <year>1804</year>
          .
          <volume>08771</volume>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>T.</given-names>
            <surname>Kudo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Richardson</surname>
          </string-name>
          ,
          <article-title>Sentencepiece: A simple and language independent subword tokenizer and detokenizer for neural text processing</article-title>
          ,
          <source>in: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>66</fpage>
          -
          <lpage>71</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Popović</surname>
          </string-name>
          ,
          <article-title>chrf: character n-gram f-score for automatic mt evaluation</article-title>
          ,
          <source>in: Proceedings of the tenth workshop on statistical machine translation</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>392</fpage>
          -
          <lpage>395</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Snover</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Dorr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Schwartz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Micciulla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Makhoul</surname>
          </string-name>
          ,
          <article-title>A study of translation edit rate with targeted human annotation</article-title>
          ,
          <source>in: Proceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers</source>
          ,
          <year>2006</year>
          , pp.
          <fpage>223</fpage>
          -
          <lpage>231</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Waldendorf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Birch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Hadow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. V.</given-names>
            <surname>Micele</surname>
          </string-name>
          <string-name>
            <surname>Barone</surname>
          </string-name>
          ,
          <article-title>Improving translation of out of vocabulary words using bilingual lexicon induction in low-resource machine translation</article-title>
          ,
          <source>in: Proceedings of the 15th biennial conference of the Association for Machine Translation in the Americas (Volume</source>
          <volume>1</volume>
          : Research Track),
          <article-title>Association for Machine Translation in the Americas, Orlando</article-title>
          , USA,
          <year>2022</year>
          , pp.
          <fpage>144</fpage>
          -
          <lpage>156</lpage>
          . URL: https://aclanthology.org/
          <year>2022</year>
          .amta-research.
          <volume>11</volume>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>