Elamur Research

Finnish Dialect Identification: The Effect of Audio and Text

Paper · 2021 · Mika Hämäläinen, Khalid Alnajjar, Niko Partanen et al.

Summary

A short stretch of Finnish speech can carry several kinds of evidence about where its speaker comes from. A local word or an inflected form can survive in a transcript, and a careful transcriber can represent some differences in pronunciation. The recording preserves how the speaker actually produced the utterance. Mika Hämäläinen and colleagues ask how well a computer can recover a regional label from those sources. They present the study as the first automatic dialect identification experiment for Finnish. The system assigns a category from an inventory of 23 varieties of spoken Finnish.

The examples come from Samples of Spoken Finnish, an archival collection in which detailed dialect transcriptions are already matched to the recorded speech. The authors select utterances shorter than 10 seconds and take their regional labels from the corpus metadata. Their transcript baseline uses a recurrent network that reads the written sequence in both directions. The paired system processes the same dialect wording with uncased Finnish BERT and sends the corresponding sound to a Finnish adaptation of XLSR-Wav2Vec2. It averages the features produced by each branch, joins the resulting representations and makes a single dialect prediction. Both systems are evaluated on the same reserved sentences.

The transcript baseline correctly labels 57% of the test sentences. The paired system reaches 85% test accuracy and improves the F1 score of every dialect in the results table. F1 brings together how reliably the system assigns a label and how completely it finds the sentences that carry it. The paired system reaches an F1 of 0.98 for Länsi-Uusimaa and 0.5 for Pohjois-Pohjanmaa, even though the corpus contains more sentences from Pohjois-Pohjanmaa. The quantity of available material gives only a partial picture of how difficult a dialect will be to identify.

The accuracy gain belongs to the complete paired setup. Its text encoder, classification architecture and training procedure differ from those of the transcript baseline. The experiment thus leaves two questions unresolved: how much the audio itself contributed to the improvement and how well the recordings would perform without other inputs. What it establishes is that a system using paired sound and text can make substantially more correct assignments on this archival material, even against a baseline that reads transcriptions prepared to retain dialect features. The authors make their processed data, code, and trained systems publicly available.

Deep dive: Finnish Dialect Identification: The Effect of Audio and Text

Finnish dialect identification from short archival utterances improves when a system uses both the recording and its dialect transcription. · about 33 minutes to read

The problem and its context

A regional decision from a brief utterance

Dialect identification begins with an observation about ordinary speech. The form a person uses may carry evidence about its geographical background even when the person says nothing about where they live or grew up. The paper points to pronunciation, vocabulary and the shapes words take. A local word can carry a clue through its identity alone. A form of a word used across regions can also be informative if its inflection is more typical of one region. This second kind of evidence comes from morphology.

The task here gives the system only the evidence found in a short contribution to a recording. A speaker can use many characteristic forms over the course of a conversation and still produce a particular sentence that contains very few of them. Conversely, a brief sentence can happen to include a locally distinctive form. The challenge is to make the regional decision from these uneven amounts of evidence. The computer is asked to assign each example the category already associated with it in the archive. The archive supplies the geographical description against which the prediction can be checked.

This turns an open-ended linguistic problem into a defined prediction task. A linguist describing a stretch of speech can discuss features pointing to different areas or explain why the available evidence is ambiguous. The system has to pick a dialect name. Its answer is evaluated by agreement with the archive even when other regions are plausible from the sentence alone. The task thus measures how recoverable the archive’s distinctions are when a system sees one example at a time.

Written and recorded versions of the same speech make different evidence readily accessible. A transcript can show the words and the forms the transcriber chose to write down. In a dialect collection, the notation may also preserve details that would disappear in standard Finnish spelling. The waveform contains the actual realization of those forms, together with the rest of the speaker’s delivery. The paper asks whether a system can use the paired material successfully when those written distinctions are already available. That makes the quality and purpose of the transcription part of the experimental question.

The authors see two practical reasons to work on identification. A regional prediction could be added to the description of an archived recording, creating metadata that helps characterize the material. Identification might also be useful before automatic speech recognition if recognizers have been adapted to individual dialects. In that proposed workflow a dialect decision would help determine which recognizer to use. These applications have different conditions. An archive may already have written and recorded versions of the same utterance, while a speech recognizer may need a regional decision before a written version exists.

How the paper describes variation in Finnish

The authors place the task against the history of written and spoken Finnish. They trace written Finnish to the 16th century and describe its modern form as the result of deliberate development that continued into the late 19th century. The conventions for spelling remained relatively stable after that period, while the vocabulary changed as new aspects of society needed names and older agricultural terminology became less familiar. A standardized written language provides shared conventions across regions. The paper describes spoken usage as retaining substantial regional variation alongside those conventions.

The distance between the written form and ordinary spoken Finnish is relevant to the choice of data. The authors mention news broadcasts as one of the relatively limited settings in which speech can closely follow the written standard. An archive documenting vernacular speech has a different purpose. It captures forms speakers use in their regional varieties, and its transcription is designed around those forms. Written Finnish is therefore a broad description of the input medium. The details of how the Finnish is written determine which parts of regional variation the written input can communicate.

Geography also shapes what the requested labels mean. The paper describes a major division between Eastern and Western varieties, with sharp boundaries in some areas and more gradual differences elsewhere. In a continuum, neighboring municipalities can differ in increments across several features. A regional classification can still provide an organized account of the material. Its categories may, however, impose a definite choice at a point where the available features are shared or change at different rates. Broad geographical evidence in an utterance may leave the more specific archive distinction unresolved.

The paper also describes dialect leveling, in which highly local characteristics can become less common and forms can spread across areas. It refers to research indicating that the spread proceeds at different rates for different features and that younger speakers use some regionally marked forms less than older speakers. The authors see a complicated relationship between present-day vernaculars and the most traditional forms documented in recordings. They discuss the possible endangerment of some traditional varieties while noting the difficulty of judging their status. These observations connect dialect recognition to historical linguistics and language change.

The recording program behind the study provides a way of investigating regional speech as it was documented. In the 1950s, the archive set a target of 30 hours of speech from each municipality. The paper describes the target as having been exceeded and gives 24,000 hours for the total collection. Much of the account of usable material concerns the work that took place after the recordings were made. Publication, transcription and digitization determine which pieces can readily be studied in conjunction with their sound. The paper uses a curated part of this larger documentation effort.

From listening judgments and text conversion to automatic identification

Earlier Finnish work on identifying dialects had mostly investigated how people perceive them. The paper situates that research in folk linguistics, where speakers’ impressions and descriptions are themselves objects of study. A listener may have a clear impression of some regional markers and little awareness of others. The studies discussed by the authors consider which features people recognize as local and which forms are likely to remain associated with a place. Such findings describe judgments about regional speech. The present task asks how closely a program’s predictions agree with the regional categories attached to recordings.

The connection matters because people and classifiers draw on the same utterance in different ways. A perceptual study can ask about a feature directly or collect a listener’s account of what sounded local. A prediction system can exploit recurring differences that help it distinguish examples, whether or not those differences would occur to a listener asked to explain a judgment. The authors see an opportunity to compare the distinctions people perceive with the categories an automatic system finds easy or difficult. The experiment itself uses the archive’s labels as its test of correctness.

Earlier computational studies of Finnish dialects worked primarily with textual transformations. The authors discuss applying bidirectional long short-term memory networks to convert dialect writing to standard Finnish and to adapt standard Finnish into dialect forms. They mention related work on normalizing historical Finnish. These tasks give the program a sequence and ask for a version in a different form. Dialect identification can also be expressed as a sequence problem, but the desired output is a regional name. The text has value because of the features it already contains.

The most closely related Finnish work with recordings, as described in the paper, addressed foreign accents. The cited study used i-vectors, numerical descriptions of the audio supplied to a classifier. The paper explains why its target differs from regional variation among Finnish speakers. A foreign accent may include sounds outside the sound patterns of Finnish. Regional varieties can be distinguished by how a shared set of sounds is used. The existence of useful acoustic evidence for foreign-accent classification gives a reason to study sound. The cues for distinguishing regional forms of Finnish still have to be investigated on their own material.

For other languages, the authors found several approaches that identify a dialect from writing. They discuss work on Arabic, German, Romanian and Low Saxon. Some systems use features drawn directly from the written sequence. Others learn with representations obtained through earlier training. One kind of direct feature is an n-gram, a sequence of consecutive units whose occurrence can help distinguish examples.

The review also covers dialect and language identification from recordings. Work on North Sami used properties extracted from the speech signal, including prosodic features, which describe aspects of its pattern of delivery. The authors also discuss work using spectrograms, representations that show how the frequency content of sound changes over time. A study of spoken Arabic dialects used a spectrogram based on Mel-weighted single-frequency filtering. In the studies the authors review, a system typically receives its evidence in one medium.

The gap identified by the paper concerns both Finnish and the combination of inputs. The authors found no prior automatic classifier for regional Finnish dialects in their review, and the identification studies they discuss use text or audio separately. Samples of Spoken Finnish makes the combination possible without undertaking a new transcription project. It supplies a written account and a sound segment for the same utterance, together with the location-based category to be predicted.

The method, step by step

Constructing examples from the archive

The digital corpus comes from a publication series issued in 1978–2000. The series comprised 50 booklets, each representing a different municipality. The authors describe a booklet as containing roughly two hours of transcriptions drawn from two speakers. This organization matters because the digital material inherits the geographical coverage of the publication. The paper distinguishes it from the larger tape archive and from other collections made from similar recordings, some of which include additional grammatical information.

The electronic edition of Samples of Spoken Finnish is available with its audio through the Language Bank of Finland. The paper describes it as containing almost 700,000 tokens. A token is a unit into which the written material has been divided. That size describes the electronic corpus, while the dialect classification experiment works with a selection of aligned sentences. The authors choose the resource for its geographical coverage and open license, which also makes it possible to distribute the processed examples.

The transcription conventions are important. Linguists prepared archival materials of this kind to represent regional speech systematically, using notation suited to the documentary purpose. The digital corpus also includes a manually prepared normalization into standard Finnish. The experiment takes its written input from the dialect transcription. When a feature is represented there, it reaches the classifier as a property of the input instead of having to be recovered from the sound. The preparation of linguistic information of this kind is a form of linguistic annotation.

To construct an example, the researchers obtain the original audio and use the correspondence already established between the transcription and the recording. The corpus aligns the two at sentence level. That correspondence identifies which portion of the recording goes with a given piece of text. The researchers extract the utterances whose audio is shorter than 10 seconds. For an eligible utterance, the corresponding dialect transcription supplies the written input and the recording segment supplies the acoustic input. The category is read from the dialect-region information already recorded in the corpus.

This procedure establishes a useful distinction between the sources of the inputs and the source of the answer. The text contains what was transcribed, and the audio contains how it sounded. The regional answer comes from the collection’s documentation. The authors do not have to infer the label from a prominent word or ask someone to judge the dialect of each isolated sentence. This lets them keep sentences in which the regional evidence happens to be weak. Such sentences still have a corpus label and contribute to the experiment.

The size limit applies to the duration of the audio. It leaves room for variation in how much written material accompanies a segment, since people differ in how quickly they speak. The paper identifies differences in speech rate and the sizes of dialect areas as contributors to the uneven number of sentences across categories. It retains that distribution. The unit of prediction remains the sentence supplied by the alignment, with whatever amount of regional evidence occurs within it.

Keeping the evaluations on common material

The data section says the authors randomly order the sentences and allocate 70% to training, 15% to validation and 15% to testing. The training portion provides the system with examples and their expected answers. The validation portion is reserved for development. The test portion is where performance is assessed on held-out sentences. The task is defined at the level of those sentences throughout the partitioning and prediction procedure.

Both main systems use the same partitions. This means that an utterance included in the text baseline’s test material also contributes to the paired system’s test through its own transcription and recording. The utterances themselves are equally easy or difficult in the two evaluations. The information and computation available for making the decision differ. This is especially useful when some dialects have far fewer examples than others, because an apparent performance change could otherwise reflect a change in which labels or particular utterances were evaluated.

The randomized procedure is described in terms of sentences. In the conclusion, the authors also report that the test speakers were absent from training. The method gives no speaker-grouping or verification step to connect that statement to the described randomization. The allocation percentages establish the reported division of sentences. The handling of speakers is a separate issue when judging what kind of generalization the split establishes.

The recurrent system for transcriptions

The text baseline is implemented with OpenNMT-py. Its input is the dialect transcription and its output is the name of the dialect. This makes the task a particular form of sequence prediction. The input sequence can be encoded in the same broad way as in a text conversion system, and the decoder can produce the regional answer as its output. The evaluation then checks that output against the corpus category, a text-in, label-out use of text classification.

The system uses long short-term memory, abbreviated LSTM. In a recurrent network, each step processes a position in the sequence with information carried forward in an internal state. LSTM units provide a way to control how that information is kept and updated across positions. A written form can be informative in combination with other material in its sentence, so the representation can benefit from what the network has seen along the sequence.

The authors change OpenNMT-py’s encoder setting to use a bidirectional recurrent neural network, or BRNN. One direction follows the text in its usual order and the other follows it in reverse. Accordingly, the encoded representation at a position can take account of material on both sides. The paper motivates this choice by citing better results from bidirectional encoders across other tasks. The reported Finnish experiment adopts that setting for its principal recurrent system.

The encoder and decoder each have two layers, following the defaults described in the paper. The encoder builds representations of the text and the decoder uses them in making its output. The authors retain Luong’s general global attention. Attention gives the decoder access to a weighted combination of encoder outputs, with the ability to draw differently on individual positions in the input. Global attention makes the encoded sequence available to this operation. That is a description of the mechanism the network uses. The paper gives no attention analysis identifying the positions that matter for a particular dialect prediction.

The training schedule follows the toolkit default of 100,000 steps. The paper also reports a run using characters with the same neural structure. This changes the units presented to the recurrent system: its starting sequence consists of written characters, so larger forms have to be represented through patterns across those positions. The principal text run and the character run both draw on transcription. The additional run provides a comparison within the same general architectural family and is reported with an overall score.

Processing written and recorded evidence separately

In the paired system, the text follows a different route. The authors start with an uncased Finnish BERT checkpoint, meaning that they begin with parameter values already learned in training for Finnish. In the uncased version, distinctions based on capitalization are removed in processing. BERT yields a sequence of contextual features for the text. In broad terms, this means the features for a written unit can reflect the other material around it. BERT belongs to the Transformer and attention family.

The authors set a fixed input length for this branch. Padding fills out short inputs to the required length. Truncation cuts longer ones back to that length. These operations bring the text examples to a common input shape. The paper does not give the length or say how frequently the selected transcripts exceeded it. The features produced by BERT then pass to a separate operation that summarizes the sequence for classification.

The recording goes through Finnish XLSR-Wav2Vec2. The multilingual release discussed in the paper lacked Finnish support, so the authors use a checkpoint adapted to Finnish recordings. The encoder transforms the sampled sound into a sequence of learned features. This gives the classifier a representation to work with when drawing on a recording, just as BERT provides a learned representation of the written input. The speech architecture is based on wav2vec 2.0.

The Finnish adaptation of the speech encoder used audio from CSS10 Finnish, Finnish parliament session 2 and Finnish Common Voice. Its training ran for 30 epochs. An epoch refers to a pass through the data used at a given stage. These passes supplied training on Finnish audio before the dialect experiment. The later training on the archive used matched dialect transcriptions, recordings and regional labels. One of the audio sources for adaptation was Common Voice.

The audio is resampled to 16kHz. Sampling represents a sound signal as a succession of digital measurements. Resampling gives the recordings a common rate for presentation to the speech encoder. The utterances keep their individual durations within the selection rule, so the amount of speech represented by each example still varies. The audio features that come out of the encoder need to be shaped for combination with the written features.

The paper calls the paired design siamese and describes a branch for each medium. Here the branches are built from different encoders, each suited to its own input. Their task is to produce feature representations that a shared classification stage can receive together. The correspondence between the two representations comes from taking the transcription and recording of the same sentence. No new word-by-word alignment is specified as part of the network.

Pooling the features and making a prediction

Each branch includes pooling after the encoder. Pooling combines multiple feature values into a shorter representation, making it possible for the classification stage to take an input of the required shape. The text branch uses global average pooling. At the level of the architecture described in the paper, this summarizes the textual encoder’s output across its positions by averaging. The audio branch uses adaptive average pooling, which adapts the averaging to the input shape to produce an output at the target size.

Together with the fixed input length on the written side, these choices are used to make the pooled outputs equal in size. Equal size concerns the shape of the representations. The two sets of values retain their separate origins and can have different roles in a particular decision. The paper describes the pooling operations in prose and supplies no formula for them. Details such as how padded text positions enter the average are left unspecified.

The pooled outputs are concatenated. Concatenation places the features from the two branches together in one representation while keeping their values in separate positions. This allows the final layer to use text features, audio features or contributions from both. Each encoder has processed its own input by the time this combination happens. The network described in the paper therefore joins summaries of the utterance, with the detailed processing of the two sequences taking place independently beforehand.

A dropout layer follows concatenation, with probability 20%. In training, dropout temporarily suppresses activations so that the classification layer has to learn with varying subsets of its incoming features available. The last layer is fully connected. This means each output can receive information from across the combined feature representation. The layer provides the scores used to assign the dialect. The entire decision concerns the sentence even though the features within each branch were originally produced across a sequence.

How the paired dialect classifier processes an utterance

The steps in order.

How the paired dialect classifier processes an utteranceStep 1: Take a matched transcription and recording1. Take a matched transcription and recordingStep 2: Pad or truncate text and resample speech2. Pad or truncate text and resample speechStep 3: Encode the two inputs separately3. Encode the two inputs separatelyStep 4: Average each branch’s output features4. Average each branch’s output featuresStep 5: Join the pooled text and audio features5. Join the pooled text and audio featuresStep 6: Apply dropout during training6. Apply dropout during trainingStep 7: Assign a dialect through the dense layer7. Assign a dialect through the dense layer

The paired network has 439 million trainable parameters. The authors train it for 3 full epochs on the dialect task at a learning rate of 1e-4. The learning rate governs the scale of the parameter updates during training. Much of the network starts with parameters that are already useful for representing Finnish text or speech. Adapting those learned parameters for regional classification is fine-tuning.

The training descriptions use different units for the two systems. The recurrent setup is reported in steps, and the paired training is stated in passes through the task data. The work also describes an earlier adaptation schedule for the Finnish audio encoder. Keeping these stages distinct clarifies what learning the headline experiment entails. The recurrent baseline is trained to produce a dialect name from transcription. The paired setup starts with separately trained encoders and adapts their combined network to the regional labels.

The authors make their processed data, code and trained systems available through GitHub and Zenodo. The materials are relevant to both stages of a reproduction. The processed data define the usable inputs and labels, and the implementation and trained systems record details of how those inputs turn into outputs. The article describes the main choices through the available settings and architecture rather than giving a separate mathematical specification.

Experiments and results

How to read the comparison

The experimental population consists of selected sentences in Samples of Spoken Finnish with labels from the corpus inventory of 23 dialects. Every main test decision concerns one sentence. The recurrent transcript classifier is the baseline, and the corresponding result for the paired classifier uses both views of the same examples. The character experiment supplies an additional score within the transcript setting. The authors compute their classification results using scikit-learn.

The counts in the data table give a sense of the distribution. Kaakkois-Häme contributes 8026 sentences and Inkerinsuomalaismurteet contributes 4035. At the other end, Pohjoinen Keski-Suomi has 733 and Etelä-Karjala has 813. These figures refer to the corpus counts listed for the dialects. They are distinct from the number of sentences contributing to the test score for a label. The paper gives overall proportions for making the partitions and does not print the resulting test counts for each dialect.

Overall accuracy measures the share of evaluated sentences assigned their corpus label. Each utterance has the same weight in this calculation. Where some dialects contribute more sentences than others, accuracy reflects the distribution of the test material. A high aggregate can coexist with difficulty recognizing categories that are sparsely represented or easily confused. This is why the per-dialect figures add information even when the headline comparison is clear.

For a single dialect, precision asks how frequently the system is correct when it assigns that label. Recall asks how frequently the system assigns the label to sentences that actually carry it. For example, some sentences with a Pohjois-Pohjanmaa label can be missed through assignment to other categories, reducing recall for Pohjois-Pohjanmaa. Assigning Pohjois-Pohjanmaa to sentences from elsewhere reduces its precision. F1 is the harmonic mean of these measures, which keeps the combined score sensitive to a weak result on either side. The paper provides the three values by dialect for the main comparison.

Overall accuracy and the pattern across dialects

The recurrent system reaches 57% accuracy on the held-out dialect sentences. The system combining Finnish BERT with the audio encoder reaches 85% on those same sentences. At the level of the end-to-end task, the paired setup more often recovers the archive label. The separately reported character run reaches 37% accuracy. It has the lowest reported aggregate score, and the paper gives no classification report for that run by dialect.

Test accuracy for dialect identification on Samples of Spoken Finnish

The paired system correctly labels more held-out sentences than the recurrent transcript baseline.

Test accuracy for dialect identification on Samples of Spoken FinnishRecurrent transcript classifier: 57Recurrent transcript classifier57Finnish BERT with the Finnish speech encoder (this paper): 85Finnish BERT with the Finnish speechencoder (this paper)85
The numbers
System or settingaccuracy %
Recurrent transcript classifier57
Finnish BERT with the Finnish speech encoder (this paper)85

The per-dialect results show that the paired system’s advantage extends beyond the overall result. F1 is higher in every dialect row. It is possible for a system to gain accuracy primarily by improving on a heavily represented category, with little benefit to some other labels. The F1 results establish a broader pattern in this experiment. Within that pattern there are large differences in where the scores end up, including for labels for which the system improves.

Etelä-Häme, for example, has a test F1 of 0.49 with the recurrent approach and 0.93 with the paired one. Inkerinsuomalaismurteet goes from 0.75 to 0.91. Länsi-Uusimaa moves from 0.54 to 0.98, the highest paired F1 in the table. Pohjois-Pohjanmaa goes from 0.42 to 0.5. In each case the paired system performs better when the balance of precision and recall is considered. The final score still leaves a wide range of difficulty across those decisions.

Test F1 by system for selected dialects in Samples of Spoken Finnish

The paired system improves F1 for every dialect shown, with Pohjois-Pohjanmaa remaining the hardest of these labels.

Test F1 by system for selected dialects in Samples of Spoken FinnishEtelä-Häme, transcription: 0.49Etelä-Häme, transcription0.49Etelä-Häme, transcription and recording: 0.93Etelä-Häme, transcription and recording0.93Inkerinsuomalaismurteet, transcription: 0.75Inkerinsuomalaismurteet, transcription0.75Inkerinsuomalaismurteet, transcription and recording: 0.91Inkerinsuomalaismurteet, transcriptionand recording0.91Länsi-Uusimaa, transcription: 0.54Länsi-Uusimaa, transcription0.54Länsi-Uusimaa, transcription and recording (this paper): 0.98Länsi-Uusimaa, transcription andrecording (this paper)0.98Pohjois-Pohjanmaa, transcription: 0.42Pohjois-Pohjanmaa, transcription0.42Pohjois-Pohjanmaa, transcription and recording: 0.5Pohjois-Pohjanmaa, transcription andrecording0.5
The numbers
System or settingF1
Etelä-Häme, transcription0.49
Etelä-Häme, transcription and recording0.93
Inkerinsuomalaismurteet, transcription0.75
Inkerinsuomalaismurteet, transcription and recording0.91
Länsi-Uusimaa, transcription0.54
Länsi-Uusimaa, transcription and recording (this paper)0.98
Pohjois-Pohjanmaa, transcription0.42
Pohjois-Pohjanmaa, transcription and recording0.5

What precision and recall add

Pohjois-Pohjanmaa illustrates how an F1 improvement can arise alongside a loss on one of its components. The recurrent classifier’s test precision for this label is 0.4 and its recall is 0.45. For the paired classifier, precision is 0.74 and recall is 0.38. A prediction of Pohjois-Pohjanmaa is more frequently correct with the paired system. At the same time, more of the genuine Pohjois-Pohjanmaa sentences go unrecognized as such. The F1 result reflects the balance of those changes.

For Etelä-Pohjanmaa the pattern runs in a different direction. The paired system reaches test recall of 0.93, compared with 0.67 for the recurrent classifier. With the same change of systems, precision moves from 0.72 to 0.68. The paired system finds a greater proportion of the sentences from Etelä-Pohjanmaa, and a smaller share of its Etelä-Pohjanmaa assignments are correct. The F1 values, 0.69 and 0.79 respectively, capture the improvement in the combined measure.

Länsi-Uusimaa has paired test precision of 0.97 and recall of 0.98. This describes success both at retrieving sentences from the category and at assigning the category with few errors relative to its number of predictions. Other high-F1 labels arrive at similar values with different balances. Keski-Karjala and Länsipohja each have a paired test F1 of 0.93. For Keski-Karjala, precision is 0.92 and recall is 0.95. For Länsipohja, precision is 0.94 and recall is 0.92. The displayed F1 alone would conceal which of assignment reliability and coverage is higher for each of those dialects.

The paired values for Läntinen Keski-Suomi and Pohjoinen Keski-Suomi give a stronger example of that distinction. Läntinen Keski-Suomi has recall of 0.99 and precision of 0.72 on the test set. Its F1 is 0.83. Pohjoinen Keski-Suomi has test precision of 0.93 and recall of 0.62, with F1 of 0.75. The system finds almost all of the sentences carrying the western label, while a substantial share of that label’s predictions are attached to other dialects. For the northern label it is relatively reliable when it selects the category, and it leaves more genuine sentences unrecognized. These rows describe how errors enter each score. The identities of the other dialects involved remain to be established.

Corpus size and ease of identification

The authors compare paired-system F1 with the sentence counts for the dialects. Of the 10 dialects with the most sentences, 3 reach their threshold of 0.90. The qualifying dialects are Kaakkois-Häme, Inkerinsuomalaismurteet and Kainuu. The corpus table gives them 8026, 4035 and 3995 sentences respectively, and their test F1 values are 0.92, 0.91 and 0.9. These dialects show that strong classification can accompany abundant material. The count comparison is most informative when read alongside labels that reach the same range with fewer sentences.

Länsi-Uusimaa has 1171 sentences in the corpus table and attains 0.98 paired test F1. Länsipohja has 1026 and attains 0.93. Etelä-Häme has 1860, and Keski-Karjala has 1640. Both attain paired test F1 of 0.93. The authors highlight these cases to show that some labels can be recovered with considerable success from a relatively small part of the corpus. A label’s position in the ordering by amount of data need not match its position by test performance.

The lower end of the score range gives the same comparison from another direction. Pohjois-Pohjanmaa has 1801 corpus sentences and the lowest paired score, with test F1 of 0.5. The corpus contains fewer Etelä-Karjala and Pohjoinen Keski-Suomi sentences, and the paired system reaches 0.69 and 0.75 respectively for those dialects on the test set. This evidence shows why counts alone cannot explain which categories the system struggles with. The regional distinctions involved and the choice of utterances can differ appreciably from one label to the next.

One name in the paper’s discussion of the counts needs care. It assigns the second-largest class and a paired F1 of 0.86 to Pohjoinen Keski-Suomi, then gives that dialect an F1 of 0.75 in its discussion of the smallest classes. In the data table, Pohjoinen Keski-Suomi has 733 sentences, and the corresponding first PKS row in the results has an F1 of 0.75. The results table prints PKS again in the position occupied by Pohjois-Karjala in the data table. That later row reports 0.86. The row order and the data table point to a likely label error. The comparison for the sparsely represented Pohjoinen Keski-Suomi follows its corpus count and the earlier PKS row, in agreement with the paper’s discussion of the smallest classes.

What the ablations show

The paired architecture is tested as a whole

The paper contains no component ablation of the paired network. Its principal comparison varies the entire route from input to prediction. On the transcript side, the system uses a recurrent encoder and an attention-based decoder and learns to output a dialect name. On the paired side, Finnish BERT and the Finnish speech encoder each produce pooled features, which feed into the final dense layer. The systems have different training procedures as well. The common train, validation and test partitions make the results directly comparable as complete solutions to the same task.

The authors interpret the improvement as evidence that the audio contains information that the transcription leaves out. The recordings are a plausible source of additional evidence because they give the acoustic realization of what the transcriber represents with written symbols. A transcription system has a purpose and conventions about the differences it records. Even a linguistically detailed transcription can represent several realizations with the same notation. The waveform makes those realizations available to the encoder. Whether it produces a distinction the classifier can use depends on the learned features and what survives pooling.

The observed gain combines that potential benefit with a different text encoder and classifier. A test of the paired architecture with BERT and text alone would address how much the speech branch adds to that particular written approach. The experiment does not report such a condition. The comparison consequently leaves several possible contributions to the final performance unresolved. The text representation may be stronger, the acoustic representation may supply additional information, and the classifier may benefit from evidence that becomes useful when both representations are present.

An experiment using only the recordings would address a further question. Some information that is easy to access from the written sequence might also be recoverable acoustically, while other information might be more useful in the text. Audio-only performance would show how well this identification problem can be solved when the recording is all that is available. It would also give a point of comparison for judging how much the transcription contributes to the paired setup. The paper reports no audio-only result, so the paired score gives no direct estimate for either of those uses.

The same issue arises at the level of individual cues. A system can exploit a feature in a recording without the experiment revealing what that feature is. A difference in how speakers realize a sound, a recurring pattern of delivery and an audible lexical choice could all help a dialect decision. The article reports the resulting predictions rather than experiments that remove or vary specific cues. It establishes the performance of the configuration and leaves the decomposition of its acoustic evidence open.

Changing the input units within the text system

The character experiment is closer to a controlled change because it retains the recurrent structure and varies how the transcription is presented. It reaches 37% accuracy, while the principal recurrent setup reports 57% on the main test. This supports the authors’ use of the principal setup as the stronger reported text baseline. The character run also shows that finer written units did not yield better results with the recurrent structure the authors used.

The distinction between the input forms matters even though they start from the same kind of transcription. A written word form can carry regional evidence in its stem, its ending or their combination. When the input units are characters, the relevant patterns span several positions. The recurrent network has to encode those patterns in a way that makes them useful to prediction. A different segmentation can expose larger units directly to the system. The experiment shows the performance of these choices in the configurations tested. Its aggregate score leaves open which kinds of patterns the character system captured successfully.

The report gives no character-level precision or recall by category. This makes it impossible to say whether the weaker aggregate comes from a small number of dialects or is spread through the inventory. The result also leaves room for a different architecture or training setup to make better use of characters. The controlled aspect is the retention of the general recurrent structure described in the paper. The measured finding belongs to that comparison.

Comparing dialects with different amounts of material

The analysis by sentence count is observational. The authors compare categories in the corpus as it stands. They do not create a series of training sets with different quantities of examples from the same dialect or hold the quantity constant across dialects. What the analysis can establish is that the existing amount of material is an incomplete predictor of the resulting F1. The high value for Länsi-Uusimaa and the low value for the more represented Pohjois-Pohjanmaa are examples of that relationship.

A corpus count measures how often a category occurs among the available sentences. The usefulness of those sentences depends on what they contain and on the alternatives in the inventory. Repeated instances of a feature shared by many areas can provide little leverage for distinguishing one from another. A relatively small category could be comparatively easy to identify if its examples display forms that recur within the category and appear less often elsewhere. This reasoning helps explain why the authors propose distinctiveness as an additional contribution. The paper does not measure distinctiveness independently of the classification scores.

Dialect leveling gives a possible historical explanation for difficulty. If especially local features become less frequent, fewer examples may carry clear evidence that separates the variety. A second possibility raised by the authors is longstanding resemblance among some dialects. That could lead to hard decisions even in traditional material, without relying on a recent change in the speech used for training or testing. Both are compatible with a low score, and the reported counts and F1 values give no basis for deciding between them for a particular dialect.

The precision and recall results indicate what a more detailed study of errors would have to explain. For Pohjois-Pohjanmaa, the paired system’s lower recall puts the focus on genuine sentences assigned elsewhere. For a category with lower precision, one would also want to know which other varieties supply sentences incorrectly assigned to it. The errors could be concentrated between closely related categories or dispersed across the inventory. A label’s F1 cannot distinguish those patterns. The authors identify closer error analysis and comparison with dialect perception research as ways to investigate the linguistic interpretation of the scores.

Limitations

Limits and open questions identified by the authors

The authors treat unequal representation as a characteristic of the corpus. Their choice preserves the distribution of the documented material used for the experiment. It also means that the overall score describes performance under that distribution. The paper’s examination of class counts shows that some dialects perform well with fewer examples and that some with more examples remain difficult. The authors suggest considering linguistic distinctiveness, closeness to other varieties and leveling in order to understand the differences. They call for a closer examination of errors to investigate those explanations.

The authors also place the corpus in a larger archive whose available transcriptions and electronic collections represent a small share of the recorded material. Its coverage is broad, and its construction reflects the municipalities and speakers chosen for documentation and publication. The study shows what can be recovered from that documented selection. The paper’s description of newer vernaculars and traditional dialects gives a reason to distinguish performance on archive material from performance on later recordings. The amount and regional distribution of useful evidence can change over time.

Closer geographical analysis is another question for follow-up. The authors mention earlier attempts to compare and group Finnish dialects using traditional atlas material. They see a possible way to relate the successes and difficulties of automatic identification to variation between nearby municipalities. Likewise, they propose relating the results to what listeners perceive as distinctive. The study establishes a set of regional classification outcomes that such work could investigate. It contains no reported test linking the observed errors to atlas distances or to specific listener judgments.

The authors suggest that running the approach on newer recordings could shed light on leveling and the linguistic distances between varieties. A comparison of that kind needs evidence from recordings covering the time periods in question. The current scores concern the selected archival material. Read in that scope, a low result is a reason to look more closely at a dialect’s examples and its relationship to other labels. The result alone cannot establish how far that dialect has changed.

Limits inferred from the design

The cleanest conclusion is a comparison of complete systems on a common set of sentences. A causal estimate for audio would require measuring what happens when the sound input changes while the text encoder and other relevant choices are held as steady as possible. The absence of such a comparison matters because replacing the text architecture can itself affect which differences in the transcripts are represented. The absence of a recording-only condition also leaves the effect of adding the transcription to a speech system undetermined. These are limits on attributing the gain, even though the ordering of the reported systems is clear.

The split raises a separate issue about unfamiliar speakers. The conclusion states that test speakers were excluded from training. The data section describes a random division of sentences and gives no details about how speaker exclusion was implemented. A sentence only has to be unseen to qualify as held out at the utterance level. A speaker-disjoint test has the additional condition that all relevant recordings of a test speaker were kept away from training. As written, the method does not let a reader verify the stronger condition. This matters because information associated with a particular speaker could help recover a recurring regional label.

Speaker separation would address one important source of recurring evidence. Regional labels in an archive can also coincide with properties of particular recording sessions, places, topics or transcription practices. For instance, a classifier receiving text could find local vocabulary important because it expresses a regional usage, because a set of speakers discusses a recurring local subject, or because both are true. Similarly, an audio system could use features correlated with the circumstances of the recordings. The paper reports no tests that separate those possibilities. These are potential influences consistent with the setup, rather than demonstrated explanations for the scores.

The availability of an aligned, linguistically prepared transcription defines the starting point of the paired experiment. A collection in which transcripts must be generated automatically could present quite different inputs. An automatic recognizer could replace a regional form with a more usual written form, misrecognize it or omit it. A recording presented without prepared boundaries would also require a decision about what segment to send to the classifier. The reported accuracy begins after the transcript and audio segment have been linked. It gives no estimate of the errors that those earlier operations might introduce.

One consequence concerns the speech recognition application proposed in the paper. Selecting a recognizer for a dialect may require making a decision from sound before transcription. The performance of the paired system assumes access to the written input, and the recurrent baseline assumes the same kind of prepared transcription. Neither reported setup tests the recognizer selection scenario with recordings as its only initial evidence. The archival task, where aligned transcriptions may already exist, is directly closer to the tested conditions.

The duration rule also bounds the claim. The selected recordings are shorter than 10 seconds, and each decision has the scope of a single aligned sentence. The study provides no performance breakdown by duration and makes no experimental comparison with longer excerpts. An utterance with additional context might contain regional forms that are absent from a shorter stretch. Repeated utterances could also support a decision aggregated across a speaker. Both would change the evidence available under evaluation. The published results concern recovery of the labels from the selected individual sentences.

The report supplies point estimates for the held-out partition. It has no uncertainty intervals, results from repeated partitions or per-dialect test counts. The class totals help explain the corpus composition, but they give no direct measure of how stable a particular test F1 is. The results are sufficient to show how the paired and recurrent systems performed on the reported comparison. A fine-grained ranking of close category scores would depend on information about the number of evaluated examples and how the estimates vary across samples.

Finally, the task tests assignment among the available corpus categories. It includes no evaluated option to decline a prediction when an utterance carries insufficient evidence or comes from a variety outside the inventory. Nor does the score give partial credit to a nearby label in a region of gradual change. Accuracy and F1 answer whether the system recovers the archive’s label under its classification scheme. A study of the language’s geographical boundaries, or of the plausibility of multiple labels for the same sentence, would need evidence beyond those assignments.

What came after

There is no documented later study in the citing works to trace here. The paper closes by identifying questions its classification results make possible to investigate. One connects automatic identification to the earlier research on how Finnish speakers perceive dialects. Knowing that the system recovers some labels more readily than others gives a basis for asking whether listeners find the same distinctions easy. Answering that question would require comparable material and an account of the errors made by both.

The authors also point to dialect atlases. Atlas descriptions could provide independent information about which linguistic features are shared by neighboring municipalities. An analysis could then examine whether the labels involved in systematic errors correspond to varieties that are close in those descriptions. Such a comparison would move from knowing a category’s overall performance to identifying the geographical or linguistic distinctions that create particular difficulties.

Applying the classifier to newer recordings is a further direction proposed by the authors. The archival evaluation gives a result under known documentary conditions. Testing recordings from another period could show whether the distinctions learned from the archive still support the same decisions. Interpreting any change in performance would require attention to the speech and to how the newer recordings and transcriptions were prepared. The open release of the processed examples, implementation and trained systems provides a starting point for these comparisons.

Cite

Cite as Mika Hämäläinen, Khalid Alnajjar, Niko Partanen and Jack Rueter. 2021. Finnish Dialect Identification: The Effect of Audio and Text. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.emnlp-main.692

@inproceedings{hamalainen2021finnish,
  title = {{Finnish Dialect Identification: The Effect of Audio and Text}},
  author = {Mika Hämäläinen, Khalid Alnajjar, Niko Partanen and Jack Rueter},
  booktitle = {Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.692},
  url = {https://doi.org/10.18653/v1/2021.emnlp-main.692}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/hamalainen-2021-finnish-dialect-identification-effect-audio/