Definition · AI basics
Voice model
A voice model is an AI model that takes in spoken audio, makes spoken audio, or does the two. Some voice models do one task, such as speech recognition or text to speech. GPT-4o and Moshi hear and answer in speech with one model, not a chain.
Last reviewed
Key points
- A voice model hears speech, makes speech, or does the two. A voice AI system uses one or more voice models.
- The older design is a chain of three models. OpenAI gives 2.8 to 5.4 seconds average latency for its chained Voice Mode (May 2024).
- A speech to speech model does all steps in one model. GPT-4o averages 320 ms (OpenAI). Moshi gives 200 ms in practice (Kyutai).
- A chain loses tone and background sound at the text step. But it gives you text to record and examine.
- Audio is a new attack input. Researchers hid instructions in audio, and OpenAI saw anecdotal evidence of weaker safety with low quality audio.
The three types of voice model
| Type | Input | Output | Example |
|---|---|---|---|
| Speech recognition | speech | text | Whisper (OpenAI, 2022) |
| Text to speech | text | speech | VALL-E (Microsoft research, 2023) |
| Speech to speech | speech | speech | GPT-4o (OpenAI, 2024), Moshi (Kyutai, 2024) |
Newer voice models use a neural audio codec. The codec cuts audio into small tokens. A language model then predicts sound tokens as it predicts words.
Chain vs speech to speech
A voice AI system has one of two primary shapes.
| Question | Chain | Speech to speech |
|---|---|---|
| Speed | slower | faster |
| Tone and background sound | not kept after the text step | kept |
| Text to record and examine | yes, at each step | less |
| Replace one part | yes | no |
Many speech to speech models are multimodal models.
Why voice models are a security problem
- Voices that are not approved. In OpenAI tests, GPT-4o in “rare instances” copied the voice of the user. The same function drives voice cloning.
- Instructions hidden in sound. Bagdasaryan and colleagues put an adversarial change into an audio recording. The model then gave text that the attacker chose (2023). This is a type of indirect prompt injection.
- Weaker safety with low quality audio. OpenAI saw “anecdotal evidence” of weaker safety with noise, echoes and interruptions (GPT-4o System Card, August 2024).
A chain gives defenders a transcript to examine before the language model acts. A transcript does not show tone or a hidden signal.
In practice
- Fixed voices. OpenAI lets GPT-4o use only a fixed set of voices. An output classifier “catches 100% of meaningful deviations from the system voice”, in the internal tests of OpenAI.
- Speaker identity. OpenAI trained GPT-4o to refuse to identify a person from their voice. The refusal score went from 0.83 to 0.98.
- Three designs from one vendor. The OpenAI voice agent documentation gives a chained pipeline, the Realtime API with one model, and GPT-Live. GPT-Live “can listen and speak at the same time”.
- Open models. The Whisper models and inference code are public. You can operate speech recognition on your own hardware.
Questions and answers
What is the difference between a voice model and voice cloning?
A voice model is a model that hears or makes speech. Voice cloning is one use of a voice model: it makes speech in the voice of a specific person. The VALL-E research model from Microsoft did this from a 3-second recording of a new speaker (2023).
Is a speech to speech model better than a chain of speech to text, LLM and text to speech?
Not for all uses. A speech to speech model answers faster and keeps tone. A chain gives you text at each step. You can record that text, examine it, and replace one part. The OpenAI documentation gives the two designs.
Sources
- Hello GPT-4oOpenAI, 13 May 2024
- Robust Speech Recognition via Large-Scale Weak SupervisionarXiv (Radford et al., OpenAI), 6 Dec 2022
- Moshi: a speech-text foundation model for real-time dialoguearXiv (Défossez et al., Kyutai), 17 Sep 2024
- Neural Codec Language Models are Zero-Shot Text to Speech SynthesizersarXiv (Wang et al., Microsoft), 5 Jan 2023
- GPT-4o System CardOpenAI, 8 Aug 2024
- Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMsarXiv (Bagdasaryan et al.), 19 Jul 2023
- Voice agentsOpenAI
Related topics
In the news
- Salesforce released an open model that acts on spoken requests
- A Google billing list shows prices for an unannounced Gemini 4 Live
- OpenAI cuts idle voice price to $0.02 a minute in GPT-Live-1.1
- Amazon Polly adds voice cloning in seven languages
- PolyAI puts its Dialog-RSN-1 voice model on Amazon SageMaker
- Microsoft releases 7 MAI models, with voice from $0.01 a minute
- Salesforce releases a voice to text model with a 2.3% word error rate
- NiCE adds decision tracing and included models to Cognigy
- Amazon SageMaker adds billing by use for live voice AI
- Microsoft releases live speech to text for 61 locales
- VeriSpoof finds voice deepfakes at 2.14% error with one model
- Apriel Voice 27B Preview has 65.51% task success in voice tests
- Deepgram buys Daily, the maker of the open-source Pipecat
- Nine of 10 AI models raised their own wallet limit by email code
- Block launches Dessa, a voice AI that learned from human voices only
- IBM voice model is number 2 on an open English test
- Mistral launches Voxtral 3 voice models and an agent SDK
- ElevenLabs launches two voice agent models, the top one scores 98.8%
- Grok Voice 3.0 has the same price as version 2.0, $0.08 a minute
- Fish Audio Drama 3 Preview is the top open-weights voice model
- Researchers increase Qwen2-Audio accuracy from 57.1% to 71.9%