---
title: "Multilingual Dependency Parsing for Low-Resource African"
description: "This study tests how training on other languages affects dependency parsing for Bambara, Wolof and Yoruba when annotated data are scarce."
canonical: "https://research.elamur.ai/free/en/papers/dione-2021-multilingual-dependency-parsing-low-resource/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/dione-2021-multilingual-dependency-parsing-low-resource/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / Multilingual Dependency Parsing for Low-Resource African Languages: Case Studies on Bambara, Wolof, and Yoruba

# Multilingual Dependency Parsing for Low-Resource African Languages: Case Studies on Bambara, Wolof, and Yoruba

Paper · 2021 · Cheikh M. Bamba Dione

**Authors:** Dione, Cheikh M. Bamba · **Year:** 2021 · **Venue:** Proceedings of the 17th International Conference on Parsing Technologies and the IWPT 2021 Shared Task on Parsing into Enhanced Universal Dependencies (IWPT 2021) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 17th International Conference on Parsing Technologies and the IWPT 2021 Shared Task on Parsing into Enhanced Universal Dependencies (IWPT 2021) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2021.iwpt-1.9/)
- [PDF](https://aclanthology.org/2021.iwpt-1.9.pdf)
- [DOI 10.18653/v1/2021.iwpt-1.9](https://doi.org/10.18653/v1/2021.iwpt-1.9)

## Summary

A parser needs examples of how words fit together in a sentence. For Bambara and Yoruba, the annotated collections available to Cheikh Bamba Dione contained sentences for checking a parser’s work, but no sentences for teaching it. Wolof had a small collection that could serve both purposes. The paper asks whether annotated sentences from other languages can fill these gaps and whether it matters which languages supply them. The task is [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/), which identifies the word each token attaches to and names the grammatical relation between them.

Dione trains UDify, a multilingual parser that predicts grammatical categories, word features, dictionary forms and dependency trees together. UDify starts from a multilingual BERT encoder and learns the annotation tasks from [Universal Dependencies](https://md.research.elamur.ai/free/en/concepts/universal-dependencies/) treebanks. The study draws on 11 treebanks from Bambara, Wolof, Yoruba, English, French and Norwegian. The Bambara and Yoruba collections contribute only test sentences, so both languages are evaluated without target-language training examples for the parsing task. Wolof contributes training examples in the main experiment and is also evaluated with those examples withheld.

On the target test sets, the main multilingual setup reaches labeled attachment scores of 12.98 for Bambara and 31.43 for Yoruba. Labeled attachment gives credit when both the head and the relation label are correct. The corresponding scores from an earlier UDify experiment using a much larger collection of treebanks were 8.60 and 19.09. On the Wolof test set, multilingual training reaches 67.03 in labeled attachment, compared with 63.84 when UDify trains on Wolof annotations alone. Most labeled attachments in Bambara and Yoruba still fail, even in the more successful training combinations.

The removal experiments show that the choice of training languages matters. Dropping French lowers attachment scores for Bambara and Wolof, while dropping English lowers them for Yoruba. Norwegian, selected as a comparison language with no direct contact with the targets, has little effect on their parsing scores. The results fit the paper’s hypothesis about languages in contemporary contact. The comparison involving shared ancestry is less clear. Withholding Wolof training data greatly weakens Wolof parsing, yet raises Yoruba’s labeled attachment score to 33.80. The study leaves open why Wolof data have this effect on Yoruba and how far the contact findings extend beyond the particular treebanks tested.

## Deep dive: Multilingual Dependency Parsing for Low-Resource African Languages: Case Studies on Bambara, Wolof, and Yoruba

This study tests how training on other languages affects dependency parsing for Bambara, Wolof and Yoruba when annotated data are scarce. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A language can have texts and still lack training data

A written sentence can tell a reader what someone said without spelling out how its words are grammatically connected. A collection prepared for dependency parsing adds that information to the text. In such a collection, called a treebank, annotators specify a head for each word and assign a grammatical relation to the connection. A parser can learn from those decisions and later be checked against decisions made for separate sentences. The distinction between text and text with grammatical analysis explains which resources the paper needs. [Treebanks](https://md.research.elamur.ai/free/en/topics/treebanks/) · [Linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/)

Dione describes substantial linguistic documentation for the languages under study. Bambara has reference grammars, linguistic studies and dictionaries. The paper also describes a large collection of written Bambara with limited availability for research use. For Yoruba, it points to literary and religious writing, newspapers, blogs, dictionaries and academic studies. For Wolof, it mentions descriptive grammars and dictionaries alongside computational work, including a finite-state analyzer for word structure and a parser based on Lexical-Functional Grammar. These resources address different needs. A dictionary can tell a reader about a word, and a grammar can describe the constructions of a language. Preparing training examples still requires someone to make consistent annotation decisions for individual sentences. [Morphology](https://md.research.elamur.ai/free/en/concepts/morphology/)

The immediate shortage is different for each target. Bambara and Yoruba have annotated sentences that can be used to assess predictions, with no dedicated training split available to this study. Wolof has a training split, a development split for checking progress during development, and a test split for final evaluation. These arrangements put two questions within reach. For Bambara and Yoruba, the question is how much syntax a system can recover when it learns the annotation task from other languages. For Wolof, the question is whether other languages add something to the training examples already available and how the parser fares when those Wolof examples are withheld. [Low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/)

A shared annotation scheme makes those comparisons possible. Universal Dependencies provides a common set of grammatical categories and conventions for representing syntactic relations in different languages. A treebank can apply the same general distinction between a subject and an object even if its language puts those elements in a different order. Pooling the annotations gives the parser common predictions to make across languages. The differences in how a language expresses a category, and in which constructions a treebank happens to contain, still matter for whether a prediction learned elsewhere will transfer. The definition of the task can be shared even when the evidence for a particular answer varies. [Universal Dependencies v1](https://md.research.elamur.ai/free/en/papers/nivre-2016-universal-dependencies-v1-multilingual-treebank/)

The paper places supervised monolingual parsing at the starting point. In that approach, the annotations used to teach a parser come from the language it will later parse. Training in this way makes the connection to the target direct. It also makes the amount of available annotation a practical constraint, because every target requires its own examples of the task. Dione’s study keeps supervision but changes where it comes from. A parser can learn what the shared grammatical labels mean in practice from annotated sentences in languages other than the one on which it will be evaluated.

#### How multilingual training became an option

The earlier work Dione discusses explores several ways of sharing syntactic evidence. Guo and colleagues used distributed representations for cross-language parsing, an example the paper cites for low-resource transfer. Ammar and colleagues treated multilingual parsing as a way to share a parser across languages with more resources. These studies are part of the case for looking beyond separate training for every language. They also motivate a distinction between sharing the representations that a parser reads and sharing the annotated examples from which it learns its task. Dione’s setup does both. [Cross-lingual Dependency Parsing Based on Distributed Representations](https://md.research.elamur.ai/free/en/papers/guo-2015-cross-lingual-dependency-parsing-based/) · [Many Languages, One Parser](https://md.research.elamur.ai/free/en/papers/ammar-2016-many-languages-one-parser/)

Dione also discusses Vilares and colleagues’ work on bilingual training with paired Universal Dependencies treebanks. Their approach makes the makeup of the pool a decision in its own right. The Uppsala entry in the CoNLL 2018 Shared Task applied a grouping strategy at a wider scale. It combined treebanks from the same language or from closely related languages and processed their annotations in a pipeline with several tasks. Dione cites that work for two reasons. Grouping collections can reduce the need to maintain a separate parser for every treebank, and a shared parser can benefit a language whose own treebank supplies relatively little evidence.

UDify is the direct precedent for Dione’s experiments. Kondratyuk and Straka trained a single multitask parser across 124 treebanks from 75 languages. They combined a shared multilingual encoder with different outputs for the annotation tasks. Dione takes that approach and changes the scale and purpose of the comparison. The language pool is deliberately limited, and each source has a role in an experiment about transfer to Bambara, Wolof or Yoruba. The earlier experiment also supplies the historical benchmark for the two targets whose annotations are available only for testing. [Parsing Universal Dependencies Universally](https://md.research.elamur.ai/free/en/papers/kondratyuk-2019-75-languages-1-model-parsing/)

The paper identifies another precedent for choosing data by relationship. Lim and colleagues examined multilingual parsing involving North Saami and Komi-Zyrian and investigated sources selected for language contact or shared ancestry, including Finnish. In Dione’s account, their work suggests that specific combinations can help a low-resource target. That motivates a narrower question than whether multilingual parsing works in general. If a set of sources provides useful supervision, which members contribute to a particular target, and do those contributions follow the linguistic relationships that guided selection?

#### Why these languages make different comparisons possible

The paper situates Bambara, Wolof and Yoruba in West Africa, with distinct geographic ranges. It describes Bambara across Mali and parts of neighboring countries, Wolof in Senegal, The Gambia and Mauritania, and Yoruba especially in southwestern Nigeria. Geographic proximity matters to the design because it can allow contact between languages that the paper treats as more distant genealogically. Conversely, two languages classed together in a broad family can have little direct contact with one another. The paper uses Wolof’s relationships with Bambara and Yoruba to make this distinction concrete.

Dione discusses all three under a broad Niger-Congo classification while noting uncertainty about its internal relationships, especially the connection of Mande to Atlantic-Congo. Bambara is grouped with Mande, while Wolof and Yoruba belong to Atlantic-Congo. The paper treats Wolof and Yoruba as genealogically related, without assuming a close relationship that would guarantee similar parsing behavior. Wolof and Bambara, meanwhile, may share regional features through contact. These are different reasons for comparing languages. A genealogy concerns descent, whereas contact concerns what speakers may share or change through interaction. Neither description specifies how much useful evidence one annotated training collection will provide for another.

The grammatical sketches show why a broad relationship is an incomplete guide to parsing. The paper describes Bambara as highly isolating, with a strict order that places the object before the verb, after the subject and an auxiliary or tense, aspect and mood marker. Yoruba is also described as highly isolating, but has subject–verb–object order. Wolof likewise has basic subject–verb–object order, while its word structure is described as agglutinative, with grammatical material combined within a word. For a parser, the location of an object and the amount of grammatical information expressed inside a word are different kinds of cues. A source and a target can agree on one and differ on the other.

The paper also distinguishes among the targets by tone. It describes Bambara and Yoruba as tonal and Wolof as lacking lexical tone. These descriptions help explain why Dione treats the targets as separate cases. The study does not turn tone, word order or word structure into numerical measures of distance between languages. Instead, such features provide context for interpreting a transfer result that might otherwise be attributed entirely to family membership or contemporary contact.

The high-resource sources have different roles in the design. Dione chooses French for its history of contact with Bambara and Wolof, and English for its history of contact with Yoruba. The paper points to lexical borrowing and morphosyntactic changes in its discussion of English and Yoruba, and to French influence in its discussion of urban Wolof. Norwegian provides a comparison because Dione identifies no direct contact or genealogical relationship with the target languages. Those assignments determine which effects the language-removal experiments look for. Each condition still removes actual texts and annotations, so the effects are measured on specific treebanks. [French](https://md.research.elamur.ai/free/en/topics/french/) · [English](https://md.research.elamur.ai/free/en/topics/english/)

### The method, step by step

#### Build a shared training collection

The method begins by keeping the tests separate from the material that teaches the task. Dione draws on UD v2.3 and combines the available training splits. A treebank is a source of supervision only if it has a training split. This is why the paper can describe a collection of 11 treebanks and still say that the main parser trains on 9. The Bambara and Yoruba collections are part of the study because they supply test data. Their annotations are used to assess output, while other treebanks provide the examples from which the parser learns.

Joining the training splits gives the parser access to data from multiple sources within the same run. It keeps each sentence intact. A French sentence supplies its own words and annotations, followed in training by other sentences that may come from other treebanks and languages. The procedure therefore shares grammatical supervision without requiring every French sentence to have a Bambara counterpart or every English sentence to have a Yoruba translation. The common annotation scheme supplies the correspondence the training procedure needs.

The central comparisons begin with a pool that includes the available English, French, Norwegian and Wolof training data. Separate runs remove all the treebanks for English, all the treebanks for French, the Norwegian treebank or the Wolof training treebank. Each removal is compared with the full pool. There is also a run trained with Wolof annotations alone. The test sets retain their original roles across these changes. In particular, taking Wolof out of the training pool leaves its test sentences available, which allows a direct comparison of Wolof parsing with and without examples from Wolof itself.

How UDify learns and predicts dependency annotations The steps in order.

#### Represent words through their context

For a dependency parser, identifying a word is only the beginning. The parser needs to represent what that word is doing in its sentence. A word’s likely head and grammatical role can depend on cues that occur elsewhere in the sentence. UDify uses a cased multilingual BERT encoder to build representations that incorporate such context. The case distinction is preserved in the input used by this encoder. A word’s representation depends on the sentence in which it appears, so the same spelling can receive a different representation when its surroundings differ. [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/)

The encoder reads pieces of words. Dione uses the BERT WordPiece tokenizer for inputs from all treebanks. A written word can enter the encoder as a piece in its own right or be split into smaller pieces. This lets the system reuse parts of its existing inventory when it encounters surface forms from different languages. The purpose is to control how many distinct input units it needs to represent, especially when the written vocabularies of several treebanks are combined. The dependency output is still an analysis of words in the sentence. The pieces are how the encoder reads the input. [Subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/) · [Word form](https://md.research.elamur.ai/free/en/concepts/word-form/)

The paper gives separate inventory counts for written forms and BERT pieces over the combined treebanks. It reports 178,214 distinct word forms and 119,547 BERT wordpieces. These are vocabulary sizes for the combined collection, distinct from the token counts that describe how much running text each treebank contains. The inventories also distinguish the outputs of the annotation tasks. There are 17 universal part-of-speech tags in the combined inventory, 1300 feature entries, 3,834 lemma tags and 86 dependency relations. The table additionally lists 206 language-specific part-of-speech tags. Those are a property of the combined data inventory, while the tagging task described for UDify predicts the universal categories.

BERT brings experience from a stage that precedes treebank training. The paper describes multilingual pretraining on Wikipedia in 104 languages through a task that masks parts of the input and asks the encoder to predict them from context. Yoruba was among those languages, as was Swahili. Bambara and Wolof are outside the African-language coverage Dione identifies for this pretraining stage. This gives “zero-shot” a specific meaning in the parsing experiments. Yoruba has no supervised examples from its treebank during the parser’s training, and the encoder can still have encountered Yoruba writing during pretraining. Withholding Wolof in a separate run is also a statement about supervised parsing data. [Language models and pretraining](https://md.research.elamur.ai/free/en/topics/language-models/)

The encoder has 12 layers, with 12 attention heads per layer and a hidden dimension of 768. A layer transforms the current representations of the input units. An attention head gives the transformation a way to put different amounts of weight on input positions when building a representation. In general terms, that lets information from one position affect how another position is represented. The architecture supplies this facility throughout the sentence. The dependency decisions come later, when a different part of the parser uses the representations to decide which grammatical links and labels to assign. [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/) · [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/)

UDify does not have to treat the final encoder layer as the sole representation for every annotation task. It uses learned, task-specific weights to combine representations from different layers. Dione describes this as similar to the layer combination in ELMo. In practical terms, a part-of-speech decision and a dependency decision can draw differently on the same encoder. They share the text representation machinery, but each task learns its own way to read from it. This arrangement matters to the architecture because the grammatical category of an individual word and the relationship between two words are different prediction problems. [Deep Contextualized Word Representations](https://md.research.elamur.ai/free/en/papers/peters-2018-deep-contextualized-word-representations/)

#### Predict annotations and assemble the parse

UDify predicts UPOS, FEATS, LEM and DEPS. UPOS is the universal part of speech, a broad category such as noun or verb. FEATS is the word’s set of morphological features, which records grammatical properties expressed by the form. LEM is the lemma, the canonical form under which the word would ordinarily be looked up. DEPS is the dependency analysis, which says which head a word attaches to and what kind of link it has to that head. A system can thus get one kind of annotation right while making an error on another. The paper reports them separately even though a shared encoder supports them. [Part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) · [Lemma](https://md.research.elamur.ai/free/en/concepts/lemma/)

The distinction between the dependency head and its label is central. Choosing a head identifies the word that governs the token in the parse. Naming the label describes the function of that attachment, such as a nominal subject or an object. A dependency tree is made by putting these directed connections together for the sentence. The tree can express that a verb governs a particular nominal without requiring the nominal to occur in the same position in every language. Recovering the structure still depends on finding the right head for each token using the clues in that sentence. [Nominal subject](https://md.research.elamur.ai/free/en/concepts/ud-nsubj/) · [Object](https://md.research.elamur.ai/free/en/concepts/ud-obj/)

The paper explains the parser choice by contrasting two established families of algorithms. A transition-based parser begins in an initial configuration and chooses actions that change it. The parse emerges through that sequence of choices and is complete when a terminal configuration is reached. Dione reviews neural work in this tradition, including early feed-forward parsing and later use of recurrent representations and stacks. These approaches show different ways of learning how to choose a parsing action. [Incrementality in Deterministic Dependency Parsing](https://md.research.elamur.ai/free/en/papers/nivre-2004-incrementality-deterministic-dependency-parsing/) · [A Fast and Accurate Dependency Parser using Neural Networks](https://md.research.elamur.ai/free/en/papers/chen-2014-fast-accurate-dependency-parser-neural/) · [Transition-Based Dependency Parsing with Stack Long Short-Term Memory](https://md.research.elamur.ai/free/en/papers/dyer-2015-transition-based-dependency-parsing-stack/)

Graph-based parsing frames the decision as a search for a high-scoring tree. Conceptually, the sentence offers competing candidate links, and the parser needs to favor a set of links that can form a tree under the structural constraints of the task. The description of competing graphs characterizes the search problem. It does not specify a procedure that materializes a list of every possible whole tree. Dione points to earlier work on spanning-tree parsing and to the strong performance reported for a neural graph-based system on Universal Dependencies data. UDify follows that graph-based lineage. [Non-Projective Dependency Parsing using Spanning Tree Algorithms](https://md.research.elamur.ai/free/en/papers/mcdonald-2005-non-projective-dependency-parsing-spanning/) · [Stanford’s Graph-based Neural Dependency Parser](https://md.research.elamur.ai/free/en/papers/dozat-2017-stanford-s-graph-based-neural/)

The dependency component uses the biaffine approach associated with Dozat and Manning. At the level needed to follow the study, the score for a link depends on a pair of representations, one for a candidate head and one for the word that might attach to it. This lets the parser learn which features of the head and dependent are informative together. Scoring the attachment and scoring a relation label serve different purposes. The architecture’s dependency arc dimension is 768 and its dependency tag dimension is 256. An arc is the link between a dependent and its head, and the tag is the label placed on that link. Those dimensions describe internal representations used for the two predictions, instead of the number of possible head words or relation types. [Deep Biaffine Attention for Neural Dependency Parsing](https://md.research.elamur.ai/free/en/papers/dozat-2016-deep-biaffine-attention-neural-dependency/)

The paper describes simultaneous decoding of the annotation tasks with softmax classifiers. Softmax expresses the relative scores of competing categories as a distribution so the decoder can choose among them. For the dependency structure, choices about heads must also yield a tree. The separate decoders give the shared representations several uses during training. They also produce outputs that can be audited independently. A parser can assign a plausible word category or lemma even when the syntactic link for that word is wrong.

Dione specifies the architecture through its component operations and cites the work on which they are based. The paper gives settings for the layer representations, classifier and parser dimensions, optimizer and training schedule. It does not write out a biaffine scoring equation, a formula for the layer mixture or a joint loss equation. The distinct roles of the encoder, layer mixture and decoders are the level at which the study describes how its parser makes a prediction.

#### Train on shuffled sentences from the pool

The training process shuffles sentences and groups them into batches of 8 sentences. A batch can draw from any of the eligible treebanks in the run. The paper describes random selection from the combined training data and does not describe a procedure for giving equal representation to languages. This matters because the treebanks supplying the examples differ considerably in size. Joint training means that the same parameters learn from sentences of different languages in succession, under a distribution dominated by the larger collections.

Dione uses Adam, with optimizer settings β₁ and β₂ reported as 0.9 and 0.99. These are the coefficients that control how much of the optimizer’s recent history is retained in its averages for the gradient and its squared magnitude. The table gives weight decay as 0.01 and label smoothing as 0.03. Weight decay curbs the growth of weights during training, while label smoothing softens the training target so that the entire target probability need not rest on the annotated category. The gradient clipping setting is 5.0, which limits the size of a gradient used for an update.

The base learning rate is reported as 1e −3, and the separate BERT learning rate as 5e−5. The learning rate controls the size of parameter updates. Dione describes keeping the base rate constant initially, with the BERT weights frozen until the second epoch. Freezing leaves the encoder weights fixed while the trainable task components begin to adapt to the annotations. Once the encoder is unfrozen, the paper describes a linear warmup for the next 1,000 batches, followed by inverse square root decay for the rest of training. Warmup raises the rate gradually, and the decay lowers it as training proceeds. The separate learning rates allow the pretrained encoder to be adjusted at a different rate from the task components. [Fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/)

The paper also describes regularization by masking input and by dropout. Masking hides some input information during training. Dropout interrupts selected contributions to the network so that the predictions cannot always rely on the same internal cues. Dione lists dropout of 0.5, BERT dropout of 0.2, a mask probability of 0.2 and layer dropout of 0.1. Layer dropout acts on layers used in building the task representations. The paper follows the UDify training approach and reports 80 epochs, with a training time of about 3 days on a single RTX 2080. These settings describe the procedure the language combinations are compared under.

### Experiments and results

#### Which collections supply the evidence

The English portion of UD v2.3 in the study comprises EWT, GUM and ParTUT. Dione’s data table gives their treebank sizes as 254.83k, 80.18k and 49.62k tokens, respectively. The French portion comprises FTB, ParTUT, Sequoia and Spoken. FTB is the largest individual treebank in the table at 556.06k tokens. Sequoia has 68.64k tokens, Spoken has 34.98k and French ParTUT has 27.67k. These counts describe the collections. In the removal experiments, the unit removed is the language’s available training material as a whole, regardless of how much each treebank contributes.

For Norwegian, the paper uses Bokmål, which has 310.22k tokens in the data table. Dione reports trying to include Nynorsk as well and leaving it out because the resulting training was computationally expensive. Norwegian’s role as a control is therefore instantiated by Bokmål. The training corpus is heavily weighted towards the high-resource languages. The paper puts their share at roughly 95,5%. That imbalance is important to the comparison with Wolof-only training. Under multilingual training, most of the sentence evidence comes from other languages, although Wolof has its own supervised examples in the full pool.

The target treebanks are Bambara CRB, Wolof WTB and Yoruba YTB. The experiment’s data table lists 13.82k tokens for Bambara CRB, 42.83k for Wolof WTB and 2.67k for Yoruba YTB. The paper’s background discussion gives different sizes for the language resources. It describes the Bambara treebank as 12k tokens, the Wolof treebank as 44k tokens and the Yoruba treebank as 8k tokens. The difference for Yoruba is especially relevant when describing the scale of the evaluation. The figures from the experiment table identify the collections listed for the run, and the paper gives no reconciliation with the background figures. Both descriptions put Bambara and Yoruba in the test-only condition and give Wolof train, development and test splits.

The table also reports 1.03k sentences for Bambara CRB and 0.10k for Yoruba YTB, the test-only collections. It gives 2.11k sentences for the complete Wolof WTB collection. That Wolof count spans the splits, so it describes the treebank and should not be read as the size of the Wolof test set. These distinctions matter when comparing reported scores. The attachment results come from each target’s own test sentences. A treebank’s size across all its splits describes the material available to the study, while the test split determines which individual decisions enter that language’s evaluation.

#### What an attachment score measures

The principal metrics are unlabeled attachment score, UAS, and labeled attachment score, LAS. UAS credits a word when its predicted head agrees with the gold annotation. LAS requires both the correct head and the correct dependency relation. A word attached to the right verb with the wrong relation can therefore count as correct for UAS while still counting as an error for LAS. This distinction is especially informative in a cross-language setting. A parser can recover where a word belongs in the tree more often than it can identify exactly what relation the annotation assigns to it.

The study also reports UPOS, FEATS and lemma scores on the target tests. Those outputs help describe what the shared parser can do besides building a tree. The paper’s main comparisons focus on UAS and LAS, and its tables make it possible to look for tradeoffs across tasks. A rise in one of the word-level scores does not count as a rise in attachment. In the other direction, a better tree score on a given test does not establish that a change improved every output of the parser.

For Bambara and Yoruba, the baseline is the earlier evaluation by Kondratyuk and Straka of UDify trained with a collection of 124 treebanks. Dione says those results were evaluated with the official CoNLL 2018 Shared Task script. Wolof was absent from that earlier experiment because a Universal Dependencies treebank for it was unavailable to that study. Dione therefore trains a Wolof-only UDify baseline and tests it on the Wolof test split. The two baselines support different comparisons. The first compares the current results with published scores from an earlier multilingual training setup. The second compares training choices within Dione’s study for a language with its own supervised data.

#### Bambara and Yoruba improve over the historical baseline

For Bambara, the previous UDify study reports a test UAS of 30.28 and LAS of 8.60. With the full eligible training pool in Dione’s study, the Bambara test UAS reaches 34.28 and LAS reaches 12.98. The higher labeled score shows that the gain is present when correct relation labels are required. It still leaves labeled parsing difficult. Comparing the two attachment scores within the full run also shows the extra difficulty of labeling. That comparison cannot identify which labels caused the most errors, since it aggregates attachments across the test sentences.

Labeled attachment by training setup on the Bambara CRB test set The full selected training pool leads the Bambara comparison, and removing French gives the lowest score among the new runs.

**The numbers**

| System or setting | LAS |
| --- | --- |
| Earlier UDify benchmark | 8.60 |
| Full selected training pool (this paper) | 12.98 |
| Without English | 12.94 |
| Without French | 10.13 |
| Without Norwegian | 11.94 |
| Without Wolof | 11.21 |

For Yoruba, the earlier UDify test results are 37.62 UAS and 19.09 LAS. With Dione’s full training pool, those scores reach 48.99 UAS and 31.43 LAS. Across the Yoruba results, the run that removes Wolof reaches the highest attachment scores, with 52.74 UAS and 33.80 LAS. The larger improvement over the historical baseline and the ranking of Dione’s training variants answer different questions. The historical comparison establishes how the reported test scores differ across the two studies. The removal comparison identifies a change in training composition that helps Yoruba under Dione’s setup.

Labeled attachment by training setup on the Yoruba YTB test set Yoruba reaches its highest labeled attachment score when Wolof training is omitted.

**The numbers**

| System or setting | LAS |
| --- | --- |
| Earlier UDify benchmark | 19.09 |
| Full selected training pool | 31.43 |
| Without English | 28.53 |
| Without French | 30.87 |
| Without Norwegian | 30.87 |
| Without Wolof (this paper) | 33.80 |

The full run also lets readers compare annotation tasks within the test-only languages. On Bambara, its UPOS score is 36.29, its FEATS score is 45.18 and its lemma score is 23.89. For Yoruba, the UPOS score is 60.73, FEATS is 60.43 and the lemma score is 93.59. The Yoruba lemma result and its much lower LAS show that finding a canonical word form and establishing a labeled syntactic attachment can have very different outcomes in the same run. An evaluation of the parser as a source of complete annotations needs to preserve that distinction.

#### Wolof benefits from multilingual training when it also sees Wolof

The Wolof-only parser reaches 73.48 UAS and 63.84 LAS on the Wolof test sentences. The full multilingual run reaches 75.71 UAS and 67.03 LAS. Dione reports the increases as 2.23% in UAS and 3.19% in LAS. The score pairs specify the comparison directly. Both runs have access to the Wolof training annotations, and the result is measured on the same Wolof test split. The comparison shows how much the combined training sources help in this particular supervised setup.

The best Wolof attachment result in the reported runs comes from removing English while retaining Wolof and the other eligible sources. That condition reaches 76.14 UAS and 67.86 LAS. The extreme comparison is the run without any Wolof training annotations, which reaches 27.51 UAS and 10.15 LAS. The two results help separate questions that the label “multilingual parsing” might otherwise blur. One run supplements the available target examples with other languages. The other relies entirely on supervised examples from elsewhere.

Labeled attachment by training setup on the Wolof WTB test set Multilingual training with Wolof examples improves on Wolof-only training, while withholding those examples sharply lowers labeled attachment.

**The numbers**

| System or setting | LAS |
| --- | --- |
| Wolof-only training | 63.84 |
| Full selected training pool | 67.03 |
| Without English (this paper) | 67.86 |
| Without French | 65.29 |
| Without Norwegian | 67.25 |
| Without Wolof | 10.15 |

Comparing the word annotations tells a similar story for the full run and Wolof-only training. UPOS moves from 87.90 in the Wolof-only run to 89.64 with the full multilingual pool. FEATS moves from 69.97 to 75.06, and the lemma score from 87.86 to 89.95. These are results on the Wolof test split for the respective tasks. They show that the multilingual benefit in this comparison extends past the attachment metrics. Later removal comparisons expose more variation across outputs, including cases where a word-level score improves while attachment gets worse.

### What the ablations show

#### Removing English chiefly hurts Yoruba attachment

The removal comparisons ask what happens when a particular source is absent from the mix. Each run is retrained with the changed pool. This leaves room for the sources still present to compensate for the missing material. The experiment therefore measures the effect of including a source alongside the others, under this training procedure. A language that helps in this mix might matter differently in a smaller pool, and a source whose removal makes little difference might supply cues already available somewhere else.

When the English treebanks are withheld, Yoruba test UAS falls from 48.99 in the full run to 45.19. Test LAS falls from 31.43 to 28.53. This is the expected direction for the language Dione pairs with English through contact. The direction agrees for head selection and labeled attachment, making the result about the tree as well as the relation categories. Since the experiment removes all the English treebanks together, it gives no individual estimate for EWT, GUM or ParTUT.

Bambara and Wolof respond differently to the same removal. Bambara test UAS is 33.83 without English, versus 34.28 in the full run, and LAS is 12.94, versus 12.98. Wolof reaches a UAS of 76.14 and LAS of 67.86 without English, compared with the full run’s 75.71 and 67.03. English is among the largest sources of supervised material in the full pool, so the Wolof result illustrates that a larger training collection does not automatically improve attachment on a particular target. The performance of the full pool depends on the kinds of examples and their balance across languages as well as their quantity.

Even for Yoruba, the result does not say that English helps every output to the same extent. On its test set, the FEATS score is 60.18 without English and 60.43 in the full run. The labeled attachment scores separate more clearly. That comparison helps locate the result at the level the paper measures. English is useful to Yoruba’s attachment scores in this experiment. The aggregate task scores give no account of which features of English sentences provide that help.

#### Removing French chiefly hurts Bambara and Wolof attachment

With French absent, Bambara test UAS is 30.50, compared with 34.28 in the full run. LAS is 10.13, compared with 12.98. Dione reports decreases of 3.78% in UAS and 2.85% in LAS. Among the removals, this gives Bambara its lowest labeled score. The result supports the choice of French as a useful source for the specific zero-shot setup tested. It also shows that substantial annotation from languages elsewhere in the pool, by itself, recovers fewer of the attachments scored in the full run.

Wolof also loses on both metrics when the French training material is removed. Its test UAS is 73.43 and LAS is 65.29, against 75.71 and 67.03 with all eligible sources. This test is informative in a different way from Bambara’s. There are Wolof examples in both Wolof conditions. The French material helps the combined parser beyond what the common training pool with Wolof itself can supply. The test does not require Wolof to lack supervision for a source language to matter.

For Yoruba, the French removal yields 48.69 UAS and 30.87 LAS. Those test scores are close to the full run’s 48.99 and 31.43. Together, the English and French removals form the main evidence for Dione’s contact hypothesis. French contributes more clearly to attachment on the two targets for which the paper identifies French contact. English contributes more clearly to attachment on the target for which it identifies English contact. The parallel concerns the experimental pattern across target tests. It gives a basis for choosing among the tested sources without identifying a particular borrowing or syntactic construction as the cause.

The relation between attachment and the other annotation tasks is especially clear for Wolof when French is withheld. Its FEATS score rises from 75.06 in the full run to 82.33, and its lemma score rises from 89.95 to 91.53. At the same time, UAS and LAS go down. The reported results therefore give separate answers depending on what the practitioner needs the parser to produce. The French data help recover Wolof dependency trees in this setup. Word-feature and lemma scores favor the run without French in this particular comparison.

#### Removing Norwegian has a smaller and less consistent effect

Norwegian is the paper’s control for an annotated source with no identified direct contact or genealogical link to the targets. Its removal lets Dione see what happens when the training pool loses a substantial source without the relationships that motivated the English and French comparisons. Bambara test UAS and LAS are 33.94 and 11.94 without Norwegian, and Yoruba’s are 48.09 and 30.87. These scores are below the full run’s values for those languages. They do not follow the stronger target-specific pattern seen for French with Bambara or English with Yoruba.

For Wolof, removing Norwegian gives 75.35 UAS and 67.25 LAS, compared with 75.71 UAS and 67.03 LAS under full training. The metrics move in different directions. The head choices credited by UAS and the fully labeled attachments credited by LAS can therefore favor different versions even on the same test. Alongside the target-specific English and French results, this supports treating the Norwegian effects as modest within the experiment. It also gives a more precise account than assuming an unrelated source contributes nothing. Some scores are higher when Bokmål is included, while others, including Wolof LAS, favor its absence.

The Norwegian test is a comparison with an actual source language and treebank. Bokmål brings its own annotated sentences, vocabulary and distribution of constructions. Its removal also changes the volume of training data. The control thus gives a benchmark for how the parser behaves without this particular unrelated source. It does not make the French, English and Norwegian pools equivalent except for the history of contact.

#### Removing Wolof exposes the role of target-language examples

The biggest effect of withholding a language appears when Wolof loses its own annotations. Its test UAS falls from 75.71 to 27.51, and its LAS falls from 67.03 to 10.15. The paper reports these decreases as 48.2% and 56.88%, respectively. Because the evaluation uses the same Wolof test set in both conditions, the contrast shows how dependent the measured performance is on having Wolof examples in the training pool. Multilingual transfer can improve the supervised parser, as the comparison with Wolof-only training indicates, while yielding much weaker Wolof parses when all the target supervision is withdrawn.

The two Wolof comparisons complete each other. Starting from Wolof-only training and adding sources asks what outside examples contribute when the parser already sees Wolof annotations. Starting from the full training pool and withholding Wolof asks what the outside sources can supply by themselves. The first comparison favors adding the other languages. The second shows the need for Wolof annotations to reach the higher scores in this study. Evidence for a benefit from pooling data is compatible with a large role for target examples.

The no-Wolof run also scores worse on Bambara. Bambara test UAS falls from 34.28 to 30.91 and LAS from 12.98 to 11.21. The paper’s linguistic discussion gives Wolof’s regional relationship with Bambara as a reason this comparison is worth making. The result is compatible with useful transfer from Wolof training examples to Bambara in the selected pool. It does not show that the improvement comes from regional features specifically, since the paper neither isolates those features nor evaluates them as a separate group of dependencies.

Yoruba moves in the opposite direction. Its test UAS is 52.74 without Wolof, versus 48.99 in the full run, and LAS is 33.80, versus 31.43. The paper reports gains of 3.75% in UAS and 2.37% in LAS after withholding Wolof. Since Wolof and Yoruba are grouped together within Atlantic-Congo, a simple expectation that shared ancestry favors transfer would have predicted a benefit from keeping Wolof. Instead, the scores favor removing it. Dione leaves open whether the difference comes from the data, the closeness of the linguistic relationship or another property of the setup.

The Yoruba output scores make the Wolof comparison more specific. Without Wolof, Yoruba’s lemma score is 78.39, compared with 93.59 in the full run. Its UPOS score is 67.44, compared with 60.73. The better parsing result therefore comes alongside a lower lemma score and a higher part-of-speech score. If one judged the removal solely on the usefulness of the resulting dependency trees, it would look beneficial for Yoruba. Judging it by lemma prediction would favor the full training pool. The paper’s unresolved question about genealogy concerns dependency parsing under the reported combinations, and the other task scores illustrate why that conclusion has a defined scope.

### Limitations

#### Limits identified by the paper

Dione explicitly leaves the genealogical interpretation unresolved. The comparison involving Wolof and Yoruba supplies evidence about their treebanks in one training arrangement. It cannot distinguish the influence of their linguistic relationship from properties of the data. The paper also raises the scarcity of Yoruba annotations when interpreting the result. There is no supervised Yoruba condition in which the parser first learns from Yoruba sentences and then receives Wolof as additional evidence. The influence of Wolof on a parser that already knows Yoruba annotation conventions from examples remains an open question.

The available treebanks also determine which languages can serve as test cases. Bambara and Yoruba qualify because there are annotated test sentences, even though they have no training split. A language with no dependency annotations at all could in principle receive output from the same kind of parser, but it could not be evaluated by the same procedure until someone made reference trees. Wolof gives the study a test of supplemented training because it has target supervision. Since the available collections have these different roles, the results establish feasibility under particular conditions of annotation scarcity.

The paper explains that including Norwegian Nynorsk made multilingual training computationally expensive, so only Bokmål is included. This is a practical limit on the Norwegian comparison. It means the observed control effect is based on that one variety’s treebank. The paper also points to the size of the Wolof test set when discussing its weak zero-shot result. The test remains fixed when Wolof annotations are present or absent from training, however, so its size alone cannot explain the difference between the two runs. The paired comparison establishes a strong dependence on target supervision in this setup. The experiment does not isolate the contribution of test size to the absolute scores.

#### Limits of the comparison and measurement

The removal experiments vary source identity, the amount of training data and the kinds of sentences available together. French contributes several treebanks, whose texts and grammatical analyses are removed as a group. English also contributes multiple treebanks, while Bokmål contributes one. The paper keeps the general training procedure fixed, but this design does not match the removed sources for size or content. Consequently, the observed pattern supports a source-selection hypothesis associated with language contact. It cannot isolate contact itself as the variable responsible for stronger transfers.

The historical comparisons have a related limit. The paper places Dione’s Bambara and Yoruba scores next to those published for the earlier 124-treebank UDify setup. These comparisons show that the smaller, deliberately chosen collection achieves better reported test attachment scores for those targets. The paper does not contain a matched sweep that changes only the number of treebanks or tries every subset of the larger collection. The historical result therefore cannot establish whether fewer treebanks would generally work better, or whether size, selection and other details of the training setup account for the difference.

Pretraining introduces another difference among the zero-shot cases. Yoruba benefits from access to Yoruba text at pretraining time, even though it supplies no annotated sentences during training for the task. The experiments share the pretrained encoder and vary supervised sources. They do not compare the same setup with an encoder pretrained without Yoruba, or with one that has also seen Bambara and Wolof in pretraining. The performance differences among these targets thus do not isolate the contribution of target-language exposure in BERT.

The tables give results for each run without reporting variation over repeated training runs or tests of statistical uncertainty. Small movements, such as the change between Wolof’s full and no-Norwegian LAS, describe the observed runs. Their stability across repeated training or other test sentences is unknown. The issue is particularly relevant when considering the small Yoruba test collection listed in the experimental data table. The tables place the comparisons on a common set of test sentences for each target, but they give no estimate of how representative the exact sizes of the reported gains are.

The aggregate scores also leave open which syntactic decisions transfer. A stronger UAS says that more heads match the test annotation, while a stronger LAS says that more head-and-label pairs match. Neither score identifies whether the gain is concentrated in particular relations, familiar words or sentences with a certain structure. The paper does not provide a relation-by-relation or construction-by-construction breakdown for the contact comparisons. Its discussion of borrowings, word order and morphology motivates the design, while the outcome it measures is the total performance on the annotated test sentences.

Finally, the experiments change the training data while reusing the UDify approach. They do not separately remove its layer mixing, word-level annotation tasks or biaffine dependency decoder. The results tell us how this parser responds to changes in the source pool. They do not establish whether each architectural component is necessary for the gain or whether an alternative parser would rank the sources the same way. For Bambara and Yoruba, the low absolute labeled scores also give a direct indication of how much of the gold dependency analysis still escapes the approach, even when the training combination improves on the historical comparison.

### What came after

No later studies are documented here as building on Dione’s experiments. The paper leaves open whether the observed contact advantage would persist with comparable training collections, and whether tests of individual grammatical relations could explain why Wolof supervision helps some Yoruba annotations while weakening dependency attachment.

## Cite

Cite as Cheikh M. Bamba Dione. 2021. Multilingual Dependency Parsing for Low-Resource African Languages: Case Studies on Bambara, Wolof, and Yoruba. Proceedings of the 17th International Conference on Parsing Technologies and the IWPT 2021 Shared Task on Parsing into Enhanced Universal Dependencies (IWPT 2021).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2021.iwpt-1.9](https://doi.org/10.18653/v1/2021.iwpt-1.9)

```bibtex
@inproceedings{bamba2021multilingual,
  title = {{Multilingual Dependency Parsing for Low-Resource African Languages: Case Studies on Bambara, Wolof, and Yoruba}},
  author = {Cheikh M. Bamba Dione},
  booktitle = {Proceedings of the 17th International Conference on Parsing Technologies and the IWPT 2021 Shared Task on Parsing into Enhanced Universal Dependencies (IWPT 2021)},
  year = {2021},
  doi = {10.18653/v1/2021.iwpt-1.9},
  url = {https://doi.org/10.18653/v1/2021.iwpt-1.9}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
