Design and Development of Afan Oromo Speech Recognition and integrating with Dialogue System Using Whisper and RASA
This paper presents the development and integration of an Afan Oromo automatic speech recognition system, based on a fine-tuned Whisper-small model trained on a 76.88-hour corpus, with a RASA-based dialogue agent to demonstrate the viability of conversational AI for low-resource languages.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Most of us interact with our devices through touch or voice, expecting them to understand us instantly. This ability, known as automatic speech recognition, has become a standard part of modern life for speakers of major global languages. However, for hundreds of millions of people who speak other languages, this technology often fails or does not exist at all. The challenge lies in the data required to teach these systems. To learn how to recognize speech, a computer needs thousands of hours of recorded conversations paired with accurate text transcripts. For widely spoken languages, this data is abundant. For many others, it is scarce. When data is missing, researchers cannot simply build a system from scratch; they must find a way to teach a machine using very little information, a task that has long been a significant hurdle in the field of artificial intelligence.
A team of researchers at Adama Science and Technology University in Ethiopia has taken a meaningful step toward solving this problem for Afan Oromo, a language spoken by more than 40 million people. In their study, they successfully built a system that can listen to spoken Afan Oromo, convert it into text, and then understand the meaning behind those words to hold a conversation. They achieved this by taking a powerful, pre-existing computer model that had already learned from a vast amount of global speech data and carefully teaching it the specific sounds and patterns of Afan Oromo. The result is a functional tool that can recognize the language with a high degree of accuracy and integrate it into a dialogue system, allowing a user to speak naturally and receive a relevant response.
The researchers began by gathering and cleaning a large collection of spoken Afan Oromo. They started with a massive list of audio files and their corresponding text, but a detailed check revealed that many of the audio files were missing or corrupted. After removing these invalid entries, they were left with a verified corpus of nearly 38,000 speech samples, totaling about 77 hours of recorded conversation. To ensure their experiments were fair and repeatable, they divided this data into three distinct groups: one for teaching the system, one for checking its progress during training, and one for testing its final performance. They also implemented a system to save their work at regular intervals, ensuring that if a computer session failed, they could resume exactly where they left off without losing days of work.
To teach the computer, the team used a model called Whisper, which was originally developed by OpenAI and trained on hundreds of thousands of hours of speech from many different languages. While this model was already quite good at understanding speech, it was not perfect for Afan Oromo. The researchers fine-tuned the model, a process similar to taking a generalist expert and giving them specialized training in a specific field. They adjusted the model's internal settings to focus on the unique sounds and rhythm of Afan Oromo. To make the training more effective, they artificially varied the audio data by slightly changing the speed of the speech, adding background noise, and adjusting the volume. This helped the system learn to recognize words even when the recording conditions were not perfect. They trained the model for fifteen cycles, carefully monitoring its performance to stop at the point where it learned the most without starting to memorize the training data too rigidly.
The outcome of this training was a system that could transcribe spoken Afan Oromo with remarkable precision. When tested on a set of audio it had never heard before, the system made errors in only about 17 percent of the words. This is a significant improvement over previous attempts to build such a system for this language, which had error rates more than double that figure. The researchers found that the system worked best when it was allowed to consider multiple possible interpretations of a sentence at once, rather than just guessing the most likely word at each step. This approach, known as beam search, helped the system navigate the complexities of the language and produce more accurate text.
The project did not stop at simply converting speech to text. The researchers connected their new speech recognition system to a dialogue framework called RASA, which is designed to manage conversations. This integration created a complete pipeline where a user could speak into a microphone, the system would translate the speech into text, the dialogue manager would understand the intent of the request, and the system would generate an appropriate response. In a preliminary test involving fifty spoken commands, the entire system worked correctly about 80 percent of the time. The analysis showed that most of the errors occurred during the initial speech-to-text conversion, rather than in the understanding of the meaning, suggesting that further improvements to the speech recognition part would make the entire conversation even better.
This work demonstrates that it is possible to build sophisticated voice technology for languages that have limited digital resources. By leveraging a model that has already learned from a vast amount of global data and adapting it to a specific local language, the researchers were able to achieve results that would have been impossible with the small amount of local data alone. They have provided a practical template for how to develop conversational agents for other low-resource languages, showing that with the right approach, the barrier to entry for voice technology can be lowered. The team plans to continue this work by expanding the dataset, exploring more efficient training methods, and eventually adding the ability for the system to speak back to the user, creating a fully interactive voice assistant for the Afan Oromo speaking community.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.