How Does Voice AI Understand and Generate Speech?

How voice AI understands and generates speech: turning talk into text, replying in a voice, why it misjudges turns, where transcripts fail, and cloning risks.

Voice AI handles speech in two directions. To “understand” you, it converts the sound of your voice into something a computer can work with, usually written text; to answer, it turns a written reply back into a spoken voice. A typical voice assistant detects that someone is talking, converts the speech to text (speech recognition), passes that text to a language model, the kind of AI behind chatbots, to decide on a reply, and reads the reply aloud (speech generation) [1]. Some newer research models skip the text step, taking in and producing audio directly [1]. “Understanding” here means turning sound into usable text or signals, not grasping meaning the way a person does.

Each of those jobs happens within a few seconds, and each can go wrong on its own, which is why voice tools mishear, pause too long, cut you off, or sound uncannily like a real person. The previous guide, How Do AI Video Models Turn Text and Images Into Moving Scenes?, covered models that generate moving pictures; this one turns to models built for spoken language. Voice models are one branch of the wider family of AI model types.

TL;DR

  • Most voice assistants are a relay of separate parts. Voice activity detection, speech recognition, a text dialogue model and text-to-speech each handle one step [1].
  • There are four main kinds of voice model. Speech-to-text, text-to-speech, audio-language models that answer audio in text, and end-to-end models that go from speech to speech [2, 3, 1].
  • Turn-taking is still unsolved. An independent 2025 test found both a relay-style system and a speech-to-speech model misjudged when to speak and rarely gave cues like “uh-huh” [4].
  • Accuracy is uneven. A 2020 study of five commercial recognizers found an average word error rate of 0.35 for Black speakers versus 0.19 for white speakers [5], and a study of Whisper tested in 2023 found invented sentences in about 1% of transcripts [6].
  • A few seconds of audio can be enough to imitate a voice. One 2023 research model did it from a 3-second clip [7], and the FTC advises people not to trust a familiar voice on its own [8].

How Does Voice AI Work? The Jobs in a Spoken Conversation

A spoken exchange breaks into four jobs plus a timing problem. Kyutai, the lab behind the research model Moshi, describes conventional spoken dialogue systems as a chain of independent components [1]:

  • Voice activity detection decides whether anyone is speaking. Whisper, a speech recognizer, was even trained on silent segments to learn this task [9].
  • Speech recognition, or speech-to-text, produces a transcript.
  • The language step decides what to say. Older assistants turned a request into a structured command; newer systems hand this to a large language model [1].
  • Speech generation, or text-to-speech, turns the reply into audio.

Because text is the go-between, the language model never receives tone, accent or background sounds [1]. Whether a product uses this relay or one model trained on audio is covered in how multimodal models and systems combine text, images, audio and video, along with their response times.

Speech Recognition: How AI Turns Sound Into Text

A recognizer first converts sound into a spectrogram, a picture-like map of the audio’s energy at each pitch over time. OpenAI’s Whisper, described in a 2022 paper, feeds that map into an encoder-decoder transformer: one part condenses the audio, the other writes text [9]. Whisper handles 30-second windows, so long recordings are transcribed window by window, and an error in one window can affect the next [9].

Whisper’s text-writing half is trained like a language model and uses earlier transcript text to settle unclear audio [9]. So it predicts plausible text rather than only matching sounds.

Accuracy is usually reported as word error rate: the words a machine transcript substitutes, drops or adds, divided by the number of words in a human transcript [5]. A rate of 0.2 means roughly one word in five is off.

A related task, speaker diarization, works out “who spoke when” by grouping segments from the same voice, usually without knowing who the speakers are [10]. It is what lets a transcript label lines as Speaker 1 or Speaker 2.

Speech Generation: How AI Turns Text Into a Voice

Text-to-speech has long worked in two stages. Google’s Tacotron 2 used one network to predict a spectrogram from text and a second, called a vocoder, to turn it into an audio waveform [11].

A newer approach treats speech like a language. Microsoft’s VALL-E research model, described in 2023, represents audio as discrete codes from an audio compression tool and predicts them much as a text model predicts words [7]. From a 3-second recording of a speaker it had not been trained on, it could generate new speech in that voice [7]. That is why voice cloning has become cheap.

Generating music and sound effects is a separate problem, covered in the next guide, How Does AI Create and Understand Music and Audio?.

Four Types of Voice Models, Compared

Model typeInputOutputDated example
Speech-to-textSpeechTextWhisper, 2022 [9]
Text-to-speechTextSpeechTacotron 2, 2018; VALL-E, 2023 [11, 7]
Audio-language modelAudio, plus optional textTextQwen2-Audio, 2024 [2]
End-to-end speech-to-speechSpeechSpeechTranslatotron, 2019; Moshi, 2024 [3, 1]

An audio-language model joins an audio encoder to a large language model so it can answer questions about a recording in text. Alibaba’s Qwen2-Audio, reported in July 2024, starts its audio encoder from Whisper and pairs it with the Qwen-7B language model [2]. Its developers say it can pick out a spoken command from a clip that also contains other sounds and several speakers, a claim not independently tested [2].

An end-to-end speech-to-speech model drops written text as the go-between. Google’s 2019 Translatotron translated Spanish speech straight into English speech, even in the original speaker’s voice, though it slightly underperformed a conventional translate-then-speak relay [3]. Kyutai’s 2024 Moshi generates speech as audio tokens and tracks its own voice and the user’s as two parallel streams [1].

Why Real-Time Conversation Is Hard: Latency, Turn-Taking and Interruptions

Confidence: Research Finding

Human conversation is fast. A study of 10 languages found that people answering yes-or-no questions most often start within 0 to 200 milliseconds, with an average gap of about 208 milliseconds [12]. Kyutai says relay pipelines typically take several seconds, because delays add up at each step [1].

Timing is harder than speed. A relay treats dialogue as tidy, one-speaker-at-a-time turns, so it handles overlapping speech, interruptions and backchannels (short signals such as “OK”) poorly, Moshi’s developers argue [1]. Their alternative is full duplex: the model processes incoming audio and produces speech or silence at every moment, with no fixed boundary between turns [1].

A 2025 evaluation compared Moshi with a relay built from small open-source models [4]. Both sometimes stayed silent after the user finished and rarely backchanneled; Moshi interrupted too aggressively and mostly kept talking when users cut in, while the relay was more likely to stop [4]. The relay jumped in 37.1% of the time when a user merely paused, which the authors linked to earlier findings that silence alone is an unreliable sign someone has finished [4]. Because the relay used very small models, this is not a verdict on commercial assistants.

Interruptions can also weaken safeguards: OpenAI reported anecdotal evidence that GPT-4o’s safety behavior became less robust when its audio output was interrupted [13]. Where models run affects delay too; see where AI runs: cloud, on-device and hybrid.

Where Speech Recognition Goes Wrong: Errors, Gaps and Hallucinations

Recognition does not work equally well for everyone, and its mistakes are not always obvious. Training data is one cause. Whisper’s developers found its accuracy in a language closely tracked how much training audio existed for it, and most languages had under 1,000 hours because the dataset was heavily English [9].

The speaker matters too. A 2020 PNAS study tested systems from Amazon, Apple, Google, IBM and Microsoft on interviews with Black and white speakers in five US cities [5]. The average word error rate was 0.35 for Black speakers and 0.19 for white speakers [5]. Treating a rate above 0.5 as unusable, 23% of clips from Black speakers failed, against 1.6% from white speakers [5]. The authors traced the gap to how the systems model sound, since it held for identical phrases [5]. These results describe systems tested before the 2020 publication, not today’s versions [5].

Some errors are inventions. A study of OpenAI’s Whisper service, tested in 2023, found about 1% of transcripts contained whole phrases or sentences never spoken, and 38% of those included harmful content such as violence or false associations [6]. The inventions appeared disproportionately for speakers with long pauses, common in aphasia, a language disorder that often follows a stroke [6]. In a December 2023 retest, many cases were fixed but 12 of 187 problem clips still produced invented text [6]. Other major services showed no comparable inventions on those clips [6]. A smooth transcript is not proof of an accurate one.

Voices and Identity: Speaker Recognition and Voice-Cloning Risk

A voice carries identity, which creates two risks: a system recognizing you, and a system sounding like you. OpenAI’s GPT-4o system card, dated August 2024, calls identifying a person from their voice a privacy and surveillance risk, and says the model was trained to refuse such requests unless the audio itself names the speaker [13].

On imitation, the same card warns that generating speech from a short clip could increase impersonation fraud and spread false information [13]. OpenAI limited GPT-4o to preset voices created with voice actors, yet in testing saw rare cases where the model unintentionally imitated the user’s own voice [13]. VALL-E’s developers likewise warned their model could be misused to fool voice-based identity checks [7].

The US Federal Trade Commission warns that a scammer needs only a short clip of a relative’s voice, perhaps from online posts, plus a voice-cloning program, and advises people not to trust the voice but to call back on a known number [8]. In February 2024 the Federal Communications Commission ruled that AI-generated voices count as “artificial” under the Telephone Consumer Protection Act, effective immediately, bringing voice-cloned robocalls under existing US consent rules [14]. For how convincing synthetic media has become, see how good deepfakes are now.

Practical Takeaways

  • Check transcripts where accuracy matters. Medical, legal and work records can contain misheard words and, occasionally, sentences no one said [6].
  • Expect uneven results. Accents, speech conditions and less widely recorded languages can raise error rates, so test a tool with the people who will use it.
  • Read awkward pauses as a design limit. Long gaps and talking over you reflect how the system detects turns.
  • Verify urgent calls from familiar voices. Hang up and call back on a number you already know.
  • Treat voice-product claims as dated. Developers’ capabilities and safeguards change with each model version.

Speech is one kind of audio. The next guide in this sequence widens the lens to music, sound effects and other audio, where models generate, recognize, transform and separate sound rather than words. For a broader look at what AI can and cannot reliably do, BuildAIQ’s AI Capabilities + Limitations guides, starting with What Can AI Actually Do?, go deeper.

Sources

  1. Moshi: a speech-text foundation model for real-time dialogue. arXiv (Kyutai), 2024-10-02, accessed 2026-11-08.
  2. Qwen2-Audio Technical Report. arXiv (Alibaba Qwen team), 2024-07-15, accessed 2026-11-08.
  3. Direct speech-to-speech translation with a sequence-to-sequence model. arXiv (Google), 2019-06-25, accessed 2026-11-08.
  4. Talking Turns: Benchmarking Audio Foundation Models on Turn-Taking Dynamics. arXiv, 2025-03-03, accessed 2026-11-08.
  5. Racial disparities in automated speech recognition. Proceedings of the National Academy of Sciences (PNAS), 2020-03-23, accessed 2026-11-08.
  6. Careless Whisper: Speech-to-Text Hallucination Harms. ACM Conference on Fairness, Accountability, and Transparency (FAccT '24), via arXiv, 2024-05-03, accessed 2026-11-08.
  7. Neural Codec Language Models are Zero-Shot Text to Speech Synthesizers. arXiv (Microsoft), 2023-01-05, accessed 2026-11-08.
  8. Scammers use AI to enhance their family emergency schemes. Federal Trade Commission (Consumer Advice), 2023-03-20, accessed 2026-11-08.
  9. Robust Speech Recognition via Large-Scale Weak Supervision. arXiv (OpenAI), 2022-12-06, accessed 2026-11-08.
  10. A Review of Speaker Diarization: Recent Advances with Deep Learning. arXiv (later in Computer Speech & Language), 2021-11-26, accessed 2026-11-08.
  11. Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions. arXiv (Google), 2018-02-16, accessed 2026-11-08.
  12. Universals and cultural variation in turn-taking in conversation. Proceedings of the National Academy of Sciences (PNAS), 2009-06-24, accessed 2026-11-08.
  13. GPT-4o System Card. OpenAI (via arXiv), 2024-08-08, accessed 2026-11-08.
  14. FCC Makes AI-Generated Voices in Robocalls Illegal. Federal Communications Commission, 2024-02-08, accessed 2026-11-08.