Multilingual Dependency Parsing for Low-Resource African Languages: Case Studies on Bambara, Wolof, and Yoruba
Paper · 2021 · Cheikh M. Bamba Dione
Summary
A language can have grammars, dictionaries and a substantial body of writing while still having few sentences marked up for automatic syntactic analysis. That is the situation Cheikh Bamba Dione examines for Bambara, Wolof and Yoruba. All three have annotated sentences on which a parser can be tested. Only Wolof has a training split in the study. Dione asks how far examples from other languages can supply the missing instruction, and whether a history of contact helps identify a useful source. The main task is to find the grammatical head of each word and name the relation that connects them, a task known as dependency parsing.
Dione uses UDify, a parser that learns to assign word categories, grammatical features, dictionary forms and syntactic links together. It starts with a multilingual BERT encoder, which builds a representation of each input in context. The study draws on 11 annotated collections, or treebanks, covering the three target languages and English, French and Norwegian. The main run uses the 9 collections that supply training data. The shared annotation conventions let the parser learn the same kinds of decisions from different languages. Those conventions come from Universal Dependencies.
On the Bambara test set, the main run reaches 12.98 in labeled attachment, compared with 8.60 in an earlier UDify study that drew on a much larger collection of treebanks. For Yoruba the corresponding test scores are 31.43 and 19.09. Labeled attachment requires both the right head and the right grammatical relation. Most attachments still fail that joint test in Bambara and Yoruba. Wolof provides a comparison within Dione’s study. With Wolof annotations included, the multilingual run reaches 67.03 in labeled attachment on the Wolof test set, compared with 63.84 for training on Wolof annotations alone.
When Dione removes a source language, the effects differ across targets. Bambara and Wolof lose attachment accuracy when French is withheld, and Yoruba loses accuracy when English is withheld. Removing Norwegian, chosen as a comparison source with no direct contact with the targets, produces smaller shifts. The pattern supports the choice of contemporary contact languages for these particular training pools. The comparison based on common ancestry is harder to interpret. Withholding Wolof annotations reduces Wolof’s own labeled attachment score to 10.15 and raises Yoruba’s to 33.80. The study leaves the cause of Yoruba’s response unresolved, including what role to assign to the linguistic relationship and what role to assign to the available data.
Deep dive: Multilingual Dependency Parsing for Low-Resource African Languages: Case Studies on Bambara, Wolof, and Yoruba
Cheikh Bamba Dione tests which training languages help UDify recover grammatical links in Bambara, Wolof and Yoruba when annotated examples are scarce. · about 32 minutes to read
The problem and its context
What a parser needs to learn
A dependency analysis gives a sentence a structure by recording which words govern others. Consider what it takes to locate an object. The parser has to identify the word the object belongs with, frequently a verb, and it has to assign the object relation to that connection. Finding the verb and recognizing the relation are distinct decisions. A sentence can contain several plausible heads, and the same head can govern words with different grammatical functions. Across a whole sentence, the individual decisions also have to fit together as a tree.
A treebank makes examples of those decisions available in a form a program can learn from. Annotators record an analysis for each sentence, providing a reference against which predicted analyses can be compared. Developing such a collection requires work at the level of individual sentences. A reference grammar may explain how a construction works and a dictionary may describe the forms of a word. A treebank supplies the judgments a supervised parser needs for the particular words and constructions it encounters in training. That difference gives the study its practical definition of scarce resources. Treebanks
Dione describes Bambara and Yoruba as languages with substantial documentation. Bambara has linguistic studies, reference grammars and dictionaries, and the paper mentions a large corpus of writing whose usefulness for research is limited by access. Yoruba has literary and religious texts, newspapers and blogs as well as dictionaries and academic work. Wolof has descriptive grammars and dictionaries, and Dione points to earlier computational resources including a finite-state analyzer for word structure and a parser based on Lexical-Functional Grammar. The paper’s concern is the availability of data and tools for particular computational tasks, especially syntactic analysis. Low-resource languages
The collection available for each target gives the study a different experimental starting point. For Bambara and Yoruba, a researcher can count successes and errors against an annotated test set. The parser must obtain its supervised training examples elsewhere. For Wolof, the collection includes material for training, development and testing. The development split is the part reserved for checking a system during development, and the test split is the part used for the reported evaluation. Wolof makes it possible to study what other languages add to direct supervision and what they can supply when direct supervision is withdrawn.
Universal Dependencies makes that borrowing of examples practical. It provides conventions for assigning grammatical categories and drawing syntactic relations across languages. A subject or object can have a common annotation even when its usual position varies by language. From the point of view of training, examples from different treebanks can therefore contribute to a common prediction task. From the point of view of transfer, the parser still has to learn which cues are reliable in a new sentence. Sharing the names of the relations makes it possible to ask the same question in several languages, while the evidence for the answer can differ substantially. Universal Dependencies v1
From training separately to sharing supervision
Dione describes supervised training on a single language as the longstanding default. A parser learns from analyses in the language in which it will be used. That gives training a direct connection to the vocabulary and constructions of the target. It also makes an annotated training corpus a prerequisite. If target-language sentences are available only for evaluation, the usual way of learning from reference analyses remains useful, but another language has to supply those analyses.
The paper traces the development of shared training through work on cross-language representations and through experiments that combined annotated corpora. It cites Guo and colleagues as an example of cross-language parsing for low-resource settings using distributed representations. A distributed representation describes a word or other item by a set of numerical features that the parser can use. It cites Ammar and colleagues for training a parser across several languages with more resources. The two lines of work motivate different kinds of sharing. Representations give a parser a common way to read its inputs. Combining treebanks gives it supervised examples of the grammatical decisions it needs to make. Cross-lingual Dependency Parsing Based on Distributed Representations · Many Languages, One Parser
The study also discusses work by Vilares and colleagues on bilingual parsers trained with pairs of harmonized treebanks. In this approach, selecting the pair is already a substantive decision. The Uppsala system at the CoNLL 2018 Shared Task took grouping further. It organized 82 treebanks into 34 trainable systems, grouping collections from the same language or from closely related languages and using a pipeline for multiple annotation tasks. Dione presents grouping as a way to reduce the number of separate systems to train and as a way for a small treebank to benefit from supervision available elsewhere.
The closest precedent is the work of Kondratyuk and Straka, who developed UDify and trained a single parser across 124 treebanks representing 75 languages. Their approach uses shared sentence representations and learns multiple forms of grammatical annotation in the same training procedure. Dione adopts this architecture for a study organized around a much narrower set of source and target relationships. The broad experiment established the setting in which multilingual training could be tried at scale. Dione’s design makes individual languages removable so their contribution to the particular pool can be examined. Parsing Universal Dependencies Universally
Another precedent concerns the choice of sources. Dione discusses work by Lim and colleagues on North Saami and Komi-Zyrian that considered contemporary contact and common ancestry, with Finnish among the languages examined. That work gives Dione a reason to consider combinations selected for recognizable linguistic relationships. The point is to make a testable prediction before training. If a particular source is chosen because of its relationship to a target, the evaluation can ask what changes on that target when the source is omitted.
Why the language relationships lead to different predictions
The study’s targets are all West African languages. Dione describes Bambara as spoken in Mali and parts of neighboring countries, Wolof as spoken in Senegal, The Gambia and Mauritania, and Yoruba as spoken especially in southwestern Nigeria. The geographical overlap relevant to the paper is between Bambara and Wolof. Dione discusses the possibility that they share some features through sustained regional contact. Wolof and Yoruba, by comparison, have little direct contact in the account given by the paper, yet fall within the same broad genealogical grouping.
The paper places Bambara in Mande and Wolof and Yoruba in Atlantic-Congo. It discusses these groupings in relation to Niger-Congo and notes uncertainty about the internal classification and the position of Mande. One feature Dione uses to illustrate the distinction is noun-class morphology, which the paper identifies with Atlantic-Congo and describes as absent from Mande. The grouping of Wolof and Yoruba gives the study a reason to look for transfer associated with common ancestry. The potential regional connection between Bambara and Wolof provides a different reason to look for shared behavior.
The grammatical descriptions make clear what a parser might have to learn about each target. In Dione’s account of Bambara, a strict basic order puts the subject before an auxiliary or a tense, aspect and mood marker, then the object before the verb. Yoruba puts the verb before the object. Both are described as highly isolating, meaning that grammatical information is commonly distributed across separate words. Wolof also has a basic subject–verb–object order and is described as agglutinative, with grammatical elements combined in word forms. These dimensions can cut across one another. Word order affects where the parser may look for a likely head, while word structure affects which grammatical information it may have to recover from the form itself. Morphology
Tone provides another distinction in the linguistic sketch. The paper describes Bambara and Yoruba as tonal, while characterizing Wolof as a language without tone. These descriptions help put the targets in context. The training design simply presents their respective written sentences and annotations to the parser where eligible training material exists. It has no separate score for genealogical closeness, similarity in word order or tone. A relationship can motivate a comparison even when the training procedure has no parameter that encodes the relationship directly.
French and English are chosen on the basis of contact. Dione associates French with Bambara and Wolof and discusses French influence on the variety of Wolof spoken especially in cities. The paper associates English with Yoruba and cites lexical borrowing and morphosyntactic change in its account of that contact. If some of the cues used to make grammatical decisions carry across languages in contact, the corresponding annotated source could help with the target’s test sentences. The hypothesis concerns the usefulness of the training examples supplied by French and English.
Norwegian serves a different purpose. Dione chooses it as a source with no direct contact or genealogical relationship to the targets. Its annotations still use the common dependency scheme, so it provides a comparison with a language that can teach the task without the relationship motivating the English and French selections. Together the choices set up a study of the composition of a training pool. The outcomes of interest are what the parser learns from the entire pool and how those outcomes change when particular material is absent.
The method, step by step
Combine the annotation splits
The study first organizes the treebanks according to the roles of their sentences. Training sentences carry the reference analyses from which UDify learns. The development and test material remain separate from those sentences. Combining the collections means putting compatible splits together so that training can draw on several sources through a single data stream. It does not require paired translations. Each sentence is an example in its own right, with the annotation that belongs to it in its original treebank.
The common format comes from UD v2.3. The study uses 11 treebanks overall and identifies 9 as sources of training examples for the main multilingual run. Bambara CRB and Yoruba YTB participate through their evaluation material. The main training pool gets its examples from the English and French collections, Norwegian Bokmål and Wolof WTB. Pooling at the sentence level retains the words and syntactic structure of each original sentence. What the collections share is the kind of output UDify must learn to produce.
Dione constructs the other training pools from this starting point. The Wolof-only run learns from annotated Wolof sentences as a supervised comparison. In each multilingual removal run, the training material associated with a particular language is withheld. Withholding Wolof for training still leaves the Wolof evaluation available, so the parser can be checked on the same target after learning its parsing task completely from other languages. In this article, zero-shot refers to that absence of supervised target-language examples for the annotation task.
From pooled training data to UDify predictions
The steps in order.
Convert the sentence into contextual representations
The first operation on the input text is segmentation. UDify uses the multilingual BERT WordPiece tokenizer for every input collection. Its units can be whole words or smaller pieces. Reusing pieces across written forms is a way to handle a pooled vocabulary that would otherwise require many distinct word entries. The paper describes the input as unnormalized and the encoder as cased. Case distinctions thus remain available in the text that enters the encoder. Subword tokenization
The scale of the issue is visible in Dione’s vocabulary inventory. Over the full collection, the paper records 178,214 distinct written forms and 119,547 BERT wordpieces. These figures count different kinds of entries. They describe how many written forms and pieces occur in the combined collections, rather than how many positions a typical input sentence occupies. The paper uses the same tokenizer across runs and presents it as its way of dealing with the vocabulary of pooled data. The grammatical annotations still concern the words of the sentence, with sub-word pieces serving as the encoder’s input units. Word form
The encoder builds contextual representations. When a word occurs in a different sentence, the representation can change because surrounding text affects it. That property matters for dependency parsing, where the interpretation of a form can depend on what other words are present and where they appear. An isolated representation of an apparent noun, for example, supplies little information about which predicate it belongs with in the current sentence. The contextual encoder has access to the sentence while building the features used by the dependency scorer. Dione starts with the cased multilingual version of BERT.
The paper uses a BERT encoder with a hidden size of 768 and 12 layers, each containing 12 attention heads. A hidden dimension is the number of entries in an internal representation. The layers successively update the representations, and the heads give each layer several ways to draw information from input positions. A word’s representation can therefore incorporate evidence from another part of the sentence before the parser evaluates any candidate attachment. These attention operations produce features for the parsing decisions. The reference dependency tree supplies the grammatical meaning of a head or relation in the output. Transformer and attention
There is an important distinction between the text used to prepare the encoder and the treebank sentences used to train UDify. Before the parsing experiment, multilingual BERT had learned from Wikipedia in 104 languages. The paper describes a pretraining task in which input material is masked and the system learns to recover it from context. Yoruba and Swahili are the African languages Dione identifies in that coverage. Yoruba therefore enters the parsing study with an encoder already exposed to Yoruba writing, although its treebank lends no training examples to the annotation tasks. The same terminology of zero-shot evaluation can apply to Bambara and to the Wolof removal condition because it refers to the supervision used for parsing.
The outputs of the successive encoder layers offer several representations of the same input. UDify learns a layer combination separately for each annotation task. A task can draw on several layers in proportions suited to its predictions. This gives the dependency decoder and the word-level decoders different views of a shared encoder. Dione compares this way of combining layers with the approach used in Deep Contextualized Word Representations.
Make the word and tree predictions
The paper names the outputs UPOS, FEATS, LEM and DEPS. UPOS identifies the universal part of speech, the broad grammatical category such as noun or verb that the annotation assigns to a word. FEATS describes grammatical properties associated with the word form. LEM gives the canonical form, or lemma, that groups related forms under a common entry. DEPS provides the head and grammatical relation for each dependency. Giving the parser these outputs jointly means that learning the various tasks can shape the encoder and the task-specific components during the same run. Part-of-speech tagging · Lemma
The vocabulary table makes the difference between the outputs and the textual input concrete. Dione reports an inventory of 17 universal part-of-speech tags, 1300 feature entries, 3,834 lemma tags and 86 dependency relations. The same table gives 206 XPOS tags, where XPOS is the field for language-specific part-of-speech annotation. The word-category output specified for UDify is UPOS. These inventory sizes describe the combined treebanks and do not prescribe how many possibilities a parser must seriously consider at a particular word. The sentence context is what makes some of those possibilities plausible.
Dione places the dependency decoder in the graph-based family of parsing methods. The comparison is to transition-based parsing, in which the parser selects actions to advance from its starting configuration through a sequence of subsequent configurations. The terminal configuration specifies the completed tree. Dione discusses the use of neural networks to guide these decisions, including techniques based on stacks and recurrent representations. The description explains how a sequence of local decisions can construct a full analysis. Incrementality in Deterministic Dependency Parsing · Transition-Based Dependency Parsing with Stack Long Short-Term Memory
A graph-based parser looks for a high-scoring tree among competing structures for the sentence. At the level of a particular word, several other words may be candidate heads. At the level of the sentence, the selected links must satisfy the requirements of a tree. The search problem is to find a coherent set of links that the learned scoring procedure favors. Dione cites earlier spanning-tree work and the performance of a neural graph-based entry in the CoNLL 2017 Shared Task as context for this choice. Non-Projective Dependency Parsing using Spanning Tree Algorithms · Stanford’s Graph-based Neural Dependency Parser
UDify uses biaffine attention for this part of the analysis. A biaffine score takes representations associated with a candidate head and a dependent and can evaluate how their features interact. The relevant distinction is between deciding that the link should exist and deciding what label should be on it. A candidate head can be plausible while several relations to it remain plausible. Dione reports a dependency arc dimension of 768 and a dependency tag dimension of 256. The dimensions refer to internal representations for scoring the link and its label. They do not count the candidate heads in a sentence or the relation names in the annotation inventory. Deep Biaffine Attention for Neural Dependency Parsing
The paper describes the outputs as decoded together and identifies softmax classifiers, which turn competing scores into probabilities over the available options. The word-level decoders produce annotations for individual words, while dependency decoding has a sentence-level structural requirement. The method is specified through these operations, the choice of UDify and its cited components, and the settings used in training. Dione gives no explicit equations for the attention across layers, the dependency scores or the joint training objective.
Train with mixed batches and adapt the encoder
For each training pass, Dione describes drawing sentences from the combined training material, shuffling them and making batches of 8 sentences. A batch can contain material from different languages and treebanks. A sentence from a large source contributes a training example through the same mechanism as a sentence from a small source. The procedure describes a pooled and shuffled stream. Each language’s representation in that stream depends on the available material, and the larger sources dominate the collection.
The optimizer is Adam. Its settings for beta are 0.9 and 0.99. These coefficients govern how the optimizer carries forward information about gradients and their squared magnitudes as it updates the trainable parameters. A gradient describes how a change to those parameters would affect the training objective. Dione gives weight decay as 0.01 and gradient clipping as 5.0. Weight decay discourages large weights, and clipping bounds the size of gradients used for an update. The reported label smoothing setting is 0.03. It softens the target for the classifier so training can discourage excessive confidence in the annotated choice.
The paper gives a base learning rate of 1e −3 and a BERT learning rate of 5e−5. A learning rate sets the scale of parameter updates. The base rate is held constant at the start, while the pretrained BERT weights are frozen. Dione describes unfreezing BERT in the second epoch, where an epoch is a pass through the training procedure over the dataset. Once the encoder is trainable, updates from the annotation tasks can adjust its representations as well as the components that use them. This is the stage at which UDify adapts a pretrained encoder through fine-tuning.
After unfreezing, the paper describes a linear warmup over the next 1,000 batches. Warmup increases the learning rate gradually. The remaining training uses inverse square root decay, a schedule that reduces the learning rate as training advances. Dione also applies regularization to the encoder and task training. The settings include dropout of 0.5, BERT dropout of 0.2, a mask probability of 0.2 and layer dropout of 0.1. Dropout temporarily removes some contributions during training, and input masking obscures some input information. Both change the evidence available on individual training examples. Layer dropout operates at the level of the layer contributions.
The reported schedule lasts 80 epochs. Dione gives a training time of about 3 days on a single RTX 2080. This setup is the common procedure for the language-removal study. Each run learns from its assigned training pool, including the adaptation of the encoder. The comparison thus concerns the results of training with different supervision, measured after learning, when the parser is applied to the target sentences.
Experiments and results
The data available to each run
The experiment table distinguishes the treebanks by name and gives their sizes in tokens and sentences. In the English collection, EWT contributes a treebank of 254.83k tokens and 16.62k sentences. GUM has 80.18k tokens and 4.40k sentences, and English ParTUT has 49.62k tokens and 2.09k sentences. Those totals describe each treebank across its available splits. The removal experiment for English operates on the eligible training material across the collection.
The French treebanks are FTB, ParTUT, Sequoia and Spoken. FTB is the largest treebank in the experiment table, at 556.06k tokens and 18.53k sentences. French ParTUT has 27.67k tokens and 1.02k sentences. Sequoia has 68.64k tokens and 3.10k sentences, and Spoken has 34.98k tokens and 2.79k sentences. The names and sizes identify the sources pooled together under French. The experiments give their contribution as a group, so a result for French applies to that assembled training material.
Norwegian Bokmål has 310.22k tokens and 20.04k sentences in the table. Dione reports trying to include Nynorsk and finding the resulting training computationally expensive. Bokmål is the Norwegian source retained for the reported experiments. The paper’s training-corpus distribution puts the share from the higher-resource languages at about 95,5%. A full multilingual run is consequently an experiment with a strongly unequal allocation of examples, even with the Wolof training split present.
For the target collections, the experiment table gives Bambara CRB as 13.82k tokens in 1.03k sentences and Yoruba YTB as 2.67k tokens in 0.10k sentences. These are test-only treebanks in the study. Wolof WTB is listed with 42.83k tokens and 2.11k sentences across its splits. The background section separately describes the available resources as 12k tokens for Bambara, 44k for Wolof and 8k for Yoruba. Dione gives no reconciliation of those descriptions with the experimental inventory. The named collections and sizes in the experiment table identify the datasets attached to the results. The full Wolof collection size describes all its splits together.
How the paper measures success
Unlabeled attachment score, abbreviated UAS, counts head predictions that agree with the reference analysis. Labeled attachment score, abbreviated LAS, requires the head and relation to agree for the same attachment. For example, a word linked to the right verb can pass the unlabeled check even when its grammatical relation is wrong. If the parser gives the right relation to a link with the wrong head, that link fails the labeled check. LAS therefore measures recovery of two decisions jointly. Comparing the reported UAS and LAS offers a view of the additional difficulty of recovering the full labeled tree.
The tables also report scores for UPOS, FEATS and LEM. These refer to the other predictions learned by the same parser. Their role in reading the experiment is to show what changes alongside the dependency scores. On some runs, the word-level and dependency scores move together. On others they favor different training pools. Dione’s main claim about source selection rests on the attachment comparisons, while the additional scores reveal how task-specific the effects can be.
For the baseline on Bambara and Yoruba, Dione uses published UDify results from Kondratyuk and Straka’s 124-treebank experiment. For the earlier scores, the paper specifies the official evaluation script from the CoNLL 2018 Shared Task. Wolof did not appear in that experiment because a UD treebank for it was unavailable at the time. Dione constructs a baseline by training UDify on Wolof annotations alone. The Wolof comparison can therefore ask what happens when target supervision is supplemented in the present experiment. The Bambara and Yoruba baseline comparison is historical and compares reported results from different training setups.
Bambara and Yoruba recover more attachments
The earlier parser scores 30.28 UAS and 8.60 LAS on the Bambara test data. Under Dione’s full eligible training pool, Bambara reaches 34.28 UAS and 12.98 LAS. Both tests of syntax favor the new run. The labeled score also puts the result in perspective. It is possible to find more plausible head positions and still recover relatively few fully specified links. For Bambara the full pool gives the best attachment scores among the reported conditions.
Effect of the training pool on Bambara CRB test LAS
Bambara achieves its strongest labeled attachment with all eligible training sources present.
The numbers
| System or setting | LAS |
|---|---|
| Earlier UDify evaluation | 8.60 |
| All eligible sources (this paper) | 12.98 |
| English withheld | 12.94 |
| French withheld | 10.13 |
| Norwegian withheld | 11.94 |
| Wolof withheld | 11.21 |
The published comparison for Yoruba is 37.62 UAS and 19.09 LAS. Under the full selected pool in Dione’s study, the Yoruba test scores reach 48.99 UAS and 31.43 LAS. This pattern again favors Dione’s setup for recovering heads and for recovering labeled relations. The best Yoruba test scores come from a narrower pool than the main run. With Wolof training sentences withheld, they reach 52.74 UAS and 33.80 LAS. The comparison shows the practical relevance of evaluating sources by target. The settings that perform best for Bambara and Yoruba use different training corpora.
Effect of the training pool on Yoruba YTB test LAS
The highest Yoruba score comes from training with the European sources and withholding Wolof annotations.
The numbers
| System or setting | LAS |
|---|---|
| Earlier UDify evaluation | 19.09 |
| All eligible sources | 31.43 |
| English withheld | 28.53 |
| French withheld | 30.87 |
| Norwegian withheld | 30.87 |
| Wolof withheld (this paper) | 33.80 |
The other outputs give a broader view of the two test-only targets. In the earlier UDify results, Bambara scores 30.86 for UPOS, 57.96 for FEATS and 20.42 for LEM. In Dione’s full run, the corresponding Bambara test scores are 36.29, 45.18 and 23.89. The direction is different for features than for word categories and lemmas. On Yoruba, the earlier scores are 50.86 for UPOS, 78.32 for FEATS and 85.56 for LEM. The full run gives Yoruba 60.73, 60.43 and 93.59 on those tasks. The pattern across the historical comparisons is similar for both targets, with higher UPOS and lemma scores alongside a lower feature score. The dependency improvements are part of a change in the profile of the annotations.
The Yoruba lemma result is particularly far from its attachment result even though both arise from the same parser and test collection. Identifying a dictionary form can frequently be done from evidence about a single word and its context. Linking words correctly requires a different set of decisions across the sentence. The study reports these tasks separately, and the strong Yoruba lemma score can coexist with widespread labeled attachment errors.
Wolof benefits from adding other languages to its own data
On the Wolof test split, the parser trained only with Wolof annotations scores 73.48 UAS and 63.84 LAS. With all the selected training sources, including Wolof, it achieves 75.71 UAS and 67.03 LAS. Dione reports these differences as increases of 2.23% for UAS and 3.19% for LAS. The scores are on the same test split, with the same target training material available to both runs. They provide the study’s direct comparison of what pooling can contribute when a language has its own treebank for supervision.
The word-level predictions also improve in this comparison. The Wolof-only training gives the test split 87.90 for UPOS, 69.97 for FEATS and 87.86 for LEM. The all-source run gives it 89.64, 75.06 and 89.95, respectively. Together with the attachment figures, these results show a broad gain from the full pool relative to the Wolof-only baseline. Individual removal runs rearrange that ranking depending on the task. For attachment specifically, the best reported Wolof test scores occur when English training material is left out.
Effect of the training pool on Wolof WTB test LAS
Wolof performs best with its own annotations and a subset of the additional sources.
The numbers
| System or setting | LAS |
|---|---|
| Wolof supervision alone | 63.84 |
| All eligible sources | 67.03 |
| English withheld (this paper) | 67.86 |
| French withheld | 65.29 |
| Norwegian withheld | 67.25 |
| Wolof withheld | 10.15 |
Across the test sets, the largest scores for labeled syntax come from the target that has annotated examples in training. The structure of the experiment matters to interpreting that observation. Wolof has a different test collection from Bambara and Yoruba and starts from a different kind of supervision. The comparison within Wolof, where its training examples can be retained or withheld, gives a closer look at the importance of those examples than the absolute ranking of the three test sets does.
What the ablations show
The effect of each source depends on the surrounding pool
The paper’s ablations remove training material. An ablation is a comparison that takes away part of a setup and measures the effect on its outputs. Here the part removed is a language’s annotated training data, with the UDify approach and the target tests held fixed. The resulting parser is trained on the revised pool. Its remaining sources can supply some of the same evidence or affect what it learns in a different way. A removal therefore answers a conditional question about adding a source to the rest of this particular pool. It leaves open how that source would behave by itself or in other combinations.
This is also a useful distinction when looking at the signs of the changes. Removing a language can help one target and hurt another in the same run. The outputs can even move in opposite directions within one target. The ablations provide more detail about the use of a source than a comparison of the overall pool with a baseline. For instance, the full pool improves Wolof attachment over Wolof-only training, and some subsets of the full pool do better on the same metric. Looking at which sources are absent from those subsets gives the experimental basis for the paper’s interpretation.
English contributes most clearly to Yoruba attachment
With the English material removed, Yoruba scores 45.19 UAS and 28.53 LAS on its test sentences. The full pool gives the same test 48.99 UAS and 31.43 LAS. The change affects both locating heads and identifying labeled links. This is the direction predicted when English was selected as a language with relevant contact. Since EWT, GUM and English ParTUT are withheld together, the result belongs to English training in the aggregate.
The response is much smaller in Bambara. Its test scores are 33.83 UAS and 12.94 LAS without the English collections, close to the 34.28 and 12.98 of the full run. In Wolof, the same removal raises the test scores to 76.14 UAS and 67.86 LAS, from 75.71 and 67.03. English thus contributes to the strongest full-pool result for Yoruba, and leaving it out gives the strongest attachment result for Wolof. This illustrates a practical complication of choosing a general parser for several targets. The source mix that helps the contact pair can cost some accuracy on a different target.
Word-level scores show how narrowly the English comparison should be read. The no-English Yoruba scores are 59.19 UPOS, 60.18 FEATS and 93.21 LEM, beside full-pool values of 60.73, 60.43 and 93.59. The contact result is more apparent in the attachment metrics. The experiment shows that retraining without the English sources changes the kinds of predictions UDify can recover. It gives no breakdown that would assign the Yoruba attachment effect to borrowings, shared syntactic cues or individual treebanks.
French contributes to Bambara and Wolof attachment
Without French material, Bambara test UAS is 30.50 and LAS is 10.13. The full pool produces 34.28 UAS and 12.98 LAS. This is the lowest Bambara attachment performance among Dione’s multilingual runs and the largest Bambara decrease among the source removals. Since Bambara contributes only evaluation material, the comparison concerns supervision transferred across languages. The available English, Norwegian and Wolof annotations in this run support fewer correct Bambara links than the pool that also includes French.
Wolof has its own training material in both runs. With French removed, Wolof reaches 73.43 UAS and 65.29 LAS on its test set, against 75.71 UAS and 67.03 LAS when French is available. Here the French effect arises alongside direct examples of Wolof syntax. That is a separate setting from Bambara’s zero-shot test, and the direction agrees across the two. Yoruba’s attachment changes are smaller in the French removal. It scores 48.69 UAS and 30.87 LAS on its test, compared with 48.99 UAS and 31.43 LAS in the full run. Across the targets, the French results line up with the pairings Dione proposed on the basis of contact.
The additional Wolof tasks qualify the breadth of that finding. Removing French raises Wolof’s FEATS score from 75.06 to 82.33 and its LEM score from 89.95 to 91.53. The better dependency performance with French therefore comes alongside lower feature and lemma scores in that comparison. If the objective is to choose a training pool for producing all annotations jointly, which pool looks preferable depends on how the outputs will be used. Dione’s conclusion about French follows from the two attachment metrics.
Bokmål gives a comparison with an unrelated source
Removing Norwegian Bokmål yields 33.94 UAS and 11.94 LAS for Bambara and 48.09 UAS and 30.87 LAS for Yoruba. Both targets have somewhat higher attachment scores under the full pool. Wolof responds differently on the two metrics. Its UAS goes from 75.71 in the full run to 75.35 without Bokmål, while its LAS goes from 67.03 to 67.25. The changes give a picture of modest effects whose direction depends on the target and metric. They are smaller than the stronger contact comparisons of French with Bambara and English with Yoruba.
A weak change after withholding Bokmål can arise in a pool that still contains ample other training material. The English and French sources remain available, as does annotated Wolof. This structure limits what the control comparison says about Norwegian in other settings. It measures how much the available Bokmål training examples affect a parser that can already draw on the other sources. It does not evaluate a parser trained solely on Bokmål or one in which unrelated sources are systematically substituted for each contact source.
The word-level results show that the control’s effect depends on what is scored. Wolof’s test FEATS score is 83.55 without Norwegian and 75.06 in the full pool. Yoruba’s test LEM score is 88.30 without Norwegian and 93.59 with all sources. The fairly modest attachment changes should therefore be read as a finding about the syntactic metrics. The ablation offers a comparison across the full range of outputs, and the contact hypothesis is tested principally through the behavior of head and relation predictions.
Wolof serves as target supervision and as a source for others
With Wolof training withheld, the Wolof test scores fall to 27.51 UAS and 10.15 LAS. With the full training pool they stand at 75.71 and 67.03. This is the clearest change in the Wolof experiment. When Wolof examples are available, the parser can learn directly from the language’s sentence forms and treebank analyses. When those examples are withheld, it has to transfer the annotation task from the remaining languages. The test sentences are the same, so the contrast shows the importance of those examples for the observed performance.
The Wolof-only baseline helps explain what kind of transfer the full pool demonstrates. The improvement over that baseline comes from combining other sources with direct Wolof supervision. Much lower scores in the no-Wolof run show what the selected European sources can supply in its absence. Together, the runs tell a more specific story than an aggregate gain from multilingual training. The Wolof annotations supply most of the demonstrated path to the stronger Wolof scores, and selected outside sources improve on the result obtained from Wolof alone.
For Bambara, withholding Wolof lowers test UAS to 30.91 and LAS to 11.21. The full pool has 34.28 UAS and 12.98 LAS. There is some evidence that keeping the Wolof material helps Bambara in the presence of the European sources. Dione’s discussion of geographical overlap gives a linguistic reason to consider that result. The ablation changes the supply of Wolof sentences as a whole, and the measured improvement belongs to that complete contribution. It cannot be assigned to a specific regional feature on the basis of the reported aggregate scores.
Yoruba responds in the other direction. Its test UAS rises to 52.74 from 48.99, and its test LAS rises to 33.80 from 31.43. This is the experiment that bears most directly on the expectation about Wolof and Yoruba’s ancestry. Wolof is the proposed related source that can supply training supervision. The comparison is directional because Yoruba has no training split and cannot serve as a supervised source for Wolof. In the tested direction, Yoruba dependency predictions improve when the proposed related source is absent.
The change also varies across Yoruba tasks. Test UPOS rises to 67.44 from 60.73, while test LEM drops to 78.39 from 93.59. The FEATS score changes from 60.43 to 59.26. When all the scores are considered together, removing Wolof improves Yoruba’s grammatical categories and dependencies while weakening its lemma results. The contrast establishes a task-dependent effect of supervision in the pool. Dione leaves open how to account for it, including whether the data or the closeness of the linguistic relationship is responsible.
Limitations
Limits the paper identifies
Dione explicitly treats the relationship between Wolof and Yoruba as unresolved for the purpose of explaining transfer. The experiment examines a particular set of annotations with one direction of supervision, against the background of a broad genealogical classification. The paper raises the possibility that the languages are less close in their relevant grammatical characteristics than the grouping might suggest. It also raises data limitations, including the lack of a large Yoruba training corpus. The result establishes the direction of the observed score change when Wolof is removed. It supplies no direct linguistic evidence about ancestry.
Treebank availability determines which African languages enter the study and which experimental comparisons are possible for them. Dione could run a target-only comparison for Wolof and a historical multilingual comparison for Bambara and Yoruba. Training on Bambara-only or Yoruba-only annotations was outside the setup because the corpora supplied test data only. The experiments accordingly cover several kinds of scarcity, and each kind supports a different inference. Generalizing to a language that lacks reference parses altogether would also require a way to evaluate its output.
Dione gives a practical limit on the sources for Norwegian. Incorporating Nynorsk made training computationally expensive, leaving Bokmål as the representative of Norwegian in the reported runs. The contact interpretation therefore has a concrete comparison point in that variety’s treebank. The paper also suggests the comparatively large Wolof test set as a possible explanation for the poor Wolof score when its own supervision is withheld. A reader can distinguish the absolute score from the contrast between runs. The same test set provides the reference for both Wolof conditions, so its size supplies no varying factor that could explain their difference by itself.
Limits apparent in the experimental design
The central comparison changes several properties of the training material together. Withholding French removes a language in contact with Bambara and Wolof, and it also removes the actual sentences, annotation choices and amount of supervision provided by the selected French treebanks. Withholding English changes a different body of data, and withholding Norwegian changes Bokmål alone. The paper holds the training approach steady to study these source choices. It has no size-matched or content-matched experiment that could identify contact as the cause independently of the characteristics of each pool.
A related issue concerns the distribution of training evidence. The paper describes drawing sentences from the eligible pool and shuffling them into batches. The higher-resource collections dominate the reported corpus, and the scheduled pass through training is defined over the data in each run. Removing a source can change both the proportions in which the remaining sources are seen and the total supply of annotated sentences. This is part of the practical effect of choosing a source. It leaves the mechanism behind the advantage open. A particular mix might help because it teaches a useful set of structures, changes how much the parser relies on other sources, or does some of both.
The historical comparison supports the claim that the selected pool achieved higher reported attachment scores for Bambara and Yoruba than the earlier 124-treebank UDify experiment. It does not isolate the effect of restricting the number of treebanks. The runs come from different studies, and Dione’s experiment is organized around specific source languages. The evidence that particular members of the pool matter comes primarily from the removals conducted within the study. A general claim that narrower training is superior would require comparisons that vary the breadth of training while controlling how the collections are selected.
Pretraining affects what it means to lack supervised examples. Yoruba was included in BERT’s Wikipedia coverage, so the parser begins with a representation system that had already processed unannotated Yoruba text. The treebank experiment then varies the supervised sources while starting from that multilingual encoder. It gives no comparison against a version pretrained with Yoruba withheld. Consequently, the absolute Yoruba scores cannot be apportioned between familiarity acquired during pretraining and knowledge of the parsing task acquired from other treebanks. The comparison across target languages is subject to this difference as well as to their distinct test material.
The paper’s tables report specific results for each setup and give no variation across repeated runs. Shuffling and training are part of the procedure, and the evaluation collections also differ in size. A small score movement records what happened in the reported run. The tables provide no uncertainty estimate that would establish its reliability across training runs or test samples. This qualification matters especially when several settings give nearby scores or when different metrics give different rankings. The experimental table’s size for Yoruba YTB gives a further reason to interpret its score changes in relation to those particular test sentences.
The attachment metrics have a defined scope. UAS measures recovered heads, and LAS measures recovery of the head together with the relation. The aggregate scores give no distribution of gains by grammatical relation, type of sentence or construction. The paper’s descriptions of language contact and grammar supply hypotheses about what could carry over. The experiments show the resulting performance on complete test sets and leave the underlying cues undetermined. Even for the contact comparisons whose directions agree with the hypothesis, the tables cannot say whether the most useful evidence comes from vocabulary, recurring constructions or other properties of the treebanks.
Finally, the paper studies source selection within the UDify approach. It keeps the multilingual encoder, the joint annotation tasks, the task-specific combination of layers and the graph-based dependency mechanism as parts of the system being trained. There are no corresponding component removals. The ablations can therefore attribute score changes to the choice of eligible training material under this procedure. They leave open whether another architecture would rank the same sources similarly, or which parts of UDify are most important for obtaining the observed transfer.
What came after
No subsequent study is documented as building on Dione’s experiments. The paper closes with an unresolved question about the Wolof–Yoruba result. Withholding Wolof supervision improves Yoruba attachment under the tested combination, and the experiment cannot determine whether properties of the available data, the linguistic relationship or another aspect of training accounts for that change.
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).
@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}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/dione-2021-multilingual-dependency-parsing-low-resource/