Blog - Product

Mar 11, 2024 | Read time 6 min

The secret to improving speech-to-text accuracy

Find out how we accomplished a 40% decrease in transcription errors for Norwegian.
Stuart WoodProduct Manager

We recently revealed how Speechmatics learns a new language from scratch when we built Persian in under 4 weeks. As well as adding new languages to our roster, it is essential that we continuously improve the accuracy of our 50 languages

We recently removed an impressive 40% of the transcription errors for Norwegian.

In this blog, we look at how regional accents and dialects play a vital role in AI understanding speech and describe how we overcome these challenges.

The Complexity Of Language

Even proficient linguists can find themselves in a tight spot when faced with regional dialects or specialized jargon.

Imagine navigating through the nuances of a physics lecture in another language or adapting to the linguistic differences of a new geographic region that speaks seemingly the same language.

These same variations make it a challenge for AI to understand what people are saying.

Common challenges include:

  • Acoustic Variations How words are pronounced can vary dramatically depending on the speaker's origin and how fast they speak. Take, for instance, the simple example of “router,” which is pronounced “rau·tr” in American and “roo·tuh” in British English. Speech recognition needs to handle these differences to consistently transcribe the correct word.  

  • Diverse Vocabulary The context of a conversation greatly influences the vocabulary used. A medical discussion employs a different lexicon than sports commentary. Even within the same language, regional variations exist – in English, it could be a “lift” or an “elevator”. Speech recognition needs to understand every word spoken in a language, including unusual synonyms, and adapt as new words enter our vernacular.

  • Grammatical Intricacies Languages often present additional grammatical challenges. An example for Norwegian is compound words – combinations of two or more words to create a single term. These linguistic features demand sophisticated language understanding from AI to present a readable transcript. Read more about compound words in Norwegian. 

The Linguistic Nuances Of Norwegian Speech

Norway. Part of the Nordic region in Northern Europe. Famous for Vikings, beautiful Fjords, and the Northern Lights.

It has 5.3 million speakers worldwide (vs. 1.4 billion English) with a rich tapestry of linguistic nuances, which presents a set of challenges for speech recognition technology. Even some native speakers may not be fully cognizant of the subtle complexities inherent in their language.

We will look at the challenges for a robust Norwegian speech-to-text solution and how we address these.

Two of the key factors:

1) Diverse Dialects Across Five Regions The Norwegian spoken language is a mosaic of dialects, primarily categorized into five geographic regions: North, East, South, West, and Trøndelag. Each region boasts its own dialectal idiosyncrasies, making it a challenge for foreigners and sometimes even locals to understand variations from neighboring towns.

2) Dual Written Forms, Bokmål and Nynorsk Norway has two officially recognized writing systems, Bokmål and Nynorsk. These are not just dialects, but distinct written standards, each with its own grammatical norms and vocabulary.

Here is a quick example of how the pronunciation of the word “I” changes between regions: 

(Credit to this Norwegian language channel on YouTube)

Demonstrating The Dialectal Differences

To illustrate the diversity within Norwegian dialects further, this video provides a tour of the 19 different regional variations.

This example provides a glimpse into Norway's wide variety of accents and speech patterns.

So, how do we tackle the accuracy challenges?

3 Ways Of Improving The Accuracy Of A Language

We have 3 main levers to help our speech recognition improve:

1) Model Improvements Making better use of existing data through better machine learning techniques.

2) Better Data Adding more audio from a diverse pool of speakers or increasing the diversity of our text data.

3) Language-Specific Improvements Identifying and improving specific linguistic issues, for example, compound words in Norwegian.

Let's look at each area in turn, and how they can help.

1) Model Improvements

Improving our models' architectures can significantly improve accuracy across many languages simultaneously. However, it also takes the highest effort from a team of dedicated machine learning engineers. 

An example, recently, we grew the size of our models (increasing the parameter count, allowing them to learn more information), which has had a widespread and large positive impact on accuracy for multiple languages.

It gave up to a 25% reduction in errors across our languages. You can read more about it on our Ursa blog.

2) Better Data

With the latest developments in our self-supervised models, model training requires fewer hours of labelled data (audio with a corresponding perfect transcript) to get high accuracy on different dialects, so variety rather than quantity is key.

To increase the variety of dialects within our training, we worked collaboratively with Sikt, the University in Oslo and several other universities in Norway, to collect region-specific training data with speakers from across Norway.

"Speechmatics invested heavily to ensure they could understand the accents, dialects, and nuances of the Norwegian language.

Better Norwegian speech to text is important for the learning experience for our students and to save time for educators working with captions. Good support for Norwegian is also important to our linguistic identity - working with Speechmatics has been essential to make the project possible and to achieving improvements which will benefit our users and other Norwegian speakers.

Oddmund Møgedal, University of Oslo

As part of the project, we also collected specific test data for each region to understand where our efforts are best spent.

We also relied on open-source data collection projects to bolster the training data for our models. For example, we added audio recordings of meetings in Stortinget (Norwegian Parliament) and data collected by Nordic Language Technology.

3) Language-Specific Improvements

There are multiple language-specific ways to improve; for example, how numbers are formatted in a language can differ.

Punctuation can differ from one language to the next, whilst a full stop in English is ".", in Hindi it’s "|", and in Chinese/Japanese they use the wide space character "。".

These differences require careful attention to get right for a readable transcript.

For Norwegian, one of these challenges is the use of compound words. 

Compound words are when two or more words are combined to make new words, often with a new, but related meaning. They are common in many languages, including English – although in English they’re less prevalent, for example “bedroom”. In Norwegian, it’s possible to link together as many as 4 words into one. 

Supporting all these combinations would require a large list of words stored in the models. Instead, we allow our models to learn when it makes sense to combine words to be compound and when it makes sense to keep them separate. This means that as new words emerge from combinations of existing words, we can have a chance to transcribe them even though it’s never seen the word before.

A simple example: 

norsklærer - Norwegian teacher

This is made from: 

norsk – Norwegian 

en lærer - a teacher (“en” dropped) 

A longer example: 

Menneskerettighetserklæring – declaration of Human Rights 

This is made from: 

Erklæring – Declaration 

Av – of (dropped) 

Menneske – human 

Rettigheter – rights 

We train the language model using a "subwords" technique to understand compound words. During training, we establish the list of word parts required to reproduce the vocabulary in our training data and then teach it how it can combine these parts into valid, most likely words using probabilities of what will appear next. 

This allows us to recreate the long words spoken in Norwegian and adapt with the language as new words like “koronasyk” (sick from Corona) are created, even though our model may never have seen this word before.

The Result? 1,400 Fewer Errors For Every Hour Of Audio

By taking the steps above, we have been able to make a big accuracy leap for Norwegian. Overall, we reduced the number of errors by 40%, which means that for every hour of speech, we make 1,400 fewer mistakes. That enables better readability of automatically generated transcripts and halves the time required for a human to proof the transcript.

Below you can see the accuracy improvements made for each of the regions. From our evaluation, there are great improvements across the board but still further we can go.

When combined with the dialect recognition improvements, Speechmatics now provides one of the most accurate Norwegian speech recognition systems available.

Our customers are already seeing the benefit of our Norwegian improvements, and our translation and Speech Intelligence capabilities benefit significantly too. When transcription is accurate, downstream tasks such as summarization and translation, which depend on accurately transcribed words, get an accuracy boost.

The above graph shows the Word Error Rate (WER) for the Norwegian FLEURS open dataset across key ASR providers.

This example of what we achieved with Norwegian gives you a better understanding of how our team of expert engineers work to improve accuracy across our languages. Getting this right takes machine learning excellence, quality data, and language expertise.

Follow Speechmatics as we continue the journey towards enabling machines to seamlessly understand every voice.

Transcription coverage for over half the world's population

With Speechmatics, the only real question you need to ask is... Where next?

Related Articles