Elamur Research

Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuning

Paper · 2022 · Jesujoba O. Alabi, David Ifeoluwa Adelani, Marius Mosbach et al.

Summary

A system trained to read text in many languages can still struggle with a language that barely appears in its training data. One way to improve it is to take an existing language model, give it more text in the language of interest, and continue training. This is language-adaptive fine-tuning, or LAFT. It works, but repeating it for every language produces a collection of separately stored systems. The authors ask whether the same starting point can be adapted jointly and still work about as well as its individually specialized counterparts. This matters when researchers want to work across languages and have limited storage or access to powerful hardware.

Their method, multilingual adaptive fine-tuning (MAFT), continues training on a mixture of unlabeled text from 17 African languages as well as English, French, and Arabic. The training exercise stays the same as before adaptation. Some pieces of text are hidden, and the system learns to recover them from context. The authors also make a compact XLM-R variant by dropping many entries from its vocabulary and their corresponding parameters. They reserve room for pieces of Amharic written in Ge’ez, which a frequency count over the combined corpus tends to miss, while retaining frequent pieces from the other texts. The resulting AfroXLMR-small has 140M parameters, compared with 270M for XLM-R-base. Vocabulary coverage still suffers on some languages, particularly Amharic and Arabic.

The authors test adaptation on AfriBERTa and members of the XLM-R family. Their evaluations ask whether a system can locate and label names, identify the topic of a news item, or judge the sentiment of a tweet. The full-size AfroXLMR-base is close to separately adapted XLM-R-base systems on all three tasks. Its average named entity recognition test F1, for instance, is 81.8, compared with 82.3 for LAFT. The joint adaptation produces a single starting checkpoint for task training across languages. The paper also introduces African News Topic Classification (ANTC), with datasets built from publishers’ categories for Lingala, Naija, Malagasy, Somali, and isiZulu.

The paper separately tests whether a system taught to recognize names using labeled English news can perform that task in African languages using unlabeled text for language adaptation. Training the language-specific components on news generally helps, and AfroXLMR-base gives those components a stronger foundation. Lottery Ticket Sparse Fine-tuning, which adapts a small selection of parameters for a language or task, achieves the strongest average among the zero-shot systems tested. The authors release their code and data, along with AfroXLMR-base, AfroXLMR-small, AfroXLMR-mini, and the language-specific components.

Deep dive: Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuning

The paper shows how multilingual adaptive fine-tuning makes XLM-R more useful for African languages and how vocabulary pruning makes it smaller. · about 34 minutes to read

The problem and its context

What a multilingual starting point provides

Pretraining gives a system a chance to learn from ordinary text before it sees an annotated task. For a task like named entity recognition, the annotated examples specify which stretches of text refer to people, organizations, or places. A researcher can begin with a pretrained checkpoint, meaning a saved set of parameters, and use those examples to teach it to make the required distinctions. The checkpoint has already had practice using context to interpret text. How much of that practice carries over depends in part on the languages represented in its original training and on how its vocabulary represents the new input.

A multilingual checkpoint changes who can make use of that starting point. Text and annotations are unevenly available across languages. A system that learns representations from several languages might apply some of what it learned to a language with fewer resources. The paper places its work in that line of research and discusses systems such as multilingual BERT and XLM-R. It also describes a tradeoff called the curse of multilinguality. With a given capacity, broader language coverage puts more demands on the parameters shared among languages. And even if that capacity is available, many languages have too little accessible monolingual text to be included easily in a large training run. The paper’s point of departure is that transfer to a language omitted from pretraining can work and still leave a substantial performance gap. XLM-R

The African languages in the study illustrate different kinds of coverage. Some were part of XLM-R’s original training. Others had appeared in a regionally focused system, and some target languages were missing from both. Pretraining coverage and evaluation coverage also depend on different resources. Ordinary news or web text can be used to continue pretraining. Testing a system on a classification task requires examples with the relevant labels. The authors point to broader African-language benchmarks for name recognition and sentiment and describe news topic datasets as available for a more limited set of languages. The dataset contribution addresses that part of the problem. MasakhaNER

Ways to add a language

LAFT starts with a checkpoint that already knows how to do a pretraining exercise and gives it another round of that exercise in a target language. Its training material can be monolingual and unlabeled. The work the authors cite had found this approach effective for several low-resource languages, including African ones. It belongs to a broader line of work in which continued training adapts a checkpoint to text that better represents a new setting. In domain adaptation, the change might be the kind of writing. In language adaptation, the immediate change is the language. Both can affect what the system sees often enough to learn. Don’t Stop Pretraining

Once a researcher repeats LAFT for several languages, each run leaves a full checkpoint to keep. An individual checkpoint has been optimized on text from its particular target language. The paper treats this specialization as a drawback when the intended use is multilingual transfer. A collection of successful specialists can offer good task performance while making it cumbersome to maintain a shared starting point. That is the practical question behind comparing full checkpoints as well as test scores.

Another route is to choose the languages before pretraining begins. AfriBERTa illustrates this approach. The model has 126 million parameters and was built through training from scratch on 11 African languages. Its coverage gives researchers a regional checkpoint to work with, but the paper points out that it lacks southern Bantu languages. Starting a new pretraining run also demands substantial text and computation. MAFT offers a way to change the mix of languages receiving training attention after a checkpoint already exists. AfriBERTa

The authors also draw on multilingual adaptation in earlier work. InfoXLM initialized its parameters from XLM-R and used both monolingual material and translation data with a new objective. An extension of mBART expanded language coverage by changing the vocabulary and continuing training on text from languages in the original system and languages being added. These were examples of extending a multilingual checkpoint after pretraining. For MAFT, the authors choose an existing masked prediction objective and work with entries already present in the vocabulary. mBART

A different way to keep adaptation economical is to save only a small set of language-specific parameters. An adapter is a small trainable component that can be added to a pretrained system. Sparse fine-tuning selects parameters within that system to change. Both approaches make language-specific updates easier to store and combine. They still leave a library of updates to train and maintain for the languages a researcher wants to support. The paper uses these methods for a separate question. If there is a stronger shared checkpoint, can small, replaceable language and task components make better use of it? MAD-X

Why vocabulary size matters

Storage is also an issue for a single checkpoint. The vocabulary is the inventory of pieces the tokenizer can use to represent the input. An embedding matrix provides a numerical representation for each of those pieces. When a system is trained to read many scripts, it can carry a large inventory, and the corresponding matrix accounts for a substantial share of its parameters. For a particular group of languages, the authors ask how much of this inventory earns its place. Their choice of method ties the answer to the text available for adaptation. Word embeddings

The paper describes two precedents for making systems smaller. Distillation trains a smaller student to reproduce aspects of a larger teacher’s behavior. It can reduce size at the expense of some task performance. Vocabulary pruning takes a different part of the checkpoint as its starting point. Earlier work showed that unused entries could be removed from a multilingual system’s embedding layer, saving parameters directly. The authors combine that idea with multilingual adaptation and treat the resulting size and performance as separate things to measure. Their motivation includes researchers relying on resources such as free Google Colab, where a large checkpoint can be difficult to fine-tune. Efficient models & compression

The method, step by step

Continue the same training exercise on a new collection of text

The paper starts with a system that solves a masked prediction problem. A tokenizer converts a piece of writing into smaller units, or tokens. During training, the system sees versions of the text in which some tokens are hidden and learns to predict the hidden content using the surrounding material. This gives a training signal on ordinary sentences, since the original sentence supplies the answer. Later, a supervised task supplies a different signal. For example, it tells the system the entity type attached to a name or the topic attached to a news item. The availability of raw text and the availability of those task labels are separate considerations. Subword tokenization

Joint adaptation changes the collection of text that supplies the masked prediction exercise. The authors begin with an existing checkpoint and continue training on a combination of monolingual corpora that cover 20 languages. A monolingual corpus supplies examples in a particular language. Combining corpora means the same set of parameters learns from examples across those languages. The training procedure can use a news sentence in one language and a web sentence in another without needing them to be translations of each other. The shared checkpoint, trained on all of that material, is what subsequent supervised or zero-shot experiments take as their starting point.

The language selection follows the authors’ access to usable monolingual text. Amharic, Hausa, Igbo, and Yorùbá are all included. The selection also extends to languages such as Chichewa, Shona, Sesotho, and isiXhosa. isiZulu, Afrikaans, Malagasy, and Somali join the mixture, as do Oromo, Naija, and Kiswahili. The appendix reports Kinyarwanda and Kirundi together as Rwanda-Rundi in the corpus inventory. English, French, and Arabic are included as widely spoken languages for which more resources exist. The paper’s description of available text is important to the interpretation of the resulting checkpoint. The chosen languages reflect what could be assembled for training, and the task evaluations cover a partly different set.

Assemble and clean the adaptation corpora

Much of the text comes from mC4, the Common Crawl–based collection used in mT5 pretraining. The contribution from mC4 varies by language. The authors use subsets for languages with large collections and use the full available mC4 material for several others. News contributes where it is available. For instance, Amharic combines an mC4 subset with Voice of America material. The Yorùbá corpus combines mC4 with several news outlets, including BBC and Alaroye. Isolezwe contributes to the southern African text collection. The authors also reuse material from the AfriBERTa corpus, which supplies Naija text and contributes to the Igbo and Oromo corpora.

The appendix’s inventory helps put the mixture in perspective. After preprocessing, the English corpus is 2,200MB, and the two sources combined for Amharic provide 1,300MB. Naija has 54.8MB, while the Rwanda-Rundi entry has 84MB. These are sizes of the source material used for adaptation, so they tell the reader about the supply of text before supervised task training. They also give a reason to distinguish being represented in the mixture from being represented to the same degree. The study does not independently vary each corpus size.

For preprocessing, the authors discard lines consisting solely of numerals or punctuation, and lines shorter than six tokens. These rules describe a filter on the available language material. The retained lines supply context for the masked prediction exercise and, for the compact variant, evidence about which vocabulary entries occur frequently. The vocabulary counts come from applying the existing tokenizer to that material. This order lets the authors ask how much of the text can still be represented with a subset of entries XLM-R already knows.

From multilingual text to an adapted checkpoint

The steps in order.

From multilingual text to an adapted checkpointStep 1: Gather monolingual text for the selected languages1. Gather monolingual text for the selected languagesStep 2: Filter short lines and punctuation or number strings2. Filter short lines and punctuation or number stringsStep 3: For AfroXLMR-small, count and retain selected subtokens3. For AfroXLMR-small, count and retain selected subtokensStep 4: Continue masked prediction training on the combined corpora4. Continue masked prediction training on the combined corporaStep 5: Save the shared multilingual checkpoint5. Save the shared multilingual checkpointStep 6: Train a supervised task or attach transfer components6. Train a supervised task or attach transfer components

Choose which vocabulary entries to keep

AfroXLMR-small begins with XLM-R-base. The authors retain its general structure and reduce the inventory of sub-word entries used by the tokenizer and embedding layer. They considered doing the reduction either before or after continued training. Preliminary trials favored pruning first, so the compact variant goes through MAFT with the reduced vocabulary already in place. The full-vocabulary AfroXLMR-base goes through MAFT without this pruning step.

To select the smaller vocabulary, the authors run the original XLM-R-base SentencePiece tokenizer separately on the Amharic corpus and on the pooled text for the other 19 languages. They count how often each subtoken occurs in each pool. The separate count gives Amharic its own allocation. If its text were mixed into a single count from the outset, frequent entries shared by other languages could take up much of the available space. Amharic uses the Ge’ez script, so many entries useful for it draw their frequency support from a narrower part of the combined corpus.

k = 52.000

Here, k is the number of entries selected from one frequency ranking, and = assigns its value. For the Amharic ranking, 52.000 is the selection count. The paper reports that the selected entries cover 99.8% of the Amharic adaptation text.

k = 60.000

Here, k again means the number of retained entries from the ranking, and = gives the cutoff. The value 60.000 applies to the pool containing the other 19 languages. The authors report 99.6% coverage for that pool on its adaptation text. This percentage describes the combined pool. Coverage can vary among its constituent languages.

The authors merge the selections and add the top 1000 entries from the original XLM-R-base tokenizer. That last step brings in frequent original entries that the two selections can miss. The paper says the new additions from this step are largely English tokens. After merging, it reports 70.609 distinct subtokens. This is a data-driven vocabulary cut. The wider motivation is to remove many entries for scripts outside the principal focus of the system, while the actual retention rule uses frequency and membership in the selected lists. Arabic is still included in adaptation. The effect on its tokenizer coverage is an empirical question that the authors examine separately.

Vocabulary coverage measured this way depends on where the counts come from. A frequent unit in adaptation text earns a place because it helps represent that material. A name in a held-out test set can contain pieces that occurred rarely or never in that pool. A tokenizer may still represent an unfamiliar word with smaller retained units. If it cannot represent a piece of the input using its available entries, it emits an unknown token. The vocabulary ablations count those outputs on task test sets, where the frequency-based selection faces text outside the material used to make the selection.

Train the shared checkpoint and prepare it for a task

Training then continues for three epochs with the learning rate set to 5e-5. An epoch is a pass through the training data. The learning rate controls the size of the updates made during training. AfriBERTa processes 32 examples per batch, while each of the other systems processes 10 per batch. The authors implement the training using Hugging Face Transformers. They call the jointly adapted full-vocabulary XLM-R-base checkpoint AfroXLMR-base. The result starting from XLM-R-miniLM is AfroXLMR-mini, and the pruned XLM-R-base branch produces AfroXLMR-small. They also repeat the shared adaptation procedure with XLM-R-large to test it at a larger parameter size. Transformers

The supervised experiments then fine-tune on labeled data for a particular task in a particular language. The checkpoint shared across the languages is the output of the masked prediction stage. A run that learns sentiment labels from tweets serves a different purpose from one that learns to recognize names, and the task training happens after the shared language preparation. For its LAFT comparison, the paper starts this task training from separately language-adapted XLM-R checkpoints. In the direct baseline, the original pretrained checkpoint goes straight to the labeled task. These paths let the authors compare joint adaptation, individual adaptation, and the absence of continued language adaptation.

The training material for the individual language baselines has some differences in provenance. For XLM-R-base the authors reuse language-adapted checkpoints from the earlier MasakhaNER study where available. The appendix describes mC4 material for several other languages and Voice of America news for English. When the authors train the individual XLM-R-large baselines, they use the same respective monolingual sources as for the XLM-R-base specialists. This comparison keeps the broad purpose of the two procedures parallel. The individual runs specialize in one language’s material, while the joint runs have access to the authors’ multilingual aggregation.

Train replaceable language and task components

The cross-language experiment asks whether task training can happen in English and still yield predictions in an African language. In the paper, zero-shot concerns the task labels. The system receives no labeled training examples for named entity recognition in the target language. It can still use unlabeled text in that language to learn a language-specific component. The component for English supports training on labeled English news, and a component for the target language supports prediction at evaluation time.

For MAD-X 2.0, the authors follow a sequence of language adaptation, task training, and substitution. They train language adapters individually on text from the respective languages, using masked prediction. They train a task adapter with labeled source-language data. At inference, they use the task adapter with the target-language adapter in place of the source-language adapter. The task and language adaptations can be composed because they were prepared as separate modules. The MAD-X variant used here drops the final adapter layers, following the configuration adopted in the earlier work.

For Lottery Ticket Sparse Fine-tuning, shortened to LT-SFT, the language and task changes are again prepared separately. The mechanism selects a sparse set of parameters within the system for each adaptation. The idea comes from the lottery ticket hypothesis, which concerns the ability of a trainable subnetwork to reproduce the behavior of a larger network. The transfer method uses sparse changes that can be composed for a new language and a task. This gives the authors a comparison between adding small modules and selecting small parameter subsets. Both methods can be applied to the same starting checkpoint.

The English source is CoNLL03, and the target data are MasakhaNER news examples. The label inventory needs to agree between the source and target for the comparison to work. The authors leave out the CoNLL03 miscellaneous category and MasakhaNER’s date category, retaining person, organization, and location. The target-side comparison uses language components trained largely on Wikipedia in preceding work and counterparts trained on news for this study. English components already trained on Wikipedia remain in use. AfroXLMR-base borrows the English language adapter and sparse update from XLM-R-base. CoNLL-2003

The news corpora for these target-language components have their own inventory. This is a different collection from the joint adaptation mixture. Hausa and Kiswahili, for instance, use Voice of America material, and Yorùbá uses BBC text. The Luo component has 1.4MB of text from the sources listed for it, while the Naija component has 50.2MB of BBC material. Training the smaller language-specific components gives the experiment a place to include text for Luganda, Luo, and Wolof, which were absent from the joint MAFT mixture.

The authors say they trained the task adapter for 10 epochs using batches of 8, a learning rate of 5e-5, and a reduction factor of 8. The reduction factor controls the size of the adapter’s narrower internal representation. For language adapters, the reduction factor is 2, the maximum input sequence length is 256, and the batch size and learning rate are again 8 and 5e-5. The paper gives a language-adapter schedule of 100 epochs or at most 100K steps, with a minimum of 30K steps. The authors use the settings from the earlier work for the comparison with the Wikipedia-based runs and follow its hyper-parameters for LT-SFT.

Experiments and results

Benchmarks and comparisons

The supervised evaluation covers an extraction task and two forms of text classification. Named entity recognition makes a prediction tied to a span of text, with labels for what the span refers to. News topic classification assigns a subject category to a news item. Sentiment classification assigns an attitude label to a tweet. The tasks differ in the kind of context that matters. A recognizable name can depend on a short stretch of text, while a topic decision can require evidence from across the item. The evaluation also reaches beyond news through the sentiment datasets.

Most of the African-language named entity recognition examples come from MasakhaNER, which contains manually labeled news text for 10 languages. English comes from the CoNLL task. The isiXhosa evaluation uses a South African named entity corpus, and Arabic comes from AN-ERCorp. The supervised comparison scores the test predictions on the full tag sets described by the paper, including dates or miscellaneous entities as applicable. The zero-shot experiment has a separate tag inventory, and its results use a different set of test averages.

For news topic classification, the paper uses established datasets for languages including Amharic, English, Hausa, and Kinyarwanda. The English dataset is AG News, and the Kinyarwanda dataset is KINNEWS. The evaluation also draws on existing datasets in Kiswahili and Yorùbá. Where an existing dataset lacks a development split, the authors randomly reserve 5% of its training instances for development. A development split supplies examples for decisions made during experimentation, leaving the test split for final evaluation. Topic labels reflect the individual datasets. A shared adaptation checkpoint can be fine-tuned for a set of topics particular to one publisher or language.

The sentiment experiments use NaijaSenti for Hausa, Igbo, Naija, and Yorùbá. The corpus includes both monolingual and code-mixed tweets with manual sentiment labels. The researchers also use English and Amharic Twitter datasets. Across the sentiment evaluation, they keep examples labeled positive, negative, or neutral. Their results therefore concern distinguishing those three classes in the datasets, with part of the comparison testing material whose writing conventions and subject matter can differ from the news used for language adaptation. Sentiment & emotion

Supervised training uses 50 epochs for named entity recognition, 25 for news topic classification, and 20 for sentiment classification. The respective maximum sequence lengths are 164, 500, and 128. For the baseline runs, the usual learning rate is 5e-5. Sentiment training with XLM-R-base and XLM-R-large uses 2e-5. The paper describes the adapted runs as using similar settings. The headline numbers are test F1 averaged over 5 runs. F1 combines precision, the share of predictions that are correct, with recall, the share of the relevant labeled items the system retrieves. The task tables also give averages across languages. In the transfer comparison, the average has an explicit exclusion discussed below.

How the ANTC news datasets were built

ANTC extends the topic evaluation to languages for which the authors wanted additional test material. Lingala and Somali come from Voice of America. For these languages, the authors start from available news data and use the associated URLs to retrieve publisher categories. They collect Naija material from BBC Pidgin, Malagasy material from Global Voices, and isiZulu material from Isolezwe. For these sources, they gather news directly by category. The resulting datasets represent concrete publisher choices about how to organize the news, such as entertainment and sports in Naija or culture and human rights in the Malagasy collection.

An item can plausibly fit several categories, and the authors encounter examples assigned more than one label. They filter these out so that the retained items can be used in a single-label classification task. They require at least 200 samples per category. They then make training, development, and test splits in a ratio of 70:10:20 using stratified sampling, which preserves the distribution of categories across the splits. As a result, the experiment measures classification within the selected sets of publisher categories. There is room for different topic inventories across languages, even where some category names have clear analogues.

The news source matters when interpreting success. In the ANTC setup, the classifier learns which topics are associated with text within a collection and is evaluated on held-out items from that collection. The paper’s comparisons can show whether an adaptation procedure helps prepare a classifier for such data. They also give lower-resource languages an additional task on which to compare checkpoints. The experiment does not include a separate evaluation of whether category assignments agree across organizations.

Supervised named entity recognition

The direct fine-tuning baselines put the effect of continued training in context. XLM-R-base has 270M parameters and covers 100 languages in its original pretraining, including eight African languages. AfriBERTa is regionally focused and has 126M parameters. XLM-R-miniLM is a distilled baseline with 117M parameters, and XLM-R-large has 550M. The paper finds that the direct XLM-R-large baseline is strongest on average for named entity recognition and sentiment, and it attributes that pattern to its capacity. On some languages already familiar to AfriBERTa, however, the regional system is competitive with XLM-R-base. The baseline picture varies with both the language and the task.

For full-vocabulary XLM-R-base, MAFT brings average named entity recognition test F1 to 81.8 from 79.2 under direct fine-tuning. The individual-language LAFT row reaches 82.3. The authors report the joint method’s average deficit against LAFT as −0.5 F1. Amharic shows the importance of looking beyond the average. Its test F1 is 70.6 with direct fine-tuning, 76.1 after MAFT, and 78.0 with individual adaptation. Other languages show different orderings. On English, AfroXLMR-base reaches 92.8 test F1, and the corresponding LAFT entry is 91.3.

Average supervised named entity recognition test F1 across the evaluated languages

The shared full-vocabulary checkpoint approaches the score of the individual specialists.

Average supervised named entity recognition test F1 across the evaluated languagesXLM-R-base direct fine-tuning: 79.2XLM-R-base direct fine-tuning79.2XLM-R-base with individual LAFT: 82.3XLM-R-base with individual LAFT82.3AfroXLMR-base (this paper): 81.8AfroXLMR-base (this paper)81.8AfroXLMR-small: 80.7AfroXLMR-small80.7
The numbers
System or settingF1
XLM-R-base direct fine-tuning79.2
XLM-R-base with individual LAFT82.3
AfroXLMR-base (this paper)81.8
AfroXLMR-small80.7

The storage accounting follows the different purposes of these checkpoints. The LAFT baseline is listed as 270M x 13 for the named entity comparison because there is a full XLM-R-base specialist for each language. AfroXLMR-base retains a 270M-parameter shared starting point. AfroXLMR-small has 140M parameters, and it gives an average test F1 of 80.7 in this comparison. Those sizes quantify checkpoint parameters. The method trades some task performance against a smaller inventory for the compact variant, and it consolidates the language-adapted starting point even when the full vocabulary is retained.

Adaptation also helps the smaller distilled starting point. XLM-R-miniLM achieves an average test F1 of 69.3 under direct fine-tuning and 73.5 with MAFT. The authors report the improvement as +4.2 F1. These scores put two questions in view. Continued training can make a given small checkpoint more effective, and the construction of that checkpoint still matters. The pruned XLM-R-base branch and the distilled branch both occupy the smaller end of the comparison, yet their named entity results differ considerably.

News topics and sentiment

For news topic classification, direct XLM-R-base gives an average test F1 of 74.6. The shared full-vocabulary adaptation reaches 78.2 and the individual LAFT specialists reach 78.4. The paper reports a +3.6 F1 gain from joint adaptation over direct task fine-tuning and a −0.2 F1 gap relative to individual adaptation. This average covers established datasets and ANTC, so it summarizes repeated task fine-tuning over different category sets. It does not imply that the per-language test scores are interchangeable.

IsiZulu illustrates how a small average gap can coexist with sizeable gains on a particular dataset. Its ANTC test F1 is 70.0 in the direct XLM-R-base row, 79.5 in the individual LAFT row, and 79.6 for AfroXLMR-base. The paper highlights the +9.5 F1 gain of LAFT over the direct baseline on this dataset. Another ANTC dataset, Malagasy, has a different ordering. XLM-R-base with individual LAFT reaches 67.3 test F1, compared with 64.7 for the jointly adapted full-vocabulary checkpoint. A storage comparison based on retaining all of the checkpoints holds across these examples, while the F1 tradeoff depends on the language.

On the topic task, AfroXLMR-small achieves an average test F1 of 76.9. The adapted distilled branch achieves 73.3, following a direct XLM-R-miniLM average of 67.7. The authors report +5.6 F1 for the distilled branch’s adaptation gain. At the same time, AfriBERTa’s direct average of 76.8 is already competitive among the smaller systems. Its adapted version reaches 77.3. The regional starting point, the distilled starting point, and the vocabulary-pruned branch offer different ways of reaching a smaller checkpoint, and the topic results give a comparison on the same benchmark collection.

For sentiment, the average test F1 is 71.5 for direct XLM-R-base, 72.8 for AfroXLMR-base, and 73.1 for individual LAFT. The reported gap between MAFT and LAFT is −0.3 F1. AfroXLMR-small gives 72.5. In Hausa, the individual LAFT test score is 81.5 and AfroXLMR-base’s is 80.7. The Naija entries run in the other direction, with 74.7 for LAFT and 77.5 for AfroXLMR-base. These examples show what an average comparison can and cannot establish. It can describe the collection as a whole, while the most effective starting point for a particular dataset still depends on that dataset.

The paper’s broad result is that full-vocabulary MAFT remains close to individual adaptation across the tested tasks, with one language-adapted checkpoint to keep. The paper reports larger gains for XLM-R-miniLM on the news tasks than on sentiment, where the average improvement is +0.8 F1. That difference is a reason to look at task domain as well as language coverage. The adaptation corpora contain substantial news material and the sentiment evaluation uses tweets. The paper does not isolate the effect of that difference in the supervised sentiment experiments.

A larger checkpoint and the zero-shot experiment

To see whether the result holds at greater capacity, the authors apply MAFT to XLM-R-large and evaluate on named entity recognition. They repeat the comparison with direct supervised fine-tuning and individually adapted specialists. Direct XLM-R-large scores 80.8 average test F1. Individual XLM-R-large specialists score 83.2, and the shared AfroXLMR-large reaches 83.4. The paper reports +2.8 F1 for the shared checkpoint over direct training. This puts the large shared variant ahead of the individual large specialists on the average, with the full parameter count still concentrated in one shared checkpoint.

Average named entity recognition test F1 with XLM-R-large

Joint adaptation achieves the highest average among the large-checkpoint comparisons.

Average named entity recognition test F1 with XLM-R-largeXLM-R-large direct fine-tuning: 80.8XLM-R-large direct fine-tuning80.8XLM-R-large with individual LAFT: 83.2XLM-R-large with individual LAFT83.2AfroXLMR-large (this paper): 83.4AfroXLMR-large (this paper)83.4
The numbers
System or settingF1
XLM-R-large direct fine-tuning80.8
XLM-R-large with individual LAFT83.2
AfroXLMR-large (this paper)83.4

AfroXLMR-large has 550M parameters. Its score reflects continued multilingual training at that capacity. In Luganda, which is absent from the MAFT mixture, the direct large baseline scores 81.6 on the named entity test set, the LAFT specialist scores 86.2, and the jointly adapted large variant scores 86.7. The supervised task training in Luganda is a condition of those results. The separate zero-shot experiment assesses how far transfer can go without using the target language’s task labels for training.

For that experiment, the authors report MasakhaNER test F1 on person, organization, and location, after task training in English. They compare mBERT, XLM-R-base, and AfroXLMR-base with MAD-X 2.0 and LT-SFT. They also include supervised XLM-R-base as a point of comparison. The average excludes Amharic. This means the figure for a method can be compared with other averages in the same table, and the displayed Amharic scores remain separate evidence. The supervised reference is 81.2 average F1 under this experiment’s evaluation setup.

The strongest zero-shot average is 78.8 test F1 for LT-SFT on AfroXLMR-base with target-language components trained on news. The corresponding XLM-R-base combination reaches 77.3, and the mBERT combination reaches 75.4. With MAD-X and news, the figures are 77.0 for AfroXLMR-base, 75.0 for XLM-R-base, and 74.1 for mBERT. These comparisons are among combinations of a starting checkpoint and a language and task adaptation mechanism. In both method families, the average for the news-based combination is highest with AfroXLMR-base.

MasakhaNER zero-shot test F1 with news-trained LT-SFT, excluding Amharic

The jointly adapted checkpoint gives LT-SFT the strongest average in this comparison.

MasakhaNER zero-shot test F1 with news-trained LT-SFT, excluding AmharicmBERT with news-based LT-SFT: 75.4mBERT with news-based LT-SFT75.4XLM-R-base with news-based LT-SFT: 77.3XLM-R-base with news-based LT-SFT77.3AfroXLMR-base with news-based LT-SFT (this paper): 78.8AfroXLMR-base with news-based LT-SFT(this paper)78.8
The numbers
System or settingF1
mBERT with news-based LT-SFT75.4
XLM-R-base with news-based LT-SFT77.3
AfroXLMR-base with news-based LT-SFT (this paper)78.8

The authors identify languages where the best zero-shot system matches or exceeds the supervised XLM-R-base reference. For Kinyarwanda, both test entries are 73.8. For Luganda, zero-shot LT-SFT on AfroXLMR-base gives 81.0, compared with 80.5 for the supervised reference. Wolof gives 74.5 and 69.6, respectively, and Yorùbá gives 78.7 and 78.1. Other cases have much larger remaining gaps. Luo scores 60.7 with AfroXLMR-base and LT-SFT, while its supervised reference is 75.8. This reference compares different training routes and starting checkpoints. The per-language outcomes show what the zero-shot combination achieves under those conditions.

What the ablations show

Protecting Amharic in a shared vocabulary

The explicit vocabulary ablation compares two ways of selecting a similarly sized inventory. One counts pieces in the combined text and keeps the top-70k subtokens. The other gives Amharic its own frequency ranking, merges that ranking’s selections with those from the other languages, and supplements the result with frequent original entries. The authors evaluate what these settings do to tokenization on the named entity test sets for Amharic, Arabic, English, and Yorùbá. They count outputs marked as unknown and report named entity F1 for the associated systems. Unknown-token counts measure a specific failure to represent input. Task F1 measures whether the resulting system predicts the annotated entities successfully.

For Amharic, the pooled selection yields 3704 unknown tokens on the named entity test set and F1 of 67.8. The separate-pool method yields 3395 unknown tokens and F1 of 70.1. The unpruned AfroXLMR-base tokenizer has 0 unknown tokens there, and its task F1 is 76.1. The comparison shows the benefit of making a separate allocation for Amharic within the compact vocabulary. It also shows how much headroom the full vocabulary retains on this particular test. The adaptation corpus coverage percentage and the held-out unknown count address different questions, so high coverage on the corpus used for selection can coexist with many unknowns on task data.

Arabic benefits in coverage when the authors move from the pooled method to the separate-pool configuration, with 1403 and 669 unknown tokens, respectively. Its corresponding test F1 scores are 76.3 and 76.4. The full checkpoint has 0 unknown tokens and 79.7 test F1. The change between the two compact configurations is much more visible in the unknown counts than in the Arabic task score. A count treats every unknown occurrence equally. The named entity evaluation depends on where those occurrences fall, which pieces remain in context, and what the system predicts for the labeled entities. The results do not identify which of those factors account for this particular pattern.

English adds another example. The pooled and separate-pool selections yield 44 and 54 unknown tokens, respectively, and give 90.6 and 91.0 in named entity test F1. The variant with the larger count scores higher on the task in that pair. Yorùbá shows a larger coverage tradeoff. Its compact configurations produce 5547 and 6438 unknown tokens, with corresponding F1 of 81.2 and 81.3. The full vocabulary produces 24 unknown tokens and reaches 82.1. The authors associate the residual unknowns in the full system with Yorùbá’s absence from XLM-R pretraining. The comparison shows that the unknown count is informative about coverage and has limited value by itself as a predictor of F1.

The ablation supports the paper’s practical design choice without isolating a single reason for all the scores. The separate-pool configuration changes the retained inventory across languages and adds entries from the original vocabulary. Its task F1 comes from a checkpoint trained with that resulting inventory. Within the paper’s compact configurations, it helps Amharic relative to the pooled setting and also affects coverage for other languages. The evidence comes from the observed inventories, unknown counts, and final task results together.

Adaptation from different starting points

Applying MAFT to different checkpoints tests how much room there is to improve after the original pretraining. The paper describes the gains as clearer for checkpoints that started with broader multilingual training. XLM-R-miniLM benefits substantially on named entity recognition and topic classification in spite of its weaker initial results. XLM-R-base yields the strongest overall full-vocabulary results among the main joint adaptations. AfriBERTa has more modest changes. It already performs well on some languages in its original training and shows weaker results on several languages it had never seen. The authors suggest limited tokenizer coverage as a possible explanation for why its MAFT gains are frequently small.

This comparison varies more than tokenizer coverage. The checkpoints differ in parameter counts, original corpora, language coverage, and, in the distilled case, training history. The evidence supports a finding about these particular starting points. It leaves the tokenizer explanation open because the authors do not hold those other properties fixed and swap the AfriBERTa tokenizer. The vocabulary ablation on XLM-R gives direct evidence that an inventory matters, but it does not tell the reader how much of the AfriBERTa result to attribute to the same mechanism.

The large-checkpoint comparison adds a useful condition. The shared adaptation procedure can improve XLM-R-large on named entity recognition as well as XLM-R-base, and in the large comparison it can edge ahead of individual LAFT on the average. Some languages outside the shared adaptation mixture also improve. That observation establishes that the procedure can lead to better supervised transfer beyond the languages used for continued training. It leaves open which texts in the mixture contribute to the gain and how much would carry over to other tasks with the large checkpoint.

Matching language adaptation to the target domain

The domain comparison keeps mBERT as the starting point and asks what happens when target-language components are trained on news. The authors compare with earlier results based mainly on Wikipedia for the target languages. Both sets of runs transfer the named entity task from English to MasakhaNER, and the news experiments follow the earlier adapter hyper-parameters. The average test F1 gain reported for mBERT with MAD-X is +4.2. For mBERT with LT-SFT, the reported gain is +3.7. These figures apply to the average excluding Amharic.

The shift is plausible given what the task asks. MasakhaNER evaluates news, and a language component trained on news gets practice with that kind of text before being paired with the English-trained task component. That interpretation has a narrower scope than a claim that news is always superior to Wikipedia. The earlier target corpora for Luo and Naija already differed from the general Wikipedia setup because Wikipedia material was absent for those cases. The English language components remain based on Wikipedia. The comparison therefore concerns the study’s target-language corpus choices under a fixed task direction, with a common news domain as the relevant feature of the alternative.

There is a further comparison among checkpoints once target-language training uses news. For both transfer techniques, the strongest average comes from AfroXLMR-base. Some languages favor another combination. In the MAD-X comparison for Igbo, XLM-R-base gives 83.2 test F1 and AfroXLMR-base gives 80.9 with news-trained components. The average advantage for AfroXLMR-base is compatible with that result. It suggests a stronger foundation across the evaluated set and leaves room for the interaction between checkpoint, language, and transfer method to vary.

Limitations

Limits the authors state

The authors explicitly qualify the assumption behind their vocabulary construction. Selecting frequent pieces from available corpora is a practical proxy for which pieces future inputs will need. The proxy may fail for a distant language, a language with little text represented in the corpus, or a task whose domain differs from the material used for selection. The Amharic allocation is a response to one visible coverage problem. The counts for the other languages show how choices made to retain one set of pieces can affect others. The authors leave open how to build an even more compact vocabulary while retaining stronger coverage across distant and low-resource languages.

They also leave their explanation of the AfriBERTa results for future investigation. The authors attribute its relatively modest adaptation gains provisionally to tokenizer coverage. The experiments compare checkpoints with different training histories, so that explanation is a hypothesis. The evidence establishes that the same general adaptation procedure yields different gains depending on the starting point. It leaves the relative roles of vocabulary, capacity, corpus composition, and original pretraining unresolved.

The scope of available text is another constraint the paper acknowledges. The joint adaptation languages are chosen because the authors can obtain a relatively large amount of monolingual data for them. The smaller inventories have to be built from those corpora, and a language with sparse representation in that material has fewer opportunities to influence which entries are retained. The authors present AfroXLMR-small as an option when GPU resources are limited and favor AfroXLMR-base for general use within the scope of their study. The choice is informed by benchmark performance and parameter size, with some stronger penalties for languages using non-Latin scripts.

Limits of the experimental setup

The average results are comparisons within the datasets the paper can evaluate. Some adaptation languages lack a result in a given task table. French, for example, is part of the shared text mixture, while the reported named entity, topic, and sentiment comparisons lack a French dataset. The 20-language training scope consequently says which languages supplied masked prediction examples. It does not give a task score for each language. Conversely, a test language can appear outside that mixture. Luganda, Luo, and Wolof demonstrate how evaluation coverage and adaptation coverage can differ. The supervised numbers for those languages include labeled task training, which is a separate source of language knowledge.

The study also compares prepared language specialists with jointly adapted checkpoints using monolingual material assembled in different ways. The appendix notes reuse of adapted systems from prior work and a different English corpus for individual LAFT. The reported LAFT baseline is valuable as a practical alternative a researcher could choose. The results do not isolate the effect of combining languages from the effects of changing corpus sizes, text sources, or sampling among languages. In particular, no experiment removes one language at a time from the shared mixture to determine which languages help one another. A gain on a language absent from the mixture is evidence of transfer under the tested procedure, with the source of that gain unresolved.

The selection procedure for ANTC sets the bounds of what its topic results mean. Publishers’ categories determine the labels, and entries assigned multiple labels are filtered out. Categories must have enough examples to meet the paper’s inclusion threshold. A held-out score is therefore evidence about choosing among the retained categories for these datasets. Topic classification across different publishers or over items with overlapping labels could impose different demands. The paper’s multilingual checkpoint can be reused across the dataset-specific classifiers, but the experiment does not test a single fixed topic inventory transferred from one ANTC language to another.

The scope of the zero-shot result is also specific. It tests English-to-African-language transfer on news named entity recognition after harmonizing the label sets. Target-language components are trained on unlabeled text, and the news corpora differ in size and provenance. The mBERT comparison indicates that the particular news corpora are more effective on average than the mostly Wikipedia-based alternative. It does not independently estimate the contributions of domain, corpus size, or text quality. Direction of transfer also remains fixed. The evidence covers English as a source under this task configuration, with other source languages and classification tasks open.

Similarly, the supervised reference in the zero-shot table uses XLM-R-base. The strongest zero-shot run combines a different base checkpoint with separately trained language and task changes. An individual zero-shot score above the supervised reference shows that this combination can surpass that baseline on the given test set. It does not establish what would happen if the same AfroXLMR-base checkpoint received the target labels, or if all systems were compared using the same adaptation mechanism. The Amharic exclusion from the table’s average further narrows what the reported aggregate says about the whole target collection.

Finally, the paper’s efficiency evidence measures parameters and the number of language-adapted checkpoints to store. It reports fixed training settings and task scores but offers no detailed comparison of running time, peak memory, or energy use across the configurations. A reduction from 270M to 140M parameters is concrete evidence that the compact checkpoint is smaller. Practical training requirements also depend on sequence length, batches, and the task being run. The method’s value for limited hardware is grounded in the smaller checkpoint and reuse across languages, while end-to-end resource costs under particular hardware configurations remain unmeasured.

What came after

Extending evaluation for African languages

The papers that cite this work continue several of the research directions represented in its experiments. Their titles identify those directions and, in some cases, the task or resource being developed. The citation relationship establishes a connection to the multilingual adaptation study. The specific use of an AfroXLMR checkpoint, the reuse of a dataset, or an improvement over MAFT requires a separate comparison. Within those bounds, the later work shows how evaluation and language adaptation became questions in several related settings.

MasakhaNER 2.0 extends the line of African-language named entity work to which the MAFT experiments belong. Its stated focus is Africa-centric transfer learning for named entity recognition. This is closely related to the earlier paper’s use of MasakhaNER to ask whether English task training, supplemented by language-specific training on unlabeled text, could support predictions in African languages. The follow-up’s framing places transfer for this task at the center of the study. MasakhaNER 2.0

News topic evaluation also continues as a research program of its own. The adaptation paper uses ANTC to expand the languages available for that evaluation and draws topic labels from publishers’ classifications. A later citation, MasakhaNEWS, focuses directly on news topic classification for African languages. SIB-200 takes up topic classification across a much broader range of languages and dialects. The connection is the use of topic labels to test systems across languages. The titles establish the scope of these resources and leave their relationship to ANTC’s category inventories unspecified. MasakhaNEWS · SIB-200

For sentiment, AfriSenti develops a benchmark for African languages using Twitter. The MAFT paper already treats sentiment on Twitter as a test of whether a checkpoint adapted on a multilingual web and news mixture can help on a different kind of text. AfriSenti’s remit places the evaluation resource itself in the foreground. That is a distinct part of the same problem, since a shared checkpoint still needs suitable labeled data if its behavior on sentiment is to be measured. AfriSenti

Revisiting adaptation and language coverage

A study of low-resource cross-lingual adaptive training for Nigerian Pidgin brings the adaptation question down to one language. Naija appears in the MAFT paper’s shared corpus as well as its news and sentiment evaluations. The later paper’s focus gives that language its own cross-lingual training problem. Another citing study narrows adaptation to sentiment in Hausa and explicitly studies language-adaptive fine-tuning with AfriBERTa. The MAFT comparisons included Hausa and found that the effect of adapting AfriBERTa was often modest in aggregate. A language- and task-specific study asks how adaptation behaves under a narrower set of conditions. Low-Resource Cross-Lingual Adaptive Training for Nigerian Pidgin · Hausa Sentiment Adaptation with AfriBERTa

Other work takes up different decisions involved in changing a multilingual checkpoint’s coverage. FOCUS studies embedding initialization for monolingual specialization. Its subject is the parameters associated with the vocabulary when preparing a multilingual system for use in one language. The earlier paper’s vocabulary experiment concerns which existing entries to preserve for a regional multilingual checkpoint. Both topics reflect the importance of the embedding layer when the intended languages change. MaLA-500 instead makes large-scale language adaptation the research question. It extends the scope of inquiry from a mixture selected for a regional system to adaptation as a problem at much greater language scale. FOCUS · MaLA-500

The question of shared capacity also remains explicit in a later study of when multilinguality becomes a curse. The MAFT paper invokes the term to explain why expanding language coverage creates tradeoffs and then tests one choice of shared capacity, adaptation data, and vocabulary. The later study’s stated scope is language modeling across high- and low-resource languages. It revisits the broader question that makes such choices consequential. Alongside work on individual languages and regional benchmarks, this line of research keeps the paper’s central comparison in view. A shared checkpoint can offer substantial reuse, and its value depends on which languages, domains, and tasks are represented in the evaluation. When Is Multilinguality a Curse?

 Institutions

 Fields, topics and concepts

Cite

Cite as Jesujoba O. Alabi, David Ifeoluwa Adelani, Marius Mosbach and Dietrich Klakow. 2022. Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuning. Proceedings of the 29th International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{alabi2022adapting,
  title = {{Adapting Pre-trained Language Models to African Languages via Multilingual Adaptive Fine-Tuning}},
  author = {Jesujoba O. Alabi, David Ifeoluwa Adelani, Marius Mosbach and Dietrich Klakow},
  booktitle = {Proceedings of the 29th International Conference on Computational Linguistics},
  year = {2022},
  url = {https://aclanthology.org/2022.coling-1.382/}
}

References

44 references, 23 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Amine Abdaoui, Camille Pradel, and Grégoire Sigel. Load what you need: Smaller versions of mutililingual BERT. In Proceedings of SustaiNLP: Workshop on Simple and Efficient Natural Language Processing, pp. 119–123, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2… OpenAlex ↗ · Scholar ↗
  2. David Adelani, Jesujoba Alabi, Angela Fan, Julia Kreutzer, Xiaoyu Shen, Machel Reid, Dana Ruiter, Dietrich Klakow, Peter Nabende, Ernie Chang, Tajuddeen Gwadabe, Freshia Sackey, Bonaventure F. P. Dossou, Chris Emezue, Colin Leong, Michael Beukman, Shamsuddeen Muhammad, Guyo Jarso, Oreen Yousuf, Andr… — A Few Thousand Translations Go a Long Way! Leveraging Pre-trained Models for African News Translation
  3. David Ifeoluwa Adelani, Jade Abbott, Graham Neubig, Daniel D’souza, Julia Kreutzer, Constantine Lignos, Chester Palen-Michel, Happy Buzaaba, Shruti Rijhwani, Sebastian Ruder, Stephen Mayhew, Israel Abebe Azime, Shamsuddeen H. Muhammad, Chris Chinenye Emezue, Joyce Nakatumba-Nabende, Perez Ogayo, Are… — MasakhaNER: Named Entity Recognition for African Languages
  4. Jesujoba Alabi, Kwabena Amponsah-Kaakyire, David Adelani, and Cristina España-Bonet. Massive vs. curated embeddings for low-resourced languages: the case of Yorùbá and Twi. In Proceedings of the 12th Language Resources and Evaluation Conference, pp. 2754–2762, Marseille, France, May 2020. Europea… OpenAlex ↗ · Scholar ↗
  5. Alan Ansell, Edoardo Maria Ponti, Anna Korhonen, and Ivan Vulić. Composable sparse fine-tuning for cross-lingual transfer, 2021. OpenAlex ↗ · Scholar ↗
  6. Israel Abebe Azime and Nebil Mohammed. An amharic news text classification dataset. abs/2103.05639, 2021.
  7. ArXiv, Yassine Benajiba, Paolo Rosso, and José Miguel Benedı́Ruiz. Anersys: An arabic named entity recognition system based on maximum entropy. In Alexander Gelbukh (ed.), Computational Linguistics and Intelligent Text Processing, pp. 143–153, Berlin, Heidelberg, 2007. Springer Berlin Heidelberg. I… OpenAlex ↗ · Scholar ↗
  8. Michael Beukman. Analysing the effects of transfer learning on low-resourced named entity recognition performance. In 3rd Workshop on African Natural Language Processing, 2021. URL https://openreview.net/ forum?id=HKWMFqfN8b5. OpenAlex ↗ · Scholar ↗
  9. Ethan C. Chau and Noah A. Smith. Specializing multilingual language models: An empirical study. In Proceedings of the 1st Workshop on Multilingual Representation Learning, pp. 51–61, Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. doi: 10.18653/v1/ 2021.mrl-… OpenAlex ↗ · Scholar ↗
  10. Zewen Chi, Li Dong, Furu Wei, Nan Yang, Saksham Singhal, Wenhui Wang, Xia Song, Xian-Ling Mao, Heyan Huang, and Ming Zhou. InfoXLM: An information-theoretic framework for cross-lingual language model pre-training. In Proceedings of the 2021 Conference of the North American Chapter of the Association…
  11. Hyung Won Chung, Thibault Fevry, Henry Tsai, Melvin Johnson, and Sebastian Ruder. Rethinking embedding coupling in pre-trained language models. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=xpFFI_NtgpW.
  12. Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Com…
  13. Davis David. Swahili : News classification dataset. Zenodo, December 2020. doi: 10.5281/zenodo. 5514203. URL https://doi.org/10.5281/ zenodo.5514203. The news version contains both train and test sets. — doi:10.5281/zenodo OpenAlex ↗ · Scholar ↗
  14. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 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, Volum…
  15. Roald Eiselen. Government domain named entity recognition for South African languages. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pp. 3344–3348, Portorož, Slovenia, May 2016. European Language Resources Association (ELRA). URL https://aclant… OpenAlex ↗ · Scholar ↗
  16. ∀, Wilhelmina Nekoto, Vukosi Marivate, Tshinondiwa Matsila, Timi Fasubaa, Taiwo Fagbohungbe, Solomon Oluwole Akinola, Shamsuddeen Muhammad, Salomon Kabongo Kabenamualu, Salomey Osei, Freshia Sackey, Rubungo Andre Niyongabo, Ricky Macharm, Perez Ogayo, Orevaoghene Ahia, Musie Meressa Berhe, Mofetoluw… — Participatory Research for Low-resourced Machine Translation: A Case Study in African Languages
  17. Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=rJl-b3RcF7. OpenAlex ↗ · Scholar ↗
  18. Suchin Gururangan, Ana Marasović, Swabha Swayamdipta, Kyle Lo, Iz Beltagy, Doug Downey, and Noah A. Smith. Don’t stop pretraining: Adapt language models to domains and tasks. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 8342–8360, Online, July 2020… OpenAlex ↗ · Scholar ↗
  19. Pengcheng He, Jianfeng Gao, and Weizhu Chen. Debertav3: Improving deberta using electra-style pre-training with gradient-disentangled embedding sharing. ArXiv, abs/2111.09543, 2021.
  20. Michael A. Hedderich, David Adelani, Dawei Zhu, Jesujoba Alabi, Udia Markus, and Dietrich Klakow. Transfer learning and distant supervision for multilingual transformer models: A study on African languages. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EM… OpenAlex ↗ · Scholar ↗
  21. Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for NLP. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Ma… OpenAlex ↗ · Scholar ↗
  22. Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu. TinyBERT: Distilling BERT for natural language understanding. In Findings of the Association for Computational Linguistics: EMNLP 2020, pp. 4163–4174, Online, November 2020. Association for Computational…
  23. Weijie Liu, Peng Zhou, Zhiruo Wang, Zhe Zhao, Haotang Deng, and Qi Ju. FastBERT: a self-distilling BERT with adaptive inference time. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 6035– 6044, Online, July 2020a. Association for Computational Linguist…
  24. Yinhan Liu, Jiatao Gu, Naman Goyal, Xian Li, Sergey Edunov, Marjan Ghazvininejad, Mike Lewis, and Luke Zettlemoyer. Multilingual denoising pre-training for neural machine translation. Transactions of the Association for Computational Linguistics, 8:726–742, 2020b. doi: 10.1162/tacl a 00343. URL http… OpenAlex ↗ · Scholar ↗
  25. Fuli Luo, Wei Wang, Jiahao Liu, Yijia Liu, Bin Bi, Songfang Huang, Fei Huang, and Luo Si. VECO: Variable and flexible cross-lingual pre-training for language understanding and generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th Internat… OpenAlex ↗ · Scholar ↗
  26. Processing (Volume 1: Long Papers), pp. 3980– 3994, Online, August 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021. acl-long.308. URL https://aclanthology.org/2021.acl-long.308. OpenAlex ↗ · Scholar ↗
  27. Shamsuddeen Hassan Muhammad, David Ifeoluwa Adelani, Sebastian Ruder, Ibrahim Said Ahmad, Idris Abdulmumin, Bello Shehu Bello, Monojit Choudhury, Chris Chinenye Emezue, Saheed Abdullahi Salahudeen, Aremu Anuoluwapo, Alı́pio Jeorge, and Pavel Brazdil. Naijasenti: A nigerian twitter sentiment corpus f… — NaijaSenti: A Nigerian Twitter Sentiment Corpus for Multilingual Sentiment Analysis
  28. Benjamin Muller, Antonios Anastasopoulos, Benoı̂t Sagot, and Djamé Seddah. When being unseen from mBERT is just the beginning: Handling new languages with multilingual language models. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguisti…
  29. Rubungo Andre Niyongabo, Qu Hong, Julia Kreutzer, and Li Huang. KINNEWS and KIRNEWS: Benchmarking cross-lingual text classification for Kinyarwanda and Kirundi. In Proceedings of the 28th International Conference on Computational Linguistics, pp. 5507–5521, Barcelona, Spain (Online), December 2020.… OpenAlex ↗ · Scholar ↗
  30. Ossama Obeid, Nasser Zalmout, Salam Khalifa, Dima Taji, Mai Oudah, Bashar Alhafni, Go Inoue, Fadhl Eryani, Alexander Erdmann, and Nizar Habash. CAMeL tools: An open source python toolkit for Arabic natural language processing. In Proceedings of the 12th Language Resources and Evaluation Conference,…
  31. Kelechi Ogueji, Yuxin Zhu, and Jimmy Lin. Small data? no problem! exploring the viability of pretrained multilingual language models for low-resourced languages. In Proceedings of the 1st Workshop on Multilingual Representation Learning, pp. 116–126, Punta Cana, Dominican Republic, November 2021. As…
  32. Xuan Ouyang, Shuohuan Wang, Chao Pang, Yu Sun, Hao Tian, Hua Wu, and Haifeng Wang. ERNIE-M: Enhanced multilingual representation by align-Chester Palen-Michel, June Kim, and Constantine Lignos. Multilingual open text 1.0: Public domain news in 44 languages. CoRR, abs/2201.05609, 2022. URL https://ar… — arXiv:2201.05609 OpenAlex ↗ · Scholar ↗
  33. Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfer. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 7654–7673, Online, November 2020. Association for Computat…
  34. Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych, and Sebastian Ruder. UNKs everywhere: Adapting multilingual language models to new scripts. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 10186– 10203, Online and Punta Cana, Dominican Republic, November 20…
  35. Sara Rosenthal, Noura Farra, and Preslav Nakov. Semeval-2017 task 4: Sentiment analysis in twitter. In Proceedings of the 11th international workshop on semantic evaluation (SemEval-2017), pp. 502– 518, 2017.
  36. Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. ArXiv, abs/1910.01108, 2019.
  37. Kathleen Siminyu, Godson Kalipe, Davor Orlic, Jade Z. Abbott, Vukosi Marivate, Sackey Freshia, Prateek Sibal, Bhanu Neupane, David Ifeoluwa Adelani, Amelia Taylor, Jamiil Toure Ali, Kevin Degila, Momboladji Balogoun, Thierno Ibrahima Diop, Davis David, Chayma Fourati, Hatem Haddad, and Malek Naski.… — arXiv:2104.02516 OpenAlex ↗ · Scholar ↗
  38. Zhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu, Yiming Yang, and Denny Zhou. MobileBERT: a compact task-agnostic BERT for resource-limited devices. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 2158–2170, Online, July 2020. Association for Computa…
  39. Y. Tang, C. Tran, Xian Li, Peng-Jen Chen, Naman Goyal, Vishrav Chaudhary, Jiatao Gu, and Angela Fan. Multilingual translation with extensible multilingual pretraining and finetuning. ArXiv, abs/2008.00401, 2020. OpenAlex ↗ · Scholar ↗
  40. Erik F. Tjong Kim Sang and Fien De Meulder. Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, pp. 142–147, 2003. URL https://aclanthology.org/ W03-0419.
  41. Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. Minilm: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volum… OpenAlex ↗ · Scholar ↗
  42. Wenhui Wang, Hangbo Bao, Shaohan Huang, Li Dong, and Furu Wei. MiniLMv2: Multi-head self-attention relation distillation for compressing pre-trained transformers. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pp. 2140–2151, Online, August 2021. Association for Comput… OpenAlex ↗ · Scholar ↗
  43. Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pier-ric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lho… — Transformers: State-of-the-Art Natural Language Processing
  44. Xiang Zhang, Junbo Jake Zhao, and Yann LeCun. Character-level convolutional networks for text classification. In NIPS, 2015.

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/alabi-2022-adapting-pre-trained-language-models/