Intellectually Curious
Intellectually Curious is a podcast by Mike Breault featuring AI-powered explorations across science, mathematics, philosophy, and personal growth. Each short-form episode is generated, refined, and published with the help of large language models—turning curiosity into an ongoing audio encyclopedia. Designed for anyone who loves learning, it offers quick dives into everything from combinatorics and cryptography to systems thinking and psychology.
Inspiration for this podcast:
"Muad'Dib learned rapidly because his first training was in how to learn. And the first lesson of all was the basic trust that he could learn. It's shocking to find how many people do not believe they can learn, and how many more believe learning to be difficult. Muad'Dib knew that every experience carries its lesson."
― Frank Herbert, Dune
Note: These podcasts were made with NotebookLM. AI can make mistakes. Please double-check any critical information.
Intellectually Curious
Big Intelligence on Tiny Chips
Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.
In this episode, we unpack how engineers fit a 28.9M-parameter language model into an $8 ESP32-S3. By using per-layer embeddings and moving most data to flash, the active compute stays in fast SRAM, enabling offline AI at the edge. We explore what it can (and can't) do today—short, simple stories rather than complex instructions—and why this matters for private, decentralized intelligence on everyday devices.
Note: This podcast was AI-generated, and sometimes AI can make mistakes. Please double-check any critical information.
Sponsored by Embersilk LLC
I was looking at this uh cheap little electronic gadget the other day. One of those eight dollar toys you pick up at a checkout counter, you know?
SPEAKER_00Oh, yeah. The classic impulse buy.
SPEAKER_01Exactly. And I was just marveling at the basic circuitry inside. It's wild to think about what these tiny boards can do now.
SPEAKER_00Right. They pack a surprising amount of tech.
SPEAKER_01But then I read through the stack of technical notes and articles you sent over for our deep dive today, and man, it completely reframed my perspective.
SPEAKER_00It is definitely a massive paradigm show.
SPEAKER_01Well, like a developer just successfully ran a 28.9 million parameter large language model, completely offline, on a tiny $8 microcontroller, the ESP32S3.
SPEAKER_00Yeah, which is just staggering when you think about the physical hardware limits.
SPEAKER_01Right. And our mission today is to figure out how developers are basically breaking the rules of silicon to bring AI to the edge. But real quick, this kind of complex hardware and software optimization is exactly what our sponsor, Embersilk, tackles.
SPEAKER_00Oh, right, yeah.
SPEAKER_01So if you need help with AI training, automation, or uncovering where AI agents could make the most impact for your business or personal life, check out Embersilk.com.
SPEAKER_00They do really great work. So looking at the scale of this achievement, you know, before this project, the absolute limit for MIDILES on a microcontroller like this was around 260,000 parameters.
SPEAKER_01Wow. So we are talking about something roughly a hundred times larger here.
SPEAKER_00Exactly. A hundred times. It means fundamentally changing how the software interacts with the physical chip.
SPEAKER_01And to understand how they pulled off that architecture, I mean, we really have to look at the memory bottlenecks. We're talking about fitting a 14.9 megabyte model onto a chip with only 512 kilobytes of fast SRAM memory.
SPEAKER_00Right. The math just doesn't work if you followed traditional architecture.
SPEAKER_01Yeah, it really doesn't.
SPEAKER_00Normally an AI model demands that every single parameter be instantly accessible in that fast memory.
SPEAKER_01So I was thinking about this, and tell me if this analogy works. Think of the fast SRAM as a chef's cutting board.
SPEAKER_00Okay, I like that.
SPEAKER_01Like it's super fast to work on, right? But it's incredibly small. And the chip's flash memory is like a deep freeze in the basement. It's huge, but painfully slow to retrieve things from.
SPEAKER_00Yeah, that is a perfect way to look at it.
SPEAKER_01So traditional models demand that every single ingredient be on the cutting board at all times.
SPEAKER_00Right. Which is why developers usually stay stuck with tiny models. But the developer here used a brilliant workaround. It was actually inspired by Google's Gemma models.
SPEAKER_01Oh, really?
SPEAKER_00Yeah. Specifically a technique called per layer embeddings.
SPEAKER_01Okay, so if they aren't loading the whole model onto the cutting board at once, they must be partitioning it, right?
SPEAKER_00Exactly. They realize that in a language model, a huge chunk of the parameters just sit in an embedding table.
SPEAKER_01So they keep the active computation in the fast SRAM and just call the reference data from the slower flash memory?
SPEAKER_00Precisely. When an LLM processes a language, each token or word maps to a specific vector in that table.
SPEAKER_01Got it.
SPEAKER_00That means for any given word, like 99% of the embedding table is entirely irrelevant.
SPEAKER_01Oh, I see. So you only fetch the specific ingredients you need for that exact recipe.
SPEAKER_00You got it. They left about 25 million of those parameters down in the deep freeze. In the slower flash memory.
SPEAKER_01That is wild.
SPEAKER_00And the chip only pulls the exact rows it needs, which is just about 450 bytes per token, up under the fast SRAM cutting board.
SPEAKER_01Well, the actual computing engine stays up there running smoothly.
SPEAKER_00Exactly. Because they aren't loading the whole massive table, this giant model costs almost nothing to run. They're getting speeds of about 9.5 tokens per second.
SPEAKER_01Quite completely locally.
SPEAKER_00Completely local.
SPEAKER_01Okay, well I have to push back for a second to keep us grounded here.
SPEAKER_00Sure, go ahead.
SPEAKER_01If I slap this $8 chip into my smart thermostat today, is it going to start drafting my emails and answering obscure trivia questions?
SPEAKER_00Well, we definitely need a reality check on the actual output.
SPEAKER_01Right.
SPEAKER_00This specific model was trained on the Tiny Stories data set.
SPEAKER_01Okay, so what does that mean practically?
SPEAKER_00It generates short, simple, and surprisingly coherent stories, but it cannot follow complex instructions. It won't write your code.
SPEAKER_01And it definitely doesn't know factual trivia.
SPEAKER_00Right. So your thermostat won't be doing your taxes anytime soon.
SPEAKER_01Good to know. But I guess the true triumph here isn't really the AI's intellect, is it?
SPEAKER_00Not at all. The breakthrough is purely architectural.
SPEAKER_01It's a proof of concept.
SPEAKER_00Yes. That you can fit a model of this magnitude onto a tiny, incredibly cheap piece of silicon using highly efficient memory management.
SPEAKER_01And that is what makes this so incredibly exciting for the future of edge computing.
SPEAKER_00It really is. It completely democratizes hardware intelligence.
SPEAKER_01Right. We're moving toward a world of cheap, entirely private, offline AI, seamlessly embedded into the physical objects around us without needing a Wi-Fi connection or a massive server farm.
SPEAKER_00The potential for positive, decentralized innovation here is massive. We are talking about bringing smart adaptive technology to remote areas, medical devices, you know, everyday tools that genuinely improve human life.
SPEAKER_01It's such an inspiring outlook. So if you enjoyed this deep dive into the source material today, please subscribe to the show wherever you listen.
SPEAKER_00Yeah, and hey, leave us a five-star review if you can.
SPEAKER_01It really does help get the word out. Thanks for tuning in.
SPEAKER_00Always a pleasure.
SPEAKER_01So I'll leave you with this to ponder. If simple $8 edge chips can hold language models securely offline today using clever memory tricks, what happens to the multi billion dollar cloud computing monopolies tomorrow when our everyday devices no longer need to phone home? The decentralized future of intelligence might just fit right in your pocket.