Episode Details

Back to Episodes
Reading the Model's Mind Mid-Inference

Reading the Model's Mind Mid-Inference

Episode 5774 Published 5 days, 8 hours ago
Description
Most LLM observability stops at the API boundary: request in, tokens out, everything between is a sealed box. Mechanistic interpretability tries to open that box, reading a model's internal computation directly from its weights. This episode walks the full inference pipeline, explains the residual stream and the logit lens, and covers why individual neurons are mostly noise (polysemanticity and superposition) and how sparse autoencoders untangle them. Then it surveys the tooling that actually does this work — TransformerLens, nnsight, vLLM-Lens, and DMI-Lib — including the overhead numbers that separate a research toy from something you could run in production. We also hit a hard current limit: FlashAttention fuses the attention path into the kernel, so the most basic question — which parts of the model were active — is literally unreadable in the kernels everyone actually deploys. Key sources: • TransformerLens 4.0 release notes — https://transformerlensorg.github.io/TransformerLens/content/news/release-4.0.html • TransformerLens repository (README, structure) — https://github.com/TransformerLensOrg/TransformerLens • nnsight repository (README, CLAUDE.md, walkthrough) — https://github.com/ndif-team/nnsight Episode #028319 — open it directly at myweirdprompts.com/028319
Listen Now

Love PodBriefly?

If you like Podbriefly.com, please consider donating to support the ongoing development.

Support Us