How to Collect Audio Data for Automatic Speech Recognition

From virtual assistants to security authentication, we are gradually moving into a world wherein machine learning systems can understand what we say.

TaskUs
5 min readFeb 28, 2023

Alexa, Siri, and Cortana — many of us have encountered this trio of virtual assistants in our day-to-day tasks. They can help in turning on the lights in our homes, finding information on the internet, and even starting a video conference. What many don’t know is that these technologies are dependent on natural language processing.

What is Automatic Speech Recognition (ASR)?

These virtual assistants are applications of automatic speech recognition (ASR). Also known as computer speech recognition, ASR uses artificial intelligence and machine learning algorithms to analyze and convert human speech to text.

Speech Collection to Train ASR Models

To ensure the maximum effectiveness of your ASR models, it is important to collect substantial speech & audio datasets. The goal of speech collection is to collect enough sample recordings to feed and train ASR models.

These speech datasets are used for future comparison against the speech of unknown speakers using unspecified speaker recognition methods. For ASR systems to work as intended, speech collection must be conducted for all target demographics, languages, dialects, and accents.

Artificial intelligence can only be as intelligent as the data it’s given. It is important to collect substantial speech or audio datasets to train an ASR model with maximum effectiveness. We’ve outlined the steps in speech data collection to effectively train your machine learning model:

  1. Create a demographic matrix. Consider the following information: location, language, genders, ages, and accents. Note also the variety of environments (a busy street, an open office, or a waiting room) and their use of devices (mobile phone, desktop, or headset).
  2. Collect and transcribe speech data. Gather audio and speech samples from real humans to train your model. In this step, you will need human transcriptionists to take note of long and short utterances and key details following your demographic matrix. Humans remain essential in building properly labelled speech and audio datasets to provide a baseline for further application and development.
  3. Build a separate test set. Now that you have your transcribed text, pair it with the corresponding audio data and segment them to include one statement each. Take the segmented pairs and extract a random 20% of the data to form a set for testing.
  4. Train your language model. Generate additional variations of text that were not initially recorded. For example, in cancelling orders, you only recorded the statement “I want to cancel my order.” In this step, you can add “Can I cancel my subscription?” and “I want to unsubscribe.” You can also provide relevant expressions and jargon.
  5. Measure and iterate. Evaluate the output of your ASR to benchmark performance. Take the trained model and measure how well it predicts the test set. Engage your machine learning model in a feedback loop to fix any gaps and yield the desired output.

Related: Human-in-the-Loop Machine Learning: How Humans Keep AI Models in Check

Applications of Speech Recognition

Other than virtual assistants, speech recognition systems are also being used across various industries:

Travel and Transportation

According to Automotive World(1), 90% of new vehicles sold by 2028 will be voice-assisted. Applications like Apple CarPlay or Google Android Auto integrate voice data to activate navigation systems, send a message, or switch music playlists in a car’s entertainment system.

BMW partnered with Microsoft-acquired Nuance(2) to power the BMW Intelligent Personal(3) Assistant first available in the BMW 3 Series. The AI-powered digital companion enables drivers to operate their cars and access information, such as the entire car manual, using only the driver’s voice.

Food

Fast food giants McDonald’s(4) and Wendy’s(5) are leveling up their customer experience with the use of automatic speech recognition. An AI platform transcribes the voice data and gives them to the cooks for preparation. The integration of speech recognition systems results in fast and frictionless interactions and lower labor costs.

Media and Entertainment

YouTube’s(6) audio AI-based features expand to include live auto-captions. This means that creators can now do live streams with captions automatically seen at the bottom of the screen. This ASR feature will soon be available in more languages to make streams more inclusive and accessible.

Telecommunication

Many telecom service providers such as Vodafone(7) use ASR technology in telephone relay services and customer care centers to address customer queries or forward calls to concerned departments for a quick solution.

Audio and Speech Data Collection Services with Us

To understand natural language, algorithms need to be trained with large sets of written or spoken data that have been annotated based on parts of speech, meaning, and sentiment. At TaskUs, here’s what we bring to the conversation: over a decade of experience in collecting and enhancing text and speech data for machine learning.

We have an average score of 98% QA score in all data-related operations. We customize the build of our teams empowering them with best-in-class tooling to support a wide range of projects and workflows. We provide enterprise-level security options for sensitive data or compliance needs. With our global footprint, we can efficiently execute large-scale global programs catered specifically to your company’s data collection, annotation, and evaluation needs.

Our services for audio and speech data collection include:

  • Audio transcription
  • Data evaluation
  • Multilingual data collection
  • Sentiment analysis

Case Study: Audio & Speech Collection for a Global Technology Company

A leading global social media and technology company has been a consistent game-changer in the social networking space and consumer tech products. In recent years, they started to develop a virtual assistant that could potentially create a better user experience for their consumers.

However, to accomplish such an ambitious project, they will face multiple challenges in audio data collection. Variances in local speech, audio quality, and fluctuation of daily queues are only some of the obstacles they have to navigate. More than ever, they need a reliable partner that can support their data labeling, tagging, and audio transcription efforts.

Download our case study on Audio Training Data for a Global Technology Company to learn the three-step framework we used to support the client’s audio training needs

Interested in collecting audio data with Us?

Learn more

--

--

TaskUs
TaskUs

Written by TaskUs

TaskUs provides Ridiculously Good BPO services in Digital CX, Content Security, Data & AI Operations,& Consulting to world’s most innovative & disruptive brands

No responses yet