Challenges in Annotating and Parsing Spoken, Code-switched, Frisian-Dutch Data
Paper · 2021 · Anouck Braggaar and Rob van der Goot
Summary
A radio guest can switch languages halfway through a thought, and the words on either side of the switch can still belong to the same grammatical structure. That makes dependency parsing a useful test of how well a system handles mixed speech. A dependency parser identifies which word governs each other word and labels the grammatical relationship between them. This paper studies spontaneous Frisian–Dutch speech from FAME!, a collection of radio broadcasts. Frisian is a Germanic language spoken in the northwestern Netherlands, and the authors had no Frisian treebank available for training. They created an evaluation resource and asked whether selecting individual training sentences from several existing collections would work better than using the strongest collection as a whole.
The authors added linguistic annotation to 400 utterances from Omrop Fryslân, each containing a switch between Frisian and Dutch. The sample covers 144 speakers and includes 3,067 Frisian tokens and 625 Dutch tokens. The transcriptions already identified the language of individual words. The new annotation specifies their parts of speech and how they connect under Universal Dependencies. The authors independently annotated the first 150 utterances in batches of 50, resolving disagreements after each batch. Between the first and final rounds, agreement on grammatical heads rose from 72.3 to 80.1, and agreement requiring both the head and the relation label rose from 60.9 to 71.4. The disagreements help explain where spontaneous speech tests the guidelines, especially when an utterance ends before an expected continuation or admits several plausible structures.
To train the parser without Frisian syntactic examples, the authors first screened 24 annotated source collections, or treebanks, and kept the eight strongest. They represented sentences using recurring sequences of characters and words, then used Latent Dirichlet Allocation to estimate a profile of patterns for each sentence. They ranked source sentences by how close their profiles were to the average profile of a separate sample of unannotated FAME! text. The strongest configuration used 128 components and 2000 selected sentences. The authors trained the parser in MaChAmp with multilingual BERT, or mBERT. Most of the selected sentences came from Dutch Alpino and Dutch LassySmall.
On the held-out Frisian–Dutch test data, the selected training set reached 55.6 labelled attachment score, compared with 54.7 for Dutch Alpino alone and 53.2 for the pooled collection of eight treebanks. The test also favored selection when only the grammatical head had to match. The authors’ bootstrap comparisons did not establish statistical significance at 0.05. On the development data, removing diacritics, cropping training sentences to imitate unfinished utterances, and replacing mBERT with XLM-R all fell short of the original configuration on labelled attachment. The paper reports faster training with the smaller selection and makes the annotations and code available through the ParsingFrisian project.
Deep dive: Challenges in Annotating and Parsing Spoken, Code-switched, Frisian-Dutch Data
How researchers annotated Frisian–Dutch radio speech and tested whether selecting individual training sentences improves dependency parsing. · about 31 minutes to read
The problem and its context
What has to transfer
The paper combines problems in language coverage and in the kind of text a parser receives. Frisian has less syntactically annotated material available for this task than the languages that dominate parser development. The target material also comes from speech, with the interruptions and unfinished thoughts that can occur in a spontaneous interview. Even a source treebank in a closely related language can offer a weak match for those properties. The authors needed to decide which existing annotations could teach a parser something applicable to a Frisian speaker, a Dutch passage, and the grammatical connection between them.
A dependency analysis treats a sentence or utterance as a set of links. A subject can depend on a predicate, and a determiner can depend on a noun. The governing word is called the head of the dependent word. The relation label says what kind of connection joins them. A root anchors the analysis as a whole. This representation makes the paper’s problem concrete. Finding the Dutch words in a transcript would leave open which Frisian words they connect to, and recognizing the relevant head would still leave open how to label that connection.
Language identity is a separate layer of information. A code-switch occurs when someone moves from one language to another within a stretch of speech. A word-level language label can locate a switch. The grammatical annotation has to account for the utterance around it. A Dutch adjective, for example, can complete a predicate whose other words are Frisian. It still has a role in the same construction. The paper’s evaluation asks for a syntactic description of the entire mixed utterance, so grammatical dependencies can cross the points where the language changes.
The transcription also records only what the person said within a segment. A speaker may reach a conjunction and then stop. A human listener may expect a following clause, but the annotator faces the words that are present and has to give the final word a defensible place in the tree. The issue reaches beyond identifying the conjunction. A decision about how to attach it determines which head and which relation a parser will be expected to reproduce.
The distinction between a broadcast and a text written for publication matters here. A source treebank may contain sentences whose ends and internal relationships are easy to recover from the text. A radio transcript may have boundaries set during transcription and may preserve expressions whose function depends on how a thought was delivered. A syntactic annotation framework shared across languages gives the source and target a common set of categories. The framework still has to be applied to the particular words and boundaries the annotators encounter.
How earlier studies framed the choice
The authors place their annotation work alongside studies that had already created dependency resources for spoken material. They mention English data for conversational agents and Slovenian speech. They also point to a Komi-Zyrian treebank that contains switches to Russian. Work on spoken Turkish–German had adapted annotation guidelines to handle features of both speech and switching, and a treebank for an Arabic dialect addressed material with considerable code-switching. These studies made it possible to ask detailed questions about mixed or spoken syntax. In the Frisian–Dutch case, the authors still had to decide what those questions meant for the constructions present in their own broadcasts.
Prior work also offered different routes to multilingual transfer. As the paper describes it, Meechan-Maddon and Nivre and Blodgett and colleagues found that even a small amount of annotation from the target language and domain could beat a cross-lingual setup. That evidence makes the choice to keep Frisian annotations out of training important. The authors were studying what could be done with syntactic supervision from other sources. They annotated Frisian–Dutch speech so they could evaluate that transfer, while keeping those linguistic labels out of parser training.
Another route had been annotation projection. With parallel data, an existing annotation can be carried from one language to text that expresses corresponding content in another. The paper places the Faroese case study on cross-lingual parsing in its discussion of earlier zero-shot work. Selecting a transfer treebank was another established route. In that arrangement, an entire annotated collection serves as the source, and the main choice is which collection to use. Here, the proposed change concerns the unit of selection. The authors allow a useful sentence from one source to be kept alongside a useful sentence from another.
The paper also describes finer-grained earlier work whose selection problem differed in scope or timing. Plank and Van Noord explored similarity across 3 domains and 3 corpora, including variation in topics within news. Litschko and colleagues studied selection at test time, when a system can choose a parser for a particular input. The Frisian study makes its fine-grained choice before the parser is trained. Sentence selection determines the examples that a single parser learns from, so the choice changes the training distribution for all subsequent inputs.
Why choose sentences within treebanks?
A treebank is a sensible starting point because its language and source describe much of what its sentences have in common. Related languages can offer similar constructions, and a corpus with speech can contain fragments or discourse expressions of the sort the target annotators encounter. Neither property tells the researcher that every sentence in the collection is equally useful. A strong treebank may contain many examples far from the target, while a weaker treebank may still contain a few suitable ones. The proposed ranking lets each sentence compete on its own representation after its source has passed an initial screen.
The paper therefore poses a narrower question than how to build the best possible Frisian parser. It asks whether selecting annotated sentences by similarity to target text can outperform using the best whole source treebank. Pooling the shortlisted sources provides another comparison. It tests the case where the parser has access to the whole candidate collection, while the selection procedure gives it access to a concentrated part of that collection. The comparison joins a linguistic question about which examples resemble the target with an engineering question about how many examples the parser needs to see.
The method, step by step
Start with a reference for the speech
FAME! provided transcriptions and segmentation from broadcasts by Omrop Fryslân. The syntax study could begin with the text of each segment because the speech corpus had already established which words were transcribed and where the segments lay. Earlier work had also marked switches and supplied word-level language labels. The authors carried those labels into the miscellaneous field of their new annotations. The field preserves corpus information that can be consulted alongside the grammatical analysis.
The authors randomly chose 400 utterances from material meeting the switching condition. Each had to contain a transition between Frisian and Dutch in one direction or the other. This produces an evaluation collection in which mixed language is a property of every item. A selection from the broadcasts without that condition would have answered a broader question about broadcast transcription. The condition here puts the bilingual setting directly into the definition of the test material.
Each utterance received universal part-of-speech tags, usually abbreviated UPOS, as well as dependency heads and relations. A part-of-speech tag classifies an individual token in its context. A dependency label describes what that token does in relation to a particular head. Those are different decisions. An adjective tag can stay the same across uses as a predicate and as a modifier, while the dependency analysis changes with the use.
The paper illustrates this with a short utterance in which someone describes their group as innovative. The sequence begins with a Frisian coordinating conjunction and continues with a Frisian pronoun and a form of the verb corresponding to be. The final adjective, grensverleggend, is Dutch. The annotation makes the adjective the root, the pronoun its nominal subject, and the form of be its copula. The coordinating conjunction also connects to the predicate. The language switch falls just before the adjective, so the head at the center of the tree is Dutch and the dependents described in the figure are Frisian. The grammatical analysis accounts for the mixed construction without splitting it at the language boundary.
Establish decisions that both annotators can apply
Both authors independently annotated an initial set of 150 utterances. They worked through batches of 50 and met after each batch to resolve discrepancies. This gave them repeated opportunities to identify where they understood a guideline differently, where a choice made in the annotation interface had produced a mismatch, and where they needed to agree on a local convention. For the subsequent 250 utterances, one author produced the annotation and the other checked it. The independent first phase provides the agreement measurements. The later checking phase extends the reviewed collection under the conventions they had developed.
The distinction between adjectives and adverbs required an explicit procedure. The authors consulted a dictionary for the part-of-speech decision. If the word was absent there, they consulted frequencies in Alpino. They separately decided when to use amod, the adjectival modifier relation, and advmod, the adverbial modifier relation. Their convention reserved amod for nominal heads. This separates evidence about a word’s category from the syntactic evidence about the word it modifies.
The appendix also sets out conventions for connectives at the beginning of an utterance. It lists forms such as toen and want that receive mark, the marker relation, in that position under the local guideline. It treats en as a coordinating conjunction, with cc, the coordinating conjunction relation, in the dependency analysis. Such rules give annotators a common response to structures that otherwise invite different interpretations, especially when the transcript begins in the middle of a larger train of thought.
Unfinished endings required a separate rule. One illustrated utterance conveys that there is much to say about a subject, then stops at mar, the word for but. Its usual continuation is absent. The authors give the stranded word an orphan relation to the root. The appendix shows another utterance where the ending contains more than one stranded element. The same figure includes a discourse element near the beginning. The local convention places discourse material high in the analysis. Hence, both the beginning and the end of a segment can require decisions whose rationale comes from the speech and its boundaries.
The authors aimed to follow Universal Dependencies wherever the guidelines gave them a workable analysis. Their local rules document cases where they needed a shared interpretation for this material. Those rules affect the supervised task even though the target annotations are held out from training. The parser is evaluated against the resulting reference trees, including the attachments that reflect the annotators’ conventions for mixed and unfinished speech.
Screen whole sources before ranking individual sentences
The authors assembled 24 candidate treebanks. Their criteria included closeness to Frisian, the presence of code-switching, and a source in transcribed speech. The candidate languages included Dutch, German, English, and Danish. Afrikaans, French, Naija, and mixed Hindi–English added other possibilities. The collection thus let the authors consider both linguistic relatedness and properties of the material.
They trained a separate parser for each candidate and ranked the sources by labelled attachment. Eight survived the screen, with the authors reporting a drop in performance beyond the last treebank they kept. Dutch Alpino and Dutch LassySmall were the two Dutch sources in the shortlist. German GSD and German PUD also qualified. The English-language sources were GUM, ParTUT, Tweebank, and the English Web Treebank, identified as EWT in the experiments.
The shortlisted treebanks contributed their full training splits to the candidate pool. When a source had no training split, the authors took its test data because they were not evaluating the parser on that source. A split called test in a source treebank therefore played a different role here. Its sentences could be used for training the transfer parser, while the independently annotated Frisian–Dutch material supplied the development and test data for evaluating transfer.
The screen and the ranking solve different problems. Screening tests whether a source is useful as a whole in a supervised parsing run. The subsequent ranking gives sentences from the surviving sources a position based on their resemblance to unannotated target text. The proposed training set can therefore draw unevenly from the shortlist. A source that performs strongly as a whole can yield many sentences, while another qualified source may yield very few.
From radio transcripts and source treebanks to evaluation
The steps in order.
Make the source and target sentences comparable
The target sample for selection came from the FAME! training split. The authors excluded the utterances they had annotated for evaluation. The study’s zero-shot condition therefore concerns target-language syntactic supervision. The selection procedure can inspect examples of what Frisian–Dutch speech looks like, while the parser learns target-independent grammatical supervision from the selected source treebanks. The target sample tells the selector which kinds of text to look for. It supplies no reference head or relation for a parser training example.
For that comparison, the authors used an n-gram representation. An n-gram is a contiguous sequence of a specified length. The experiment uses character 1-5 grams and word 1-2 grams. A character sequence can capture a recurring piece of spelling within words or other local orthographic patterns. A word sequence can capture an individual word or a recurring pair of neighboring words. Together, these features let the representation reflect both spelling overlap and short patterns of word use.
These features are visible in sentences whether or not anyone has annotated their grammar. A transcribed Frisian utterance and an annotated Dutch sentence can both be described using the same kinds of sequences. The procedure does not need a word alignment between them. Correspondence emerges through the distribution of features, which can reflect several properties at once. Shared forms may bring related languages close, while recurring local expressions may also reflect genre or the subject being discussed.
The feature representation feeds Latent Dirichlet Allocation, or LDA, an unsupervised topic modeling method. In its ordinary use, LDA represents each piece of text as a mixture of components inferred from recurring patterns. In this experiment, a component is an inferred grouping of n-gram features. A sentence receives probabilities across components, so the representation retains how strongly a sentence belongs to several groups. The authors hypothesized that with material from multiple languages, the resulting profiles could reflect language similarity. Individual components were not supplied with language identities.
The number of components is fixed before fitting each configuration. The authors began with 8, matching the number of shortlisted treebanks at the start of that experiment, and also tried 16, 32, 64, and 128. At the higher settings, LDA can represent many more recurring patterns than there are source collections. That design permits distinctions within a language or within a treebank. An inferred group may capture a blend of properties, so a component count by itself identifies the flexibility of the representation. It supplies no linguistic interpretation of the resulting groups.
Rank by distance from an average target profile
The authors averaged the component profiles of the unannotated Frisian input. The resulting target profile has one coordinate for each component. A coordinate represents how much that component contributes to the target sentences on average. Each candidate source sentence has coordinates in the same space, allowing the authors to compare it with the target using Euclidean distance.
The paper specifies the calculation in words. In Unicode notation, its distance rule is:
d(x, μ) = √(∑ᵢ (xᵢ − μᵢ)²)
Here, d(x, μ) is the distance between the profile x of a candidate sentence and the mean target profile μ. The index i ranges over the LDA components. The coordinate xᵢ is the sentence’s probability for component i, and μᵢ is the average target probability for the same component. The minus sign takes the difference between those coordinates. The superscript ² squares that difference. The summation sign ∑ᵢ adds the squared differences across components, and the square-root sign √ turns that sum into a Euclidean distance. Parentheses group the operations and identify the inputs to the distance function, while = gives the value of the distance.
Ranking uses the complete profile. Two sentences could assign their highest probability to the same component and still have different distances if the rest of their profiles differ. The lower the distance, the earlier a source sentence appears in the ranking. The authors retain the first 1000, 2000, or 4000 sentences in different training conditions. A cutoff determines which annotations become training data. The reported transfer procedure does not assign a different supervised weight to an example according to its position in the ranking.
The mean summarizes the target through a single point. A candidate close to that point resembles the average mixture of components, although individual utterances may differ considerably from that average. This is an important part of what the method tests. It asks whether a stable description of the sampled target material, compressed into average n-gram patterns, is sufficient to find useful annotated training examples.
Train and compare parsers under shared settings
Once the source sentences have been selected, the parser learns from their existing annotations. The implementation was the deep biaffine parser in MaChAmp 0.2, with the toolkit’s defaults and mBERT representations. A biaffine parser scores relationships between token representations, including the suitability of a word as another word’s head. The source dependency trees provide examples of those decisions. The multilingual encoder supplies representations of the input words that the parser can use across languages.
The LDA features have finished their job before that stage. They determine which source sentences and trees are available to the parser. The parser uses the multilingual representations to analyze the utterances it receives, rather than using a target distance as a grammatical score. This separation is what makes the comparison with whole-treebank training interpretable. Changing the source selection changes the training examples while keeping the main parsing approach fixed.
The study reports 75 runs spanning the component settings, the sentence budgets, and 5 training seeds per setting. A seed governs the random choices made in training, so running a configuration repeatedly gives a view of how stable its development result is. The authors use the development data to compare settings and then report test scores for the seed that did best on development. The paper names ParsingFrisian as the project through which the data and code are available.
Experiments and results
The broadcast corpus and the evaluation sample
The radio material underlying the study consists mostly of spontaneous interviews. The authors report that the manually annotated broadcasts in FAME! cover roughly 18.5 hours of speech and contain 3837 switches recorded at the word or sentence level. They describe most switches as coming from Frisian speakers moving into Dutch. Across that corpus material, 67.8% of words are Frisian and 26.1% are Dutch. The rest include forms identified with both languages, hesitations, and words in other languages.
Those corpus percentages describe a different population from the selected evaluation utterances. The selection requires a switch in each item. Within the sample of 400 utterances, 3,067 tokens are Frisian, 625 are Dutch, and 37 belong to other languages or have a combined Frisian–Dutch label. The sample has 144 speakers, of whom 135 are Frisian speakers and 9 are Dutch speakers. The authors note that most speakers contribute only a few utterances. A parser’s score therefore reflects a range of voices within the particular broadcast material and switching condition.
The annotation appendix breaks down parts of speech by token language. For instance, it records 388 Frisian pronouns and 53 Dutch pronouns. The corresponding counts for proper nouns are 158 Frisian tokens and 133 Dutch tokens. There are 181 Frisian interjections and 8 Dutch interjections. These counts describe the selected utterances. They also give context for the parser’s task. Language balance in a mixed corpus can vary across categories, so a single overall count of Frisian and Dutch tokens conveys only part of the distribution the parser encounters.
The development split contains 150 utterances. The development measurements serve several purposes in the paper. They guide the selection of component counts and training sizes, support the error analysis, and provide the comparison for the follow-up interventions. The held-out test measurements serve a more specific purpose. They compare the chosen sentence selection setting with the strongest single source and the pooled source collection after development choices have been made.
What each score measures
The paper reports part-of-speech accuracy, unlabelled attachment score, and labelled attachment score. Part-of-speech accuracy, shown as POS, checks the token category. Unlabelled attachment score, or UAS, checks whether the token is assigned to the reference head. Labelled attachment score, or LAS, requires both the reference head and the reference relation. The attachment measures follow the evaluation terminology used in the CoNLL multilingual parsing shared task.
Consider the mixed predicate in the annotation figure. Choosing the Dutch adjective as the head of the Frisian pronoun satisfies the head decision for that pronoun. A label that treats the pronoun as something other than the subject would still earn credit for the head under UAS and would miss under LAS. If a part-of-speech error occurs on the same utterance, POS accuracy records it separately. This is why a setting can move the measures in different directions. It may change the kinds of words the parser recognizes, the links it assigns, or the labels it puts on those links.
The same attachment concepts are used in the agreement study, where the two human annotations are compared with each other. There, agreement measures whether the annotators independently arrived at the same decisions for an utterance. In parser evaluation, the reference is the finished annotation. Both uses help explain an LAS score, but they have different interpretations. The agreement measurements concern separate batches reviewed during resource creation. The test score concerns a trained system evaluated on held-out speech.
Agreement during annotation
On the first independently annotated batch, part-of-speech agreement was 69.5, UAS agreement was 72.3, and LAS agreement was 60.9. On the next batch, the scores were 87.1 for POS, 76.1 for UAS, and 64.6 for LAS. On the final independently annotated batch, they were 89.7 for POS, 80.1 for UAS, and 71.4 for LAS.
The scores show higher agreement in the later rounds across all reported measures. Head selection and relation assignment continued to present challenges even as category agreement became more consistent. The authors identify nonstandard constructions, utterance segmentation, ambiguous readings, and consistency in applying the guidelines as sources of disagreement. Their confusion analysis also identifies an interface shortcut behind one recurring tag mismatch. Taken together, these observations explain why the authors used the annotation rounds to address both substantive and operational sources of disagreement.
Each round contains a fresh batch of utterances. The sequence documents what happened as the annotators worked through the material and discussed their choices. The batches could also differ in difficulty. The agreement history is consequently informative about the annotation process as a whole, while a separate repeated-item comparison would be needed to attribute the change to a particular convention or discussion.
Baselines and the held-out comparison
The first baseline is Dutch Alpino, the strongest whole source in the authors’ screening. That comparison asks whether the instance-based ranking improves on a practical source choice supported by the initial experiments. The second baseline trains on the eight shortlisted treebanks together. This comparison keeps the pool of possible sources in view. The training corpus can contain the useful examples discovered by selection as well as many sentences that the ranking places farther from the target.
On development, the single-source Alpino parser obtained 79.9 POS, 72.5 UAS, and 55.3 LAS. The pooled parser obtained 80.3 POS, 70.9 UAS, and 54.3 LAS. The chosen selected-sentence setting, using 128 LDA components and 2000 sentences, obtained 79.4 POS, 73.8 UAS, and 57.1 LAS. These development results are means over 5 training seeds. They show the main reason for choosing the setting. It led on the attachment measures, even though the pooled baseline scored higher on part-of-speech tagging.
On the held-out test data, the selected-sentence parser obtained 80.2 POS, 70.2 UAS, and 55.6 LAS. Alpino obtained 81.1 POS, 69.7 UAS, and 54.7 LAS. The pooled baseline obtained 80.3 POS, 69.2 UAS, and 53.2 LAS. The test comparison uses the best development seed for each reported setting. Scores for both attachment measures are lower on test than on development across the three rows. The part-of-speech score is higher on test for Alpino and the selected setting, while the pooled entry has the same POS value on both splits.
Labelled attachment by training source on the Frisian–Dutch test set
Sentence selection has the highest labelled attachment score among the reported settings.
The numbers
| System or setting | LAS |
|---|---|
| Dutch Alpino | 54.7 |
| Eight pooled treebanks | 53.2 |
| Selected sentences (this paper) | 55.6 |
The ordering of the attachment scores supports the practical motivation for selection. In this experiment, a restricted training set can reach a higher reported score than either whole-source strategy. Its size also reduces training time, according to the authors. The test rankings for POS and attachment differ. Alpino retains the highest POS score, which confines the reported advantage of selection to the dependency measures.
The authors assessed significance by random bootstrapping as implemented in Udapi. Bootstrapping uses resampling to examine how sensitive a comparison is to the evaluated material. The paper compares the selected setting with both baselines and reports that the tests failed to establish significance at an alpha of 0.05. The numerical ordering is the observed ordering on this test. The evidence for a dependable attachment advantage beyond it remains uncertain.
The material the selector retained
The source composition makes the experimental comparison easier to understand. The selection includes 1514 sentences from Dutch Alpino and 447 from Dutch LassySmall. Only a small part comes from the other treebanks. The pattern is consistent with the strong whole-source Dutch results and with the presence of Dutch in the radio material. It also fits the authors’ expectation that n-gram patterns can detect similarities between related languages.
The selected corpus is therefore heavily Dutch, with much of its material drawn from the same source that won the single-treebank screen. The candidate pool offered a broad choice, while the ranking concentrated on a narrow portion. This is compatible with source similarity being useful, but it leaves the contribution of individual sources unresolved. The reported scores combine the effects of choosing particular Alpino sentences, adding selected LassySmall material, using a few other examples, and training on a smaller corpus.
What the ablations show
Changing the number of LDA components
The first controlled comparison holds the selected training set size at 2000 sentences and changes the number of LDA components. The experiment varies how finely the n-gram patterns can be represented before the source sentences are ranked. Since the sentence budget is fixed, differences in development performance reflect a change in which examples are selected and the ensuing training runs. Every configuration still receives the same number of annotated sentences.
At 8 components, mean development scores were 81.2 POS, 72.7 UAS, and 55.2 LAS. At 16 components, they were 80.4 POS, 71.4 UAS, and 55.1 LAS. At 32 components, the scores were 81.0 POS, 70.8 UAS, and 54.8 LAS. At 64 components, the corresponding values were 79.4 POS, 72.6 UAS, and 55.5 LAS. Finally, 128 components gave 79.4 POS, 73.8 UAS, and 57.1 LAS. Each entry is the mean over 5 seeds on the development split.
Development labelled attachment by LDA component count with 2000 training sentences
The largest component setting gives the highest development labelled attachment score among those tried.
The numbers
| System or setting | LAS |
|---|---|
| 8 components | 55.2 |
| 16 components | 55.1 |
| 32 components | 54.8 |
| 64 components | 55.5 |
| 128 components (this paper) | 57.1 |
The attachment results do not follow a steady increase as the representation gets larger. The strongest LAS and UAS both appear at the largest tested setting. The strongest POS score in this comparison appears at 8 components. The choice of 128 components is therefore tied to the study’s focus on finding and labelling grammatical heads. A selection process judged on part-of-speech accuracy would favor a different configuration within this comparison.
The paper’s appendix reports standard deviations across the training seeds. At 128 components, the development standard deviations are 0.46 for POS, 0.49 for UAS, and 0.42 for LAS. For comparison, the LAS standard deviation is 0.76 at 32 components and 0.85 at 64 components. These figures characterize variability across runs under the reported settings. The separate bootstrap result addresses a different issue, the strength of the test comparison with the whole-treebank baselines.
The comparison establishes which component count was most useful among the tested choices. A larger profile can distinguish more patterns, but the experiment leaves open which additional distinctions account for the better attachment scores. An explanation based on language, genre, and other recurring properties of the text is plausible because the feature representation mixes all of them. The paper does not assign the gain to particular components or identify a theme for each one.
Changing the number of retained sentences
The second comparison holds the representation at 128 components and varies the number of sentences admitted by the ranking. At 1000 sentences, the development results were 78.5 POS, 71.5 UAS, and 54.6 LAS. At 2000 sentences, they were 79.4 POS, 73.8 UAS, and 57.1 LAS. At 4000 sentences, they were 79.8 POS, 73.3 UAS, and 56.0 LAS. The appendix gives LAS standard deviations of 1.12, 0.42, and 0.92, respectively, across the 5 training seeds for those development conditions.
The intermediate cutoff gives the best head and labelled-head scores in this comparison. Extending the cutoff further yields the highest POS score. Because ranking admits progressively more distant sentences as the cutoff grows, the size comparison changes both the amount of supervision and the range of examples available. The first extension can add useful evidence, and a later extension can bring in examples whose overall distribution is less helpful for attachment. The experiment observes the result of these changes together.
The benefit at the intermediate size is an answer about this particular pool and this ranking. A random sample of the same size, or a sample drawn only from Alpino, would help distinguish several explanations for that answer. The paper’s reported comparisons establish performance against the full-source baselines. They leave the amount of improvement attributable specifically to the n-gram ranking open.
Testing spelling, sentence endings, and the encoder
The spelling experiment targets a mismatch the authors noticed in mBERT’s subword tokenization. Words containing diacritics were frequently split into more pieces, which the authors suggest may reflect how such spellings were represented during tokenizer training. They drew on earlier work that explored handling languages unseen by mBERT, including transliteration towards a script familiar from a related high-resource language. Since Frisian already shared the script of the training material here, the authors tested a smaller orthographic change. They stripped diacritics from the Frisian data.
The development split has 44 utterances that contain a diacritic and 53 tokens carrying diacritics, out of 150 utterances in that split. The intervention modifies only a portion of the input. Its aggregate effect can nonetheless extend beyond the modified tokens, because a word’s representation can affect which other words attach to it. The development scores were 78.2 POS, 72.7 UAS, and 55.8 LAS. The original setting scored higher on all three measures. The authors’ observation about extra sub-word splits thus identified a real difference in representation, while the spelling change they tested failed to turn that observation into better parsing.
The cropping experiment targets unfinished speech. The authors refer to earlier augmentation work that made training examples resemble the conventions or syntax of the target material. Here, they cropped source sentences and introduced an orphan relation, following the treatment of stranded words in the annotated broadcasts. They applied the change at approximately 9 %, guided by how often this kind of construction occurred in their development material. This adds supervised examples of a particular attachment decision viewed as relatively common in the speech.
Cropping produced 78.5 POS, 74.4 UAS, and 56.5 LAS on development. The UAS exceeds the original setting’s 73.8. The LAS falls below the original 57.1. The results show that head accuracy and fully labelled attachment can respond differently to the same synthetic examples. Because the paper reports aggregate development metrics for this intervention, the comparison leaves open whether the changed score came specifically from improved handling of utterance endings.
The encoder experiment keeps the selected training configuration and substitutes XLM-R for mBERT. It obtains 81.2 POS, 73.6 UAS, and 57.0 LAS on development. The gain in POS accompanies attachment scores close to the original values. Under the paper’s primary attachment measure, the original configuration remains the stronger of the two. Taken together, the follow-up experiments show that plausible changes aimed at orthography, structure, and representation can have different effects across the same set of measures.
Development labelled attachment for follow-up changes to the selected training setting
The original configuration has the highest labelled attachment score, with the encoder substitution close behind.
The numbers
| System or setting | LAS |
|---|---|
| Diacritics removed | 55.8 |
| Cropped sentences with orphan relations | 56.5 |
| XLM-R encoder | 57.0 |
| Original selected setting (this paper) | 57.1 |
Where the parser and the annotators struggled
The annotation comparison counted confusions between categories and relations. A common part-of-speech mismatch between adverbs and auxiliaries was resolved by the final independent round. The authors trace it to shortcuts in ConlluEditor. Confusion between an auxiliary and a verb also largely cleared by the final round. The first example shows how an interface choice can affect an agreement score. The second concerns whether a token serves as a grammatical helper or as the main verb in context.
For dependency labels, the annotators frequently disagreed about amod and advmod, and they sometimes chose different roots. A root choice has wider consequences because it changes the organization of the tree and can affect neighboring attachments. The root disagreements were therefore structurally different from cases in which both annotators selected the same head but assigned different relation labels. The paper’s local guidelines record decisions that help make both kinds of annotation more consistent.
The parser error analysis is a separate comparison on development between sentence selection and Alpino. Both parsers often assigned adverb tags to interjections. The authors also highlight adverb–adjective and auxiliary–verb confusions, categories that had arisen in annotation. The confusion analysis distinguishes the reference tag from the predicted tag, so the dominant case points to difficulty recognizing an actual interjection in context. Retaining selected data did little to remove that recurring problem.
For dependency relations, both parsers commonly predicted parataxis where the reference annotation used discourse. The distinction involves whether material is analyzed as a discourse element attached to the surrounding utterance or as a more independent grammatical unit placed beside it. The authors report a modest improvement for this confusion under selection. Other familiar mistakes persist, including confusion involving cc and mark, or det, the determiner relation, and case, the case-marking relation.
The similarity of the errors accords with the source composition. The selected parser still learns from many Alpino examples, making it unsurprising that its most frequent confusions resemble those of the Alpino parser. Some of the overlap with the annotators’ difficulties points to recurring ambiguities in the target material. The error lists indicate where those ambiguities appear. They do not isolate the cause of an individual mistake, since contextual ambiguity, source coverage, and the evaluation conventions can all affect the outcome.
Limitations
Limits the authors identify
The authors qualify their main result by its statistical evidence. The selected examples give the highest observed test LAS and UAS in the reported comparison. At the paper’s significance threshold of 0.05, the bootstrap tests leave the improvement uncertain. This matters for the distinction between whether a smaller selected set can produce a competitive score and whether the same selection procedure can reliably deliver an advantage. The experiment gives direct evidence for the former under these conditions and limited evidence for the latter.
The annotation discussion identifies limits imposed by the material itself. Unfinished constructions, uncertain segmentation, and ambiguous utterances made some analyses difficult to agree on. Even with a shared framework, the annotators needed local conventions. Those conventions make the reference resource usable and interpretable. They also delimit the conclusions of evaluation. Reproducing a dependency analysis for an unfinished utterance involves recovering how this resource represents a missing continuation.
The paper likewise limits its claims for the three follow-up interventions. Stripping diacritics and introducing synthetic unfinished sentences did not improve development LAS. The encoder substitution produced similar attachment scores. The authors interpret these as outcomes of particular attempts to address particular mismatches. Their conclusion leaves room for other selection techniques, different ways of weighting selected training examples, and combinations of data selection with complementary approaches. Those possibilities remain research questions in this study.
The paper reports that using fewer examples sped up training. It gives that observation as a practical advantage of the selected configuration. Without a reported timing comparison, the size of the advantage and the cost of the selection stage remain unspecified. That distinction is relevant when judging an approach that adds a selection step before making the supervised parser run smaller.
Limits that follow from the experimental design
The evaluation represents spoken Frisian–Dutch as sampled from radio broadcasts, with at least one switch required in every selected utterance. This gives the test a clear focus. It also narrows what the resulting scores can describe. The experiment leaves performance on monolingual Frisian speech, other forms of conversation, written Frisian, and other switching pairs open. The distribution of speakers and words characterizes the study sample. A population with different patterns of switching or a different reason for speaking could present a different transfer problem.
The transcript and its segmentation were available at the start. The reported scores concern what the parser can recover from the established text. Recognizing speech from audio, choosing segment boundaries in a running interview, and detecting which language is being used are separate tasks. The word-level language labels came from FAME! and were preserved in the annotations. The paper does not report an experiment that varies their availability to isolate the effect of providing explicit language identities during parsing.
The term zero-shot also needs its scope stated precisely. The syntactic supervision comes from the source treebanks. At the same time, selection is adapted using unannotated target text, and the authors use annotated development data to compare settings. These are legitimate resources in the reported transfer setup, with the annotated test kept for the final comparison. A setting in which researchers have neither representative unannotated transcripts nor development annotations would offer less information for choosing the sources and configuration.
The initial source screen affects the scope of the sentence-level claim. A sentence can only enter the LDA ranking pool if its treebank survives selection by whole-source performance. A weak treebank might contain an individual training example particularly suitable for a mixed utterance, but the experiment gives no route for that example to reach the shortlisted pool. The study tests finer selection within a pool already shaped by a parser-based source comparison.
Within that pool, the strongest configuration combines multiple changes relative to either baseline. It narrows the amount of material, changes the mixture of sources, and retains specific examples from those sources. The concentration in Alpino and LassySmall makes it especially hard to isolate the value of the few sentences drawn from elsewhere. The reported baseline set leaves open how much of the gain would survive a same-size random sample, a similar-sized Dutch-only selection, or ranking confined to Alpino. Those comparisons would address different causal questions about the gain.
The distance rule also compresses the target into an average. If different kinds of target utterances occupy distinct regions of the component space, the mean can fall somewhere between them. A sentence selected for proximity to the mean may resemble typical patterns while offering little evidence for a rare construction. The method does not explicitly require coverage of shift direction, utterance endings, or particular dependency relations. The evaluated gains consequently speak to aggregate accuracy across this sample. The paper’s error analysis gives clues about individual categories but offers no separate attachment score for links that cross a language switch.
The LDA features likewise entangle spelling, vocabulary, and genre. A source sentence may be close because it shares Dutch words with mixed target text, because it expresses a common radio topic, or because its local word sequences resemble the target in some other respect. The paper reports the resulting source composition, which helps interpret the ranking. It does not establish what property made any selected sentence useful to the parser. The observed preference for Dutch provides evidence about the behavior of the selection procedure without a full explanation of the linguistic information it captured.
Finally, the annotation and training analyses measure different forms of variability. The agreement results come from consecutive batches annotated during a process of discussion and revision. The seed results come from repeated training runs on a fixed experimental setting. The test comparison reports a seed chosen on development and uses resampling to assess score comparisons. None of these quantities directly estimates how performance would vary across a new broadcast collection or under a different set of annotation conventions. The study’s strongest conclusions are tied to its reference resource, training choices, and held-out sample.
What came after
The later citing work is MaChAmp: A Toolkit for Multi-task Learning in NLP. The relationship runs through the parsing implementation. The Frisian–Dutch study uses MaChAmp 0.2 for the biaffine parser, and the toolkit publication cites the study that used it. The experiment illustrates a use of the toolkit in which researchers change the source training sentences and compare the resulting parsers within a shared implementation. The later citation establishes that connection. It leaves any adoption or extension of the LDA selection procedure unestablished.
The follow-up questions most directly grounded in the case study remain those the authors describe at the end of the paper. A different similarity method could produce a different balance of source sentences. Giving selected examples different weights could preserve distinctions that the cutoff currently discards. Combining selection with a complementary transfer method could test whether the effects work together. The MaChAmp citation documents the toolkit connection, while the results for those extensions remain open.
Cite
Cite as Anouck Braggaar and Rob van der Goot. 2021. Challenges in Annotating and Parsing Spoken, Code-switched, Frisian-Dutch Data. Proceedings of the Second Workshop on Domain Adaptation for NLP.
@inproceedings{braggaar2021challenges,
title = {{Challenges in Annotating and Parsing Spoken, Code-switched, Frisian-Dutch Data}},
author = {Anouck Braggaar and Rob {van der Goot}},
booktitle = {Proceedings of the Second Workshop on Domain Adaptation for NLP},
year = {2021},
url = {https://aclanthology.org/2021.adaptnlp-1.6/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/braggaar-2021-challenges-annotating-parsing-spoken-code/