Skip to main content
Cognitive Revolution

Intelligence on the Edge: Liquid AI's Ramin Hasani on the Search for Device-Native Foundation Models

107 min episode · 3 min read
·
Ramin Hasani

Episode

107 min

Read time

3 min

Topics

Startups, Fundraising & VC, Leadership

AI-Generated Summary

Key Takeaways

  • Architecture scaling gradient: The optimal neural network architecture shifts predictably with model size. Below roughly 100 billion parameters, adding structural biases — gating mechanisms, recurrence, convolutions — improves performance for specialized tasks. Above that threshold, unstructured operators like pure matrix multiplication outperform biased alternatives. Practitioners building small, domain-specific models should actively explore gated recurrent and convolutional hybrids rather than defaulting to transformer-only architectures, which only dominate at maximum scale.
  • Automated Foundation Model Design (AFMD): Liquid AI's internal architecture search system evaluates 50–100 candidate operators using evolutionary strategies with actual target hardware in the loop. Critically, it optimizes against real downstream task performance across 100-plus benchmarks — not proxy metrics like perplexity. Teams building specialized models should replicate this principle: benchmark on the exact hardware and exact task the model will serve, not on general leaderboard proxies that frequently mislead architectural decisions.
  • LFM-2 architecture outcome: Running AFMD on CPU-class hardware consistently surfaces a double-gated 1D convolution as the dominant operator, comprising 70–80% of the resulting network layers, with a reduced number of attention layers filling the remainder. This hybrid achieves competitive quality while dramatically reducing memory footprint and latency versus pure transformer equivalents. The key retained element is input-dependent gating — not the full complexity of state space models — suggesting gating alone captures most of the representational benefit.
  • Edge AI market sizing: The global smartphone market generates approximately 500 billion dollars annually, and the laptop market adds another 300–400 billion, totaling roughly one trillion dollars in annual device compute shipments. This substrate currently runs minimal on-device AI inference. A 600-megabyte audio-visual model now powers Mercedes-Benz in-car voice interaction, demonstrating that production-grade multimodal AI can fit within automotive-grade processor constraints today, not as a future projection.
  • Input-dependent dynamics as core principle: Liquid AI traces its architectural philosophy to a 2022 paper introducing input-dependent state space models (Liquid S4), predating Mamba by roughly 18 months. Input dependence means the network's transformation parameters shift based on the current input during the forward pass, while the backward pass learns the dynamics of that adaptation. This second axis — learned dynamics separate from parameter count — allows smaller models to compress more knowledge than parameter count alone would predict.

What It Covers

Liquid AI CEO Ramin Hasani explains how his MIT-founded company builds device-native foundation models using automated architecture search, biological inspiration from C. elegans neural dynamics, and hardware-in-the-loop optimization. The company holds the number five spot on Hugging Face US downloads with over one million weekly downloads, targeting the roughly one trillion dollar annual smartphone and laptop market with sub-cloud AI inference.

Key Questions Answered

  • Architecture scaling gradient: The optimal neural network architecture shifts predictably with model size. Below roughly 100 billion parameters, adding structural biases — gating mechanisms, recurrence, convolutions — improves performance for specialized tasks. Above that threshold, unstructured operators like pure matrix multiplication outperform biased alternatives. Practitioners building small, domain-specific models should actively explore gated recurrent and convolutional hybrids rather than defaulting to transformer-only architectures, which only dominate at maximum scale.
  • Automated Foundation Model Design (AFMD): Liquid AI's internal architecture search system evaluates 50–100 candidate operators using evolutionary strategies with actual target hardware in the loop. Critically, it optimizes against real downstream task performance across 100-plus benchmarks — not proxy metrics like perplexity. Teams building specialized models should replicate this principle: benchmark on the exact hardware and exact task the model will serve, not on general leaderboard proxies that frequently mislead architectural decisions.
  • LFM-2 architecture outcome: Running AFMD on CPU-class hardware consistently surfaces a double-gated 1D convolution as the dominant operator, comprising 70–80% of the resulting network layers, with a reduced number of attention layers filling the remainder. This hybrid achieves competitive quality while dramatically reducing memory footprint and latency versus pure transformer equivalents. The key retained element is input-dependent gating — not the full complexity of state space models — suggesting gating alone captures most of the representational benefit.
  • Edge AI market sizing: The global smartphone market generates approximately 500 billion dollars annually, and the laptop market adds another 300–400 billion, totaling roughly one trillion dollars in annual device compute shipments. This substrate currently runs minimal on-device AI inference. A 600-megabyte audio-visual model now powers Mercedes-Benz in-car voice interaction, demonstrating that production-grade multimodal AI can fit within automotive-grade processor constraints today, not as a future projection.
  • Input-dependent dynamics as core principle: Liquid AI traces its architectural philosophy to a 2022 paper introducing input-dependent state space models (Liquid S4), predating Mamba by roughly 18 months. Input dependence means the network's transformation parameters shift based on the current input during the forward pass, while the backward pass learns the dynamics of that adaptation. This second axis — learned dynamics separate from parameter count — allows smaller models to compress more knowledge than parameter count alone would predict.
  • Closed-form solution unlocking scale: Liquid neural networks were originally governed by differential equations with no known closed-form solution since 1907 (Lapicque's membrane potential equation). Solving these in closed form, published in Nature Machine Intelligence in November 2022, eliminated the need for numerical solvers and enabled scaling from thousands to billions of neurons. The practical implication: biologically-grounded nonlinear architectures are no longer computationally intractable and can now be trained at foundation model scale on standard GPU clusters.
  • Fine-tuning platform incoming: Liquid AI plans to release a self-serve platform allowing enterprise customers to fine-tune small, task-specific models on their own data without requiring direct engineering engagement. For practitioners with narrow, well-defined use cases — document classification, catalog search, sensor prediction — this pathway offers a route to frontier-competitive performance at a fraction of inference cost, by combining a pre-optimized architecture with domain-specific supervised fine-tuning on proprietary datasets rather than relying on general-purpose cloud models.

Notable Moment

Hasani describes parking a car autonomously using a control module containing just 12 liquid neurons — not 12 million, not 12,000, but 12. Flying a drone required 30. The result came from modeling C. elegans worm neural dynamics, the only animal whose complete 300-cell nervous system was fully mapped, demonstrating that architectural expressiveness per neuron can substitute for raw parameter count in closed-loop control tasks.

Know someone who'd find this useful?

Episode Transcript

Hello. Welcome back to the Cognitive Revolution and happy fourth of July to everyone in The United States. Today, my guest is Ramin Hasani, CEO of Liquid AI, a company founded by MIT researchers that's developing device native foundation models. I'll say upfront that just before recording, I encouraged Ramin to go deep into the weeds on the technical details of Liquid AI's work. And as you'll hear, he did a truly excellent job, demonstrating a mix of technical sophistication, differentiated vision, and a contagious passion that, in my humble opinion, makes this episode an instant classic. We start with an overview of the team's research into tiny, biologically inspired, differential equation based neural networks that Ramin and team developed at MIT and which inspired them to start the company. Some of the capabilities they demonstrated, such as parking a car with a control module that consisted of just 12 liquid neurons, still sound a bit like science fiction today. And while those systems haven't scaled up to today's capabilities frontier, the company has maintained the liquid philosophy, which today means taking a neutral, empirical approach to designing and optimizing neural networks to perform under all sorts of exotic constraints, including most commonly the need to run on edge devices with limited memory and processing power. Considering the fact that the global smartphone and laptop market is roughly $800,000,000,000 per year, a number which the global AI datacenter build out is only now surpassing, the demand for inference threatens to price much of the world out of the frontier model market, And that so many enterprises and individuals value privacy and the ability to control their own information, this is an absolutely massive market opportunity unto itself. And Liquid has serious proof points, including holding the number five spot on the Hugging Face United States downloads leaderboard, plus notable partnerships with companies such as Shopify and Mercedes Benz. Anyone who doubts can do a quick download and demo of Liquid's Apollo app, which shows in my experience that even a 1,000,000,000 parameter model, which combines a small number of attention layers with a very simple gated learned convolution, while admittedly far from the frontier, can run fast enough on an iPhone to be a real option for basic use cases, such as privately searching through and classifying one's own local documents. Perhaps most interesting is the network architecture search process that Liqwid uses to develop networks for particular use cases and run time environments. Having found that proxy metrics too often lead the process astray, they now evaluate models on real downstream tasks on the actual target hardware that their customers intend to use. Remin shares a lot more detail on their findings. But in short, while attention based architectures continue to generalize better than any known alternative and therefore continue to dominate the frontier, the more specific your use case and the more limited the compute resources you have available, the more likely their search process is to land …

Get the full transcript (20,027 words) + summary by email — free

One-time email with the complete transcript and AI summary of this episode. No account needed.

One email, no spam. We’ll also show you what SignalCast does.

Browse all Cognitive Revolution transcripts →

You just read a 3-minute summary of a 104-minute episode.

Get Cognitive Revolution summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

Books, tools, and gear mentioned in this episode

SignalCast may earn commission on purchases via these links. As an Amazon Associate, SignalCast earns from qualifying purchases.

Books

Tools

  • The company holds the number five spot on Hugging Face US downloads with over one million weekly downloads.

Gear

  • The result came from modeling C. elegans worm neural dynamics, the only animal whose complete 300-cell nervous system was fully mapped.

company

  • Liquid AI CEO Ramin Hasani explains how his MIT-founded company builds device-native foundation models using automated architecture search.

More from Cognitive Revolution

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

Explore Related Topics

This podcast is featured in Best AI Podcasts (2026) — ranked and reviewed with AI summaries.

Read this week's Startups & Product Podcast Insights — cross-podcast analysis updated weekly.

You're clearly into Cognitive Revolution.

Every Monday, we deliver AI summaries of the latest episodes from Cognitive Revolution and 192+ other podcasts. Free for one show.

Start My Monday Digest

No credit card · Unsubscribe anytime