S10 Bonus: The Real-Time Language Breakthrough: Eliminating Call Center Friction and Building Future-Proof LLM Infrastructure with Heiki Riesenkampf, Founder of Commonbase [0:00:00] Heiki Riesenkampf: People ask me, why did I go into machine learning when I was able to do research in any part of computer science? I personally always felt that machine learning was the one part of computer science where if you showed someone what state-of-the-art was able to do, an average person that didn't know how it worked, they would always feel like it's magical. I feel like that magic that machine learning has, it's still there. That's the reason why I love that space so much. That's the reason why I've stayed in that space so much. That's the same principle that I apply to the products that I build. My name is Heiki Riesenkampf, and I'm the founder and CEO of Commonbase. [0:00:46] Noah Labhart: This is Code Story, a podcast bringing you interviews with tech visionaries. [0:00:52] Clip: Six months moonlighting. like the back [0:00:54] Noah Labhart: hands who share what it takes to change an industry i don't exactly know what many goes to get right who built the teams that have their back company is [0:01:05] Clip: its people the teams help each other she was proud of her team keeping [0:01:09] Noah Labhart: scalability top of mind all that infrastructure was yes we've been fighting it as a group total waste of time the stories you don't read in the [0:01:17] Clip: headlines it's not an easy thing to achieve took off the shelf and dusted it off and tried to begin [0:01:22] Noah Labhart: to ride the ups and downs of the startup life. [0:01:26] Clip: You need to really want it. It's not just about technology. [0:01:29] Noah Labhart: All this and more on Code Story. I'm your host, Noah Labhart. And today, how Heiki Riesenkampf has made a way for you to talk to your customers by translating your speech to their language. Heiki Riesenkampf is from a tiny country called Estonia, later studying computer science in London and doing his postgrad in Zurich. He has been into machine learning since before all of the hype it has now. Outside of technology, he dreams of being a macro-economist and spends a ton of time reading about the topic. He lives in New York now and frequently takes in the architecture, fashion, and local art scene. Previously, Heiki spent time working for a VC, eventually building a product in a completely different domain. After personally realizing that he didn't want to be known for the product he was building, he pivoted towards building something that impacted him personally as an immigrant. This is the creation story of Commonbase. [0:02:38] Heiki Riesenkampf: Commonbase today is a universal speech translator. We help people speak any language in real time and help people connect with each other across language barrier and also cultural barriers. The company was started last year. After having spent some time working on the initial product, I realized I didn't want that to be my life's work. That's after having moved to the US. I realized that my unique lens, my unique personal experience led me to discover the, the language problem, especially being here as an immigrant and realize that, hey, this is something that I have personally felt throughout my life, needing to adjust to different languages and cultures. And this is something that I want to see as my life's work. And so that's the story of how I got to what I'm currently working on. [0:03:45] Noah Labhart: So tell me about, and this will be super interesting. Tell me about the MVP for Commonbase. And this is the second version. Obviously, there's going to be technological overlap, app like we talked about, but the MVP for what Commonbase is now. How long did it take you to build and what sort of tools were you using to bring it to life? [0:04:05] Heiki Riesenkampf: The very first version of Commonbase was built on top of third-party APIs. If you think of the problem of speech translation, you have different ways of solving the problem, but at a high level, you need to take the existing existing speech, you need to transcribe it into text. You need to take the text, translate the text into another language, and turn the translated text into speech again. So that is the initial pipeline of how we built the first version of the product. And the different tools that we relied upon was Twilio for connecting phone calls. And we ended that I've gone with Deepgram for the speech transcription. Now we're using Llama run on Groq for the translation and we're using ElevenLabs for the speech generation. So that was the stack for the initial MVP that was just to prove the point that real-time speech translation at a very simple level is possible in 2024. [0:05:16] Noah Labhart: So let's stay on that MVP for a minute. With any MVP, any version of a product, you have to make certain decisions and trade-offs around how you're going to approach it. And I hear you saying you approached it to prove the point. Tell me about some of those decisions you had to make, feature cut or approach or tech debt acceptance, all those things, and how you cope with those decisions. [0:05:38] Heiki Riesenkampf: I built the product in a developer environment that I had never used before. I used Replit in order to build the very first version. And Replit was always known as a kind of education tool. What I liked about Replit, how easy it was to invite other people to basically check out your code and basically help you reason about the code. And so that was an interesting tool. I'm pretty sure that we will grow out of Replit, but I just want it to be as scrappy as possible and as collaborative as possible. And so that was an interesting choice that I do not regret making. And probably on the photo stack part, I decided to use Twilio instead of basically building a web-based application because a regular phone call is such a standard format for initiating an audio call. I would say looking back at it, I probably would have preferred to build it on top of like two different browser sessions instead of complicating things with bringing the phone connection into it. [0:06:47] Noah Labhart: So you've got that version, you've proved the point. And I know it's still early days, but how are you maturing and progressing the product from there? And I think I'm curious about how you build your quote unquote roadmap. map, right? And how do you go about deciding what is the next most important thing to build or to address? [0:07:05] Heiki Riesenkampf: Our product is very different from your average SaaS application. We will or are already becoming a research heavy company. I told you that the first prototype was built on top of of third party services. We're now in the process of fine tuning our own machine learning models to do the same pipeline end to end. The next iteration of that would be to actually build our own end to end model that we will definitely based on some of the existing research papers that do end to end speech to speech translation. But all of that is a very active research areas. I know which step we're going to take in terms of increasing the risk and complexity of the machine learning pipeline step by step. But it would be very hard for me to predict how long it would take us to prove each step of the way. And regarding the APIs or how our customers are going to connect to the core piece, which is the speech-to-speech translation, I feel like that part will likely stay relatively stable. And most of the efforts are going to go into just building the best-in-class speech translator. [0:08:33] Noah Labhart: So how are you going to go about building your team? What do you look for in those people to indicate that they're the winning horses to join you? [0:08:44] Heiki Riesenkampf: This is the third venture-backed company that I'm now building. So I feel like I have plenty of battle scars and tiring mistakes from my last two ventures. My motto for building an early startup team is lean and mean. And what I mean by lean and mean is hiring people that punch above their weight. I do not care about pedigree. I mostly care about people being on board with the mission and willing to work hard and having a very tight knit of engineers that come to the office every day and have as high information sharing and collaborative environment as possible. And so if you ask me in a few words, what do I look for in an early hire? It is excitement. It is willingness to work hard and definitely low ego because it just makes the collaboration a whole lot easier. And so that will be like a short answer. [0:09:50] Noah Labhart: Given all of your experience and, you know, you were doing machine learning before it's cool, right? So you've been around this space for a while. approach scalability? And, you know, I heard the tools you were using and things of that nature, but was this built to scale from day one? Or are there interesting areas where you're fighting it as you grow? [0:10:13] Heiki Riesenkampf: I feel like when it comes to scaling machine learning models or architecture, we're still very much in the early days. I feel like most companies are still writing their own infra once they get to the stage where they need to scale either their training infrastructure or scale their inference infrastructure. There are tools built by big tech to make that simpler, but typically you run into limitations relatively quickly. And so, so far, I see most companies having to roll some version of the infra themselves just to fit their very We plan to try to rely on kind of the cloud providers as long as possible. I don't want to build my own GPU cluster. I think that's a waste of time for most machine learning companies. So unless you're building an LLM that costs you 10 millions or more to train, I think you're much better off relying on someone else's infra and not take on that DevOps responsibility yourself. rely on the GPUs that we get from the cloud providers in the early days. And yeah, you know, you asked, have I seen the challenges? Yes, I've seen the challenges, but I feel like two years in the machine learning infraspace is an eternity. And so there will definitely be, you know, new frameworks that we'll have to use or will be new platforms that are probably going to be better pricing than they were a few years ago. And yeah, rely on your past experience, DrivenSpot approached every problem with a fresh mind and willing to be surprised by something new, better, making more sense than what made most sense two years ago. [0:12:07] Noah Labhart: So as you step out on the balcony and look across all that you've built thus far with Commonbase, what are you most proud of? [0:12:16] Heiki Riesenkampf: The optimizations that have gone to improve the latency of our very first product. Every customer call that we have, latency is always a question that comes up, and it's always one of the main parts of the conversation. If you want to have real-time translation, it's always a question of, right, like, what is real-time? Is 2,000 milliseconds latency real-time? Is 1,000 milliseconds real-time? When we initially got started, we had a very, let's say, flaky infra in terms of how we scale different streams, how we patch things together. I think I'm proudest of just very sober engineering decisions that led to much more stable infrastructure, that led to quite a lot of improved latency just from optimizing using kind of 80-20 analysis. And so trying to reduce networking time, trying to reduce the total number of API hops that we need to do between the API providers and our servers. I think I've applied 80-20 very well and gotten a lot of bang for and not too much of an engineering effort. That's probably what I'm proudest of. Not over-engineering. the early version of the product. [0:13:51] Noah Labhart: Okay, let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it. [0:13:59] Heiki Riesenkampf: We had this bug where the longer the call got, the longer the delay in the original speech and translated speech. We could not figure out where that came from. It was a very strange bug. there's a memory leak but then we're using TypeScript that is our stack so I was a little bit surprised if it had been something that I would have had control over and I threw a lot of weird different things against the wall to try to like chase it down. I knew that there was a feature that I added very early on which was saving the raw audio from both calls into an audio buffer and then saving the file ourselves at the end of the call. And I never thought that such a simple functionality could be the cause of this delay. But then after a month of debugging and just like scratching my head, I just removed two lines of code to build the audio buffer up during the call. And all of a sudden the delay was gone. And I was like, damn, that was literally like should have been the first candidate to chase down. I personally feel like those things are much easier to find if you describe your problem and bug to an engineer that has nothing to do with the code. So basically rubber ducking the bug with another engineer. That's probably one of the costliest mistakes in terms of customer questions and dissatisfaction in terms of not amazing demos to date. And that could have been totally avoided had I just approached the bug with someone with a fresh look at the problem. So, yeah, collaborate more. That's maybe the ethos of the story. [0:15:56] Noah Labhart: So this will be fun. It's early days. You are building a product that you're excited to be known for now after the pivot. Tell me about what the future looks like for the product and for your team. [0:16:08] Heiki Riesenkampf: So right now, I am heads down heavy building mode. So we are trying to get our own model out of the door and replace the existing setup, while at the same time trying to improve our own infrastructure further. And so now we're at a stage where, in addition to building on a daily basis, we are also trying to hire and expand the team here in New York. Our office is located in Soho and we have an in-office culture. And so right now I'm spending quite a bit of my time on interviewing early hires. we are hopefully about to close our technical lead position and i'm interviewing a few machine learning researchers to start work on our own models it's really a combination of building and then hiring to just have a best-in-class product that would basically let's say never fail to wow the customer away once we get to that stage of the company and so i think we're going to be heads down building for the next three to four months and then likely raise the next round in order to start getting even more serious about the research and the training our own models part. Anyone building something early stage, I strongly believe that even the early versions of your product could wow the customer. And if people ask me, why did I go into machine learning, when I was able to do research in any part of computer science, I personally always felt that machine learning was the one part of computer science where if you showed someone what state of the art was able to do, an average person that didn't know how it worked, they would always feel like it's magical. I did research on some like early image generation algorithms using GANs time I would show what I was able to generate back in like 2017 using a neural network, people were blown away. I feel like that magic that machine learning has, it's still there. And that's the reason why I love that space so much. That's the reason why I've stayed in that space so much. That's the same principle that I apply to the products that I built. I really want them to to blow people away because that's the only way how to stay apart from the competition and in the sea of boring SaaS apps. [0:18:56] Noah Labhart: Okay, let's switch to you. Who influences the way that you work? Name a person or many persons or something you look up to and why. [0:19:04] Heiki Riesenkampf: The first person that comes to my mind is 100% my mom. My mom has always been one of the biggest inspirations in my life. to her because I just feel like she has always done a great job of being very high EQ and always understanding what makes people tick, but also at the same time just being a very kind and hard-working person. That's definitely my idol number one. I think like on a second spot, I would probably just like generally name like a few very close friends of mine that are all in similar spaces like I am building tech companies. And I feel like I have this group of four, five friends that I can bounce any problem off in my life, be it a personal problem, be that a relationship problem, be that a health problem, be that a work problem. They will always take the time to help me out and vice versa. And I feel like those people People have been with me for years, and I'm sure that we're going to be there for each other for many years to come. And so I would say that small group of friends is definitely my inspiration and support rock number two in my life. [0:20:22] Noah Labhart: Okay, so last question. So you're getting on a plane, and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world, and can't wait to show it off to you right there on the plane. What advice do you give that person, having gone down this road a bit? [0:20:37] Heiki Riesenkampf: The same thing that I mentioned before. I want to see why they care about the problem. And I want to see how either the product blowing me away or their enthusiasm about the problem and how they're solving it blowing me away. We live in an extremely noisy world. And so every entrepreneur out there needs to somehow stand out from the sea of mediocrity. And so I think really the two ways how to do that is either build something amazing or just be so excited about what you are about to build to make people excited to join your journey. Be that as a fan, be that as a customer, be that as an employee, be that as an investor. But basically, just blow people away with the first interaction and make the world come along with your vision and mission. [0:21:39] Noah Labhart: That's fantastic advice. I certainly agree with that. Well, Heiki, thank you for being on the show today and thank you for telling the creation story of Commonbase. [0:21:48] Heiki Riesenkampf: Yeah, thank you so much for that, Noah. [0:21:51] Noah Labhart: And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcast, Spotify, or the podcasting app of your choice. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.