Error Analysis and Improving Speech Recognition for Latvian Language
Paper · 2015 · Askars Salimbajevs and Jevgenijs Strigins
Summary
A transcript can get the general sense of a sentence right and still lose the name, time or number a listener needs. It can also get a Latvian word’s ending wrong while leaving the word recognizable. Both mistakes count against a speech recognizer, but they call for different repairs. Askars Salimbajevs and Jevgenijs Strigins study where these failures occur in an existing Latvian speech recognition system and use what they find to improve it. Latvian morphology makes the distinction especially consequential. A recognizer can know several forms of a word and still lack the particular form a speaker uses, or it can have the right form available and choose a different ending.
The authors examine recordings of people reading Latvian web news. They compare each automatic transcript with its reference and inspect the decoder’s record of alternative word sequences. The transcript shows what went wrong in the chosen output. The alternatives help locate where a correction was still possible. On the development recordings, errors involving word endings accounted for 41% of all errors, and out-of-vocabulary words accounted directly for 13%. In the analysis of decoder alternatives, the authors report that the correct word had been discarded in 45% of error cases. They also judge how the mistakes affect meaning. In their subjective assessment, 82% of out-of-vocabulary errors substantially changed what the utterance conveyed.
A recurring failure with spoken decimal fractions shows how the diagnosis informed the repair. The recognizer repeatedly missed komats, the Latvian word for the decimal comma. Its pronunciation dictionary lacked a variant the speakers used, and the written news used to train the language component supplied too few examples of number sequences in spoken form. Adding the pronunciation reduced errors on komats by 50% in development. Converting written numbers into words during training corrected 25% of the remaining errors on that word. The authors also expanded the training text and tested a larger vocabulary. With the vocabulary held fixed, the extra text reduced ending errors without improving overall word error rate. Expanding vocabulary coverage recovered many forms previously unavailable to the recognizer.
With the changes combined, word error rate fell from 18.06% to 15.90% on the development set and from 30.94% to 28.43% on the held-out test set. The recordings came from the same small collection and involved the same speakers across the splits, yet the baseline found the test set considerably harder. The gains show that an analysis of visible errors can guide repairs that carry over to separate recordings in this setting. The study leaves open how the repairs would fare with different speakers or speech outside read news, and how much they improved a reader’s ability to recover the intended meaning.
Deep dive: Error Analysis and Improving Speech Recognition for Latvian Language
An error analysis of Latvian speech recognition traces failures in word endings, vocabulary coverage and spoken decimals, then tests targeted fixes. · about 33 minutes to read
The problem and its context
Why an overall error rate gives an incomplete diagnosis
A developer can judge a recognizer by comparing its output with a correct transcript and counting discrepancies. That comparison provides a common measure for evaluating a baseline and an updated system. As a starting point for engineering, however, it leaves an unresolved question. A discrepancy can arise because the correct word was unavailable, because the audio favored a competing pronunciation, or because surrounding words made the wrong continuation seem more plausible. The remedy depends on which of those situations occurred. A count of discrepancies gives each one a place in the total while leaving the reason for it to further investigation.
There is a similar gap between transcript accuracy and usefulness. A reader can sometimes recognize the intended word through a mistaken ending. A different lexical choice can leave a grammatical sentence whose meaning departs from what the speaker said. Replacing a name or disrupting a number can obscure the very information for which someone consulted the transcript. The study asks both what kinds of mistakes the system produces and how much of the spoken message survives them. These questions draw on the same transcripts, but the first concerns the recognizer’s behavior and the second requires a judgment about interpretation.
The authors work with a large-vocabulary recognizer. Its decoder selects a word sequence from the alternatives available within a pre-defined vocabulary, using evidence from the audio and from the words’ surrounding context. The breadth of that vocabulary matters because speech on a general topic can contain many distinct words and forms. The diversity of the audio also matters. A word that occurs in familiar contexts can still be difficult to identify when a speaker pronounces it differently from the representation the system expects. The paper treats variation in content and variation in the signal as practical challenges for a recognizer of this kind.
What Latvian inflection changes
Latvian has complex inflection in nouns and verbs. The paper also describes prefixes and suffixes that modify nouns, adjectives, adverbs and verbs. A written or spoken occurrence is a particular word form of a lexical item. Knowing the item in the ordinary sense of knowing its meaning gives a human reader a way to connect related forms. A recognizer with a vocabulary of whole forms needs an entry for the particular form it is to emit. For language scoring, it also benefits from examples of how that form occurs alongside other words.
The paper illustrates the distinction with Latvian forms for a cat. The forms kaķis, kaķa, kaķim and kaķi, among others, keep the same basic lexical meaning while varying in their grammatical use. The difference between kaķis and kaķi matters when an evaluation expects the exact spoken form. A reader who encounters the wrong form may still identify the animal. The grammatical information carried by the ending can nevertheless differ. The authors also point to definiteness, which Latvian can express through adjective endings. That example makes it clear why the ending can matter even when a reader recognizes the main lexical item.
For a whole-word system, this creates difficulties at two distinct points. A rare form may be missing from the vocabulary altogether. If it is present, the training text may still contain few examples of the sequences that would make it plausible in a given context. In the first case, the correct form is excluded from the search. In the second, it can enter the search but lose to an alternative. Both situations can produce an incorrect transcript of a familiar word, so they can look similar in the final text even though they offer different opportunities for repair.
The authors therefore distinguish ending errors from a broader set of substitutions, boundary problems and missing vocabulary items. A difference near the end of a word is an observable property of a transcript mismatch. Its cause requires more evidence. A competing form might have stronger acoustic support, or the written training material might make it look more likely in context. A description of what changed tells the investigator where to look for these explanations and provides a way to check whether a repair affected the intended category.
What earlier work had established
The paper describes Latvian speech recognition as having a smaller published research base than recognition for languages such as English and German. The authors cite Latvian work on speech-to-text, large-vocabulary recognition and broadcast keyword spotting. They report a best previously published word error rate of 20.2% among the Latvian results they discuss. That figure describes the prior work as the authors present it. The experiments in this paper use their own recognizer and recordings, so the relevant baseline for the proposed repairs is the one evaluated on those recordings.
The authors were unaware of a previous study that systematically inspected misrecognized words for large-vocabulary Latvian recognition. They draw context from analyses for other languages. Earlier studies of English and Japanese had associated infrequent words with a greater chance of misrecognition. That observation gives a reason to inspect inflected forms that appear rarely in training text, even when other forms of the same word are familiar to the system. The extent and nature of any such problem in Latvian still had to be examined on Latvian material.
As the paper describes it, earlier analyses frequently approached errors through the lexicon or the sounds in a spoken signal, sometimes with an interest in how machine recognition compared with human listening. It also identifies prior work on the grammatical structure of recognition errors. The Latvian study draws on several of these perspectives by examining the output as words and forms, considering how those words were scored, and checking whether the resulting transcript remains interpretable. Its immediate purpose is to find categories useful for improving a particular recognizer.
The authors also refer to earlier attempts to identify mistakes in words that are critical to a message and then resolve uncertainty through clarification. That line of work supplies context for their decision to assess meaning separately from exact word accuracy. Their own study makes these assessments on recorded utterances. Its repair experiments intervene in the recognizer’s pronunciation dictionary, text preparation, training text and vocabulary. The understanding judgments explain why some failures deserve attention even when their frequency alone would place them below a broader category such as ending errors.
The method, step by step
From recordings to alternative transcripts
The authors start with a recognizer built with the open-source Kaldi toolkit. It uses a weighted finite-state transducer, a representation in which paths encode possible outputs and weights help the decoder compare them. For this study, the important consequence is that recognition produces more than a selected transcript. The decoder can also keep a lattice, a graph of candidate words and sequences that survived the search. A lattice preserves alternatives with their costs. It gives the investigators a way to ask whether an intended word survived long enough to compete for the final output.
The acoustic component draws its evidence from the recording. It is trained on the 100 hour-long Latvian Speech Recognition Corpus. The setup uses a hidden Markov approach with a deep neural network to score the audio as a sequence. It represents the signal using mel-frequency cepstral coefficients, features that describe properties of the sound spectrum, together with linear discriminant analysis. The resulting feature vectors have 40 dimensions. These vectors are the numerical input used in acoustic scoring. The study investigates the behavior of this existing setup and keeps its main repair experiments focused on the pronunciation and text side of the system.
The acoustic inventory has 37 base phonemes, the sound units used to represent pronunciations. It also includes 1 shared representation for silence and fillers, which covers sounds such as breathing and laughter, and 1 representation for fragments and other material outside ordinary complete words. The system uses iVectors for speaker adaptation. In the paper’s setup, this lets the acoustic scoring accommodate information about an individual speaker. These provisions define the baseline against which the authors examine mismatches between intended words and recognized output.
The text component estimates how plausible candidate word sequences are. The baseline language model learns these patterns from Latvian web news. The authors collected a corpus of 22M sentences containing 304M words and selected 200K vocabulary units by their frequency in that text. A written news corpus supplies examples of words and their surroundings. Its usefulness for spoken recognition also depends on how written forms correspond to what people say. The treatment of digits becomes an important example of that dependence.
The language component uses n-grams, sequences of neighboring words. In this system, short word sequences provide the evidence for how a candidate continues its local context. During the first pass, the decoder uses a heavily pruned 2-gram. Pruning leaves out some entries to keep that pass manageable. For rescoring, the recognizer uses a full 3-gram with its entries retained. Rescoring revisits the alternatives that are already in the lattice and evaluates them with the richer word-sequence information. An alternative discarded during the first pass cannot benefit from this later evaluation.
This division of labor creates a distinction the authors exploit throughout the study. A reference word can be absent from the vocabulary, in which case it is unavailable from the start. A word that the vocabulary permits can still be absent from the lattice, in which case the original search failed to retain it. A word that survives can lose when the system compares costs. A transcript can show the same incorrect substitution in all of these situations. The vocabulary and lattice inspections help the authors decide which stage could plausibly be changed to recover the intended word.
From recognition errors to a revised Latvian recognizer
The steps in order.
What the authors mark in the transcripts
The experimental recordings comprise roughly 23 minutes of people reading Latvian web news. The authors randomly divide the speech into development and test sets of approximately equal duration with the same speakers represented. The development recordings provide material for inspecting errors and trying repairs. The test recordings are reserved for evaluating the revised recognizer. This division keeps the choice of repairs tied to the development material and provides separate utterances for the final comparison.
The first analysis compares the recognizer’s chosen output with correct transcripts. The authors mark whether a mistake affects a word ending, whether it involves a short word and whether it disrupts a boundary between words. Their operational definition treats a word as short when it is no longer than 3 letters. A boundary error can occur when a piece of one intended word is recognized as belonging to the next. The resulting mismatch can be experienced by the reader as an unfamiliar sequence, even though parts of what was spoken have carried into the output.
They also mark whether the previous word was recognized incorrectly and whether the intended word was replaced by other material. These categories can describe the same mistake from different angles. A substitution can change an ending, for instance. An error associated with a boundary can also occur immediately after another error. The resulting percentages describe how frequently each feature appears among the errors. They provide overlapping views of the same output, with each view chosen to motivate a different question about the recognizer.
The category for a preceding mistake is especially relevant to a system whose language scoring uses neighboring words. The context associated with a wrong word differs from the context associated with the correct one, and this can influence which continuations receive favorable scores. The authors first record the pattern as a property of the transcript. They then compare the chances of an error after a correct word and after an incorrect one. This additional comparison is needed because the percentage of errors with an erroneous predecessor gives only one side of the relationship.
The authors also examine the distribution of errors by part of speech. Their table distinguishes the portion of words in a grammatical category that the system misrecognizes from the portion of those errors that affect endings. The first quantity helps identify categories that frequently cause trouble when they occur. The second helps characterize the trouble within a category. Two grammatical categories can have equally frequent errors but differ in whether the mistakes change a recognizable form or obscure the intended word more thoroughly.
What survives in the lattice
After identifying a mismatch in the selected transcript, the authors look for the reference word among the decoder’s alternatives. They also check whether words near the error fall outside the vocabulary. A nearby missing word can help explain why trouble extends across a local stretch of the transcript. The study records whether a misrecognized word precedes or follows an out-of-vocabulary word. Such an observation identifies where errors are associated with missing vocabulary, even when the chosen output has problems beyond the unavailable word itself.
When the intended word survives in the lattice, the authors compare its acoustic and language costs with those of the chosen alternative. A lower acoustic cost favors a candidate on the audio evidence used by the recognizer. A lower language cost favors it on the learned word-sequence evidence. The two sources can favor different alternatives. A linguistically plausible form can lose when the audio scoring weighs heavily against it. A word with better acoustic support can also lose when the sequence containing it receives an unfavorable language cost.
The cost comparison is a diagnosis within the recognizer. It describes which evidence the system scored unfavorably and which source of evidence could have compensated. An unfavorable acoustic cost does not identify a particular sound, feature or speaker behavior as the cause. An unfavorable language cost likewise leaves open whether sparse examples, pruning or the correspondence between written and spoken forms created the problem. For komats, the authors could follow the pattern to concrete changes on both sides of the scoring process.
To check whether early search decisions explained missing words, they try a larger 3-gram in decoding and also increase the lattice beam. The beam controls how far a path can fall behind the leading alternatives while remaining under consideration. Widening it lets more candidates survive. These interventions test two plausible explanations for losing the intended form during search. One changes the context evidence available on the first pass. The other gives alternatives more room to survive the search under the scores they receive.
How the comparisons are defined
The word-length analysis asks whether the rate of misrecognition differs between short words and longer ones. The paper calls the underlying probabilities P(s) and P(l) and estimates them from observed counts. For short words, the estimate is:
P̃(s) = cnt(eₛ) / cnt(sw)
P̃(s) is the estimated probability of misrecognizing a short word. The tilde marks an estimate, and s identifies the short-word group. The function cnt counts occurrences. Its argument eₛ denotes errors in short words, while sw denotes all short-word occurrences in the corpus used for the comparison. The slash divides the number of errors by the number of opportunities for such an error.
P̃(l) = cnt(eₗ) / cnt(lw)
P̃(l) is the corresponding estimate for longer words. The letter l identifies the longer-word group. The count cnt(eₗ) gives the number of errors in those words, and cnt(lw) gives the total occurrences of longer words. The division normalizes by the size of that group.
The authors use Welch’s t test to compare the estimates. They write the equality hypothesis as follows.
H₀: P̃(s) = P̃(l)
H₀ is the null hypothesis. The colon introduces its statement, and the equals sign asserts equality between the estimated short-word error probability P̃(s) and the estimated longer-word error probability P̃(l).
H₁: P̃(s) < P̃(l)
H₁ identifies the alternative the paper tests. The less-than sign specifies the direction. The estimated error probability for short words, P̃(s), is lower than the corresponding estimate for longer words, P̃(l). This is a comparison of error rates within groups. It answers a different question from the share of all errors that happened to involve a short word.
The second comparison asks how the current word’s chance of being misrecognized varies with the outcome for the preceding word. The paper uses P₋₁(e) for the underlying probability when the preceding word is erroneous and P₋₁(c) when it is correct. It estimates the first quantity by counting adjacent errors.
P̃₋₁(e) = cnt(wₑwₑ) / cnt(wₑ)
P̃₋₁(e) is the estimate for the case in which the preceding word is erroneous. The tilde marks an estimate, the subscript ₋₁ points to the previous position, and e denotes an error. The symbol wₑ stands for an incorrectly recognized word. Writing wₑwₑ together denotes consecutive errors, and cnt(wₑwₑ) counts such pairs. The denominator cnt(wₑ) counts errors overall, as the paper defines it.
P̃₋₁(c) = cnt(w꜀wₑ) / cnt(w꜀)
P̃₋₁(c) is the estimate for the case in which the preceding word was correct. The letter c denotes a correct recognition, and w꜀ represents a correctly recognized word. The pair w꜀wₑ is a correct recognition followed by an error. Its count forms the numerator, and cnt(w꜀) counts correct recognitions for the denominator. Here too, the subscript identifies the preceding position. In both estimates the event being predicted is an error at the current position.
H₀: P̃₋₁(e) = P̃₋₁(c)
H₀ states the null hypothesis for the preceding-word comparison. The equals sign says that the current word’s estimated error probability is the same after an error, represented by P̃₋₁(e), as after a correct recognition, represented by P̃₋₁(c).
H₁: P̃₋₁(e) > P̃₋₁(c)
H₁ is the directional alternative. The greater-than sign says that the estimated probability after an error, P̃₋₁(e), is higher than the estimate after a correct recognition, P̃₋₁(c). The test relates events already observed in the transcripts. It gives an estimate of how frequently those events occur together in sequence.
How a diagnosis becomes a repair
The failure on spoken fractions gives the authors a word they can follow through the system. In the recordings they examine, speakers sometimes pronounce komats in a way that sounds like koma, which is also a separate Latvian word. A pronunciation dictionary connects written vocabulary items to sequences of phonemes. The authors add the sequence K O M A as an alternative pronunciation for the written word komats. This lets the audio support the intended word through a pronunciation the baseline had left out. It also retains the written distinction between the two words as a decision for the recognizer to make from the available evidence.
There is a separate obstacle in preparing the written training text. Digits are common in text where the spoken equivalent is a sequence of words. The baseline filters out sentences containing numbers written this way, leaving little evidence for sequences of spoken numerals and komats. Rare sequences can receive unfavorable language costs and can disappear when the first-pass language component is pruned. The authors write a custom Python converter to turn digits into words during preparation of the training corpus. Their implementation handles basic cases because matching word endings in Latvian makes more general conversion difficult.
The ending experiment changes the amount of text while keeping the vocabulary at 200K units. The training corpus grows from 22M to 47M sentences. The reasoning is that a rare form already in the vocabulary may appear with more of its neighbors when there is more text to learn from. That increases the chance of observing the actual word pair or triple. When a sequence lacks direct evidence, the language component can back off to shorter sequences. More text gives the system an opportunity to base some of these estimates on the longer sequences themselves.
The vocabulary experiment uses the larger corpus and opens the inventory to 2.8 million distinct words. This change tackles a different part of the ending and coverage problem. Extra occurrences of allowed words can improve estimates within a fixed vocabulary. Admitting new forms changes the set of possible outputs. Since the vocabulary experiment also changes the amount of training material relative to the baseline, its results describe the larger training and vocabulary configuration together. The earlier fixed-vocabulary experiment helps show what adding text can do while the inventory size remains constant.
The authors try these changes on the development recordings and then combine the improvements for the final evaluation. They measure the combined system with the same overall error metric used for the baseline. The development result indicates how the selected changes behave on the material that guided them. The held-out result indicates whether the package also improves recognition on other read-news utterances from the collection.
Experiments and results
What the evaluation measures
The evaluation draws on a read-news speech collection of approximately 23 minutes. It is distinct in its role from the 100 hour-long Latvian Speech Recognition Corpus used for acoustic training and from the much larger written news corpus used for language scoring. The short recordings are used to recognize and assess utterances. The training resources provide the evidence from which the recognizer learns about speech sounds and written word sequences. Keeping these roles apart matters when interpreting both the amount of training data available and the amount of speech on which the repairs were tested.
The principal measure is word error rate, abbreviated WER. It measures discrepancies between a recognized transcript and the reference relative to the number of words in the reference. A word can be substituted, omitted or inserted. When the score is calculated on whole words, a mistaken ending can turn an otherwise recognizable word into a word-level error. This makes WER a consistent way to compare the transcript outputs while leaving judgments about how much meaning changed to a separate analysis.
The paper reports several other percentages with different denominators. A category such as ending errors is expressed as a share of all errors in the transcript analysis. The grammatical analysis also reports how often a word in a particular category is misrecognized and how frequently an error in that category affects an ending. The vocabulary experiment reports both the frequency of unavailable forms under expanded coverage and successful recognition of words that had previously been unavailable. A percentage for any of these quantities answers a narrower question than WER and needs to be read with its comparison group in view.
The baseline’s visible errors
In the development transcript analysis, ending errors accounted for 41% of all errors. Substitutions accounted for 52%. Boundary problems appeared in 13%, and 15% involved short words. In 28% of the errors, the preceding word had also been recognized incorrectly. Because the categories overlap, a substitution involving an ending can appear in both category counts. These figures describe the features of the mistakes the authors observed and provide a basis for choosing what to investigate more closely.
The lattice analysis gives a second view of those failures. The paper reports that the correct word had been pruned in 45% of error cases. Its error summary also records an unfavorable acoustic score in 67% and an unfavorable language score in 51%. These cost observations prompted a more detailed comparison of retained alternatives. The categories and the availability of the correct word influence how the cost figures should be interpreted. The larger acoustic percentage alone is insufficient to establish a general acoustic cause, as the authors note.
Vocabulary gaps were directly responsible for 13% of the recognition errors in the development analysis. The authors also found that 5% of misrecognized words were immediately before or after a word outside the vocabulary. Their discussion describes direct and nearby effects together as 18% and puts the combined contribution of vocabulary problems and ending errors at 59%. Those figures express how the authors summarize the identified problems. Since the transcript analysis allows overlapping descriptions, the counts are best read in light of how a word or neighboring error received its label.
Coverage also matters because a missing form can be an especially informative part of an utterance. The study reports that 82% of the out-of-vocabulary errors substantially changed the intended meaning. That percentage is taken within the out-of-vocabulary error category. It helps explain why increasing coverage was a priority even though many more mistakes fell under the ending category. The frequency of a failure and its cost to the person reading the transcript are different aspects of the same recognition problem.
What the meaning judgments add
In the authors’ subjective review, 56% of utterances had at least one error that made the original meaning very difficult or impossible to recover. Across individual errors, 47% were judged critical. The utterance figure counts a unit that can contain several words and several errors. The error figure classifies each mistake by its effect. A single consequential substitution can determine how an utterance is judged even when many of its words were recognized correctly.
The paper’s grammatical analysis helps explain why similar error frequencies can have different consequences. Adjectives, verbs, particles and prepositions each had a misrecognition rate of 20% within their respective categories. Among adjective misrecognitions, 75% affected endings. Among verb misrecognitions, 45% affected endings. The authors argue that a misrecognized verb can interfere substantially with recovering what happened in an utterance, while a reader can frequently recover an adjective whose lexical identity remains apparent. The analysis makes that interpretation plausible without assigning a fixed degree of importance to every error in either category.
Nouns had a misrecognition rate of 16%, and 34% of noun errors affected endings. For numerals, 13% were misrecognized, and 53% of those errors affected endings. The authors’ broader concern about numbers comes from their function in messages such as ones that give a time or another specific value. A category’s overall error rate can obscure a systematic failure with a particular construction. The authors’ finding that every fractional number in the development recordings was recognized incorrectly gives a concrete example of that possibility.
The authors also describe particles and prepositions as frequently short and hard to separate clearly in speech. A weakly articulated item can be treated as part of a neighboring word, which is one reason to mark boundary errors alongside word substitutions. This interpretation concerns how certain kinds of short items fail. Their separate comparison of all short and longer words uses a different grouping and asks whether length as defined in the study predicts the overall chance of misrecognition.
What the targeted changes achieved
The pronunciation addition reduced development errors on komats by 50%. The subsequent number conversion corrected 25% of the errors on that word that remained after the pronunciation change. The second figure uses the remaining mistakes as its denominator. The results therefore describe successive changes to a particular failure, with separate evidence that the dictionary entry and the training representation of number sequences each mattered.
The fixed-vocabulary experiment uses 47M training sentences and retains 200K vocabulary units. The paper reports that the ending error figure fell to 21%. It describes this as a reduction in ending errors from the analysis in which endings accounted for 41% of errors. Overall development WER did not improve under this change. The ending category could improve while the recognizer continued making enough errors elsewhere to keep the aggregate score from improving. The paper gives no detailed accounting of the changes in the remaining categories for this experiment.
With the larger corpus and a vocabulary of 2.8 million unique words, the out-of-vocabulary rate fell to 0.7%. The authors report a WER reduction of 0.86% for this development experiment and say that 61% of words that were previously out of vocabulary were recognized correctly. Making a form available is the first step towards recognizing it. The recovery figure measures the further step of choosing the right form in the actual output. The vocabulary rate and recovery percentage together distinguish those two effects.
The authors also report that perplexity increased on the evaluation utterances for this vocabulary and training comparison. Perplexity describes how uncertain the language component is about the observed word sequence. The paper gives 498 for the language component trained on 22M sentences with a vocabulary of 200K units. Its wording describes an increase “by” 647, leaving some ambiguity about whether 647 is the resulting value or the reported amount of increase. The direction of the comparison is clear. The expanded configuration brought previously unavailable forms within reach, while the language component assigned the evaluation sequences less favorable predictions by this measure.
Performance of the combined system
The final system combines the repairs and is compared with the same baseline on the development and test recordings. Each row in the charts gives WER for the named system on a single split. The test score is the main check on whether the combined changes help on utterances apart from those used to find the problems and try the fixes.
Baseline and revised Latvian recognizers on the read-news test set by word error rate
The combined repairs lowered word error rate on the held-out recordings.
The numbers
| System or setting | WER % |
|---|---|
| Baseline | 30.94 |
| Final system (this paper) | 28.43 |
On the held-out test set, baseline WER was 30.94% and final WER was 28.43%. The comparison holds the test recordings fixed and changes the recognition system. It shows that the repairs improved the aggregate word score on these utterances. The test score alone leaves open whether the particular errors highlighted in development contributed in the same proportions to the held-out improvement.
Baseline and revised Latvian recognizers on the read-news development set by word error rate
The final system also reduced word error rate on the recordings used to guide the repairs.
The numbers
| System or setting | WER % |
|---|---|
| Baseline | 18.06 |
| Final system (this paper) | 15.90 |
On the development set, baseline WER was 18.06% and final WER was 15.90%. The paper summarizes the gain across the two splits as about 2% WER. The split-specific endpoints give the clearest account of what the comparison measured. In particular, the higher WER on the test set was present for the baseline and persisted after the repairs. The package helped on both sets even though the utterances in one of them posed substantially more difficulty for the recognizer.
The authors expected the split to yield comparably useful samples because the recordings had roughly equal duration and involved the same speakers. Their evaluation shows that those properties did not ensure comparable recognition difficulty. The final result still provides a held-out comparison between the baseline and the revised recognizer. Any explanation of why the test recordings were harder requires more information about the utterances and their errors than the aggregate values supply.
What the ablations show
The paper gives targeted development comparisons and hypothesis tests. It does not present a full ablation in which each repair is removed from the final system and evaluated separately on held-out speech. The comparisons therefore answer specific questions about intermediate behavior. They show whether the intended word survives the search, whether separate changes help the recognition of komats, and how increasing text or vocabulary affects the kinds of errors those changes were designed to address.
Keeping an alternative available and choosing it
The initial lattice inspection made the first-pass decoder a plausible target. When the intended word has already been discarded, rescoring cannot retrieve it. The authors suspected that the heavily pruned 2-gram assigned unsuitable costs during decoding. They tried a larger 3-gram on the first pass and increased the beam to keep more paths. The percentage of pruned words decreased, but they observed no recognition improvement from these trials. The experiment separates retaining more hypotheses from selecting the correct hypothesis.
A path that survives because the beam is wider may still have unfavorable scores when the system chooses the final output. Similarly, the extra context available to the larger first-pass language component can preserve a form without making it the preferred one. The trials show why lattice coverage is an intermediate result. It measures whether a choice remains possible. Overall recognition accuracy measures how often the decoder makes the right choice from those that remain.
The authors also examine the cases in which the intended word survived but had an unfavorable cost. In the narrower comparison reported for these alternatives, 30% had a worse language cost alone, 46% had a worse acoustic cost alone and 24% had both. These shares describe the cost comparisons in that retained-word analysis. The percentages from the broader lattice inspection concern a different grouping of errors. The retained-word breakdown shows that the audio scoring frequently disadvantaged the correct candidate and that the language evidence often failed to outweigh that disadvantage.
Together, the search trials and cost analysis weaken the authors’ initial explanation that a weak first-pass language component accounted for the observed loss of accuracy. The paper concludes that acoustic scoring and language scoring both need attention, including the language component used in rescoring. The development experiments identify where retaining more choices helped an intermediate quantity and where the existing ranking continued to favor an incorrect one. They do not estimate the benefit of a revised acoustic system, which the final package does not independently test.
What each change to spoken numbers addresses
Adding a pronunciation changes which sound sequence can support komats. The paper’s account is specific to the mismatch it found. A speaker could use a pronunciation represented by K O M A, while the intended written output was komats. Before the addition, the baseline vocabulary and pronunciations gave the competing written word a more direct route from those sounds. The additional entry permits the intended word to compete under the same sound sequence. Its benefit on development mistakes is consistent with gaps in the original pronunciation coverage.
Number conversion addresses how the context of that word is learned. A decimal written in digits may appear in a web news article that people would read aloud as a sequence of numeral words with komats between them. The baseline filtering removes such written instances from training. Converting them supplies examples in the representation the recognizer actually needs when it scores spoken word sequences. The additional improvement after conversion is consistent with the conclusion that a usable pronunciation still needs adequate support from neighboring words.
The two changes form a sequential comparison. The pronunciation result uses the original errors on komats as its starting point. The text conversion result uses the mistakes remaining after the pronunciation addition. This order shows that conversion helped in the presence of the revised dictionary. The paper does not give a separate conversion-only comparison from which to infer how much the same converter would have achieved with the original pronunciations. It also leaves the amount of recovery for complete decimal expressions unquantified after the repairs.
More evidence for existing forms and more forms to choose from
The fixed-vocabulary experiment is the clearest comparison for the effect of adding text while holding inventory size steady. The authors expect more examples of sequences containing rare endings to yield better context estimates. The ending error figure moves in the desired direction, while overall WER does not improve. This shows why inspecting the target category is informative. The repair can affect the phenomenon that motivated it without producing a corresponding gain in the aggregate metric.
The larger vocabulary experiment makes a previously impossible output possible for many word forms. Its development results show that a substantial share of the newly available forms were correctly chosen. The increase in reported perplexity indicates a competing effect in sequence prediction. More forms can remedy omissions from the vocabulary while still leaving the recognizer with difficult probability estimates over a larger inventory. The study measures those outcomes together and describes the WER gain as smaller than the authors expected from the expansion.
The authors contrast their expansion with a separate Latvian study using units smaller than full words. As they describe that earlier work, sub-word units can address unavailable whole words, but the reported approach did not improve WER. Vocabulary expansion is their alternative intervention here. Its output recovery demonstrates why access to more forms can help. The fixed-vocabulary and expanded-vocabulary experiments still use different configurations, so their results leave the individual contribution of each change to the combined system unresolved.
The two statistical comparisons
The authors were interested in whether short words were especially difficult. Some short grammatical words can be hard to hear clearly, and an error involving one can blend into a mistake at a word boundary. Their group comparison nevertheless found the opposite direction for length as they defined it. Welch’s t test returned a p-value of 0.001956 for the directional comparison in which short words had a lower estimated error probability than longer ones. The study treats this as strong evidence against the equality hypothesis.
The group definition is important to the result. Short words are identified by a limit of 3 letters, and the comparison uses the error count relative to the total occurrences in each length group. The observed distribution of parts of speech and other properties can differ between those groups. The result shows that the reported short-word problems did not make short words as a whole harder to recognize in this material. It leaves the role of acoustic duration and the behavior of particular classes of short words open.
For the preceding-word analysis, the authors report an estimated current-word error probability of 28% after an error and 12% after a correct recognition. The p-value for the tested direction was 0.8e-6. In these recordings, mistakes tend to be followed by more mistakes. That is consistent with the recognizer’s use of local word histories. A path containing an incorrect word can be given different continuation scores from the path containing the reference word.
The neighboring-word comparison also allows other explanations. A difficult stretch of audio can affect adjacent words, and a boundary failure can create discrepancies on both sides of the boundary. An unavailable word may also accompany errors in nearby words, as the vocabulary analysis shows. The study observes recognition outcomes along the transcript. It does not experimentally substitute a correct preceding word and then measure how the decoder responds. The reported association establishes that errors cluster in the output and gives a reason to inspect context and local search behavior.
Limitations
Limits the authors identify
The authors describe their approach as an analysis of surface errors. They examine identifiable features of transcripts and their locations in decoder lattices to guide practical repairs. They leave a more detailed account of the causes of ending errors for future work. The surface categories can identify when an ending differs and whether a candidate received an unfavorable score. Explaining why a particular set of endings confuses the recognizer would require closer evidence about the forms, the pronunciation and the contexts in which they occur.
The random split is another limitation the authors acknowledge. Despite similar duration and the same speakers, the sets differ substantially in baseline WER. The authors attribute this plausibly to an uneven distribution of utterances that were difficult for the recognizer. They say both sets should have been checked before the analysis began and raise the possibility that their development analysis missed a sizable error category. The evaluation shows the difference in difficulty. It does not establish which specific utterances or error categories produced it.
The number converter also has a scope the authors define explicitly. It covers basic cases. Latvian endings must agree with the forms required by the context, which makes conversion more difficult than substituting a fixed written name for each number. The improvement on komats shows a benefit in the use case that motivated the implementation. The converter’s performance for a broader range of numerical expressions remains outside the results.
Finally, the authors regard continued expansion of the vocabulary as an incomplete response to the range of Latvian word forms. Their experiment demonstrates a practical gain from larger coverage, along with a rise in perplexity and a smaller WER gain than they expected. In their conclusion they call for a more effective way of dealing with unavailable forms. They also identify a more detailed analysis of word endings as remaining work.
Limits visible in the setup
The held-out result concerns a small set of read-news utterances drawn from the same collection as the development set. The speakers occur in both splits. The experiment therefore measures transfer to separate recordings under related conditions. It supplies no direct estimate for unfamiliar speakers in a separate evaluation, for conversational speech or for domains with different forms and expressions. The difference between the existing splits makes the importance of the evaluation sample apparent even within read news.
The selected examples also restrict how far the decimal analysis can be taken. The authors establish that fraction recognition failed in the development material they examined and identify komats as central to that failure. They report how frequently changes recovered the word in development. They give no count of the development fractions and no separate test-set score for recovering complete fractional expressions. Correct recovery of the comma word is one necessary part of recovering a decimal value. The surrounding numeral words must also be recognized correctly for the value itself to be reliable.
The meaning assessment is informative about the baseline’s practical problems and explicitly subjective. The paper gives the authors’ percentages for critical errors and difficult utterances without a detailed protocol for repeating the judgments or a measure of agreement among independent readers. It also does not repeat the assessment for the final system. The reported change in WER therefore measures a change in word accuracy. The change in recoverable meaning, including the impact on names, times and numerical values, remains unmeasured after the repairs.
The study’s overlapping categories are appropriate for diagnosis, but some questions require more detailed counts. An ending error can also be recorded as a substitution, and a problem adjacent to an unavailable word can belong to another category. The paper does not give intersections sufficient to turn all the reported shares into mutually exclusive groups. The figures indicate how often features of interest appeared. They leave room for multiple explanations in individual cases and for overlap between problems a repair might affect.
The hypothesis tests also have reporting limits. The paper gives the estimated quantities and p-values but provides little detail about the units entered into the tests or how it accounted for related observations from the same speakers and utterances. The preceding-word formulas give the denominator as the total count for each recognition outcome, while the event in the numerator requires a following word. The treatment of boundaries between utterances is unspecified. These details matter for reproducing the tests and assessing how far to generalize the strength of the reported evidence.
The individual development experiments establish local effects under the settings tested. The held-out comparison evaluates the package as a whole. Since the paper gives no per-repair held-out scores, the contribution of each repair to the final test WER remains unknown. It is possible to trace the pronunciation and conversion changes to the development behavior of komats, and to trace vocabulary expansion to recognition of previously unavailable forms. The final WER values provide no independent estimate of how much either change contributed once all the revisions were combined.
What came after
Open ASR for Icelandic: Resources and a Baseline System (2018) cites the Latvian study and presents an open speech recognition effort for Icelandic centered on resources and a baseline system. The citation links the Latvian work on diagnosing an existing recognizer with a later project concerned with establishing the resources and baseline for recognition in another language.
The Icelandic paper’s documented scope establishes that connection at the level of speech recognition development. The specific use it made of the Latvian analysis is unknown. In particular, the citation supplies no basis for attributing to the Icelandic system the Latvian study’s error categories, lattice inspection, pronunciation repair or number conversion, or for claiming that the Latvian findings were reproduced on Icelandic speech.
Cite
Cite as Askars Salimbajevs and Jevgenijs Strigins. 2015. Error Analysis and Improving Speech Recognition for Latvian Language. Proceedings of the International Conference Recent Advances in Natural Language Processing.
@inproceedings{salimbajevs2015error,
title = {{Error Analysis and Improving Speech Recognition for Latvian Language}},
author = {Askars Salimbajevs and Jevgenijs Strigins},
booktitle = {Proceedings of the International Conference Recent Advances in Natural Language Processing},
year = {2015},
url = {https://aclanthology.org/R15-1073/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/salimbajevs-2015-error-analysis-improving-speech-recognition/