Your Voice Agent is Just a Walkie Talkie — Neil Zeghidour, Gradium

summarized

TLDR

Full-duplex speech-to-speech models solve the walkie-talkie problem of turn-taking, but they pay a fundamental intelligence cost because adding audio modality consumes model capacity that would otherwise go to reasoning. The hybrid approach — a small, cheap full-duplex interface that delegates thinking to a background text LLM — is more economically viable and gives users control over the backend intelligence, which is why Gradium bets on it over scaling a single monolithic speech-to-speech model.

Key points

Full-duplex models allow both parties to speak simultaneously, matching human conversation where up to 20% of time has overlapping speech.

Speech-to-speech models are fundamentally less intelligent than cascaded text-based systems because audio modality consumes model capacity.

Gradium's hybrid approach uses a small full-duplex interface model that delegates reasoning and tool calling to a background text LLM.

OpenAI's advanced voice mode was powered by GPT-4o for months after newer text models existed because retraining is expensive and slow.

The hybrid approach is cheaper than running all traffic through a giant multimodal model for simple chit-chat.

Gradium released Moshi in 2024, the first full-duplex speech-to-speech model, using multi-stream language models.

Tools mentioned

Techniques

  • multi-stream language models
  • neural codecs
  • audio tokenizers
  • hybrid speech-to-speech architecture
  • full-duplex conversation modeling
Transcript (captions)

0:01 [music] >> Okay, hi everyone. I'm Nel co-founder and CEO of of Gradio. So Gradio is a startup based in Paris.

0:22 Most of our background is from research. In particular, we have invented algorithms such as audio LLMs, speech speech-to-speech models, neural codex, and so on and so forth.

0:32 And basically we started from a research project called QTI, a non-profit research lab that has been focusing on voice since

0:41 day one. So in particular, we released in 2024 the first full duplex speech-to-speech model called Moshi, the first real-time speech-to-speech translation system

0:50 called Hibiki, and the first TTS model that can run locally on a on a smartphone. And basically I will just say a few words about what we do, but we are

1:00 a model company that trains models for building voice agents and voice applications. So we do TTS, API, and on-device speech-to-text, speech-to-speech translation, and much

1:09 more to come. What we do is that we train foundation models for audio, and then we can apply them for a lot of different tasks. So I go quickly on voice agents because

1:19 it's the fourth talk about the topic, but basically now we have these voice interfaces that we can use to do a lot of things across a variety of

1:30 products and types of interactions with NPCs, with customer agents, language learners, coach, and so on and so forth. And in this talk I tried to go through the history of this technology and

1:44 where I see it going in the next years. And maybe to start, I think we can take a look at the announcement of Siri back in 2011. And you'll see that it's actually, you

1:55 know, I think it it aged pretty well. >> What is the weather like today? >> Here's the forecast for today. >> It is THAT EASY. >> [cheering]

2:12 [applause] >> LOTS OF THINGS. We've integrated with the stocks. So, you can ask it about the stock market. Something like How is the NASDAQ doing today?

2:23 >> NASDAQ composite is down right now at 2,321.70. >> Again, you can ask this from the lock screen anywhere. Just press the button and ask. You can ask about, you know,

2:33 the NASDAQ, the Dow. >> So, what you just saw is what kind of a voice agent. It was a bit constrained, but it was technically a voice agent.

2:41 And the architecture behind it, so you have seen a thousand times today the STT LLM TTS. Back then, it was even worse, right? So, there was no LLM, obviously. So, there was what was called natural

2:52 language understanding. So, you would go from the transcript and uh try to do basic classification of what is expected, uh what is the app that is supposed to be uh controlled, what is

3:03 the action to trigger, and so on. So, it was a very complex pipeline and very constrained to very specific use cases. So, it was what was called close uh ended um

3:16 uh dialogue back then. Then, the next generation of models, uh I could say, I think was is illustrated pretty well by the OpenAI voice mode, not the advanced voice mode,

3:28 the original one. In which case, you just have um a conversational experience that is open-ended. So, it's much less constrained than Siri. You can talk about pretty much anything. At the same

3:37 time, you don't have um as the same agentic capabilities, let's say, in the sense that it cannot really give you the NASDAQ or uh give you the weather.

3:51 >> We want to hear a bedtime story. Tell us a story about the super-duper sunflower hedgehog named Larry. Start with telling us a little bit about him.

4:03 Larry was a unique hedgehog unlike any other. He had bright sunflower petals instead of spines. Residing in Meadowville, Larry spread joy and color wherever he

4:13 rolled. >> So, in that context, basically that was, you know, kind of second generation of models where all the logic, the very complex logic was replaced

4:22 uh by an LLM. And if we compare Siri and the voice mode from OpenAI, uh not the Ad Ons one, Ad Ons one, the

4:31 original one, uh the big strength is opening the dialogue, but the agentic capabilities were inexistent. The naturalness was,

4:39 obviously, much better than with Siri. The latency was still pretty bad. So, we are talking about several seconds, and that was documented in the in the previous presentation.

4:48 And so, then, you know, we're in this third phase, which is a voice, what we call voice agents. Uh and here I'm going to show a quick demo of uh of a drive-thru bot uh live-coded with our

5:01 with our voice models. >> Hi there. What can I get started for you today? >> Hi, I'm actually in a hurry and I'd like to order a chicken sandwich quickly.

5:11 >> We have the classic, spicy, deluxe, or grilled chicken sandwich. Which one would you like? >> Uh let's go with the classic chicken sandwich.

5:19 >> Anything else for you? >> Uh what else do you have on the menu? >> We have sandwiches, sides, drinks, and desserts. What can I get for you? >> Can I get some mac and cheese, maybe?

5:32 >> You have a classic chicken sandwich and mac and cheese. Your total comes to eight. >> So, now you know, unlike what we just saw, it's an actual agent. It's taking

5:42 actions. It's keeping track of the order. It's then going to make you pay. So, it's it's an actual voice agent that can do uh real tasks. So, here instead of having an LLM that is just a

5:53 conversational interface, we have a real agent that is empowered with tool call, reasoning, planning, and and all this stuff. So,

6:02 what we see now is we have gained back agentic capabilities, and actually they are much more uh powerful and generic than before, while keeping a very good level of uh of

6:15 naturalness. And that's where speech-to-speech LLM came. In particular, what we could see here is the latency, it's better with cascaded

6:24 system, but it's still higher than you will have with human conversation. And as also was explained before, the naturalness is fundamentally limited by the fact that you go through text, so

6:34 you lose a lot of information about what uh is said, the tone, the emotion of the user, and so on and so forth. So, now that we have tackled intelligence and agentic capabilities,

6:44 speech-to-speech seems like a natural next step for naturalness and latency. And so here it's the announcement from the uh OpenAI advanced voice mode. >> [clears throat]

6:53 >> Hey, ChatGPT. I'm Mark. How are you? >> Oh, Mark. I'm doing great. Thanks for asking. How about you? >> Hey, so I'm on stage right now. I'm

7:03 doing a live demo, and frankly I'm feeling a little bit nervous. Can you help me calm my nerves a little bit? >> Oh, you're doing a live demo right now? That's awesome.

7:13 Just >> I think we all remember it was very impressive very impressive release. And in that context now, all the steps of STT, LLM, and TTS have been absorbed

7:24 into a a single one. And so now, intelligence, you know, like naturalness is still very good. Uh

7:34 actually it can be better because it can understand non-linguistic information. Latency is really, really nice. Honestly, it doesn't make sense to go uh better than that.

7:44 Interestingly and everyone was used any uh speech-to-speech model can uh attest that the intelligence is still much more limited in that

7:54 context than uh the cascaded counterpart. So, the speech-to-speech models are fundamentally still limited compared to the textual models. Another limitation is turn-taking. So,

8:07 people tend to mix speech-to-speech and full duplex. But basically, when you do have a speech-to-speech model like GPT-3 time, it's still based

8:16 on fundamental turn-taking. In the sense that it's going to segment the conversation into as long as the model is speaking or the model is listening. And to give to show you how this can

8:26 make an interaction unnatural, I'm going to show a a small demo with what is called backchanneling, which is this very human thing that you do when someone talks to you is that you say,

8:34 "Mhm, yeah." and so on. >> Hey, how's it going? Just like to brainstorm a bit about it with you. >> Oh, that's a great topic. Yeah, I'd love to help you brainstorm. Are you thinking

8:45 what Exactly. Yeah, I was thinking >> No, no, I didn't mean to interrupt, you know, I was just saying, "Yeah." like that. You can just keep going. I know,

8:53 don't mind me. It's just something I typically do. >> Uh no worries at all. Yeah, I was just going to say we could break it down into a few aspects. Like

9:01 Yeah, exactly. >> please stop stop interrupting. You know, it's called backchanneling. Humans do it all the time. It shows that you're just following the conversation. That you

9:08 don't, you know, like interrupt you in your flow. Just just going. >> Ah, got it. Thanks for letting me know. >> No problem.

9:16 Oh, come on. >> Yeah, so you see, you know, it's it's still very annoying. Uh you can have lightning speed latency. Fundamentally, this is

9:24 uh an issue that can not be resolved when you're using turn-taking. So, here that's the walkie-talkie. Um any real-time model today, I mean, now there is a bidirectional one that

9:35 will come from OpenAI, but it's called half duplex. So, the model is listening or speaking. A human conversation has a constant flow between two people. People do back channeling. People

9:47 interrupt one another, talk on one another, and so on. If you have If you're having a relative on the phone, there is up to 20% of the time where you are both speaking at the

9:56 same time. And that makes, you know, this very flexible dynamics in the conversation makes it much more comfortable for humans.

10:04 And so, to understand how we can make a model full duplex, I'll give a very short presentation of how we train such models. So, the way you create a

10:15 speech-to-speech model half duplex or full duplex is the following one. So, you you start from a text LLM, which is a probabilistic models over over words. And instead of predicting the next word

10:24 based on the past, what you want to do is rather predict the next audio based based on the past audio. The issue now is that if you pass a raw

10:33 audio to your model, which is, you know, a waveform, it's air pressure variations. Uh basically, you take this sentence, it's

10:42 eight words. It takes around 3 seconds to pronounce it. And so, at 24 kHz audio, instead of having eight words, the audio form is 72,000 time steps that you would need to

10:53 feed to your LLM. Given that LLMs have quadratic complexity with sequence length, so the complexity is the square of the sequence length. A 10,000 times longer sequence is 100 million times

11:04 more expensive to to process. So, there is no way you can train an LLM on raw audio. So, the way you address it is by creating neural codecs, or you can also call them audio tokenizers. And

11:14 basically, it's an encoder that takes an audio and compresses it in a very dense compressed representation, a bit similar to text. And then you have a decoder that can reconstruct high-quality audio

11:25 from it. So, now you have gone from the audio domain into a abstract representation domain, where you can train an LLM exactly like you would train it on text.

11:35 And the speech-to-speech model from ElevenLabs, as I was showing before, works in this fashion. So, instead of having text tokens into your model, you have audio tokens that represent either

11:45 the LLM or the user, and you put them one after the other, and the model predicts the audio tokens uh that should be said by the model, being given the context from both sides of the

11:55 conversation. However, you can see that it's still a sequence between user and system, which is still half duplex. So, how did we make the first full duplex model ever?

12:06 Very simple. We call it multi-stream language models. That's the technology now used also by Thinking Machines for their interaction model, and most likely by the for the by the directional model

12:16 of OpenAI. Is that instead of having a transformer that models one sequence of tokens, it models two of them, so that both parties can be active at the same time, inactive at the same time, one

12:27 active and one inactive. And I just show a very quick demo of uh of how it sounds [snorts] like, but that's the release of machine August 2024, uh where we did an announcement live on

12:39 stage talking to it for the first time. And you'll see that the model often guesses the end of the question, answers over the speaker, and both speaking at the same time is

12:50 not breaking the flow like we saw with GPT. The whole thing is just extremely resilient to the most chaotic uh situations. >> So, the planet is serious 22. Can you

13:00 plot a trajectory course to it, please? >> Yes, sir. >> Okay. How long is it going to take us to get there? >> it out. It's approximately 5 months to

13:08 get there. >> Okay, that's that's not too bad. Uh do you think we have all we need on board the ship to start the mission? >> We have everything we need.

13:16 >> So, back then it was even a bit irritating to people because it was interrupting you all the time. But the thing is that you can use you could still use it in extremely noisy

13:24 environments with a lot of noise, people coughing, and so on. And you know, the flow is just constant. You don't get this very irritating break of the conversational flow. So,

13:35 these full duplex models, they are the highest level of naturalness you can expect. That's the same conversation with a human. The thing is, in with our models, it was

13:44 even more stupid than speech-to-speech models that were already less intelligent than cascaded systems. It's probably fine for some use cases if

13:52 you just want to have a chit-chat. You know, the model doesn't need to be very intelligent. But make an actual full duplex voice agent, there is no way we can give up on on

14:00 intelligence just to gain uh speech-to-speech abilities. So, how do we finally make models that tackle all these aspects jointly? And I think interestingly, if you if you

14:11 look at the history I showed, there is a tension between naturalness and intelligence. So, every time we improve naturalness or humanness of the of the models, they were less intelligent than

14:20 the cascaded system. The cascaded agents, they are basically as smart as the best text models. So, if you have a voice agent that is powered by the latest model from Anthropic or OpenAI,

14:29 it's going to be extremely smart, have all the same reliability for tool call, and so on. Speech-to-speech has this naturalness aspect. However, you give up

14:38 intelligence to get that. And the reason why you give up intelligence is remember that the LLM is a model that has a certain number of weights that we call the capacity.

14:48 And if you take a text model and now it not only has to handle text, but it also needs to understand speech and produce speech, it's taking some of its capacity, and

14:58 this capacity now is taken from the intelligence. So, fundamentally, there is a cost of adding a new modality to a text model that is going to be paid in in intelligence.

15:08 So, where do we go from here? There are two paths that are in front of us, and both are going to be explored at the same time. The first one is scaling the model. So,

15:18 making your speech-to-speech model bigger, better pre-trained, better post-trained, and so on. We likely progressively increase its intelligence until it it's good enough for a lot of

15:28 use cases. The second one is splitting the model between naturalness and intelligence. The first one, I'm not at OpenAI, so I don't know

15:37 because they don't release their model. I guess OpenAI is the path one, so it's a frontier text LLM with a lot of science around post-training, in- instruct tuning to fine-tune it on

15:48 audio, and teaching it to be quite smart while using audio. The nice thing about that is you have a single model to orchestrate, so it's quite easy to deploy.

15:59 Um and one big aspect, however, is that it's a extremely complex and costly process to

16:08 go from the text model to the speech-to-speech model. The second path is to split it. It's an approach that we introduced in one of our recent papers called Moushiraq, and

16:16 that has been reused by, in particular, the Thinking Machine Interaction models. Where, basically, the idea is that now you have two models. The first one is a small, maybe even on-device,

16:27 full-duplex, extremely natural speech-to-speech interface. And its only role is to keep a very natural conversation and be able to delegate

16:37 all the thinking, tool calling, reasoning, agentic capabilities to a background text model. And so, the way to see it is you have a background text LLM

16:47 that receives asynchronously queries from hundreds to thousands of small voice interfaces and just give them their text, you know? And, basically, what we did is um

16:57 very small full-duplex model that just needs to know when it doesn't know, so that it can delegate to the background model. And the reason why we believe mostly in

17:06 this approach, um and I go back to to it later, it's a our uh

17:14 let's say our culture is more of first one, the bitter lesson. So, every time we've been pushing for end-to-end systems and so on. But now I think the hybrid approach has two main

17:24 advantages. The The first one is cost. So, speech-to-speech models are notoriously quite expensive. And when you think about it, it's a loss of money to do chit-chat

17:35 with gigantic speech-to-speech models that can resolve differential equations and so on. So, it doesn't really make sense economically to get all your workflow through this gigantic

17:46 multimodal mixture of experts. At the same time, we see that people are very attached to their ability to control the backend, to be able to switch So they So they 5 was released a

17:56 few minutes ago. People want to switch the backend and the intelligence and get a lot of optionality on that, right? When you're using a speech-to-speech model, your your hands are a bit tied

18:06 with this model provider. And to give you an idea of that, until recently the AdSense voice mode from OpenAI was powered by GPT-4o, despite the fact that there have been

18:15 several generations of the text model since then, because this process is so expensive and so long. For this reason, we rather bet on the hybrid approach because that will give

18:26 something that is not only very natural and very nice for demos and impressive, but also will be a viable alternative from a economic point of view and agentic capabilities point of view

18:38 to the best cascaded systems that are still most of the market today in voice. So, what now? Uh you can use our models on gradium.ai.

18:48 You can apply to gradium. We are recruiting research scientists and engineers. And thanks for your attention. >> [applause]

19:10 [music]

Frontier News · by Hyperjump Technology