Linear Digressions

Linear Digressions

By Katie MaloneTechnology
Download on the App Store

All Linear Digressions episodes

  • Mixture of Experts: How Giant LLMs Get Smaller Without Being Smaller
    Mixture of Experts is one of the cleverest tricks in modern inference, and it makes models smaller without actually making them smaller. This week we unpack how MoE models like DeepSeek V3 (671 billion parameters, only about 37 billion of them active for any given token) use a lightweight router to send each token to just a few "experts" in the feed-forward layers, why those experts often live on different machines, and how the idea traveled from a 1991 paper co-authored by Geoff Hinton, to a 2017 Google paper with Noam Shazeer and Jeff Dean, to standard practice today. Along the way: a delightful interpretability paper showing what feed-forward layers seem to "remember" from training.
    33 min
  • How to Stay Relevant as a Data Scientist in the Age of AI | Interview with Dr. Jon Krohn
    Staying relevant as a data scientist when AI is reshaping the field isn't just a career question — it's an existential one. Dr. Jon Krohn, neuroscientist-turned-data-science-educator, podcaster, and consultant, sits down to share how he thinks about navigating that challenge. From his unconventional path out of academia to the advice he gives practitioners trying to future-proof their careers, this conversation is packed with hard-won perspective. If you've ever wondered what it takes to keep growing in a field that won't stop moving, this one's for you.
    Links:
    Jon Krohn's website
    https://www.jonkrohn.com
    Y Carrot (Jon's AI consultancy)
    https://www.ycarrot.com
    Katie on the Super Data Science Podcast, episode 1029
    https://www.superdatascience.com/podcast/sds-1029-how-ai-brought-a-podcast-back-from-the-dead-with-linear-digressions-katie-malone
    METR (source of the "task length doubles every seven months" charts Jon cited)
    https://metr.org
    Artificial Analysis (AI benchmarking site Jon cited)
    https://artificialanalysis.ai
    Serg Masís, "The Podcast Pipeline Nobody Sees: Behind the Scenes with AI Agents and AI gen" (Build Stuff)
    https://www.youtube.com/watch?v=tSnzRUjWvrc
    Search Engine podcast, "One man could slow down AI. He won't. Why?"
    https://www.searchengine.show/one-man-could-slow-down-ai-he-wont-why
    ---
    Website: https://lineardigressions.com
    Apple Podcasts: https://podcasts.apple.com/us/podcast/linear-digressions/id941219323
    Spotify: https://open.spotify.com/show/1JdkD0ZoZ52KjwdR0b1WoT
    Substack: https://substack.com/@lineardigressions
    44 min
  • GPU Architecture for LLM Inference: Memory, Bandwidth and Hardware Explained
    GPUs are the engines powering every AI conversation you've ever had — but what's actually happening inside those chips when an LLM generates a response? Understanding GPU fundamentals turns out to be surprisingly useful for making sense of why inference works the way it does, from the prefill stage that processes your entire prompt at once to the serial decode step that produces tokens one by one. If you want to understand the real constraints shaping modern AI systems, this is where to start.
    20 min
  • KV Cache Fundamentals
    The unsung hero of every LLM conversation you've ever had? A clever optimization called the KV cache. Self-attention is computationally brutal — every token attending to every other token means costs that scale as N², and that blowup gets worse with every turn of a conversation. The KV cache is what keeps that from becoming completely intractable at scale. Today's episode goes deep on how it works, why inference is a harder and more interesting problem than it gets credit for, and what's really happening under the hood when you chat with an LLM.
    25 min
  • AI Inference 101
    Everyone talks about training the model — the data, the compute, the alignment magic. But what happens after the weights are frozen and millions of users start hammering it with prompts? That's inference, and it's a surprisingly deep rabbit hole of engineering challenges that rarely gets the spotlight it deserves. This week I kick off a new series unpacking the full inference ecosystem — from the moment a model completes training to the moment tokens land in your hands.
    28 min
  • Mechanistic Interpretability: How Researchers Try To See Inside Models
    As AI systems grow more powerful, they grow harder to understand — and that tradeoff has never mattered more. Most interpretability tricks give us approximations from the outside, but mechanistic interpretability takes a different approach: cracking open the model itself to trace *why* it behaves the way it does. This episode digs into what makes mechanistic interpretability fundamentally different from other explainability methods, and why it might be the most promising path toward actually understanding what's happening inside modern LLMs.
    30 min
  • LLM As A Judge
    Labeled data is expensive, slow, and painfully hard to come by — and when you're trying to evaluate whether an AI workflow is actually doing what you want, the problem gets even messier. How do you judge whether a chatbot response was helpful, honest, or hallucination-free at scale? This episode digs into using LLMs as judges: letting the models themselves evaluate the quality of AI outputs, from simple chat exchanges all the way to complex multi-step agent behavior.
    31 min
  • The Impact of AI on Podcasting (Harvard Data Science Review Cross-Post)
    Originally aired on the Harvard Data Science Review podcast.
    What can podcasting teach us about AI — and what can AI teach us about the future of podcasting? Katie Malone (that's our host) joins Jon Krohn of SuperDataScience for a conversation with Harvard Data Science Review editor-in-chief Xiao-Li Meng about both questions at once. They dig into what it means to cover a field that's moving this fast, who these shows are really for, and why that sweet spot between "too high level" and "too in the weeds" is so hard — and so worth chasing.
    30 min