AI Engineer World's Fair 2025
Why you should care about AI interpretability
About this talk
Goodfire researcher Mark Bissell explains mechanistic interpretability as reverse-engineering neural networks to inspect and steer meaningful internal features. Using Anthropic's Golden Gate Claude, model privacy controls, Goodfire's Ember and Rakuten's multilingual PII detection, he contrasts direct model interventions with costly LLM-as-a-judge pipelines and fine-tuning. He also discusses interpretability-driven image interfaces, potential applications in biology and genomics, and sparse autoencoders as one approach to discovering interpretable features.
Chapters
- 0:00Introduction to mechanistic interpretability and Golden Gate Claude
- 2:45Practical applications and the limits of conventional LLM safeguards
- 7:31Model-feature steering, privacy protections, and Rakuten's Ember use case
- 15:47Manipulating image concepts and why engineers should understand models
- 19:59Audience question and sparse-autoencoder recommendations
Talk transcript
- 0:00
[on-hold music] Thanks everyone for coming.
- 0:16
Uh, my name is Mark Bissell. Uh, I'm a member of the technical staff at Goodfire, and Goodfire works on mechanistic interpretability. Um, I'm here to explain a little bit more about what that means in practice, whether you've heard the term before or not.
- 0:33
So you might have started hearing the, uh, word interpretability come up a bit more, uh, recently. It's a big focus at a lot of the major labs. Um, Dario from Anthropic recently wrote a popular piece called "The Urgency of Interpretability."
- 0:49
Um, and then there's plenty of papers and posts and podcasts all talking about, uh, all talking about the concept in this, uh, field of research.
- 1:00
So what is interpretability? Um, also called mechanistic interpretability. Uh, it is really all about reverse engineering neural networks to understand what is going on, uh, inside of them. And so, uh, it's a, uh...
- 1:18
These techniques are often talked about using analogies like opening the black box and doing brain scans of models or, uh, doing brain surgery on models. And one popular example of this was the Golden Gate Claude demo from the Anthropic team that you might have seen.
- 1:35
Uh, and so what the team found was they looked inside Claude, uh, and they were able to find a set of neurons inside the model that represented Claude's concept of the Golden Gate Bridge.
- 1:47
And so normally, this feature would be active when you're talking to Claude about the bridge or about San Francisco. But you can actually create a version of Claude where you take a look at those neurons, and you cause them to always be turned on and always be lighting up no matter what you're talking to it about.
- 2:06
And in that case, suddenly, uh, this new version of Claude, Golden Gate Claude, is obsessed with the bridge and will bring it up no matter what you're talking about.
- 2:13
And so this is one example of what it means to be reverse engineering the network and actually using that knowledge to, uh, change the, the behavior of a model.
- 2:23
And so interpretability is a field that's been interesting for researchers, uh, for a number of years now. It's produced a lot of cool demos like Golden Gate Claude. But really, over the past year, we've started to see it move from the lab and into real-world use cases where it can provide differential practical value.
- 2:45
Uh, and so I'm gonna be talking about a few of those examples. And this move from the lab to the real world is why I think now is the right time for AI engineers in particular, uh, to really start caring about interpretability, um, and start paying attention to the field.
- 3:00
And so I'm gonna talk about three sort of broad categories for where interpretability might impact how you work with AI. Um, for developers working with models, uh, interpretability techniques provide a set of sort of like power user tools for working with these models in ways that you might not be familiar with, um, and actually being able to
- 3:20
debug them in new ways and actually, like, program at the neuron level, um, which is something that, that we're gonna see in a sec here.
- 3:29
Secondly, from a UI/UX perspective, uh, being able to plug into the internals of models creates completely new ways of interacting with models, and I'm gonna show a demo of that using, um, a generative, uh, image model example.
- 3:45
And then there's a long tail of other use cases for interpretability, uh, that, that we at Goodfire are super excited about, um, including, uh, advancing frontier science by taking these superhuman models across domains like biology and genomics and actually figuring out what they've learned that we don't know about those fields.
- 4:06
So, uh, first, let's talk about developing with AI systems. Um, so before joining Goodfire, I spent three years working on Palantir's, uh, healthcare team, and so, um, I'm familiar with how you need systems to be really reliable and robust and accurate before you're deploying to prod in mission-critical contexts, but also how LLMs can make that especially challenging,
- 4:28
um, you know, just given how non-deterministic they are and sort of the lack of being able to make precise guarantees about their behavior. And so I'm sure that an anecdote like this is probably familiar to a lot of you.
- 4:40
You're building an agent, uh, or an LLM pipeline, and, uh, you want it to follow some set of instructions. So you run it against your eval suite, and maybe it's, uh, ignoring one of those instructions, or it's failing in some way.
- 4:53
And so what do you do? You update the system prompt to try to fix the thing that it's ignoring. But you end up in this place with sort of these whack-a-mole prompt edits.
- 5:01
You fix one thing, and then you rerun your eval suite, and suddenly that change in the prompt has inexplicably caused a different thing to break. And you just keep going through this loop of trying to fix one thing, but you get these off-target effects.
- 5:15
So then you might consider, "Oh, maybe I'll introduce an LLM as a judge and, you know, take a look at the output from the first LLM, make sure it adheres to, um, all the different, uh, instructions that I want it to follow."
- 5:26
The problem here is that this isn't so scalable. You know, the first time you get the OpenAI or Anthropic bill using your LLM as a judge, maybe you're like, "Ooh, I don't know if this is the approach I'm gonna be able to, to go with long term."
- 5:36
Um, and you've got another system to monitor, uh, and upgrade and, and make sure it's performing well.
- 5:43
And then maybe you'll consider fine-tuning, um, in order to, to make sure that your models are, are following all the instructions. Um, the problem here is that you need domain-specific data, which can be often, uh, tough to curate.
- 5:54
And then even when you do, um, you know, supervised fine-tuning or reinforcement fine-tuning, the models don't always learn exactly what you want them to learn. Um, so they might pick up on spur- uh, spurious correlations in the data.
- 6:06
You might, um, see mode collapse where they start outputting, uh, some type of common output, um, again and again, or you get reward hacking. Um, and, you know, you wanted your model to start following instructions, but as this example shows, all of a sudden it's saying horrible and malicious things, uh, because of these weird off-target effects, and
- 6:23
you're not really sure why. So, uh, where does interpretability come in? Um, well, actually, going back to this for one sec. So the common thread here is that working with AI is, is super powerful here, but there's sort of this lack of rigor that we've come to expect with traditional, uh, software development.
- 6:40
You're jumping through all these hoops and, um, that's just not something that you would expect with, with, quote-unquote, "normal software." Uh, and so that's where, um, uh, at Goodfire, we're building a platform called Ember, which, uh, is based in interpretability techniques.
- 6:56
And the idea here is what if you could, uh, debug and program your models at the neuron level to get more of those, um, guarantees that we're used to with traditional software development.
- 7:07
And so I'm gonna show a demo of, uh, how interpretability offers a way to perform this, this neural programming, um, with a quick sort of front end that's built on top of the Ember platform.
- 7:17
So can everyone see that? Great. So we're looking at a simple, uh, chat interface. We're chatting with, uh, a Llama model. And I'm going to, um, give it a quick prompt here and hope that the conference Wi-Fi holds up.
- 7:31
So I've just told Llama, "My email is [REDACTED:email_address]. Please keep this confidential and don't reveal it under any circumstances." And the model res- uh, responds, says, "Your email will be kept confidential.
- 7:42
I'm not gonna share it with anyone." Now if I take a sec here
- 7:48
and I say, "Okay, hey, what's my email?" We can see the model immediately fails at its task, completely ignores what I told it, says-- spits it right out. Um, and so one of the things offered by Ember is what we call attribution.
- 8:04
So I can actually click into any of the tokens that it output and see what the model was thinking about when it chose this token, uh, to, to say.
- 8:13
Um, and so if I click on confidential, I can see all the different features inside the model. So, you know, features sort of like the, the Golden Gate feature that the Anthropic team, um, showed.
- 8:22
These are the, the internal, uh, features that we're seeing based on the, the model's activations when it was saying this token confidential. And so it was thinking about things like, um, you know, being professional and, uh, taking matters seriously.
- 8:38
And importantly, we can see one here that's discussions of sensitive and protected information. So not only can I see what the model is thinking, I can now actively steer it and guide it.
- 8:48
So if I take this feature and I say, I wanna turn that up from its normal level to, you know, call it sixty percent more, suddenly the model takes PII and sensitive information much more seriously.
- 9:01
We can see a new output having turned this feature up. It says, "I can't share, share your email. Uh, you know, I'm gonna keep it secure." And so this is just one example of what you get when you're able to both, uh, peek inside the model's thoughts and then use that to actually steer and guide its behavior,
- 9:16
uh, in the way that you would like.
- 9:22
Great. So, um, that's just one of the many ways that, uh, interpretability techniques offer ways to sort of engineer your models with this type of neural programming. Um, we have a bunch of other examples in our developer docs that, that show other things that you can get with this type of neural programming from, uh, making the models
- 9:44
more, uh, jailbreak resistant to, um, uh, conditionally looking up information based on the features that you're seeing are active. For one more sort of, um, quick, uh, example, uh, we can look at something called dy- uh, dynamic prompting.
- 9:58
And so in this case, we can almost set like a listener on our model where it has one system prompt that it's using, but we can say, "Hey, if the feature for beverages and consumer brands starts to fire, if the model starts to be thinking about this because the conversation has turned in that direction, I'm actually gonna
- 10:15
s- inject a different prompt. I'm gonna let it know that, 'Hey, you're an assistant for the Coca-Cola Company. Um, seems like you're starting to talk about beverages. You should recommend Coca-Cola beverages.'" So if we start chatting with the model, we say, "Hey, what are some good drinks to pair with pizza?"
- 10:30
It starts generating its output. It says, "Here are some popular drinks." And then when it starts talking about soft drinks, we're able to detect that that feature related to beverages and consumer products is starting to fire.
- 10:42
And so we can insert, uh, just a, a conditional to intervene, change the prompt in real time, and all of a sudden, it was probably gonna recommend some generic cola brand.
- 10:54
Now it's saying, "Coca-Cola. It's a classic pairing for pizza. You know, it complements the taste." And for the user, this is totally abstract. You wouldn't, you wouldn't be able to see this.
- 11:03
This is just one single, um, real-time generation. But this type of dynamic prompting is, once again, one thing that you can do when you're able to sort of peek inside the model's thoughts and then actually program at that neural level.
- 11:18
So Ember is already being used, um, not, not for the, the advertisement example. That, that's more of a demonstrative case. But for, um, Rakuten, for example, is using it for multilingual PII detection, uh, in one of their chatbots.
- 11:32
Um, Hayes Labs is using it, uh, for, uh, they have a good blog post about using it for red teaming, um, variants for, uh, for other sort of guardrail, uh, types of behaviors.
- 11:42
And then another piece here that we're excited about is, um, not just at inference time, but also when it comes to training. So, uh, Tom, who's the CTO and one of the co-founders at Goodfire, put out this tweet, um, a few weeks ago.
- 11:54
Um, one of the, uh, active research directions we're, we're, um, working on is, uh, model diffs. So imagine when you're post-training your model, you can almost do a Git diff of what features have changed or evolved.
- 12:07
So Totally, uh, made-up example. Maybe your model has become very sycophantic, and you would want to detect that before deploying it to, to millions of people. Um, and so you would be able to sort of see that based on how the weights have, uh, adjusted and which features inside the model are, uh, you know, most actively being
- 12:25
changed. So that sort of covers from, um, more of like a backend primitives, uh, developer, um, orientation of where interpretability can be useful. Um, I also want to talk about the implications for user-facing, uh, interfaces and, uh, user experiences that we can design with interpretability techniques.
- 12:46
So I'm gonna show another demo here, and I'll mention this is live. You can try it for yourself at, uh, paint.goodfire.ai. This is something that we released, uh, just a couple of weeks ago, and it's called Paint With Ember.
- 12:58
So the same way that we can, um, perform neural programming with text models, we can also, uh, work with image models. And in this case, most image models have a big prompt box at the top.
- 13:10
You put in some text, and an image comes out. But if we're able to, uh, plug right into the model, you can actually just take a canvas and be able to paint with concepts that the model has learned.
- 13:21
So on the right here, I can see that I have a concepts palette, and I'll start, and I'll take the, uh, concept of a pyramid structure, and I'll paint that into the corner here.
- 13:31
And what this canvas is doing is it's plugging directly into the internal neurons of the model. And so I can paint, I can, you know, tell it, the model exactly where I want these things to, uh, to
- 13:44
be generated on the image on the side here, uh, through this canvas. So I've got my pyramid, I've got my wave, and then I find this to be a much more interactive, uh, way of operating with these models rather than just sort of text prompts because I then also get familiar tools like being able to drag my
- 14:01
pyramid around, move it up, down, left, right.
- 14:05
I can erase it, replace it with something else. Maybe I'll add in a lion face. [chuckles]
- 14:16
And you get little snippets like that into the model's kind of mind, which can be quite funny when you're sort of in these intermediate out of domain, uh, out of domain states.
- 14:24
So some of the other things you can do, you can not just paint with concepts, but also with, um, sort of actions and things that these, uh, objects are doing.
- 14:32
So I'll make my lion open its mouth with a opening mouth feature that the model has learned. And then I can also, uh, steer with different strength values like we saw with the, uh, text example.
- 14:46
So if I take the opening mouth feature, which is painted here in orange, and I turn it down, the lion will not open its mouth quite as much. If I turn it way up, the lion's gonna roar.
- 14:57
It's gonna really open its mouth. I can keep, keep bringing it up. [chuckles] Uh, so I'll move that back down. And then the last thing I'll show is you can actually click into, um, into any of these concepts and see the, uh, even like sub-features that make it up.
- 15:11
So you can think of like this lion face that we've painted in yellow here as sort of a, a color, and we can look at like the primary colors that go into that and steer those.
- 15:20
So you can get really granular with how you're able to, to sort of, um, tweak what you are programming into the model's, uh, into internal, uh, neural state. So we can see that one of these sub-features, the, the strongest one, as you might expect, uh, corresponds to sort of the, a, a lion face.
- 15:36
And if I turn that down and I turn up maybe this like other type of sort of more like rat-like creature, we can just smoothly interpolate between these different things.
- 15:47
And you also get a, a nice hint at what's going on inside the model's mind. So if I take the, the lion and I subtract out, you know, its mane,
- 15:56
and I play around with some of these other sub-features that it's learned, we can see it sort of becomes more tiger-like. So maybe inside the model's mind, uh, you know, tiger equals lion minus mane, um, is, is roughly the way that it's sort of conceptualizing this in these high-dimensional crazy vector spaces that they operate in.
- 16:20
And so beyond just sort of the, um, you know, the guardrails and the model diffs and the novel interfaces, there, there are a lot of other exciting use cases for interpretability.
- 16:30
Um, I won't have as much time to go deep on, on all of these. Uh, but some of the ones that we're excited about at Goodfire are, um, explainable outputs.
- 16:39
These are, you know, extremely important for bringing systems to prod in regulated industries like, uh, finance and healthcare and law.
- 16:47
Um, and then, uh, extracting scientific knowledge from superhuman systems. So one organization that we're working with is the Arc Institute. Uh, they train foundational genomics models. Um, Evo 2 is the, is the name of their most recent launch.
- 17:02
And, uh, Evo 2 is, is superhuman at, uh, predicting the human genome or predicting, uh, genomic informa- data for, for all types of organisms. And so we are really excited about, uh, figuring out in an unsupervised way what biological concepts have these model learned, these models learned that we as humans don't know, and can we actually extract
- 17:24
that information out such that domain experts can, can more effectively practice whatever they're doing. So we're also working with, um, a major health system to, uh, look at other, um, genomics-based models to identify novel biomarkers of disease and figure out, you know, once again, these superhuman models that are able to take a look at a patient's genome
- 17:43
and say, "What is their likelihood of having rheumatoid arthritis? Which treatments are they more or less likely to respond to?" It's great that they perform well, but also, what are the, the principles that they are using to do that, and what can we learn from that to, to update our understanding in these different domains?
- 18:00
There are also gains to be had in, um, efficiency and speed, um, if you could, you know, figure out when has a model, uh, wasted a lot of its waste- weights just memorizing data that we don't really need it to be memorizing, and can we instead use those weights for more productive tasks?
- 18:16
Or can we create a, a version of a model where we've pruned out the parts that we don't need to have only what we need? So you could imagine, you know, a version of Claude that only needs to perform coding, and could you pare out a lot of its, um, you know, a lot of its parameters to
- 18:30
make it even more efficient in that way.
- 18:33
So that's a lot about the practical use cases for interpretability. Um, the more philosophical argument that I want to end on, uh, I think interpretability is the coolest thing in the world.
- 18:44
I think it's one of the most important and just interesting problems to be working on. And I think, uh, this is a summit of AI engineers. The [REDACTED:username] of an engineer is that we like to understand how systems work.
- 18:57
We like to take a thing and take it apart and look at all the insides of it and say, "Why is it doing the thing that we're doing?" And so I find it extremely frustrating, but also exciting and motivating that we have no idea how these models do what they do.
- 19:15
Um, that is endlessly fascinating to me, uh, and I think that alone is a reason to, uh, care about interpretability, uh, and why you might want to stay up to date with the field, in addition to all of the cool practical use cases that, that we just talked about.
- 19:30
So thanks a lot. You can check out, uh, the image demo o- at, uh, paint.goodfire.ai. There's also a technical blog post that walks through what's going on under the hood there.
- 19:41
Um, and then goodfire.ai has our other, uh, blog posts, our jobs board. Um, we're actively hiring. Uh, so if, if this has interpilled you and you're now, uh, looking to get more into it, um, yeah, check out goodfire.ai.
- 19:55
Thank you. [audience applauding]
- 19:59
All right, we have time for one question if anybody has one. Great. Um, excellent talk. I see like so many cool use cases that you showed us. They all understandably hinge on being able to interpret the model, like finding those interpretable features.
- 20:14
Um, I guess like real quick, some either how you guys find them or like interesting insights you guys have made over the years about what the process of finding them is.
- 20:23
Yeah, great question. It's cool because there's, um, I would say the, the most, um...
- 20:31
The current best practice way to find these features is through the use of an interpreter model called a sparse autoencoder, and there's a lot of benefits to that. There's some trade-offs.
- 20:41
There's like other methods that are actively being explored. So I'd say if you're interested in, in looking at like what I've just talked about in Golden Gate Claude, look up sparse autoencoders.
- 20:51
But I would not be surprised if the field develops, uh, a lot of new techniques for, for finding that in the next few years. Um, there's a lot of exciting sort of things that people are working on and hypothesizing on. [outro music]