HeLI-based Experiments in Discriminating Between Dutch and Flemish Subtitles
Paper · 2018 · Tommi Jauhiainen, Heidi Jauhiainen and Krister Lindén
Summary
A subtitle line can contain several sentences and still give little away about which variety of Dutch it was written in. The VarDial shared task on Dutch and Flemish subtitles asked systems to assign each line to either Netherlandic Dutch or Flemish Dutch. The authors entered with HeLI, a general-purpose method they had used in earlier language identification tasks. Their study asks how far a classifier can get on these closely related varieties by counting words and character sequences, and whether it can improve by finding useful patterns in the unlabeled lines themselves.
HeLI builds a frequency profile for each variety from labeled subtitles. It first looks for a word in its original spelling and capitalization, then tries the lower-case form. When neither lookup succeeds, it divides the word into overlapping pieces and looks for those, shortening the pieces as needed. These pieces are character n-grams. A familiar word or sequence receives a score based on how frequently it occurs in the training text for each variety. The method averages word scores across a line and selects the variety with the lower score. The authors also tried updating the profiles during classification, starting with the line whose scores for the varieties were farthest apart.
The fixed HeLI system performed best on the shared-task test set. It placed 8th, with a reported macro F1 of 0.61 and recall of 61.4%. The adaptive submission reached test recall of 61.15%. The authors report its macro F1 as 0.6107 and judge it to offer no improvement. The fixed system recognized more Flemish lines than Netherlandic Dutch ones. The experiment also showed that removing some kinds of frequency information could leave development recall unchanged, even though the submitted system retained all the available kinds of lookup.
A separate experiment asked whether similar-looking lines could first be grouped together and then classified as a longer passage. The authors tested the grouping step on the development set. The strongest setting paired a line with a neighbor of the same variety at an accuracy of 59.0%, using lower-case character trigrams. They ended the experiment at that stage. Together, the results show what the frequency-based method achieved on this particular subtitle collection, how little the prediction-based updates changed that outcome, and why the authors saw a role for features chosen specifically to distinguish the varieties.
Deep dive: HeLI-based Experiments in Discriminating Between Dutch and Flemish Subtitles
How HeLI distinguishes Netherlandic Dutch from Flemish in subtitles, and what changes when it learns from its own predictions or groups similar lines. · about 33 minutes to read
The problem and its context
What a subtitle label asks a classifier to decide
The shared task presented a choice between Netherlandic Dutch, as used in the Netherlands, and Flemish Dutch, the Belgian variety in the paper’s terminology. The authors note that the language standard they cite treats them as varieties of the same language. For a classifier, the practical consequence is that recognizable Dutch vocabulary and spelling can occur under either label. The evidence needed to identify the language of a passage can therefore be much broader than the evidence needed to identify its variety. Once the candidates are this close, the useful question is whether the particular words and spellings in the line occur often enough in one source relative to the other to support a choice.
A line is the unit to which the shared task assigns a label. The authors point out that lines in this collection usually contain several sentences, whereas lines in earlier VarDial collections had largely contained a single sentence. The distinction matters for the method. Each word has a chance to contribute evidence, and all the words in the line enter the same final calculation. A line containing several sentences gives the classifier more material to consult. Its value still depends on what those sentences contain. A longer input full of shared vocabulary can give similarly favorable scores to both varieties.
This is an instance of text classification. The categories are fixed in advance, the training examples carry those categories, and the output is a label for the whole input. The predictions are about the labels of written subtitle lines. Nothing in the task asks the system to identify an individual speaker, recover pronunciation from audio, or explain which linguistic differences account for the classification. The paper’s authors wanted to see whether a method they had developed for general language identification would carry over to this narrower distinction. They had previously used HeLI and its variants at VarDial, and Dutch varieties were a new identification problem for their team.
What earlier work had established
The previous VarDial tasks gave researchers a framework for comparing systems on closely related languages or varieties. HeLI’s developers had submitted versions of the method in earlier campaigns, some of which the paper cites through shared-task reports. They describe their experience with HeLI as generally robust and competitive. That was a reason to start with the existing method when the subtitle task appeared. It also made the unchanged classifier a meaningful reference point for judging the effect of the changes investigated here. See the DSL Shared Task 2015 overview, the Third DSL Shared Task report, and the VarDial Evaluation Campaign 2017 findings.
The paper also describes language identification research outside those workshops. The Dutch Folktale Database served as a source for one study and included English as well as 15 languages or dialects closely related to Dutch. It compared classifiers that represented texts using their features and then searched for the most similar example or category prototype. Rank-based similarity compared features by their ordering. Cosine similarity compared the direction of feature vectors, so a pair of texts could be similar when they emphasized the same features. This earlier experiment addressed identification at document size across a wider collection of candidate varieties. Its setup illustrates how much the classification problem depends on the text source, the unit of prediction, and the range of labels.
Another study used word2vec to investigate Dutch dialect identification. The underlying representation gives each word a vector, so words can carry information about the contexts in which they were observed. HeLI draws on a different kind of evidence. It stores direct counts for a word or character sequence in each candidate variety and chooses a level of representation separately for each word. Both approaches start from observations of text, but the information available to a classifier differs according to what it retains from those observations. The earlier approach used word embeddings. Evaluating Unsupervised Dutch Word Embeddings
Research on neighboring languages offered a further reason to pay attention to the candidate set. The authors cite earlier tests of Dutch and Afrikaans that found the languages reasonably distinguishable with several methods, including common-word and rank-distance approaches. They also cite studies that describe Dutch and Afrikaans as confusable and report confusion between Afrikaans and West Frisian. These observations address different sets of comparisons. A procedure that distinguishes a particular pair reasonably well may still make errors when a different close relative is available. The survey cited in the paper places this work in the broader field of automatic language identification.
Immediately before the subtitle task, van der Lee and van den Bosch studied how clues in word choice and sentence structure can be used to identify language varieties. The HeLI paper credits that study with leading to the shared task and refers readers to it for the details of collecting the subtitle data. In the new benchmark, the task organizers supplied the material and the target labels. The HeLI team’s main experimental choices were how to represent each variety, how to decide which representation to consult for a particular word, and whether to let the test texts influence predictions on one another.
Where grouping entered the picture
The paper distinguishes identifying a text from finding groups among texts whose labels are unknown. In supervised identification, examples associated with Netherlandic Dutch and Flemish Dutch establish profiles in advance. In unsupervised clustering, similarities among the inputs themselves determine which items belong together. A group formed in this way has no variety label until another step assigns it one. Before such a step can help, the grouping needs to preserve the distinctions that the eventual classifier is supposed to predict.
The authors cite earlier unsupervised work that used the tendency of words to occur together. Grouping words that repeatedly appeared in the same contexts provided a way of assembling a possible vocabulary for a language. The subtitle experiment uses the same broad principle of looking for structure without labels, but the objects being grouped are different. Each object is a subtitle line, and the similarity comes from looking up character sequences in another line. The authors say they knew of no previous use of their specific strategy of grouping the inputs before applying a language identifier. The idea rests on the possibility that lines may resemble others from the same subtitle collection more closely than they resemble the labeled training text.
This motivation applies most directly when the inputs share a source or recurring vocabulary that the training collection represents poorly. The study considers that possibility through separate experiments. Adaptation retains the two known varieties and tries to update their frequency profiles from the input. Clustering first asks whether individual input lines can be associated with others from the same variety without using those profiles. A successful update and a successful grouping would therefore establish different things about the information available in the test collection.
The method, step by step
From labeled subtitles to a decision about a line
HeLI treats each input word as an opportunity to consult the training data. A whole word is the most specific item it tries. A lookup can establish that the same spelling occurred in training and reveal how common it was in each variety. If that spelling is unfamiliar, some of its character sequences may still be recognizable. The method moves down through its lookup options until it reaches a representation with usable training evidence. This is what the authors mean by back-off. A line containing well-attested and unfamiliar words can consequently be scored with whole words in some places and shorter sequences in others.
The score assigned to a feature runs in the opposite direction from its relative frequency. A word that is common in the training text for a variety makes a relatively small contribution to that variety’s score. A word that is rare there makes a larger contribution. A feature seen in one variety and absent from the other receives a preset penalty for the variety where it is absent. The penalty allows the classifier to keep computing finite averages. At the end, the candidate with the smallest average cost is the preferred label.
How fixed HeLI classifies a subtitle line
The steps in order.
The preparation starts by splitting the labeled text into words. Characters that are neither alphabetic nor ideographic act as delimiters. Training and prediction follow the same splitting rule. The method can preserve the characters as written for one set of counts and lower-case them for another set. This distinction lets a spelling with upper-case letters carry its own frequency while still giving the procedure access to an aggregated lower-case count when the original form is missing. The operation that makes these stretches into the units HeLI scores is tokenization.
Within each word, the authors count overlapping character sequences, including the spaces immediately before and after the word. Counting the boundary spaces gives the method a way to distinguish a pattern found at the edge of a word from the same letters found inside it. The paper illustrates overlap with a word of three characters. Its padded form supplies three trigrams: one beginning at the leading space, one containing the letters themselves, and one ending at the trailing space. The counts stay inside the padded word. In these experiments, a character sequence does not span the internal letters of one word and those of the next, and the classifier uses no sequences of consecutive words.
The same feature can appear more than once, so a frequency depends on occurrences, while the lookup inventory consists of distinct feature types. For the Dutch training corpus, the case-preserving inventory for character 7-grams was the largest generated inventory, with 333,256 distinct 7-grams. The size gives a sense of how much specific spelling material a character inventory can contain. At prediction time, each word uses the evidence at the applicable level of back-off. An inventory can be large without every entry contributing to every decision.
In the version used for the shared task, the authors omit an earlier cutoff that limited the size of the stored inventories. Their reasoning is that when the labeled corpus is of good quality, the training material is generally worth retaining. The penalty for missing features helps them handle some impurities in the stored counts. Keeping all the counts also simplifies the description. The word frequencies can be defined directly over the training corpus, and the character frequencies directly over the material derived from it at each length. The development set still determines which lengths and forms the procedure has available and the value assigned to the penalty.
How the training counts become scores
Let the candidate labels form a set G, with g standing for one candidate. Each trained lookup has a shared domain. For words, that domain is the union of the distinct words observed in the candidate varieties for the particular casing being used. An item in that domain can be scored for every variety. One score may come from a recorded relative frequency while another comes from the penalty. A word missing throughout the union requires a different lookup because the whole-word counts offer no distinction between the candidates.
v_Cg(t) = {
−log₁₀(c(Cg, t) / l_Cg) if c(Cg, t) > 0
p if c(Cg, t) = 0
}
Here t is the word being scored, Cg is the training corpus for candidate variety g, and v_Cg(t) is the word’s score from that corpus. The function c(Cg, t) counts occurrences of t in Cg. The quantity l_Cg is the total number of word occurrences in Cg, including repetitions. The quotient is the frequency of t relative to all those occurrences. The notation log₁₀ denotes the base-ten logarithm, and the minus sign turns a larger relative frequency into a smaller score. The condition compares the count with zero. A positive count permits the logarithmic calculation, while a zero count receives p, the preset penalty.
The distinction between an observed word and an observed word for a particular variety is fundamental. Suppose an input spelling was recorded in only one of the candidate corpora. The classifier has a whole-word entry to compare. It uses the score from the observed frequency for that variety and p for the other. Both candidates are assessed at the same level of detail. If the spelling is missing from both corpora in the current word lookup, the method can try another representation. These are different uses of absence. Absence in one variety can support a distinction, while absence everywhere gives the classifier a reason to look for a different feature.
Scores for character sequences have the same form, with the denominator taken from the corresponding inventory of occurrences at the chosen length.
v_Cgⁿ(u) = {
−log₁₀(c(Cgⁿ, u) / l_Cgⁿ) if c(Cgⁿ, u) > 0
p if c(Cgⁿ, u) = 0
}
The symbol n is the number of characters in the sequence u, and Cgⁿ is the collection of length-n character sequences drawn from the training text of variety g. The score v_Cgⁿ(u) is the cost assigned to u for that variety. The count c(Cgⁿ, u) is the number of occurrences of u, and l_Cgⁿ is the total number of length-n sequence occurrences for g. The minus sign and log₁₀ again give the negative base-ten logarithm of a relative frequency. The comparison with zero selects the branch, with p used for a sequence absent in g but present in the shared domain. Each length has its own occurrence total, so the denominator in this calculation belongs to the same kind of feature as the numerator.
The penalty supplies a finite cost in positions where an observed frequency cannot do so. The authors describe this as a smoothing effect because unseen features receive a score rather than being treated as impossible. Its numerical value also determines how costly absence is relative to other evidence. A feature missing from one variety can yield a different comparison from a feature that is infrequent in both. The development experiments vary p alongside the available feature inventories, which matters because different settings can encounter different kinds of missing entries.
What happens when a whole word is unfamiliar
For a selected character length, the padded word yields overlapping windows. The classifier discards any window whose sequence occurs in none of the candidate corpora. It keeps windows observed anywhere in the training material. For each retained window it uses either a recorded frequency score or the absence penalty for the individual variety. This makes the averaging set common to the candidate varieties. If a window were retained only for the varieties where it was observed, the differences in coverage would change which pieces of the word each candidate was being judged on.
The following notation uses the actual window positions to express the paper’s counting rule. This also makes the notation agree with its description of padding and overlap.
d_g(t, n) = ∑ᵢ∈Iₙ(t) {
1 if uᵢⁿ ∈ dom(O(Cⁿ))
0 otherwise
}
Here d_g(t, n) counts the retained length-n windows of t. The index i identifies a window, Iₙ(t) is the set of window positions in the padded word, and uᵢⁿ is the character sequence at position i. The symbol ∑ adds the contribution from each position. Cⁿ denotes the training collections of length-n sequences across the varieties, O denotes the inventory of observations, and dom(O(Cⁿ)) is the set of sequences attested in at least one variety. The symbol ∈ checks membership in that set. Each attested occurrence contributes 1 and each unattested occurrence contributes 0. The subscript g follows the authors’ notation for the count. Under the union-based rule, retention itself is shared across the candidates.
The bounds printed with the summation use l_t − n, with l_t identified elsewhere as the length of the word. Read with that meaning of l_t, the bound gives no trigrams when the word and the sequence both have three characters. The authors’ boundary example explicitly gives three. Using valid padded windows as the index set follows that example and the stated token preparation. The paper also alternates between a shared domain and notation carrying g in some of its lookups. Its description of discarding a sequence only when it occurs in none of the candidates supports the shared-domain reading.
Once the retained windows have been identified, the score for a word at a given length is the average cost of those windows. If all the windows were discarded, the procedure tries the next shorter length.
v_g(t, n) = {
(∑ᵢ∈Jₙ(t) v_Cgⁿ(uᵢⁿ)) / d_g(t, n) if d_g(t, n) > 0
v_g(t, n − 1) otherwise
}
The term v_g(t, n) is the score for word t and candidate g when the character lookup starts at length n. Jₙ(t) is the subset of positions in Iₙ(t) whose sequences are attested in the shared domain. In the first branch, ∑ adds the candidate’s scores v_Cgⁿ(uᵢⁿ) for those sequences, and the divisor d_g(t, n) is the number added. The comparison with zero establishes whether the average can be taken. In the second branch, n − 1 is the next shorter sequence length. Only windows with usable observations enter the sum, including windows for which the individual candidate incurs p.
If the procedure reaches the end of the available character evidence, it uses the default cost.
v_g(t, 0) = p
Here v_g(t, 0) is the fallback score for word t and candidate g after the procedure has exhausted the character lengths. The 0 denotes the end of back-off, and p is the same fixed penalty. When no character evidence exists for the word anywhere in training, the equal penalty for the candidates contributes no preference between them.
Taking an average at the word level gives a precise role to back-off. The appearance of even one usable window at a particular length ends the search at that length. Shorter sequences can be available for all of the letters in the word and still play no part in the score. Where several windows are retained, repeated occurrences each enter the average through their positions. The decision is thus based on the average cost of the available evidence at the selected specificity. A representation with more retained pieces supplies more terms to that average, while the word contributes one resulting value to the line score.
How the lookup order works in practice
The paper expresses the choice between word lookup and character lookup with the following rule. In the implementation, the casing order adds further lookups around this basic choice.
v_g(t) = {
v_Cg(t) if t ∈ dom(O(C))
v_g(t, min(n_max, l_t + 2)) otherwise
}
Here v_g(t) is the chosen score for t under candidate g. The score v_Cg(t) is the whole-word value, from the observed frequency or the candidate-specific penalty. C denotes the training corpora considered together, O denotes the recorded vocabulary, and dom(O(C)) is its domain for the word lookup being considered. The symbol ∈ tests whether t belongs to that domain. The function min selects the smaller of n_max, the permitted upper limit on character length, and l_t + 2, the word length l_t with its leading and trailing space added. The second branch starts the character lookup at that smaller length, after which v_g(t, n) handles any further back-off.
Original-case whole words come first, followed by lower-case whole words. The search then moves to original-case character sequences. It descends through all their lengths, including single characters, before beginning the analogous lower-case sequence search. This order explains why providing lower-case character inventories and using lower-case character evidence are different things. For many words, some original-case character can already be found by the time the search reaches unigrams. The authors say the implemented order made the lower-case character inventories practically drop out. Lower-case word lookup comes earlier and has a separate opportunity to affect the result.
The maximum length is an upper bound on a fallback search, so it does not determine the representation used for every word. A short word may support only shorter windows. A word found at the whole-word stage never reaches character lookup. When a character window is available at the starting length, it can serve as fairly specific evidence even if the complete word is new. The order therefore puts familiar spellings first, then admits evidence from parts of unfamiliar spellings. The authors compare the word-only form to Naive Bayes and emphasize the back-off mechanism as the difference that lets HeLI continue scoring unfamiliar words.
The final line score gives each resulting word score the same place in the average.
R_g(M) = (∑ᵢ₌₁ˡᵀ⁽ᴹ⁾ v_g(tᵢ)) / l_T(M)
Here M is the input subtitle line, T(M) is the sequence of its word tokens, and l_T(M) is the number of tokens in that sequence. The index i runs from the first position, denoted by 1, through l_T(M), shown as the upper limit of the sum. The token at that position is tᵢ, and v_g(tᵢ) is its score under variety g. The symbol ∑ adds those scores, and division by l_T(M) gives the average R_g(M). The returned label is the g with the smallest R_g(M). Because the underlying costs use negative logarithms, a low value corresponds to relatively favorable frequency evidence for that candidate. The remaining steps are shared by both submitted runs until adaptation begins.
How the alternative procedures use unlabeled lines
In the adaptive run, the system first scores every test line with the original profiles. It takes the absolute difference between the two variety scores as a confidence measure. This difference records how far apart the candidates are under HeLI’s scoring rule while ignoring which one is ahead. The line with the largest gap is assigned to its winning variety, and that line’s words and character sequences are added to the corresponding profile. The revised counts can change subsequent scores by introducing new items, changing the relative frequencies of existing ones, or doing both.
The system then scores the remaining lines again. Its next decision depends on the revised profiles and the new gaps. It keeps proceeding one line at a time until the test collection has been labeled. The training labels provide the initial evidence, and the adaptive evidence comes from the system’s own assignments. A large gap establishes strong separation under the current counts. The agreement of that assignment with the test label is what the evaluation ultimately measures. Since each decision affects the frequencies used for later decisions, the sequence of updates is part of the experimental procedure.
For clustering, the authors give each development line its own character frequency profile, as if the line represented a separate language. They score each line against the profiles of the other lines and choose the neighbor with the lowest score. Excluding the line’s own profile prevents a trivial self-match. The grouping puts a line and its selected neighbor together, so each group contains at least a pair of lines. The profiles for this experiment use lower-case character sequences. The variety labels are consulted afterward to check whether the chosen neighbor has the same label. That check evaluates the pairing step, which would have supplied the groups for a future classification step.
Experiments and results
The splits and the comparisons
The organizers supplied 150,000 training lines for each variety and 250 development lines per variety. The shared-task test set contained 10,000 lines for each variety. The authors use the development data to choose settings and the test data to assess their submissions. The split sizes give these stages different roles. A large labeled training set supplies the frequency estimates, a much smaller labeled development set supports comparisons between settings, and a separate test set measures how the resulting procedures fare on additional subtitle lines.
Participants could submit three runs. The authors submitted two: fixed HeLI and the same setup with prediction-based adaptation. Fixed HeLI is the baseline for their own comparisons. Earlier studies on folktales and neighboring languages provide context, while the result from another collection would answer a different evaluation question. The paper reports the team’s shared-task rank and compares its own runs on the same test material. It gives no participant-by-participant score comparison. The evaluation design is best read in the context of evaluation and benchmarks.
The paper reports recall for the identification experiments. For a single variety, recall asks what share of the lines bearing that variety’s true label the system recovered. With equal numbers of reference lines in each variety, the aggregate correct-label rate and the mean of the per-variety recalls express the same aspect of performance. Macro F1 asks another question. For each variety, precision measures how often the lines predicted to be that variety actually carry its label, and recall measures how frequently lines carrying its label are found. F1 combines the two, and the macro average gives the resulting per-variety scores equal weight. The rank, aggregate recall, and macro F1 therefore describe distinct aspects of a submission.
Development choices and the fixed test run
The tuning comparisons changed the inclusion of case-preserving words, lower-case words, case-preserving character sequences, and lower-case character sequences, along with the upper character length and the penalty. The all-inventory baseline reached 64.6% recall on the development split with p set to 7.7 and an upper character length of 8. Other settings reached the same 64.6% development recall. The authors selected the full setup because leaving out individual inventories had yielded no improvement in that comparison. After choosing the settings, they included the development lines in the labeled material used to produce the final frequency profiles.
The fixed system reached 61.4% test recall. The authors report macro F1 of 0.61 and identify this as their best submission, ranked 8th. They attribute the lower recall on the test split than on the development split to the fact that settings were optimized on development. The scores summarize different stages of the experiment: the development result helped determine the submitted system, and the test result assessed it after that decision. The final estimator also had the development examples available as labeled training material.
Fixed and adaptive HeLI on the DFS test set by recall
Fixed HeLI has the higher recall on the shared-task test set.
The numbers
| System or setting | recall % |
|---|---|
| Fixed HeLI (this paper) | 61.4 |
| Adaptive HeLI | 61.15 |
The test breakdown makes the asymmetry between the varieties visible. The table uses DUT for Netherlandic Dutch and BEL for Flemish Dutch. The fixed run labeled 5679 true DUT lines as DUT and assigned 4321 true DUT lines to BEL. For true BEL lines, it retained the correct label for 6592 and assigned 3408 to DUT. Each true-label group had the same number of lines. The count of correctly recovered Flemish lines is therefore higher under an equal test allocation. These counts tell a reader which way the mistakes went, something the aggregate recall alone leaves implicit.
The authors also compare the lengths of these groups. The shortest and longest lines reported in this evaluation were 111 and 385 characters. Correctly identified DUT lines averaged 34 words and 187 characters, while DUT lines assigned to BEL averaged 34 words and 178 characters. Correctly identified BEL lines averaged 33 words and 178 characters. BEL lines assigned to DUT averaged 34 words and 185 characters. In one variety, the correctly classified group had the longer character average. In the other, the incorrectly classified group did. The word averages were similar across outcomes. The authors therefore regarded line length as a minor factor for the method within this collection.
Adaptation on development and test
The adaptive procedure was first compared with the fixed procedure on the development set under several baseline configurations. For the full configuration, whose penalty was 7.7, adaptation gave 64.8% development recall and the fixed procedure gave 64.6%. Another comparison gave 63.6% recall for each procedure. The remaining comparisons showed adaptive recalls of 54.8% and 61.6%, alongside fixed recalls of 55.0% and 62.2% for their respective settings. These comparisons vary the starting representation as well as showing what happens when it is updated. The relevant comparison for adaptation is within each matched pair.
The second submission used the same initial settings as the fixed submission. Its test recall was 61.15% and its reported macro F1 was 0.6107. The paper describes this as no improvement on the fixed run. The macro F1 entries are printed to different precision, so the displayed values alone cannot establish their exact ordering. The test recall numbers provide the direct comparison at the reported precision. On that measure, the small advantage for adaptation under the full development setting did not carry over to test.
The paper says adaptation had worked well on German dialects and Indo-Aryan languages in the team’s other tasks at the workshop. Those experiences motivated the trial on Dutch and Flemish, while the subtitle results establish its behavior here. In this task, adaptation changes how each line is handled after the initial scoring pass. Its aggregate recall nevertheless stays close to that of the system that keeps the original profiles fixed.
Neighbor pairing on development
The clustering trial used a separate profile for each of the 500 development lines. The comparison asked whether a line’s closest neighbor, as judged by HeLI with lower-case character counts, shared its variety. This use of accuracy has a different target from test recall. The scoring rule first produces a neighbor, and a correct outcome means that the line and the neighbor have matching reference labels. A successful pairing gives evidence about the proposed group’s coherence. No supervised prediction for the resulting group is part of this result.
Lowercase character settings on DFS development by same-variety pairing accuracy
The trigram setting pairs development lines with same-variety neighbors most often.
The numbers
| System or setting | accuracy % |
|---|---|
| Unigram maximum | 55.8 |
| Bigram maximum | 53.2 |
| Trigram maximum (this paper) | 59.0 |
| Maximum length 4 | 56.6 |
| Maximum length 5 | 57.0 |
| Maximum length 6 | 54.4 |
| Maximum length 7 | 55.0 |
| Maximum length 8 | 56.2 |
The strongest pairing setting used a maximum character length of 3 and a penalty of 6. Its development pairing accuracy was 59.0%. A maximum length gives a starting point for back-off, so that label allows the use of shorter sequences when the preferred length has no usable evidence. The other settings also had their own penalty values. The chart compares the configurations as tested, with the sequence length appearing as the label. The authors judged the resulting groups too mixed to pursue the group-classification experiment, leaving the same-variety pairing measurement as the outcome of this part of the study.
What the ablations show
Several feature inventories can give the same recall
The development comparisons offer a partial ablation of HeLI’s feature inventory. The full configuration included original-case and lower-case words as well as original-case and lower-case character sequences. Some alternatives removed an entire kind of lookup. Others reduced the maximum character length or changed the penalty. The full system reached 64.6% development recall, and the table gives that same recall for several alternatives. One of them kept the original-case word lookup and character settings, omitted lower-case words, and used the same 7.7 penalty. The equal aggregate result shows that lower-case words were dispensable for reaching that score in this particular comparison. The authors do not give line-level agreement between the configurations, so the equality leaves open which lines each one recovered.
The paper says retaining words in their original case helped on the development set. This is a statement about access to an informative representation, and the scoring order supplies a mechanism. A word recorded in its original spelling can be compared directly at that level. When casing is collapsed, all occurrences of the lower-case form contribute to the same entry. This can bring more evidence into one count while losing a difference associated with a particular spelling. The settings that gave the strongest development recall retained original-case words. The comparison stays at the level of overall performance. It does not trace the benefit to individual spellings.
The least successful setting in the development table reached 55.0% recall. It used lower-case character sequences up to length 4 and a penalty of 7.9, without word lookup. That is evidence that this stripped-down setup was weaker than the full baseline on the development set. Several conditions change together, including the presence of word features, the original-case lookup options, the character length, and the penalty. The comparison cannot give an independent estimate of the effect of removing any single component. More generally, the table explores what different bundles of settings can achieve. Some of those bundles offer a closer comparison than others.
Lower-case character sequences deserve a separate reading. Under the implemented order, the identifier descends all the way through original-case character lengths before it tries lower-case character sequences. Much of the potential lower-case evidence can therefore remain unused, even with the inventory enabled. A change that removes an inventory consulted rarely has little opportunity to alter aggregate recall. The result describes the inventory’s contribution under this back-off order. An ordering that tried lower-case sequences earlier would change which pieces of a word were available at the point where the search stopped.
The same issue applies to the upper character length. A system configured with a larger maximum gains an opportunity to use a more specific sequence. It receives no such opportunity for words resolved by whole-word lookup or words whose padded forms are shorter than the new maximum. Even when the length fits, the available windows still have to be found in the training profiles. Moving the maximum can therefore change behavior on only a portion of the input words, and the recall table alone gives no count of how many. The ties at the top of the development table are consistent with different search paths producing comparable aggregate performance.
The adaptation comparison isolates an update procedure
For each matched configuration, the adaptive and fixed scores start from the same kinds of features and the same penalty. The difference is whether the original profiles remain fixed or change after predictions on the unlabeled collection. This comparison directly tests the procedure the authors wanted to add. On the development split, the full setup shows a modest gain, another setting ties, and the remaining settings lose recall. The direction of change accordingly depends on the starting configuration. The test comparison uses the strongest initial setup selected for submission and favors its fixed version on recall.
The score gap is part of what this experiment tests. It is the rule for deciding which provisional label should influence the next prediction. The intuition is that a confident early case can reveal recurring words or spellings useful for later cases. The same mechanism can carry an erroneous early decision forward because the added counts are treated as observations of the predicted variety. The paper gives no systematic account of which lines were accepted early, how often those provisional labels were right, or where later predictions changed. The aggregate comparison assesses the method as a whole. It leaves the contribution of useful updates and the effect of erroneous ones unresolved.
A further distinction is that the adaptive and fixed scores concern the same prediction task, while the clustering scores concern a proxy for it. In the adaptive comparison, each run produces labels that can be checked directly against the shared-task references. In clustering, the pairwise comparison measures whether the input collection contains neighborhoods aligned with the labels. The authors’ inference from mixed neighbors to likely difficulty classifying the groups is a reason for stopping the experiment. The pairing results supply the evidence for that inference, and the proposed combined method never produces a final accuracy measurement.
The grouping comparison and the error breakdown
The clustering table compares lower-case character lengths with their associated penalties. The best result comes from the trigram configuration. Both shorter configurations performed less well, and the tested settings with larger maximum lengths also fell below the best result. This pattern supplies evidence against a simple rule that a longer available sequence always yields a better neighbor. Each length changes how much spelling context a window records and how likely it is to be shared by two lines. The settings also vary in the cost assigned to an absent sequence, so the table establishes the best combination in the trial instead of the separate contribution of length.
The test error breakdown gives another way to interpret the baseline, even though it is an observational analysis of one run. The direction of confusion favors Flemish recall. The length averages supply little evidence that this asymmetry can be explained simply by one group having more words available per line. Because the classifier takes an average over words, increasing the token count changes the evidence entering the decision according to the scores of the added tokens. More words that look equally common for both varieties have a different effect from words whose frequencies sharply favor one. The breakdown identifies a difference in recovery between the varieties and describes length within the resulting groups. It leaves the content of that evidence unmeasured.
Limitations
Limits and explanations the authors identify
The authors describe HeLI as non-discriminative and see this as a disadvantage when the candidates are extremely close. The method estimates frequencies within each variety and uses those estimates to compare a line. It uses no additional feature-selection or weighting procedure aimed specifically at making the two subtitle varieties easier to separate. Common words can be well represented for both varieties, whereas features that distinguish the labels may appear less often. The authors propose investigating discriminative elements in future work. Their experiment shows what the frequency procedure achieved as submitted. The gains available from particular discriminative features remain open.
They suggest two reasons why adaptation was less helpful on these subtitles than in their other shared tasks. First, the labeled training collection was already large, which may have left less relevant frequency information for the unlabeled lines to supply. Second, the test collection came from heterogeneous material, so observations from a confidently labeled line might have had limited value for the others. Both are explanations proposed after observing the result. The paper gives no separate experiment that varies training size while holding the test collection constant, or compares test batches deliberately arranged to differ in source consistency.
The authors illustrate the second explanation with subtitles from a single television series or a new film. A name that occurs in clearly identifiable lines could be learned by the adaptive procedure. Its later appearances could then contribute to decisions on lines with otherwise ambiguous vocabulary. That example describes how adaptation might exploit recurring material shared within a subtitle collection. The reported test does not establish that this would work, whether the names would favor the correct variety, or how much performance would change under a source-specific design.
For clustering, the authors identify a restricted search over methods and features. They tried one nearest-neighbor grouping procedure with lower-case character sequences. They propose evaluating other grouping methods, testing the contribution of words, and trying the approach on other datasets. They also propose that it could be useful when the text used for prediction and the training material come from different domains. Their motivation gives a condition under which similarity among inputs might be valuable: a group could share useful language evidence poorly represented by the original counts. They leave that condition untested.
Further limits of the evaluation design
The development set supports comparison across many choices, but it is small in relation to the training and test sets. Identical development recall can conceal differences in which lines the settings classified correctly. It can also leave several choices equally plausible for the submitted run. The authors take the all-inventory setup forward and use the development data in the final training material. The paper then tests that selected setting and its adaptive counterpart. Alternatives that tied on development lack their own test comparison, which limits what can be concluded about the necessity of individual inventory choices on held-out data.
The experiment reports point estimates and the best submission’s rank. It gives no uncertainty interval around the recall values, analysis of variation across alternative splits, or significance test for the fixed and adaptive difference. The comparison supports the narrow conclusion that fixed HeLI achieved higher recall on this test set. It leaves open how the alternatives would order on another sample from the same collection process. The different displayed precision of the macro F1 values adds a reporting limitation. An exact comparison of those values would require the fixed run’s score at corresponding precision.
The length analysis has a similarly bounded interpretation. It summarizes average sizes for correct and incorrect predictions and gives the range of line lengths. There are no breakdowns by length interval, and the paper does not take the same line and systematically vary how much of it the classifier can see. Averages can be similar even when behavior differs in particular portions of the range. The result supports the authors’ judgment that line length was not a major issue in these subtitles. It is compatible with length having a different role for very short inputs or texts from another collection.
Variety labels are evaluated against the subtitle dataset. The word and character counts can reflect linguistic differences, recurrent names, or other vocabulary specific to the material. There is no feature audit that attributes particular classification decisions to general differences between Netherlandic Dutch and Flemish Dutch. Nor does the test break down performance according to the production source of the subtitles. The evidence supports an account of prediction on these lines. Claims about which linguistic properties distinguish the varieties across genres would require a design that identifies those properties and evaluates their contribution across sources.
The adaptive procedure sees the full unlabeled test collection when it establishes the initial order of confidence. Each subsequent update and rescore depends on the other lines remaining in that collection. Its result therefore describes classification with access to the batch. A setting that supplies lines individually would change the evidence available when early labels are assigned. The experiment neither evaluates that operating condition nor compares alternative update rules. Likewise, the paper does not establish whether the ranking by score gap tracks actual correctness sufficiently well for other subtitle collections.
Finally, the clustering score refers to the label of a selected neighbor for each line. That is weaker evidence than a measurement of the makeup of every resulting group. A group can contain links that are individually plausible and still bring together lines with different labels. The pairing metric gives no size distribution or direct measure of the variety composition of whole groups. It also supplies no estimate of what the supervised identifier would do with the combined text. The authors’ judgment that group classification would probably make things worse remains an expectation based on the observed pairing quality.
What came after
The campaign account
The study appears in the same year as the evaluation campaign report. The HeLI authors cite that report when introducing the Dutch and Flemish subtitle task, and the report in turn cites their study. Their roles are complementary. The team paper follows the construction and testing of one entry, with details about the score assigned to a word, the order of back-off, and the trial of prediction-based updates. The campaign account places the task in the wider evaluation. That connection makes the HeLI submission a documented example of what a general-purpose identifier achieved on the task’s particular distinction. The Second VarDial Evaluation Campaign
The connection through the campaign also clarifies which claims are specific to the team’s experiment. The rank locates the fixed HeLI submission in the shared evaluation. The development settings, the choice to add development data to training, and the nearest-neighbor trial explain how that team arrived at its final submission and where it stopped exploring. The campaign report can be credited with framing the evaluation that the system entered. The individual paper supplies the evidence for the reported comparison between fixed and adaptive HeLI.
Classifier ensembles
The other citing work concerns classifier ensembles for dialect and language variety identification. An ensemble combines outputs or evidence from multiple classifiers to make a decision. That is a different level of combination from the choices inside HeLI, where a word is assigned a score through a sequence of lookups and the resulting word scores are averaged across the line. The citation connects the subtitle experiment to a study of the same broad identification problem approached through classifier combination. It does not establish that the ensemble used HeLI as a component, adopted its adaptation procedure, or tested its proposal for grouping subtitle lines. Classifier Ensembles for Dialect and Language Variety Identification
These same-year connections document the setting in which the study was read. One work connects the submission to a shared evaluation and the other situates it alongside research on combining classifiers for close varieties. The more specific technical result remains the comparison made by the authors themselves. For this subtitle collection, their fixed frequency procedure gave the strongest submitted result, prediction-based updates brought no clear benefit, and the grouping experiment stopped after measuring the quality of the neighbors.
Cite
Cite as Tommi Jauhiainen, Heidi Jauhiainen and Krister Lindén. 2018. HeLI-based Experiments in Discriminating Between Dutch and Flemish Subtitles. Proceedings of the Fifth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial 2018).
@inproceedings{jauhiainen2018heli,
title = {{HeLI-based Experiments in Discriminating Between Dutch and Flemish Subtitles}},
author = {Tommi Jauhiainen, Heidi Jauhiainen and Krister Lindén},
booktitle = {Proceedings of the Fifth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial 2018)},
year = {2018},
url = {https://aclanthology.org/W18-3915/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/jauhiainen-2018-heli-based-experiments-discriminating-between/