# ⚡️ A Worm With 302 Neurons Inspired Their Architecture — Ramin Hasani, Liquid AI

- **Show:** Latent Space: The AI Engineer Podcast
- **Published:** 18 Sep 2026
- **Source:** https://www.youtube.com/watch?v=V_9TCu_21SE
- **Transcript:** https://podcasts.opennash.com/shows/latent-space/a-worm-with-302-neurons-inspired-their-architecture-ramin-hasani-liquid-ai-b18b57/
- **Provider:** OpenNash Podcasts (machine-generated)

## In brief

Liquid AI's CEO Ramin Hasani argues that the best AI architecture is not a single winner but a mix, found by automated search for a specific chip and job. What began as maths inspired by a 302-neuron worm now produces small, fast models for laptops, phones and cars. The pitch is cheap intelligence outside data centers.

The tension is between elegant theory and practical scale. Recurrent, continuous-time systems are efficient but hard to run in parallel, and simplifying them costs expressiveness. Liquid's answer was to search over hybrid designs. The business tension is that real on-device deployment is hard, so Liquid moves from hands-on design partnerships toward a self-serve customization platform.

## Key insights

1. **A worm's neurons inspired Liquid's math** C. elegans has only 302 non-spiking neurons yet controls 95 muscle cells. That graded behavior let the founders model neurons with differential equations that can still be trained by backpropagation, the standard way networks learn.
2. **Linearizing recurrent models trades away expressiveness** Making nonlinear recurrent systems linear, as state-space models do, lets them run in parallel on GPUs. Hasani says the cost is weaker handling of long-range dependencies, especially in language.
3. **Liquid searches for hybrid architectures automatically** A search system tries operator mixes such as convolutions, attention and liquid layers. It optimizes quality, memory, latency and speed for a given chip. LFM2 came out as roughly 80% convolutions and 20% attention.
4. **On-device AI is mainly about cost** Hasani says about 90% of phone AI calls go to the cloud today. Running models on the device saves serving costs and adds privacy and offline use. A roughly 600 MB model is planned for Mercedes-Benz cars.
5. **Enterprises need continuous customization, not static evals** Hasani says about 80% of enterprise proofs of concept never reach production. He argues that new data and shifting demand make fixed evaluations obsolete, so models must keep adapting.

## Questions this episode answers

### Why would an AI company build on a 2-millimeter worm?

The worm C. elegans has only 302 neurons that don't fire in spikes, so they behave like artificial neurons. Hasani says this made it practical to turn its neuron dynamics into maths that can be trained.

### What is a liquid foundation model (LFM) in simple terms?

It is Liquid AI's family of general-purpose models, built from a mix of operators found by automated search rather than a pure transformer. Hasani says the models are designed to be small and fast on specific hardware.

### Why do phone and car makers want AI to run on the device?

Hasani says the first reason is cost, since serving free AI to hundreds of millions of users from the cloud is prohibitive. Privacy and offline use also matter.

### How does Liquid make money from these models?

Hasani says Liquid starts with paid design-partner projects where an applied ML team customizes a solution. It then charges yearly licenses, per device where relevant, and is building a self-serve platform, currently in beta.

### Does Hasani think the transformer's attention mechanism will go away?

No. He says attention is definitely one element you need and that people will live with attention-based systems for a long time. He expects it to be combined with other parts like hardware awareness, customization and embodiment.

## Facts

- **Ramin Hasani** [0:02:41]: "with 302 neurons, it could control 95 muscle cells better than any robotic systems that we had on the planet"
- **Ramin Hasani** [0:00:39]: "We started back in Vienna University of Technology. It's called TU Wien."
- **Ramin Hasani** [0:04:42]: "she reached out to my professor in Vienna and then she's one of my co-founders as well"
- **Ramin Hasani** [0:03:19]: "And so far it has won four Nobel prizes for humanity, you know, so you can imagine like scientists are really lucky to study this animal."
- **Ramin Hasani** [0:13:44]: "There's a paper that we published on just the science of this thing. It's called the STAR. It's called the synthetic architecture"
- **Ramin Hasani** [0:13:44]: "minimizing the memory consumption, minimizing latency, and maximizing the speed of computation."
- **Ramin Hasani** [0:14:35]: "Liquid Foundation model version number one was the first instance that came out of this architectural search. It had some elements of convolution, some elements of attention,"
- **Ramin Hasani** [0:15:07]: "the architecture is basically 80 % double-gated convolutions, you know, 1D convolutions, plus some group query attention, basically 20 % of group query."
- **Ramin Hasani** [0:16:20]: "We scaled these models from tens of millions of parameters now to 70 billion parameters."
- **Ramin Hasani** [0:19:16]: "300 million AI PCs are getting generated on the planet like every year."
- **Ramin Hasani** [0:21:19]: "So these are 90 % goes to the cloud, 10 % on a device."
- **Ramin Hasani** [0:23:01]: "Like Mercedes-Benz is one of our clients. What we do in the car kind of space, we bring in-car intelligence."
- **Ramin Hasani** [0:23:52]: "So this model itself is about 600 megabytes. So imagine if you have a 600 megabyte intelligence that goes inside every car, you can do an over-the-air update or OTA."
- **Ramin Hasani** [0:24:12]: "it's going to be on all North America Mercedes-Benz cars. that are Generation 3B are going to have the first deployment at scale of AI actually inside the cars."
- **Ramin Hasani** [0:25:26]: "It seems like clients are really enjoying those features. And now we are exponentially at over a billion requests per month."
- **Ramin Hasani** [0:26:04]: "they have an overall over 40 millions of downloads and we have like 1.5 about 1.5 million downloads per week"
- **Ramin Hasani** [0:26:24]: "are between 100 million parameters to 24 billion parameters and these are a mixture of expert kind"
- **Ramin Hasani** [0:28:07]: "But robotics has been something that we deliberately kind of put it on pause day one."
- **Ramin Hasani** [0:32:55]: "and then once the solution is built, then we deploy the solution and then we charge licenses on a yearly basis,"
- **Ramin Hasani** [0:40:04]: "We've worked probably with 200 of the Fortune 500 companies like so far."
- **Ramin Hasani** [0:40:41]: "The POCs, 80 % of them do not hit the production kind of level."
- **Ramin Hasani** [0:49:21]: "You know, like they're very effective in audio, but on text, they suck. You know, like SSMs, like they don't work like really well on text."
- **Ramin Hasani** [0:54:32]: "when can everybody actually use something like this? At that time, 2017, he told me 2035."
- **Speaker 4** [1:03:53]: "which is modular. They just got bought, went to Qualcomm. They just released the 1.0 open source."

## Transcript

**[0:00:03] Speaker 4:** okay we're in a remote studio with our new head of editorial richard say hi hi everyone dialing in from the uk and ramin uh ceo of liquid welcome thanks for having me most people when they've heard about liquid they they know about lfms or they've heard of lfs they maybe haven't personally tried it the other interesting i guess public data point is that it is very inspired by worm DNA or something. I never really pay much attention to that because obviously I think that's an analogy, but you can tell us how seriously to take it.

**[0:00:36] Speaker 4:** Yeah, absolutely. Well, you know, like when we started

**[0:00:39] Ramin Hasani:** our kind of research about 12 years ago, we wanted to see if we can bring inspirations from brains back to machine learning. So that's where everything got started. And then when we started looking into human brain, we realized like, when I say we, my current CTO and myself, We started back in Vienna University of Technology. It's called TU Wien. And then, so I started my PhD. My co-founder was a master's student there. And then what we wanted to do, we wanted to understand how we can bring in like continuous time math inside machine learning kind of system.

**[0:01:12] Ramin Hasani:** And that's what we did. So we basically look into neurons, how neurons exchange information with each other. And then this was governed by very simplistic first order differential equations. and that's kind of how the nervous system dynamics are actually working at the level of neurons and synapses. And then our first focus, we wanted to start with human brain, but human brain has like spiking neurons and it's very difficult to actually learn. Like we still don't know anything about human brain, how computation actually happens.

**[0:01:43] Ramin Hasani:** We know a lot more now about a fruit fly's brain, but we don't know that much about human brain. But I can tell you that we got to this animal because we wanted to do it first principles. We got to this animal, C. elegans worm, which has only 302 nerve cells in its body. And it's like, it has like two, it's two millimeter long. And one of the nice thing about the worm

**[0:02:06] Ramin Hasani:** was the fact that its neurons behave very similar to artificial neurons. They don't spike, you know? So that graded kind of behavior in these neurons of this animal,

**[0:02:18] Ramin Hasani:** it's called in neuroscience, they call it electrotonic behavior of a neuron, you know, like the neurons do not spike. And that behavior was very, very interesting for us, because if you build systems inspired by the brain of this worm, you would be able to build like very continuous time kind of systems and they're differentiable. So you can, you can do backprop and all sorts of other things on top of these things. So this was, this was the model organism that we were looking at.

**[0:02:41] Ramin Hasani:** At that time, the most fascinating thing for us was that with 302 neurons, it could control 95 muscle cells better than any robotic systems that we had on the planet, you know, and this is 2016 and 2017. So then we thought that, okay, so, and also another thing, another interesting thing about the worm is the fact that 600 million years ago, we got split, humans actually got split from this worm in the tree of evolution, you know, so it's actually like whatever, whatever neuroscientists are discovering about the brain of this worm or the cell structure of this worm is actually transferable like to, to humans as well, to some extent, 78 % similarity to human genome, you know, so it

**[0:03:19] Ramin Hasani:** is actually a very, very important worm for us. And so far it has won four Nobel prizes for humanity, you know, so you can imagine like scientists are really lucky to study this animal. So it's a very, very popular animal, you know, and that's why,

**[0:03:33] Ramin Hasani:** like, that's our research. We started even working with neuroscientists, you know, themselves that

**[0:03:37] Ramin Hasani:** are working on this brain of these neurons. So long story short, we mathematically modeled how two neurons exchanging formation based on the inspirations that we know and the things that we know about the brain of the worm. And then we got those mathematics and we built something called

**[0:03:52] Ramin Hasani:** liquid neural networks, liquid time constant neural networks. Liquid was like basically liquid for flexibility. Because one of the things that we realized is that these are highly non-linear

**[0:04:02] Ramin Hasani:** systems governed by differential equations in a forward pass, and they are differentiable so you can actually run them backward pass and you can basically learn them like really nicely. Because

**[0:04:13] Ramin Hasani:** of the multiple feedback structures that they had, they are

**[0:04:17] Ramin Hasani:** really representation learners. They learn representation from data really, really well. One of the things that we realized is that with a small subset of these neural networks, you can control robots very similar to how the worm itself was doing it. And when I say small subset, we were talking about tens to hundreds of neurons. We were talking about very, very small subset of neurons. And then we got very excited, so we started applying these things to controlling robots.

**[0:04:42] Ramin Hasani:** On the robot, you don't have that much compute. So you bring like intelligence, like the fact that you can actually pack that much intelligence to control autonomously a kind of behavior inside a robot, that was like a very attractive feature for us. So efficiency of this competition and bringing intelligence into like smallest kind of unit of compute, that has always became kind of a research topic for us. And then 2017, Professor Daniela Rousse of MIT C-Cell, So she's my, so she reached out to my professor in Vienna and then she's one of my co-founders as well.

**[0:05:15] Ramin Hasani:** She's the mother of robotics, arguably. She's like, she has done tremendous contributions to the field of robotics and distributed robots and soft robots as a whole. She started learning about our research and then she was like blown away. And she said, okay, you guys, would you guys consider coming to MIT and continue this research in real world? Like really applying this technology into, let's say, cars and drones and many, many different kind of vehicles. and we were like both Matthias and I, we joined MIT.

**[0:05:41] Ramin Hasani:** So since 2017, I've been like working with Daniela, I met my fourth co-founder, Alexander Amini. So Alexander was a PhD student at that time at MIT. So Matthias and I, we're both there and the four of us since 2017 started working on these topics of, again, continuous time dynamical systems and continuous time learning systems and then the scaling of all of these things, applying them into many, many different domains, predictive like sequence models, like sequence modeling became kind of our thing.

**[0:06:10] Ramin Hasani:** You know, like we started like doing contributions and then, you know, like in this field of continuous time, it became a little bit better because a lot of other researchers from different places, like from Yoshio Bengio's lab, David Dubinand's lab, like from University of Toronto. And then there was some people from Stanford. Everybody was contributing to this field of continuous time dynamical systems, you know. And this was like, imagine recurrent neural networks that are discretized kind of dynamical systems, you know, that are basically computing one step at a time computation, but the time difference between one step to the other step, it doesn't kind of change that much.

**[0:06:47] Ramin Hasani:** But this type of continuous time dynamical systems allows you to have like a little bit of control also over when events are happening in a discrete way,

**[0:06:57] Ramin Hasani:** you also account for the time between the events that are happening. So sequences that are continuously evolving,

**[0:07:04] Ramin Hasani:** you have like a lot more adaptability in the time dimension as well. You see, so that kind of aspect of recurrence and feedback kind of calculation, this was kind of the intuitions that we brought to machine learning. Again, not only us from the MIT side, but also like a lot of other kind of people were simultaneously working on this with the topics such as neural ODEs, state space models. You know, like you can think about like all these other names that people started like putting on top of like these dynamical systems as a whole, you know.

**[0:07:35] Ramin Hasani:** So, and then what we tried to do then, then it was time around 2020, everybody was talking about scalability, you know, at the time, everybody, like from the MIT side, we were competing with the OpenAI's of the world and Google's of the world, like from a research point of view, like we were putting algorithms that are efficient and then perform really, really well in new learning scenarios in the robotics environments. Because if you remember, between the 2017 and 2020, OpenAI was very active in reinforcement learning and also like doing a lot of robotics, like OpenAI Gym, like for example, like some of the things that they were putting out.

**[0:08:09] Ramin Hasani:** So we were trying to like get creative around like controlling of robots with this type of continuous time algorithms and showcase how you can actually take learning to out of distribution, you know, like how can we have learning systems that are small, but at the same time they can take, they can do a lot better in out of distribution generalization, you know? So that was like the whole thesis that we were. But then we started thinking about a scale, because everybody started thinking about a scale as well because we wanted to evolve from this worm-inspired kind of intelligence to something that is more complex and get into human understandable signals, like with audio vision and text

**[0:08:46] Speaker 4:** being a corpus of data that we cared about. So as soon as we start scaling continuous time

**[0:08:54] Ramin Hasani:** and recurrent kind of highly nonlinear loops, as soon as you start scaling them,

**[0:08:59] Ramin Hasani:** you realize how difficult it is to perform computation. You know, like it becomes really, really computationally not tractable. So it becomes very difficult to compute.

**[0:09:07] Ramin Hasani:** So you need to get creative around how to scale these kind of systems. Recurrent neural networks have been like, their major blocker has been sequential computation. You know, so you kind of like parallelizing recurrent operators when they are nonlinear, it's really difficult, especially on GPUs. This is one of the beauties of transformer architecture because they're unbiased. They are basically matrix multiplications

**[0:09:29] Ramin Hasani:** and you can actually scale them like the hardware lottery. That's the beauty of the transformer architecture for scale and for unlocking general purpose behavior. But the recurrence itself is so attractive

**[0:09:40] Ramin Hasani:** because the computation doesn't explode. Because if you think about attention,

**[0:09:45] Ramin Hasani:** when you consume more and more data, you are exponentially kind of the quadratic cost of attention is something that people have paid attention to. So we've always realized that recurrence

**[0:09:55] Ramin Hasani:** is actually bringing this computation lower and they make it sub-quadratic or linear, you know, closer to linear kind of competition. As you consume more data, so these algorithms are more efficient. But this is only theoretical. So if you cannot really scale and do the operations in parallel, you cannot scale these systems, you know. So one of the things that we tried was one way to solve for these kind of nonlinear systems to become linear is to linearize them.

**[0:10:22] Ramin Hasani:** When I say linearize them, you dynamically, like you reduce all the nonlinearities of the system so you can apply linear algebra tricks on the system so that the system actually becomes computable. You can perform operations, linear algebraic operations in parallel. You know, so that's something that, for example, state-space models are linear version

**[0:10:45] Ramin Hasani:** of recurrent neural networks, and they lost kind of that non-linearity, non-linear relationship between the parameters. The reason behind why do you want to do that? Because you want to make a scalable computation. So SSMs are becoming very popular version of a dynamical system or a learning algorithm

**[0:11:04] Ramin Hasani:** because you can now parallelize some other form of operations as well. You know, like not just attention, but you can have like parallel scan and you can apply linear algebra tricks, as I said, to scale another format of operations like very much. So linearizing this dynamical system allowed us to scale, right? So if you think about the SSM view, but the problem again, what arises is that Like there is no free launch in computer science, right?

**[0:11:28] Ramin Hasani:** So when you linearize complicated dynamics, you're losing expressivity. So the system is not going to be as expressive as it's nonlinear form. Then we realize like when we apply, let's say this state space models like to solving language problems, they are having like troubles to learning like dependencies at long contexts.

**[0:11:48] Ramin Hasani:** They can compute really efficiently, but they cannot express very efficiently. So the expressive power of these neural networks always fall short of transformers. So with all the nonlinear kind of mathematics that we learned from liquid neural networks, we learned from dynamical systems, we learned from SSMs, we learned from convolution neural networks, you know, there's many different variations of operators that you can bring in together to build a general purpose computer. With everything that we learned, we thought that, okay, so you know what?

**[0:12:18] Ramin Hasani:** Let's not put ourselves into a biased way

**[0:12:21] Ramin Hasani:** to go and say, all right, so our architecture is like the holy grail and everybody has to start like building an alternative architecture and then put a bet on a single architecture.

**[0:12:30] Ramin Hasani:** What we thought day one at Liquid, this is like about three years ago, what we did at Liquid, we started bringing Avengers of alternative architectures

**[0:12:39] Ramin Hasani:** like all in one place. You know, like we had, like, as I told you, like people from Yashu Avengers Lab, from Stanford, from MIT, like they're all inventors of various types of technology.

**[0:12:47] Ramin Hasani:** There was hyena hierarchy. There was a state space models like Jimmy Smith of Stanford and ourselves like on Liquid neural networks. So we brought all of these teams into one place and we said, let's build an unbiased way. Let's build a meta AI system that searches through the operation space. So we build a meta AI system that searches through operators of interest, given the deployment environment. Imagine you want to deploy these solutions on a GPU or NPU.

**[0:13:13] Ramin Hasani:** So we applied basically this massive search algorithm on top of building hybrid architectures that allows you to optimize four things.

**[0:13:25] Ramin Hasani:** Number one, no sacrifice on quality. So there are a bunch of quality metrics like reasoning capability, language understanding, knowledge. There's so many different kind of things that we want the model to do. There are a hundred different criteria. We thought that no sacrificing quality against the pure transformer model.

**[0:13:44] Ramin Hasani:** minimizing the memory consumption, minimizing latency, and maximizing the speed of computation. These are like the four criteria that we optimize a search-based algorithm. There's a paper that we published on just the science of this thing. It's called the STAR. It's called the synthetic architecture

**[0:14:01] Ramin Hasani:** of synthetic tailored architecture, like synthetic design of tailored hybrid architectures. So I think if you look at this, just say STAR liquid AI, you can actually find it.

**[0:14:11] Speaker 4:** So I think that's kind of the science

**[0:14:13] Ramin Hasani:** behind like how systematically we are designing kind of architecture. So that framework, that meta AI algorithm

**[0:14:22] Ramin Hasani:** is kind of a recursive self-improving kind of system. If you think about it, like three and a half years ago, we applied it to really have like a search algorithm

**[0:14:30] Ramin Hasani:** to go through various hybrid architectures for a given chip.

**[0:14:35] Ramin Hasani:** And then this system became kind of the computational graph of different generations of liquid foundation models. Liquid Foundation model version number one was the first instance that came out of this architectural search. It had some elements of convolution, some elements of attention, some elements of liquid, kind of original liquid neural network. It was a mess of everything, you know? And that was like the first generation. The second generation, we optimized it specifically for running really, really well on CPUs.

**[0:15:07] Ramin Hasani:** The LFM2 instances of the models, they are, if you look at them, they have a very elegant and simple architecture. So the architecture is basically 80 % double-gated convolutions, you know, 1D convolutions, plus some group query attention, basically 20 % of group query. So the architecture is just a very simplified, very fast and high quality kind of foundation model

**[0:15:30] Ramin Hasani:** that you can run them on a CPU really, really well. Now, the beauty of this, you know, architecture search is that our, imagine a new innovation or a new invention in the architecture space

**[0:15:42] Ramin Hasani:** or fundamental building blocks of intelligence happens, we add them to this massive meta AI search. So every generation of liquid foundation model that we put out, it might have, it would definitely have like an improvement over the previous version, but the operators are from operators of that we choose and the target device, the target device implies basically what should be that hybrid architecture. So that's how we started designing these liquid foundation models.

**[0:16:09] Speaker 4:** So what you see today, we are at the LFM 2.5 instances of the models. We are a foundation model lab. We are building everything from scratch ourselves. As you know, we pre-trained these models. We run the scaling laws of these models.

**[0:16:20] Ramin Hasani:** We scaled these models from tens of millions of parameters now to 70 billion parameters.

**[0:16:27] Ramin Hasani:** That's kind of the range that we have usually running scaling laws on top of models. And then we so far released the smaller instances of the LFM 2 and LFM 2.5 instances. and the next generation would be LFM3, which is like a little bit, a slightly modified kind of version of these things so that we can have like added more quality,

**[0:16:45] Ramin Hasani:** added more stability, added more kind of better latency control on set of deployment frameworks that we care about. You just gave us a PhD,

**[0:16:54] Speaker 4:** you know, the abstract of what Liquid has. Okay, I have so much to dive into, you know, neuroarchitecture search, you know, gradient-free evolution, all these things. But just for the people also listening on the business side, let's also give an update. So, you know, the last time we covered Liquid on the podcast was with Mikhail from Shopify, who is a big fan of you guys. I'm sure there's a lot more. So I think only you would know and you would know and you sort of bring people up to speed on this is not just a research project, right?

**[0:17:29] Speaker 4:** Like this is actually like people are actually effectively using this. the benchmarks are not just, you know, goal-seeked, like they're actually reflective of the world.

**[0:17:41] Ramin Hasani:** Absolutely, absolutely. So, yes, so I have to say like Mikhail is one of my mentors now. Like Mikhail is like one of the biggest people like in the industry. He's like one of those no BS kind of type of people. I really like like how he gives his advice very, very directly, you know. And then, so one of the, he told us is this, you guys, you know, like we have like a very competent team at Shava and we're building models, right?

**[0:18:03] Ramin Hasani:** So if you're telling me like you have like models, I have to see.

**[0:18:08] Speaker 4:** Yeah, he's a mercenary. He just cares about the input output. That's it.

**[0:18:11] Ramin Hasani:** You bring in the technology, we will test it and we will tell you, is it good or bad? Then they tested it first time and they were positively surprised like of the quality

**[0:18:21] Ramin Hasani:** and also like the efficiencies of our models. So I think in the space of alternative architectures, like we have really, really good models. So back to the business side of things,

**[0:18:30] Ramin Hasani:** when we talk about this range of models that we are operating. And I told you, we are optimizing for CPUs too. We are looking into outside, bringing intelligence outside of data centers. We started working with enterprises that are caring about data that goes,

**[0:18:46] Ramin Hasani:** the deployments that are outside of data centers as well. So we started working with car manufacturers, with robot manufacturers, with like, let's say, laptop producers. We work with mobile companies. So they have like deployments of compute somewhere outside of data centers. So we go in there and our foundation models are really good and really like you can bring like the best of intelligence on top of like these devices for various type of applications. Examples of partners of ours would be like AMD on the AI PC side.

**[0:19:16] Ramin Hasani:** 300 million AI PCs are getting generated on the planet like every year. Like these are laptops, you know, 300 million laptops, 300 to 400 million laptops. And I think from there, about 100 million of it could be AMD kind of powered. basically like the core of the building blocks is AMD. So we are working towards bringing our liquid foundation models directly running on the laptop, enabling some sort of local deployment of intelligence, and they can solve multiple different problems.

**[0:19:46] Ramin Hasani:** This could be for privacy filters. They can be in a smart way, guardrail, like what wants to get out of your computer. Imagine your type, you want to send something to the chat GBT terminal or to your cloud code kind of agent. Those kind of bulk of sensitive data that you want to send, you can pass them first through a liquid foundation model that basically shields out sensitive information in a smart way, and then you can share those information.

**[0:20:13] Ramin Hasani:** That's one thing. The other thing that you can do is you can have the small models to be proactive agents directly running on your device. So imagine if you have an agent that is having access to all sort of information that is right now on your laptop and then performing some sort of analysis and gives you that analysis to yourself. Like everything that you can achieve in the cloud, you want to bring it like as an experience also directly running on a laptop.

**[0:20:38] Ramin Hasani:** And that would give you like also an offline capabilities, also like air-gapped capabilities. So you can imagine when you're going into manufacturing, now let's go from the laptop to mobile phones. On mobile phones, like we are working with the giants in the world. So on that one, like what we are trying to do, we are trying to power the on-device portion of intelligence. Today, when you think about device intelligence, there is a hybrid solutions out there.

**[0:21:00] Ramin Hasani:** There is one model that is actually in the cloud and there are models that are running on the device, right? So, and there's always like a collaboration of these two. Usually right now, if you think about like the most used phones, like from Apple intelligence, from Galaxy AIs, like, you know, like all of these things, 90 % of the calls are going to the cloud, right?

**[0:21:19] Ramin Hasani:** So these are 90 % goes to the cloud, 10 % on a device. The reason is because the device models are not powerful enough or reliable enough to really take more off of those cloud kind of use cases. Why do companies want to run these AIs on the device? The first reason of this thing would be cost. It's just sheer cost. If you have 400 million phones or let's say billions of clients that you have to support

**[0:21:45] Ramin Hasani:** and give them a free intelligence access and while you have to serve that intelligence somewhere in the cloud, that's going to become like

**[0:21:52] Ramin Hasani:** really, really prohibitive kind of cost, right?

**[0:21:54] Ramin Hasani:** So what we do, we try to really, and these companies are really trying really hard to bring the AI directly, workload of the AI directly on the device, because in that way, you're just creating margins for yourself.

**[0:22:07] Ramin Hasani:** So that's the first and simplest kind of solution. And then apart from that, you would have active to, as I mentioned, offline features like privacy sensitive kind of topics, and then many, many different advantages that you can bring on the device. but it is very difficult. Building a model for the device and getting it to production quality is extremely difficult, I can tell you. It's not like just downloading a model from open source and then trying to put it on the device and then now you're successful.

**[0:22:33] Ramin Hasani:** It goes a lot more than that. You have to do thermal control. The behavior of a model in a long context actually changes. You really have to have a degree of reliability to add. It's really difficult to actually get to that point. And we have gone through, over the last two and a half years, We've gone through many cycles of production, and I can tell you it is really difficult. Production-grade AI is way more than just benchmarking some quality benchmarks on the device.

**[0:23:01] Ramin Hasani:** It goes beyond that. And then another example of these things would be car manufacturers. Like Mercedes-Benz is one of our clients. What we do in the car kind of space, we bring in-car intelligence. So imagine we announced a partnership last April that it actually happened really fast in the space of automotive. is a significant kind of partnership that we thought that inside the car intelligence. So I want to give you like some insights. So imagine you're sitting in your car, you can talk to your car, you can have like all sort of, hey Mercedes features, you know, like you are communicating with your car and stuff.

**[0:23:33] Ramin Hasani:** Those are all happening with a foundation model that goes directly inside the car. And this system, like the model that we are powering, it's a multimodal solution that can get connected to the cameras and it can actually do a voice interchange, And also it has a reasoning power through the text-based kind of models.

**[0:23:52] Ramin Hasani:** So this model itself is about 600 megabytes. So imagine if you have a 600 megabyte intelligence that goes inside every car, you can do an over-the-air update or OTA. You can do over-the-air update of every car on the planet. The first deployments that we have on Mercedes, which is going to happen this year,

**[0:24:12] Ramin Hasani:** it's going to be on all North America Mercedes-Benz cars. that are Generation 3B are going to have the first deployment at scale of AI actually inside the cars. And this is running on a chip that is probably $100 in cost.

**[0:24:29] Ramin Hasani:** So what I want to say is that it's absolutely insane to really think about bringing a really high quality kind of things, production-grade AI. It feels really, really good

**[0:24:38] Ramin Hasani:** to actually work towards this efficiency at the levels that we talk about and then taking these things and bringing them into production in the car kind of space. And then I can tell you about millions of things that we've done with Shopify. You know, Shopify has been an unbelievable partner for us.

**[0:24:52] Ramin Hasani:** They are not doing on-device AI, but they care about latency. They care about latency and quality. So what they do, they have private deployments

**[0:24:59] Ramin Hasani:** that they have to serve like through the shop app, the merchant facing, and also like client facing products of Shopify. Across many different kind of things that Shopify does, we have a lot of liquid foundation models deployed in production. One of the examples would be if you go to the shop app today and type in something in the shop app, you would actually send the signal to a liquid foundation model. So there is actually a liquid foundation model there that is serving across the stack, which is very nice.

**[0:25:26] Ramin Hasani:** And we are passing through some amazing statistics, exponential statistics as well in terms of use. It seems like clients are really enjoying those features. And now we are exponentially at over a billion requests per month. you know so that's like the amount of requests that goes through like the liquid foundation models like across like that shop app kind of just just that kind of metric just shopify got it

**[0:25:53] Ramin Hasani:** yeah it's just that and then in terms of popularity of the models themselves as you know the open way to be open there we open we deliver liquid foundation models like to the to the community

**[0:26:04] Ramin Hasani:** and we we really open source them and i think the models are very popular right now they have an overall over 40 millions of downloads and we have like 1.5 about 1.5 million downloads per week so the models are getting downloaded really much a lot of developers are taking these things and putting them in production the range of parameters of liquid foundation models that so far we released

**[0:26:24] Ramin Hasani:** are between 100 million parameters to 24 billion parameters and these are a mixture of expert kind

**[0:26:30] Ramin Hasani:** of architectures the the bigger ones and this range of models they're also like they're adding multimodal capabilities, as I mentioned, the models could be both processing audio, vision, and text at the same time as an input, and then generating audio and text as an output. So that's kind of the portfolio of things that we do.

**[0:26:49] Speaker 4:** I was wondering about robotics, because that was kind of one of your inspirations when you started. And I noticed you've got multimodal models, you've got a vision language model and audio models. So So are those being used for, you know, robotics purposes? And can you maybe talk about some of those experiments?

**[0:27:10] Ramin Hasani:** Absolutely, yes. So when you have like the vision language models, like you can actually solve vision action kind of problems, you know, like you can turn into robots seeing the world and then you take an action based on like what robots sees, you know, and you can also use them as monitors. So imagine like in factories, there are like cameras that are monitoring like the entire operations of a factory. And then we usually are thinking about industrial operations of robots, not mostly humanoids, but also just industrial robots.

**[0:27:36] Ramin Hasani:** We worked with a company called Robotech. I think you should find, if you just say Robotech, AMD, and Liquid AI, you would find there's a demo of what we've done there. There's another company called G-Bionics. I think it's in Italy. And this company is also having modular robots, and they're using our vision language model for some action space for the body of the robot. There's a camera actually on the body. And they are using these things for, let's say, instruction following kind of capabilities, like basically vision action models.

**[0:28:07] Ramin Hasani:** So use cases mostly goes inside factories. And then there are like, obviously, like if you think about like multimodal intelligence, as you mentioned, the smaller instance of the models for low latency applications in robotics, they're really, really popular. There's a lot of new engagements that are coming our way. But robotics has been something that we deliberately kind of put it on pause day one. The reason behind it was that because the go-to-market motion around robotic and also like really building a business around robotics is very difficult.

**[0:28:35] Ramin Hasani:** And it is delayed because if you think about production-grade robotics, you need to go down the rabbit hole of verification and validation of the technology. And then you get into like regulatory kind of aspect of its deployment, right? So we always, like because we are coming back from a robotics background ourselves, we know how it is like to really productize some robotics kind of vertical. That's why we wanted to build like a horizontal layer of intelligence on top of like, you know, places where we can have like OEMs first and then entering into the action world where verification and validation becomes more sensitive as a later step of the company.

**[0:29:09] Ramin Hasani:** But I think now it is like a good time. A lot of, because our models are matured a little bit better. Now we can, we have a lot more control over like data and the post-training and customization process of these foundation models for certain type of applications. I think it's a very good time for us to really also like start the robotic vertical like much more seriously than before.

**[0:29:29] Speaker 4:** Just on this, because I wasn't going to, I wasn't expecting to spend that much time on robotics. But since you mentioned it and you said it's a good time, do you basically use the same LFM family? I think a lot of people make a lot of a big deal about how different, you know, action models are or world models are for robotics. I don't know how much of that is just marketing versus fundamentally it is actually the same thing.

**[0:29:54] Speaker 4:** That's a great point. So I will tell you something.

**[0:29:56] Ramin Hasani:** So I'll tell you like innovations that happens in the space of foundation models, you know, that are getting used in any vertical. Like I would categorize them in three different classes. You know, there is model architecture of intelligence.

**[0:30:09] Ramin Hasani:** Then there is algorithmic aspect of intelligence, like algorithms that are innovative. And then the last thing would be data processing kind of mechanisms.

**[0:30:17] Ramin Hasani:** like what kind of data work do you want to do? So innovation across this tree. What we've been focusing on from our research point of view, it was like what we so far talked about was about model architecture innovation, right?

**[0:30:30] Ramin Hasani:** Like it was just about the architecture, like efficiency of a model and the ability to become a general purpose computer, basically. So that's got the model kind of perspective. Then there are algorithms. The way you train a model, you can train a model with an autoregressive kind of loss. you can train a model as a you know like as a diffusion processes you can train a model in a word modeling context so you can take that architecture and bring them into so i would say word modeling it's like an unsupervised way of learning uh systems you know like it's to really build like a representation in between so that from that representation you have a worldview of the world like

**[0:31:07] Ramin Hasani:** you have like an understanding of the world so of course like i would attribute kind of word modeling on the algorithmic side of intelligence, you know, rather than on the model architecture, architectural change into the, so you could technically take some of these LFM architectures and use them in a word modeling pipeline and train them like to have like a better understanding of the physics of the world. You see, I would always argue that various algorithms allow you to learn some physical structure of the world with different ways.

**[0:31:40] Ramin Hasani:** Word modeling allows you to extract like a different set of primitives from the physical world compared to next token prediction. You wouldn't say next token prediction would create, would not have a physical, they have a physical understanding, but it's very different than the human's way of understanding the physical world. So I would just say like that physical, and there is still a debate between like

**[0:32:05] Ramin Hasani:** what learning algorithms are going to unlock, what type of, what set of capabilities is needed for having the chat GPT moments for robots,

**[0:32:12] Ramin Hasani:** that's like a big, big question mark on the algorithmic side. On the architecture side, I would say you could use any general purpose computer, like any general purpose kind of algorithm, architecture algorithm,

**[0:32:25] Speaker 4:** to be used in those kind of frameworks that I mentioned. Just so I understand the business model side before we go back to a bit more research, I assume these are all licensing agreements because obviously it's air-gapped, It's on device. It's all these things. How much time do you have to spend to customize a model? Let's say I come to you with like a very special set of compute constraints or whatever. Is it your guys doing it?

**[0:32:51] Speaker 4:** Is it a collaboration? How does this work? Fantastic question.

**[0:32:55] Ramin Hasani:** So this is actually our early engagements is usually with design partners. You know, like these design partners are the ones that we would walk, we associate kind of an applied ML team to work with the client. and we charge also for that duration of kind of engagement, right? And then once the solution is built, then we deploy the solution and then we charge licenses on a yearly basis,

**[0:33:16] Ramin Hasani:** on a device basis, you know, like depending on where this thing is getting deployed,

**[0:33:21] Ramin Hasani:** you know, so and we are charging the kind of four models as a recurrent kind of cost. Then after we build a solution in a vertical, then the time of service reduces for the next customer in that vertical. So imagine if Mercedes-Benz is our design partner and we build a solution around our products, then the next customers that are coming in the automotive vertical, the amount of service that we provide reduces from our side and it becomes just a solution deployment.

**[0:33:49] Ramin Hasani:** So we make solutions in every vertical and those solutions are the ones

**[0:33:53] Ramin Hasani:** that are actually allowing us to sell faster. That being said, because as a foundation model company, we've gone through the process of building a model from scratch and deploying these models in production. We've gone through this process many, many times. We are building now a platform for model development. And that platform is kind of self-served. So you can actually get access to this platform.

**[0:34:15] Ramin Hasani:** And then using this platform, you would be able to automatically kind of do that job. And this is something that we are building as of now. It's a very difficult problem. You can close the loop also with recursive loops and everything. But we want to give these capabilities of model building with the quality that Liquid builds models to the clients,

**[0:34:34] Speaker 4:** space to the enterprises themselves. Is this platform fully rolled out? Is this in beta? This is my first time hearing about this. No, it's in beta right now.

**[0:34:42] Ramin Hasani:** It's in beta. We're still testing it out. We're very excited about it. It is a very interesting kind of problem. If you think about it, this customization and continual learning, it's a very, very important next step for the deployment of AI. Right now, 90 % of the market is around inference tokens. Frontier Labs, if you think about Frontier Labs

**[0:35:02] Ramin Hasani:** and even inference providers right now, like Fireworks of the World, what are they doing? They host the models and then they basically, they charge the inference, right? Like the inference tokens are the ones that are making money. But I think the next wave of companies that you should know, I can name a couple of them, Reware AI,

**[0:35:18] Ramin Hasani:** there's like core automation, there's like thinking machines, you think about, what else do we have? Trajectory, you know, like there's like many different companies like in this kind of category of customization. So a lot of people are turning into customization tokens. Because now there is like a lot of good base open source models as well. So people, enterprises could actually get, we are talking about enterprise AI, by the way. So, you know, like in this space of enterprise AI, monetization of customization tokens is something that I think people are going to capitalize on.

**[0:35:48] Ramin Hasani:** And it's going to be something that is very, very interesting and it's going to be the next wave of DecaCorns that are going to emerge from these kind of category, which some of them are already in DecaGorne. Jeff Dean just started a lab again on the same type of topics. So you can imagine customization is going to become like a very... And when I say customization,

**[0:36:10] Ramin Hasani:** don't only think about post-training a model. Think about the depths of customization from pre-training to inference. That's customization. You can do pre-training, you can do mid-training, you can do post-training, you can do data gen, you can do RL. All of these things fall into this category of customization of a model. and then allowing agents to do that and then looping the whole thing so that you can actually have like a recursive loop that allows the customers to own their own intelligence.

**[0:36:38] Ramin Hasani:** That's kind of something that we are planning to do and we are providing like this platform to customers

**[0:36:42] Ramin Hasani:** so that they can really build liquid foundation models at the quality that we can build, like that's number one. And then once they put them in production, they can keep them always up to date and always kind of to the level that they want them to perform.

**[0:36:56] Speaker 4:** So just before we hit the research, can I ask a little bit about your developer platform Leap how are developers using this platform at the moment and what kind of process do they use to deploy your products so if you think about

**[0:37:12] Ramin Hasani:** Leap is like a library, we have a cookbook you know like at Dequity AI this is like an open source kind of place like you can go to our cookbook and I think there is so much going on in there you know so we literally like provide like even a lot of insights you know like this is manual. This is built for humans, right? Leap is also built for humans. So you're a developer, you want to use Liquid Foundation model, you want to fine-tune them.

**[0:37:34] Ramin Hasani:** You go there, you can take some of the Leap fine-tune, for example, is one of those places where you can fine-tune one of our models. Then there are deployments. Leap allows you to also extract a bundle that you can deploy like an inference ready, GGUF kind of format, like a Lama CPP ready system that can go directly on the device. If you want to have, let's say, CPU deployment, you can go to our Leap platform and it allows you to extract one of these bundles that are ready to be deployed.

**[0:38:01] Ramin Hasani:** You see, so that's what Leap does. And again, think about our current platform that we are building right now. It's literally the automated version of what we have been doing with Leap. There are some functionalities that Leap has and some functionalities that it doesn't. So the ones that we want to, we want to complete the lead platform as tools and then be able to also provide enterprises with the capability to do that in the way that we use those tools.

**[0:38:28] Ramin Hasani:** But those are kind of individual kind of segmented tools that you can use or give your cloud agent to really like take them and use them to fine tune an elephant.

**[0:38:37] Ramin Hasani:** That being said, there are also like support of liquid foundation models in the, you know, very popular kind of places like Onslaught and, you know, Hugging Face. kind of they have like the TRL kind of fine tuning. You can use any of those kind of open source packages also because we now try to like be really like connected to the open source community. We love the Hugging Face guys. We love the SGLang guys, you know, like we work very, very closely with them and really bringing like support and the Lama CPP project itself is an amazing effort to really deploy intelligence outside of data centers.

**[0:39:09] Speaker 4:** Yeah, I haven't heard TRL in a while. It's, you know, there's all these, every year or two, there's like a new hotness. Like right now it's unsolved, but like, you know, we've also covered Exolotto in the past as well. One thing, my eyebrows just went up when you said self-serve. I think I had expected that you would do a lot of services. Maybe these days it's called forward deployed. I don't know whatever the hot term is, but is there a maturity or hierarchy of things, right?

**[0:39:37] Speaker 4:** So basically the way I think about it is like, okay, everyone's talking about continual learning, but probably most people are not even ready. you release, for example, quantization aware distillation, right? And like that I can do. That seems easy. That seems like self-serve, like, okay, you know, you give me some guardrails on how to do this. Like I can distill big model into small model, right? Is there a stage of like, okay, start here and then you work your way up?

**[0:40:00] Speaker 4:** Absolutely. Yes. You touched on a very, very important problem.

**[0:40:04] Ramin Hasani:** I'll tell you a little bit, a deeper perspective. We've worked probably with 200 of the Fortune 500 companies like so far. Like we really are like in touch with all the enterprises. And enterprises are exhausted.

**[0:40:17] Ramin Hasani:** They went through the process of building their own intelligence for a long time. They tried to have applied ML teams themselves. We were talking about mature enterprises. These mature enterprises, they tried out intelligence, downloading models from open source,

**[0:40:30] Ramin Hasani:** building their own models from scratch for their own topics and stuff. And this did not result in actual production lines. And they always defaulted back to the cloud solutions.

**[0:40:41] Ramin Hasani:** So they never got to the production quality that they want. Some of these products are out there, but I can tell you the ratio is like 80 % of the production grade kind of stuff. The POCs, 80 % of them do not hit the production kind of level. So that's one of the exhaustive kind of things that I see is this. Second thing that I see is that there is massive demand for developers right now that they want to have access to the highest form of intelligence for development.

**[0:41:09] Ramin Hasani:** They want to wipe code stuff.

**[0:41:10] Ramin Hasani:** Everybody wants token max. There was these kind of things. It's such a virus that is in the head of developers. And everybody is... And again, when you do the attributing value,

**[0:41:24] Ramin Hasani:** how much value was generated off of these wipe-coded repositories and stuff that is happening at mature organizations, you will again end up with 90 % of these tokens are useless tokens. So when you actually have enterprises see this and they want to also control the cost that they have, there is a massive demand now for them to have a self-serve platform that allows them to really get to the point that they want to get as soon as possible to a value that they want to receive, while satisfying the demand of their own developers.

**[0:41:56] Ramin Hasani:** So what we try to do, we try to build the platform not as another UI, another new type of set or something. So our platform is literally going to sit inside a client like very similar to how you interface with your cloud code, very similar that you take your agentic harness and you just give it the tools of Liquid AI. And these tools would be able, like your own favorite kind of agentic harness would be able to, in a step-by-step manner, walk you through developing and building and deploying a Liquid Foundation model, production quality level, the way that we would do it.

**[0:42:33] Ramin Hasani:** But this process is an interactive process with the developer. At the moment, human in the loop aspect of it is very important to the point that you mentioned. You mentioned like, are they ready to do this? You got to guide the customers, right? Like you got to guide them, the developers to really get to that point. So that is the automated kind of stuff. You can also put it on a steroids,

**[0:42:53] Ramin Hasani:** you can put it on auto mode, like the whole platform and say one click and then just deliver this. I don't want to see any intermediary stuff, but obviously the quality of the resulting model is not going to be as good as when you're having an interactive kind of, a developer actually interactively build something with it, you know? So we try to get ourselves closer.

**[0:43:12] Speaker 4:** Let me push you. Yes. Let me push back on you, right? If I have good evals, why do I care what the process is, right? It should just auto-research itself.

**[0:43:20] Ramin Hasani:** Why do I have to look at the logs? For the first time. I fully agree with you. For the first deployment, right? So imagine if you put a model in production based on the evals that you had.

**[0:43:32] Ramin Hasani:** Now you've put the model in production. then new data is going to come in. You know, like new data is going to, the model is in production, actual production environment. Okay. Now imagine new data is coming in, new requests, like completely, like all of a sudden, like the whole distribute, there's a massive distribution shift of like, let's say community wanting different things, you know, from your models. How do you handle that? You know, you got to be able to handle these things like with, because your evals are going to become obsolete.

**[0:43:58] Ramin Hasani:** Static evals are going to become obsolete. So you need to have some sort of a dynamism like there. and this would only happen if you have a continuously evolving system. You see, evals cannot stay static. That's the thing. For the first iteration, I fully agree with you, you know? But if you go to, you know, like production, then the evals are not going to stay the same.

**[0:44:16] Speaker 4:** You know, you always have to change the criteria. I definitely agree on that. I think it's why we're moving towards environments and, you know, harbor style tasks and all these things. What other trends are you seeing in like sort of post-training, our environments, any, you know, like there's a lot there, which obviously Maxime has talked about, but effectively are we customers, let's call it, doing more and more of the post-training and you are doing the architectural work?

**[0:44:46] Speaker 4:** Is that the division of labor? Something like that, yes.

**[0:44:49] Ramin Hasani:** I would say not just post, as I said, like don't forget about just post-training. I talked about the whole model development from scratch. We want to be able to - Oh, everything.

**[0:45:00] Speaker 4:** Including the architecture search, yeah.

**[0:45:02] Ramin Hasani:** If you're as sophisticated at, let's say, Qualcomm that wants to, let's say, design their own, let's say, like for the next generation of their chips, they want to have like a dedicated computational graph that works the best on top of Qualcomm chips. You're on an NPU that they're designing, you know. Or there are like also some companies that are etching kind of weights of a neural network directly inside the chips. You know, like these things are happening.

**[0:45:24] Ramin Hasani:** We've covered Thales.

**[0:45:25] Speaker 4:** Yeah, Thales and Etched before.

**[0:45:26] Ramin Hasani:** So as you know, there's so much in the Silicon kind of world that is also,

**[0:45:31] Ramin Hasani:** because those guys would be interested in our architecture search more than anybody.

**[0:45:34] Ramin Hasani:** So Silicon is actually extremely, staying close with Silicon partners is actually very important for us because our architecture search is hardware aware. So why? Because they are putting their hardware or maybe next generation of the hardware in the loop of finding out what is the best architecture for the criteria that I care about. So imagine you launch a process like that.

**[0:45:53] Ramin Hasani:** But Silicon companies, they'd really like this automated foundation design kind of platform that we are putting in front of them. So that technology.

**[0:46:02] Ramin Hasani:** And then, as you mentioned, I agree, customization wants to get more and more to enterprises. You know, like enterprises would be able to own their own model development and deployment. You see, these are the two things that you, like this is kind of the true meaning of sovereign AI. You know, like everybody would be able to own their own intelligence. And then hopefully one step further would be all the customers, like every single person on the planet would be able to own their own intelligence as well.

**[0:46:25] Speaker 4:** So that's kind of the next level personal intelligence, you know, hopefully we can unlock that. And I just wanted to quickly touch on things because like you left so much in there. There's actually a lot to dive into. In terms of Neuroarchitects Research, you're the first, I think maybe you're like second or third company. You know, we recently covered Poolside where they talked about their model factory. I'm sure you've talked a little bit about that. And then also a bit back, I was also very excited by the tooling for search, right?

**[0:46:55] Speaker 4:** Apple had this paper on Telaria, which is their sort of LLMOPS, like layer by layer inspection and ablation tool. What have you found in your new architecture search or model factory type things that you thought would work, doesn't work, or is like, you know, surprisingly effective? Like anything they want to highlight for your process or research?

**[0:47:16] Ramin Hasani:** When we do architecture search in the space of foundation models, we run a scaling loss.

**[0:47:22] Ramin Hasani:** Like imagine for every architecture candidate, we try to run a certain type up to a certain number of tokens, we run a scaling loss.

**[0:47:29] Ramin Hasani:** Okay, so like this being like more throwing more data at a certain fixed size of the model or increasing the size of the model, you know, like and see like how well it can actually train given that candidate architecture.

**[0:47:41] Ramin Hasani:** The things that we learned is that the larger the neural network you are making, the architecture, if you want to build general purpose intelligence, it should be unbiased. So you have to unbias your system.

**[0:47:55] Ramin Hasani:** So, for example, if you look at LFM2 architecture that came out, this doesn't have any of these gated delta nets and all these things. It's like a very unstructured, it's like 1D convolutions. Literally like 1D convolutions. This is like the simplest thing that you can actually do. It's like an unstructured way. Attention itself is like a very unstructured, as I said. When architectures are not biased, like attention, like transformers architecture, you would be able to scale them.

**[0:48:23] Ramin Hasani:** So at scale, I would say a lot less bias is needed inside the architecture. You don't need to add features, add loops, add some sort of like, you know. So you got to simplify the architecture the larger you make them. On the other side of the spectrum, imagine if you want to solve problems at a very, very small scale and you cannot afford to have like the, you know, like you have like memory limit, let's say like eight gigabytes of memory limit, you know, there you can get more creative on the architecture side.

**[0:48:55] Ramin Hasani:** You can make the models to have multiple feedback loops. You know, you can add like a lot more complexity to the system in the small model regime. The more biases you add to the system, the more expressive dynamics you get. In the larger scale, you remove those biases. This is what we learned. Second insights that I would tell you is data modality. There are some data modalities like audio. In audio, you could use a continuous time dynamical systems or SSMs, for example.

**[0:49:21] Ramin Hasani:** You know, like they're very effective in audio, but on text, they suck. You know, like SSMs, like they don't work like really well on text. And when you think about like, let's say if you just want to have an audio model, throwing in a recurrent neural network at the scale that is needed for humanly, like having a really good quality kind of audio output, this is kind of the place where I would say a recurrent neural network would be very much shining, you know, again, at small scale.

**[0:49:47] Ramin Hasani:** You see, like when we talk about this category of models that we search, below, let's say, 20 billion parameters, you know, recurrent neural networks can be like really, really effective there, you see? But I would call them more biased architectures, you know, like they have like more feedback, you know, like there's a structural gate, They have certain architectural archetypes on top of them. And then you remove those things as you scale them all.

**[0:50:12] Speaker 4:** That's kind of the general understanding that we have. No surprise that... I think Jason Wei had this post where at small scale, you add in biases and then eventually you have to take them out. I think layer looping or... I don't know if this is called layer looping. Do you call it layer looping or whatever the...

**[0:50:33] Ramin Hasani:** Yeah, yeah, yeah. Yeah, looped.

**[0:50:35] Speaker 4:** That one is a bit unintuitive why it works at small scale, but not at larger scale. It seems like it would work. It's mostly like a efficiency thing, I guess. So maybe that's just my explanation. I don't know.

**[0:50:50] Ramin Hasani:** But I would say still, you know, looping, it's again a bias. Like any format of looping, it is a bias that you're adding to your system. You make it complicated

**[0:51:00] Ramin Hasani:** and then you got to find out an infrastructure for it. By the way, So we don't have the correct infrastructure. The current GPU infrastructure that we have is optimized for this type of workload, you know, parallel matrix multiplication. You're everything that you can paralyze, like in a parallelizer you do. Imagine if you have like photonics, you know,

**[0:51:17] Ramin Hasani:** like I think the space of photonics would be like an amazing kind of a space. Like if you think about it, if you can actually communicate with the speed of light. Now compute in a serial way. What is the speed of serial computation when you're moving with the speed of light? it's like humanly not perceivable. Like, you know, so what I'm saying is that like, I think photonic could be like an unbelievable way for us like to move.

**[0:51:39] Ramin Hasani:** If you think about like medium change, you see, so that could also unlock like nonlinear operators. I know companies that are working on like photonics and then the quantum computers, like, you know, everybody's working in this space of alternative mediums for intelligence or compute in general. Those are kind of the other opportunities that I see like opening up. And I'm really excited about photonics because I think there's a lot to be like, Because sequential computations, this is something that from a linear algebra point of view, we learned it for nonlinear systems.

**[0:52:07] Ramin Hasani:** Because we cannot really parallelize nonlinear systems. But imagine if you have like a speed of light computational kind of speed for nonlinear operators, you know, then you can actually build the next generation of architectures. Because then you're not limited by the substrate you're hosting intelligence on. So one, I'll give you one quote from, I think it was from Christopher Koch, who was writing like some book on neuroscience. I think I read it like about 14 years ago that he's not, it wasn't a quote.

**[0:52:34] Ramin Hasani:** He was at a conference and he was saying intelligence is a property of carbon. So because the substrate of human, human is a property of carbon. So he was saying like, okay, so natural life is happening on a different substrate and we're building intelligence right now on silicon, right? So the base of intelligence is very different. Like I think substrate is going to play a role into like even the next generation of architectures. if you really think about it, because it would unlock various formats of competition apart from just parallel competition through GPUs.

**[0:53:05] Speaker 4:** That's also another space that I would just bring in. Okay, we don't have a ton of time to mention this, but you brought this up, so I have to ask. I would say actually a surprising number of people in my circles in SF, not that excited by quantum computing. If we did have at scale a bunch of qubits, do you actually think that it would change anything? There's some people that disagree. I want to hear your view.

**[0:53:28] Speaker 4:** I think the only thing that it changes like massively, it would be search.

**[0:53:31] Ramin Hasani:** Because I think search is one of those algorithms that matters so much. And imagine if you can have like parallel search, you know, and what is optimization? You know, at the end of it, we are, you know, we're submitting ourselves to gradient descent, you know, right now, because we don't know any better way

**[0:53:51] Ramin Hasani:** to perform massive search at scale. You know, it is a search in the parameter space, you know, and if you think about,

**[0:53:57] Speaker 4:** quantum computers, I think search is going to evolve massively. That one, hopefully, that is not controversial, but yeah, it's very interesting that there are many other bottlenecks that matter to us that actually is not solved by quantum.

**[0:54:09] Ramin Hasani:** Absolutely, but I don't think we are closed because I think 2017, I was at one of these NeurIPS conferences and I was talking to, I think it was Microsoft or IBM, like they were, oh no, it was IBM, that they were bringing, they were showing off their quantum bits, like kind of the thing that is like hanging from the ceiling, you know, and they were showing it at the conference. And then I was talking to the guy and I said, okay, so how can,

**[0:54:32] Ramin Hasani:** when can everybody actually use something like this? At that time, 2017, he told me 2035.

**[0:54:39] Ramin Hasani:** Okay. Okay. So I think it's still too early to say anything.

**[0:54:46] Speaker 4:** Yes. Yes. Okay. Coming back closer, actually for listeners, we've done a bunch of related podcasts. RWKV is another pretty widely adopted non-transformers architecture that's loosely inspired by RNNs so we've done a couple episodes on those things we've actually had TreeDao on we haven't had Cartesia on yet but when you mentioned how SSMs are very attuned to voice, at first when Tree talked about it to me and Karan talked about it to me I didn't understand why voice to me actually the simple explanation is there's just not that much state Voice is like continuously inferencing anyway.

**[0:55:23] Speaker 4:** So like it is actually pretty ideal.

**[0:55:25] Ramin Hasani:** Yeah, it's a continuous time sequence, you know, and sequences that are time series. You can say, if you throw a dynamical system that is designed to handle time series data, that's like the best version of thing that you can actually model time series, right? So that's why SSMs are pretty effective. SSMs and RNNs and continuous time systems. They are very effective

**[0:55:44] Speaker 4:** in basically sequential kind of data, you see? You brought out time series. The other thing about my background that I bring into this is I used to be an options trader, right? Where we actually would have to do stochastic calculus and solve those kinds of ODEs, which is another kind of continuous time finance, which is what we talk about there. Yeah, I just think like it's weird that this hasn't been a priority till now. And now it seems like once you explain it, it's like relatively obvious that this is a thing that we should exploit.

**[0:56:13] Speaker 4:** It's like a dimension that we should exploit. Are there any others in your mind that, you know, obviously you're scaling up this, you're maybe like, let's call it 10 years into this journey. But like, okay, if we're wrong about continuous time, what else? That's a good question.

**[0:56:27] Ramin Hasani:** So I think there's a lot of, you know, like when we started like liquid as an idea. So we were thinking about efficiency of intelligence and adaptability of intelligence. I think we haven't explored too much on the adaptability of intelligence. like forward pass for us is like basically forward pass to a to like a model like you know a lot of a lot of forward looking kind of competition is like literally like just a forward pass competition so what if like adaptability on the go a lot of people would come would tell you that okay so in context learning is solving that problem because in context like systems are actually like when you

**[0:57:04] Ramin Hasani:** bring more data at the test time they would somehow kind of solving for some sort of a back prob, like, you know, like a pseudo, very, very similar kind of to back prob situation. It's like a least square algorithm, like as a in-context kind of learning is happening on the test time compute. But in general, like, I think approaches where we can combine forward paths and backward paths at the same time, this would be a new generation of architectures that I think there will be an evolution of this thing.

**[0:57:34] Ramin Hasani:** I know that I've heard that SSI is also working very on the similar architectures to the original ideas of liquid neural networks, you know, so that's what I heard, but we will see,

**[0:57:44] Ramin Hasani:** we'll see how, have they not reached out? Like, come on, like what's going on? Yeah. But, but in general, like, you know, like me, I know that all the founders, you should also, also already assume

**[0:57:53] Ramin Hasani:** that all the foundation model labs, you know, Anthropics and OpenAI's and everybody else is like massively invested. Like they have teams that are working on alternative architectures. Another thing that I want to say is that, again, why do you want an alternative architecture, right this is the question you have to ask the first thing for us would be efficiency and everybody else is now seems to be like focusing on post hoc optimizations or really like a speculative decoding for example like it's like one of the spaces like people try to make the quantization you know like it's another the quantization of our training you're like these are these are the kind of places where people try to pack information and

**[0:58:27] Ramin Hasani:** you can do a lot in there you know because these are kernel science and and i think we did with better ais you know i'm hoping for the next generation of AIs to get like a lot better at what they do today, they can, people can really optimize kind of the current architectures to get efficiency, you know, out of the models. Now, if you want to unlock the next generation of capabilities, that's a different story. You know, that could be a meta algorithm.

**[0:58:49] Ramin Hasani:** So think about it also like right now, how does our workflows of coding today look like? There are like, there's an orchestrator and there are like a lot of agents that are. So in the future, multi-agentic kind of architectures, like that's another thing that I can think about. Like we can think about as the atom level

**[0:59:06] Ramin Hasani:** or we can think about as a system level, right? So you can also build like new systems

**[0:59:11] Ramin Hasani:** that are composed of smaller kind of units of compute.

**[0:59:14] Ramin Hasani:** Like let's say like a unit of compute

**[0:59:16] Ramin Hasani:** could be neurons and synapses, or it could be an LFM, you know, or it could be a small model itself. And then you can use and bundle and it can build basically systems of systems, right? So that's kind of another direction that architecture, and I would call them cognitive architectures, you know,

**[0:59:30] Ramin Hasani:** where you have like multiple kind of agents that you can actually bundle them together to build like a whole full-blown system as a whole. So I think a bunch of directions I pointed out that I think could be an exciting future step.

**[0:59:42] Speaker 4:** If I were to paraphrase, maybe agents should be able to train models casually as part of their job. And obviously LFM would be quite adaptable. And it's not actually the LFM, it would be Leap because you need the full platform as well in order to adapt to whatever the situation you're deploying in. Definitely. You always named directions. Probably you also have sort of more near-term research directions. What would you say is the current research agenda for Liquid?

**[1:00:10] Ramin Hasani:** We are very much focused on massively multimodal systems. You know, like we are thinking about like training all the data modalities at the same time. And at the same time, like longer horizon kind of reasoning, of course, like this is one of the directions that we want to do. Imagine if you want to do reliable on-device intelligence kind of services like assistant. You know, like if what all of those things require like higher degrees of reliability for them for the models.

**[1:00:36] Ramin Hasani:** So we work a lot on that direction. We work a lot. We have a department for efficiency. You know, like we work on massive like layers of efficiency. You know, like you can think about like kernel design. It goes to inference. This goes to infrastructure, RL infrastructure that is like much faster.

**[1:00:50] Ramin Hasani:** You know, like making like all of our processes that are happening like from pre-training to delivering a model to production.

**[1:00:57] Ramin Hasani:** How to make this all the infrastructure like more efficient. You know, that's like the focus of the company. Then from a research point of view, we are looking also non-human understandable data. For example, think about signals. You know, you can think about biology as well. We have some biomodels as well. Like for example, we are building DNA foundation models. Like your DNA with your eyes, you kind of like really read it. They're long context data, you know, like they're like not dense as like, let's say in the vocabulary, there are like four vocabs like that you can actually like letters that you're dealing with.

**[1:01:27] Ramin Hasani:** But I mean, from the sequences, length point of view, like they're very large. There are a lot of applications that we are excited about in that kind of realm. And I think our type of technology is like naturally pushed us into like looking into this alternative type of data as well. As I told you, like our architectures, we have talked about dynamical systems and longer sequences of data. So DNA data could be like one of those places where we can bring value.

**[1:01:51] Ramin Hasani:** And then, as I mentioned, multimodal research is extremely hot right now at Liquid.

**[1:01:55] Speaker 4:** Yeah, yeah, yeah. You said video, audio in, and video, audio out. Video, audio, text in, audio and... Text is assumed. Yeah, text is assumed. The in is fine. The out is new, right? Correct. That is like, typically, I would never expect someone like you to care. Is it realistic? It is. To have, you know, image out, audio out, video out from a 7B model that like is usable.

**[1:02:27] Ramin Hasani:** I don't think, I don't think it is visible to get a video out of that, of that, like a proper, like very, very high quality, high fidelity kind of videos. But, but, but directionally, if you want to solve physical problems, you know, like, and if you want to have like a vague understanding of the world, imagine you are, you're training these LFMs of, let's say in the range of 7B below. in this kind of range, you want to train like with a word modeling kind of context, like you want to train a liquid foundation model.

**[1:02:53] Ramin Hasani:** You would be able to encode some sort of physical knowledge inside the model, but the model would not be able to output something very high fidelity, you know, but it would add to its own understanding, but it would not be able to output that. You know, it can basically like have like a little bit of a better representation internal. You see, like if you were to train them like with a word modeling, especially for video applications where video generation matters.

**[1:03:16] Ramin Hasani:** you know, like not just for entertainment, but we were talking about like grounded industry work of a robot that is like operating in a factory, you see.

**[1:03:26] Speaker 4:** Yeah, video understanding is actually so underrated. There's still not enough, mostly it's just interleaved images, but like, yeah, we want more.

**[1:03:35] Ramin Hasani:** I'll tell you in the space of multimodal intelligence, it's really, really a lot to be learned like so far because it's really not that many highly multimodal systems. This is a very, very open research topic for foundation models as a whole. It's going to enable something completely different.

**[1:03:53] Speaker 4:** One thing I wanted to double check is something that's adjacent to your space, which is modular. They just got bought, went to Qualcomm. They just released the 1.0 open source. You guys famously switched from Jax to PyTorch. Did you explore Mojo? it is supposed to be for you guys. That you are doing custom kernel work, you are Python-centric. If it didn't work, why? I mean, modular is basically operating on a space

**[1:04:27] Ramin Hasani:** of kernels. They're one layer below the foundation models. They try to be also like us, like Switzerland, working with all

**[1:04:35] Ramin Hasani:** the hardware providers, but they now got locked into Qualcomm. I was on a panel with Chris actually

**[1:04:41] Speaker 4:** some weeks ago actually, on an AMD panel. And I can tell you, like, I have so much, I mean, he's one of my heroes, you know, like Chris Latner. He's unbelievable. Yeah, he's probably listening. Yes.

**[1:04:55] Ramin Hasani:** But what I can tell you is that one thing that from first principles we try to do at Liquid, we don't want to reinvent the wheel. You know, if the fundamentals is actually like, I'll tell you, for example, it's so hard. There's a lot of inference companies that are trying to replace Lama CPP or building wrappers around Lama CPP for on-device AI. Almost every single of these things that are not locked in into like one ecosystem and they try to be like a general purpose language for all hardware that is actually out there, all of them are worse.

**[1:05:26] Ramin Hasani:** If you dig in, they're worse than the original Lama CPP. So we don't want to change base, you know? So that's what I want to say. There are some successful ones that are locking into one ecosystem and I feel like Mojo is going to go into the similar direction. You know, now that they are getting locked in into like the Qualcomm ecosystem, I think there's going to be a lot more success. But the platform itself is extremely, makes things easier to bring intelligence at that layer for hosting intelligence.

**[1:05:54] Ramin Hasani:** So what they provide is actually useful, but we haven't been using those for our own deployments yet.

**[1:06:03] Speaker 4:** You say Lama CPP is better as a baseline, but is it just production hardening or is this something fundamental about the approach? I'm just trying to figure out. It's a compiler, so it's like very optimized C++ kernels, you know? That's what it is. I mean, yes, but Chris Ladner knows C++. Like, this is not an issue.

**[1:06:22] Ramin Hasani:** As I said, it's extremely difficult to unify it. I don't believe, for example, in the uniformity of the Mojo kind of platform.

**[1:06:31] Ramin Hasani:** You need to do custom work, and this is the work that the modular team actually put into. So I think the version of Mojo that runs on, let's say, AMD, you have to design like certain kernels for Mojo

**[1:06:42] Ramin Hasani:** so that they're AMD specific or let's say Qualcomm specific and all those kinds of work that they do. That underlying work is like a very solid work. And if anyone can pull it off, it's like basically Chris's team, you know, like that's what I would say.

**[1:06:55] Ramin Hasani:** But I would consider those, like of course, like what Chris does, what Jonathan Ross did, like with TPUs and all those kinds of things that they're doing. So I would tell you like, these are kind of the very fundamental works that they do. But I will tell you like, we would stick to the most native kind of language, the most native platform that allows us to touch the computer like as close as possible, you see?

**[1:07:17] Speaker 4:** Ecosystem always wins, you know. It's a really brutal answer. It's not fair to new entrants. It's not fair. It's just a hard problem. And I would also encourage like people,

**[1:07:27] Ramin Hasani:** like, you know, a lot of entrepreneurs these days, like, you know, like I'm now four years into our entrepreneurial journey. A lot of people are my friends and people are coming and asking, hey, you know, like, how's the journey? I would just say like, if a problem is hard to solve, it's actually worse. It makes it more attractive. It should make it a lot more attractive for you, you know, because easy problems, everybody else is going to go and solve it,

**[1:07:48] Speaker 4:** you know, so. Maybe the question I was going to end the episode with is mostly, you know, it's going to be the 10-year anniversary of the Transformer next year. Is attention all you need? Attention is definitely one element that you need,

**[1:08:02] Ramin Hasani:** you know, and I think it will be a long time that we will be living with attention-based systems. So attention is definitely going to be inside like any of the... It's like, you know, how do you see? You know, how do you see?

**[1:08:14] Speaker 4:** How's your eyes are working? You know, but you need your body is... I randomly noticed like, actually you're not seeing the whole view. Your eyes are just bouncing around all the time and your brain is compositing, right?

**[1:08:25] Ramin Hasani:** Yes, you see the difference between two frames, by the way. This is what you see. So it's basically, you see the differential. Oh, left and right eye? No, no. Like you're basically, the way that humans see, you don't see one frame. You see the difference of two frames.

**[1:08:40] Ramin Hasani:** I need to go look at that.

**[1:08:41] Speaker 4:** Look this one up.

**[1:08:42] Ramin Hasani:** Look this one up.

**[1:08:43] Speaker 4:** So attention is one component. Attention is definitely one component, but then again - Hardware awareness, customization.

**[1:08:51] Ramin Hasani:** Embodiment. Like there's another aspect of, so I would say like intelligence that wants to get deployed in the society outside of data centers, you got to have like some sort of embodiment.

**[1:08:59] Ramin Hasani:** Agents that are actually inside the virtual world, they have also an understanding of their virtual physical kind of environments that they are operating in you know so embodiment is also true for virtual agents by the way so you know so you gotta you gotta have like those kind of aspects in there so embodied intelligence and embodied reasoning is like something is very important and then adaptive intelligence is another another level that we we really want to add is that routing related or what do you mean by adaptive

**[1:09:28] Ramin Hasani:** Oh, adaptive, I mean like systems that can always evolve, like continuously kind of improving systems, yeah.

**[1:09:34] Speaker 4:** Okay, well, that was a really good deep dive. Is there anything that we should have asked you that we didn't cover?

**[1:09:40] Ramin Hasani:** No, I think that was a great, great session. Thank you so much.
