Welcome to week two of CS 153, also known as AI Coachella. We are super lucky to be kicking off this week with Mati. Mati is the founder and CEO of ElevenLabs. How many people here have heard of ElevenLabs? All right, so pretty much everybody.
Mati and I go back a ways. About three years ago, I think, when I was still running platform at Discord, a friend said, you know, there's a little bot, like a text-to-speech bot on Discord that's blowing up. You should check it out. And you know, we had a lot going on at the time at Discord. And so I actually didn't, and I should have. And then a month later, somebody pinged me again and said, 'You really should check out this bot.' And I checked it out. It was called ElevenLabs. And it was quite an extraordinary bot. It was a Discord bot that allowed you to generate audio clips with just a text prompt. And within 24 hours, I'd asked one of our mutual friends, Nat Friedman, to introduce us. Mati was gracious enough to explain what they were working on. He let me come on as an angel investor. So, thank you.
And since then Mati has gone on to build one of the most, the fastest growing, one of the most widely used and I would say trusted brands and services in frontier audio and speech. So thank you for joining us, Mati.
Thank you. Thank you so much. Good morning everyone. It was also a crazy thing when we met for the first time. It was me and my co-founder Piotr. We both came from Google and Palantir before that. So we were trying to like redo the company setup from scratch of like what not to do, and we tried to like go against some of the lessons from those days. So we were allergic to meetings, we were allergic to any email-based communication internally, but we also wanted to not do any of the internal communication the standard way. So when we started, we actually ran a company on Discord.
Oh, in that conversation you were helping us on the text-to-speech, and we were trying to figure out is that the right play for us to base all the company on Discord. We swapped from to Slack, which was easier for Piotr, but that was an interesting few first months of trying to build all the bots on Discord to make it easy and quick for us.
This was a bit of a theme we talked about last year too, which is that often gaming ends up being this petri dish for innovation. Some of the hardest infra, product design, experience problems that are solved in gaming then become sort of leading indicators for the rest of the world. And the stuff you were doing and a bunch of our other friends were doing on Discord at the time have ended up becoming indicative of value in AI a few years later. Do you feel like that's a true assessment, or am I overfitting?
Yeah, I think that the true part there, which you know, we were following the journey model at the time of like how Discord built that community piece on this. And for us at ElevenLabs, when we started, we knew that we want to fix two things. We want to fix the research and foundational models around audio and voice, and then build product around that to bring that AI into more of an applied AI setting and fix the problems that our customers are facing. We started on a very PLG-driven motion. So working on the product-led growth with a lot of the creators in the space, of developers in the space. And we thought that the best way to do it is close the loop as close as possible to the people that are using those tools, and like Discord at the time, and generally keeping access open to a lot of those creators and developers was the best way for us to learn: is it good enough? Is the quality finally there to serve the needs they have? To what are the use cases we might not predict that people might want to build so we can bring that quicker in. And that's still a big thesis today of our work across that is we want to work with the community to find ways for them to contribute back to the product development. And of course, whether that's using the models to refine based on the data of how you use the model, all the way through like can you contribute. In our case, we created a voice marketplace where people can contribute their voice to be used by others. So that community aspect was very important, and it's always a truth where I feel that technology adopted by the community will show you use cases that might diffuse to the rest of the world 6, 12, 18 months later. So being close is super valuable, but more so than not in those early days, just I think you need to be extremely problem-obsessed. What is the problem that they are having? And the variation of what you think the problem is to what the customer actually thinks is a problem is slightly different.
Okay, let's actually stop, take a beat there. Can you go back? Take us back in time. What was the problem you guys were obsessed with when you started Eleven? What is it today? How might it evolve? Give people a bit of an ElevenLabs 101. How do you get here?
Cool. The whole chronology, I'll give you a zoom in into that first day and then accelerate over the last few years. But when we started, so I'm from Poland, my co-founder is from Poland. A very peculiar thing that happens in Poland is that if you watch a foreign movie in Polish, all the voices, whether that's a male voice or a female voice, get narrated with one single character. So you have one voice reading every character. As you can imagine, a pretty terrible experience. And you would think that with modern technology, this is a problem that would have been fixed. And no, it's still the case. So most of the content is delivered this way. So that was the...
Whose voice was this? Who did they...
They have five characters. There's like five of those voices, usually monotone, male, deep, old voices. And it's also crazy because part of the thing is they are kind of encouraged to deliver the movie in a flat delivery, so the audience can interpret the emotions for themselves.
Which is like another level.
Expecting a lot from the audience.
So if you ask any Polish person, they will recount how not good an experience that is. And when you learn English, you finally get to learn everything in original, and that's an extremely positive one. So that was like the first piece of inspiration for us. We know the future is different. The future will be where you can access all types of content in any language with that incredible tonality, incredible emotions. So we left Google, we left Palantir at the time. And...
Were you guys both in the Bay at the time?
We were both between Warsaw and London. So at the time when we started, we started in London, then moved to Warsaw for a little bit, then moved back to London.
So from Europe at the time, which actually for that part was pretty useful because the whole language thing is a big problem there, less of a problem in the US. The kind of inspiration might not have occurred otherwise.
And then we knew that we want to fix that AI dubbing problem. And as we started going deeper, we knew that we need to understand two parts: we need to understand whether there is a research potential for us fixing it, and two, whether there's an actual product need, an actual problem for the customer. So Piotr, my co-founder and amazing researcher, started diving in and quickly realized that the current models could potentially create a Frankenstein version of the dubbing. They're not good enough, but they are almost giving you an experience where you can switch from language A to language B, preserve the voice, preserve the intonation, emotions, but still not good enough. So there will be research, but possible research to fix.
Now, in that research, a very important part is as you think about the dubbing problem from speech, there are three models that need to play a role. You need to transcribe what's happening, who is the speaker, remove the background sounds, background noise. Then you bring it to text. You translate it to another language. You might need to do an additional set of corrections. And then you recast it back on the other side with text-to-speech to produce audio on the other side, borrowing from the original performance. So there are those three key models: transcription, translation, and the text-to-speech on the other side. And you need to fix all the components to make it good. Well, at the same time, I was trying to figure out does anybody need that? So we would email creators of studios saying like, hey, if dubbing was possible automatically and you could take your movie and bring it to all international languages with your own voice, would you be interested? Every so often we would give them like an early version of the samples, and frequently the reply we got was yes, interested, but if you can do that, could you also do just a simpler voiceover corrections for me? Because when I record, let's say even as we record now, after that some of the parts are not recorded properly and I want to fix them, or could you replace my voice from the script just in my original language so I can narrate that without appearing in the script and screen? And that was like a very clear piece where as he dived into the space on research and we dived into the user problem space, it was clear that there's other problems that we can fix first, and we can focus research on one of the components instead of all of those components and actually bring that to the market.
A couple of things. I mean, the class is called Frontier Systems, right? If you notice, what Mati just talked about is the anatomy of what is their intelligence pipeline. Remember last week we talked about the anatomy of how intelligence is manufactured. But he just gave you a breakdown into the system that Eleven was trying to build at the time, which was this cascaded workflow, right? You had the STT, you had an LLM in the middle to do some reasoning essentially, right? And then you had a speech-to-text model the other way around. You had transcription, you had an LLM, and then you had a generative model.
Exactly. Exactly. And like it was still 2022. So this was a year where the topics of the day were crypto and metaverse. So it was still before the GPT moment, the good old days. And LLM translation was still relatively poor. So we were like using both attempts. So like the whole pipeline didn't produce the right result, which was a great piece for us being close to the users, trying to get like what is the actual problem. Because we then shifted, okay, let's fix the text-to-speech, which is the most common denominator of all those problems, and let's fix the voiceover for the creators. And then we've noticed that there's other parts of like just reading the scripts, reading articles, reading books that we can deliver. So in 2022 we decided that the first set of the biggest potential will be the more basic version, which is just bringing text into audio, making it sound human, making it sound emotional, in just English.
So you decided not to innovate on the transcription part or the LLM part, just the last mile which was generation. And you said the mission there was let's try to improve the state-of-the-art in like it had to sound natural.
It needed to sound natural. So the main things that were not possible at the time is you couldn't really replicate a voice with the same characteristics, and two, you couldn't make it sound and follow the entire delivery in the way you would expect. So if you have a fragment of text, say a happy sentence, if you are reading it, you know that it's happy. You deliver that in a happy way. If it's a dialogue sequence in the book, you know it's a dialogue. So when you read it, or a voice actor would read it, you know you need to read it as a dialogue because you have the context of the entire thing. And at the same time, the LLM breakthroughs started occurring where you knew that you could predict the next token based on the previous token. So you could bring that context into account in a smarter way. So that was the first big thing that we knew we could solve. And two, we could recreate the voice characteristics a lot better. So instead of the common approach at the time, which was effectively hard-coding parameters of a voice, right? The gender, the accent, the age of the voice and trying to predict those. Instead, we can keep them more abstracted and let the model try to define what those parameters are. And those two innovations we knew will affect the research side potentially. And then on the product side, we knew that a lot of those people will want to create their longer forms with books and audiobooks, create scripts and turn them into audio, do the corrections on the voiceover for a video. So we knew that we'll need to build a product for making that easy and go all in on helping the creators and of course the API to developers to build with that.
So at this, it's 2022, you've had this clarity now that okay, the state-of-the-art, the frontier we're going to push is this flexibility of the voice, the generation part, right? But it was just you and Piotr. You hadn't raised any money. I don't think so. What did you do first? Did you go and look for an open model? Did you try to go call somebody up and use an API? What was step one?
Step one, we of course were drawing from our savings to get the models off the ground and get that first like are we solving the right problem. And I think the clear thing for anyone here is it was so valuable for us to be as close to the users as possible to keep that interactive loop pretty quick. But then to your point, the main thing as we were actually trying to do the research was of course look what's available on open source, what's available in closed source, and then look for the papers in the space. Are there other innovations in those papers that might have not been applied to audio? And that was the case. The closed source was still lagging, nothing really good, but at the time the hyperscalers, so the Googles of the world, were still kind of leading on the best text-to-speech. Open source was ahead, so you had some inklings of incredible voice models. There was a famous model called Tortoise from an incredible guy, James Betker.
We're going to have James come do office hours in the class for everybody.
Okay. Amazing. But the crazy thing about James, so he was at Google at the time. He was working I think on infra or something unrelated, and in his spare time he was exploring audio and voice and effectively created the best open source model of that time.
On nights and weekends basically.
On nights and weekends, as a side project. And it was finally the model that could produce something that sounded human-like on short fragments. So you could have amazing delivery, the right prosody, the right intonation, right emotions. However, two things weren't possible with that model. One, it took an extremely long time to generate anything. And then two, it was very unstable above that short sentence. So that was a tricky limitation. And then on the papers, there was of course a lot of good innovations coming from the space. The diffusion in 2021 came out. I mean, the transformer was like four years prior to that, but still some of the ideas from transformer were just getting through to the audio space. So we knew that combining some of those ideas, we can potentially take inspiration from open source, take inspiration from those papers, and try a slightly different architecture for text-to-speech and for voice creation of how you create those voices.
Do you remember by any chance how much compute you spent on the first Eleven checkpoint that was inspired by Tortoise?
It was tiny amounts in comparison. It was tiny. So one thing that I recommend if you are looking to start a side project or a company is look through all the accelerator and credits programs from big companies that give you free compute and free credits.
Well that world is gone. There's no free compute anymore.
Okay, except for maybe for this class of students actually.
I should know that before saying this I guess, but there was a great, maybe they still do something, the Nvidia Inception program and a few others like gave us... I remember that. So we... back when GPUs were still available.
Exactly. So like the first ones for us were in like tens of thousands of dollars and that felt big. Maybe it was like approaching the $100,000 category but like still tiny. I remember like in those days the budgeting and saying like optimizing your budget is so important. It's not a compute piece, but I remember us arguing whether we should do a patent for our work, which we decided against. But I remember the lawyer quoted us for the entirety of the patent work $6,000 and we said there's no way we are paying that amount of money for anything at this stage and decided not to do it.
But it seems like not having a patent has not held ElevenLabs back. I think like ultimately, is it even valuable that you're innovating so quickly that it becomes obsolete too? Like would you ever want to stop innovation from the other side? So likely not. Do you do it as a defensive measure?
So like then we learned about the whole patent trolls industry, that other people will try to attack you with their own patents that aren't great but just waste your time. So like do you do that? Then we decided like no, we'll just fight those cases anyway. So it didn't stop us. But bottom line, so small models in comparison, they were like in hundreds of millions parameter models at a time, if not lower. So that was relatively small text-to-speech models. And you asked earlier, just to give you a quick, so that was 2022. And then the common facet across ElevenLabs is we continued across research over the last years. So the models of course got bigger and that applied across the entirety of audio. So we did text-to-speech model to start, then built a transcription model or speech-to-text model to understand what's happening on the audio side. The wider set of how you bring those models together in AI dubbing, how you bring those models in interaction. So how you bring a conversational tissue around the speech-to-text, the LLM, the text-to-speech together, and even expanded to music. So entirety of audio and how voice models or audio models work together with other modalities. And then alongside build a platform that helps businesses and developers or solo creators transform how they interact with their audience or how they interact with their people through agents and support and sales, with creative tools and marketing and storytelling. So how you can create that interactive tissue between an entity and the audience it serves. And that's like the common piece as a...
I forget when it was because these timelines are so blurry now, but there was a moment where I woke up to like six different people texting me a link to a tweet of a speech by Javier Milei, which had been completely dubbed with ElevenLabs. I feel like everything changed after something changed. What happened?
Yeah. So to give you a rough timeline year by year of how audio models develop. So 2022, first breakthrough, which my co-founder, who is like the smartest researcher in the space I've got to know, was finally able to bring into the field of how you get that context, get that tonality out. So that was 2022. 2023 is where you started seeing expansion around the wider voiceover, wider narration space. So you could use text-to-speech model across languages, create more voices. We created the ability for people to recreate their own voice in high quality, created a marketplace around that, and a wider set of creative tooling to help you with the audiobooks for authors, creative tooling for authors. Then 2024 finally brought good transcription models combined with the LLM for translation combined with the speech generation. So you finally had the AI localization version. So that was the Javier Milei speech. So the project was... there's like a few versions of that. He delivered his speech at the UN and we brought it from Argentinian into English so people could listen to that while still having his iconic delivery. And then at the same year we worked with Lex Fridman on the full conversations that he had with different world leaders. So Javier Milei of Argentina all the way through to President Zelensky of Ukraine, to later on with Narendra Modi of India where you could hear both of them speak that language, which was a new opening. So that was 2024. And then 2025, what happened is you could finally roughly have those models act in a real-time basis. So you could create more of the interactive voice agent experiences where you could, you know, you mentioned the kind of the frontier system architecture of combining the stack. The same kind of stack applies in the voice agent combo where you can have this cascaded architecture of having speech-to-text transcription, then you have LLM to generate responses back, and text-to-speech to narrate it. So if you are speaking to a voice agent, then it can predict are you stopping the sentence, start generating the response, and all of those components can work in tandem to create that experience. So that was 2025, and I think 2026 we'll see an extension of that of how maybe cascaded, I'm going too much into detail, but cascaded go to fused or cascaded continual, cutting the latency to be great. But back to your question, the first great AI dubbing experiences were in that static context in 2024 and were really good.
So thank you for the cheat sheet on how we got here. About a year ago, you and I started talking about, okay, where does the space go next? And I remember you saying, and I think, you know, we've had this cascaded system so far, but now we're starting to see what people want to do with it. And a big part of what people want from a capabilities perspective is sort of deeper reasoning from these systems, right? Especially an audio agent that can understand the tone, the voice, the inflection, the accent of what's coming in, because you lose all that context when you transcribe just pure audio. I remember you saying that there were going to be more and more either some forms of unification of these modalities or some new breakthrough where we try to combine these into omni models. Where are we right now in terms of how far are we from these? Like when I talk to, you know, James Betker is a good example, Mati just talked about James. Shortly after open-sourcing Tortoise TTS, James went to OpenAI and worked on ChatGPT advanced voice mode. And when I talk to the ChatGPT advanced voice mode, it still doesn't understand if I'm angry or sad. If I said the same word, the same sentence in a really angry way or in a sad way, it just transcribes it. And the audio understanding, the semantic understanding of the audio is very limited. Why is that? And what is it going to take to make the systems more capable of understanding what's coming in? Does that make sense?
Makes sense completely. And it's, you know, one of the huge questions, and we kind of changed our own perspective over the last couple of years, like what is the right approach across the different domains, across other fields. So to Andre's point, you know, when you have a cascaded architecture, frequently what would happen in the past, you would transcribe just the text element, pass it over to the LLM to generate, and then of course you would narrate that on the other side. Now of course that's a relatively poor version of that. What you could theoretically do is still try to capture a lot more of that information. And now generally you have those two approaches as you think about the future. One is you continue on the cascaded side. So you continue with the three different models and potentially think about how they can be improved to continue bringing the right context, optimize latency, continue reliability. Or you can think about training a model together where you kind of combine all of them together, and then you can think in between where maybe you try to create a transcription and the LLM at the same time but keep the other side separate. So there's like everything in the middle. So it's not a truly binary choice, but that's the big question many people on the audio side will be alluding to, like do you go the fused approach where you train them all together and generate effectively, when I say something, the voice agent automatically generates a speech token and it doesn't go through text, or do you go through text like where we are today? As we think about our approach to the space, as we think about the enterprise, the business use cases where the reliability and the smartness and the intelligence of the model is one of the key things, we think the cascaded approach is the right thing for the next few years. And if you are thinking about places where maybe the reliability isn't as essential but the speed is, we think the fused approach will be. And as in so many of those cases, probably within a given customer you'll probably want to blend and use a little bit of one model and the other depending on what you are solving for.
Now to the actual question. We think so there's like kind of those three key parameters: the quality or the emotionality of the speech and the experience of the interaction; two is the reliability, does it interact, not hallucinate, call the right tools behind the scenes in the right way; and then the latency. We think emotionality is fixable in both approaches. So we hope that later this year already, when you are speaking with a voice agent, you're excited, the agent can respond in an excited way. If someone is calling in stressed, the agent can respond in a reassuring way. And we actually just released a new version in our voice agent work which is just trying to do that, trying to detect the emotions on the transcription side, pass that over to the LLM, use that as the context, and then generate a response accordingly. And that was one of the big breakthroughs on our side to create this expressivity, to be able to have this expressive mode finally work. What happened behind the scenes to make this possible? And what was the hard thing is you didn't have that much data that could tell you is that delivery peppy, sad, stressed. So over the last year we were effectively investing a lot to create this whole labeling exercise to be able to create data to train that model and control it. So finally we think you have the expressivity, and the second part is you can actually make it controllable. So you can define what type of experiences should happen based on those emotions.