文稿来源:Megaphone 音频 + 豆包语音识别;机器转写可能有识别错误,人名与数字请以音频为准。
Hello, and welcome back to the cognitive revolution. Today, my guest is Kurt Tigges, member of technical staff at GoodFire, and with Nick Camarata, co author of the new paper, Neurons as an Interpretable Basis. The more academic and more LLMs focused companion to Nick's recent viral essay, Neural Networks are already clean. This work directly challenges what had been the received wisdom. That neural network internals are such a tangled mess, and that individual neurons are so frequently reused across disparate concepts, that we can't realistically hope to decode them directly. And instead need helper models such as spars autoencoders to make sense of their internal states.
Kurt's position, as you'll hear, is that individual neurons are in fact much more directly interpretable than previously believed. That most neurons in fact have one main function, that these functions are often better thought of as verbs and control flow gates than as entity recognizers. And critically, that LLMs agents are now capable of grinding through a network and describing each neuron's role with remarkable accuracy.
We begin with a detailed overview of the LLM they study, Quinn 3.6 35B- A3B, a 35 billion parameter model containing 5 million MLP neurons. Which are spread across 40 layers, each of which has 256 experts containing just 512 neurons each.
At every layer, eight experts are active in any single forward pass.
We linger on the highly expressive architecture of modern Swiggle MLPs, which provide two distinct sets of signals to each neuron. One linear and one gated by the Silu activation function. This specific NLP architecture was proposed as a Transformer improvement by Noam Shazeer in 2020. In a five page paper where he famously wrote that quote, we offer no explanation as to why these architectures seem to work. We attribute their success, as all else, to divine benevolence. Six years later, I'm struck by how similar this structure is to some of the gated architectures we've seen in Mamba and other highly expressive state space models. And my own intuition is that these parallel paths allow the model to simultaneously gather semantically relevant information. And effectively filter it for relevance.
Interestingly, because the activation function does allow for negative values to be transmitted, each neuron can have different meanings when activated in its positive and negative directions.
From there, we move on to the techniques that Kurt used to support the idea that a model's large activations are all you need for solid performance. The key concept is sparsity. In short, Kurt shows that you can ablate roughly 90 percent of the individual neurons, keeping only those with the strongest activations, with surprisingly minimal performance degradation. In some cases, such as on the ARC AGI puzzles, such intensive ablation actually improved performance. And while it did cause the model to struggle on reasoning tasks, the authors do show that a very small amount of additional post training on the sparsely activating model Is enough to recover a large majority of the performance loss.
Having established that the model's weaker activations matter less than most had believed, we move on to discuss the neuron scientist, the LLM agent that they use to scale the work of characterizing individual neurons. Given a corpus of text and relevant interpretability tools, a frontier model generates, and then iteratively refines, paragraph length hypotheses that attempt to describe what each neuron does. These hypotheses in turn are validated by asking another model to indicate based on the description where in a given bit of text that specific neuron should be expected to fire. And then showing that the original model's behavior is substantially restored relative to ablating the neuron entirely, when the other LLM's guesses are patched in to the model's activations.
Along the way, we also touch on monitoring as the first and most obvious application of this work. The small circuits called neuron communities, they identify and begin to explore. The fact that individual experts within the mixture of experts architecture are also more interpretable than previously discussed. How this work relates to the current consensus understanding of how model store and recall facts. as well as the roles of the residual stream and attention mechanisms.
The possibility that small activations may matter much more in long context scenarios. The path from here to ambitious reverse engineering, how we should be thinking about scaling laws for interpretability. And what if anything this work suggests we might ought to do differently in the training phase in order to produce more readily interpretable models in the future?
The bottom line for me is that this work does constitute a significant step forward in interpretability. Where much of the field previously assumed that helper models were required to disentangle model internals. There is now good reason to believe that we can study neurons directly in a highly scalable way. At the same time, whether such low level understanding can be effectively laddered up to higher order understanding of circuits and behaviors remains to be seen. There is much more work to be done. And while I totally understand how hungry people are for hope, after a summer of so much bad news about our prospects for alignment through behavioral training alone, we should be very careful. As Kurt is throughout this conversation, not to jump to unwarranted conclusions. Interpretability remains unsolved.
I hope you enjoy this deep dive into the surprising legibility of individual neurons, with Kurt Tiegas, Member of Technical Staff at GoodFire.
Kurt Tiggans, member of technical staff at GoodFire, welcome to the cognitive revolution. Thanks, Nathan. It's great to be on the podcast. I'm excited for this, this is the latest in a long line of GoodFire mechanistic interpretability episodes, and In some ways might be the biggest one yet. um, Occasion here is that you have worked closely with Nick Camarota, who recently made some big waves in the AI space with His essay, neural networks are already clean, and um now we've got the follow up paper which goes deeper especially into the language model side of this. and Quantifies it in a variety of different ways, and and bring some new techniques to bear on the problem as well. And so, I'm really excited to go into it and and really get into the the nitty-gritty details. But Maybe before we do that, just to kind of get us started. I would be really interested to hear, cause I think one thing that's been interesting about this particular essay is that More so than most papers, there's like a sense that there's, that you want to change people's minds. you know that you're kind of trying to induce a a paradigm shift with this work. So maybe just lay out like what is the core argument that you're making, or the core takeaway that you want people to uh take on board and and use to inform their work, and then we'll Proceed to unpack. So the core takeaway of what we're our experiments and what our writing tries to convey is that uh basically the individual neurons in MLPs in the neura- neur- neural networks in general are more interpretable than the field is thought to this point. They are very difficult to interpret, they're complicated objects, they were very confusing in the initial umLike days of it, Interp, and because of that, I think it became not very common to study them in detail. There always has been a group of people like trying to it. Do some interpret on individual neurons, but umYeah, I think it just was seen as a very difficult thing, and that um this, ne-, representations would be distributed against across many neurons. Rather than localized in individual ones.
So, our message is that we can understand them, that you often don't need very many active at once, and that uhEven when under on has more than one meaning, which can be very confusing. It's usually not like an unbounded number of hundreds and hundreds of meanings that are just like very difficult to understand. Rather, it's like a Compact set of of meanings.
And uh yeah, that's the main message. When detail from the essay that I would like to understand better was the idea basically, I I would summarize it as They actually used to be like year, a few years ago, when a lot of this work was originally done. and hypotheses reformed, that maybe the neurons at that time were in fact Less interpretable because of somewhat less good training techniques, and so there's been hmmKind of a improvement in the underlying uh substrate, like the problem isn't maybe gotten easier in some ways. and we weren't like looking, because we'd kind of thought that this was hard and giving up on this line of inquiry.
What has changed? Wha- it, what, how would you describe the?
It's, you know, I feel like most things have drifted toward being like less interpretable. You know, we're worried about chain of thought, not being faithful or not being monitorable, why has this gotten easier? Well, there's a confluence of two different things that has made this easier, I think. One of them is that we have better tools available. So, we have agents that can like comb through all of the situations where an neuron activates, and just like look for patterns anduh, Kind of extract these and give us like the.
Backset of descriptions of what the neuron is doing. So, we have like one such agent that we've scaffolded the neuron scientist who um will go through these and provide an analysis. uh, We also have better ways of like looking at the individual circuits that go into and out of a neuron to trace and like quantify these behaviors. But another thing I think is that you're right that like a lot of the earlier networks were kind of difficult to interpret, they were messier. Certainly smaller.
And this might be going a bit into the weeds there, but also I think that there is an effect with um the activation functions. So, umValue is the most well known one, but In the networks that we've looked at so far, the activation functionsReLU and JLU are harder to interpret, and then SwiGLU becomes easier to interpret. Probably because it allows for like a um sort of like, it's like a little circuit that's d-, able to do some logic, and so that Opens possibilities for greater interpretability. I'm certainly no stranger to trying to get agents to do all my work, so I uh I empathize uh very much with uh that approach. I, let's take it one minute also, and just orient ourselves on the model that is kind of the core objective of study in the paper, in the in the essay, there was a lot more stuff on vision models of various kinds. here we're talking more language model. so the model. that you studied the most is Quin 3.6, 35BA3B. Which folks will know is a mixture of experts with 3 billion uh active parameters at any given time.
Can we just kind of describe that thing in a little bit more and potentially tedious detail? Like how many layers does it have? I I read that there's 5 million neurons, but I I just kind of like to get a little bit of a sense of the layout of Spread across how many layers, how many experts in a layer. within an expert, you know, what is the sort of width and depth of a of an individual expert? And then I I do want to spend a little bit of time too on Two signals that feed into each neuron, and and how we should understand those. I honestly think that is something that I have not understood as deeply as I probably should have before this conversation. The structure of a gated MLP is probably not something that a whole lot of people are familiar with. So, Quinn, as you said, it's a mixture of experts model. And it has 40 layers. um, Each layer has about 130 thousand total neurons, if I'm remembering my numbers correctly. And those are divided into 256 experts for each layer. So, at each layer, the router will decide Send the input to eight out of those 256 experts. And so, it'll just like go through the experts one at a time. As a little subnetwork of the entire model. So this means that you know only a few of the model's neurons are active at any one time, just because you know only 8 out of 256.
So each expert has 512 neurons, and umThose are always on to some degree, usually just a tiny bit, but some of them will be will have strong activations, and those are the ones that we look at in particular. So, some other interesting things about this model, it's worth knowing that even though we have 5 million neurons, there are effectively 10 million things that the neurons can express, because Each neuron has a positive and a negative activation. and those can have different meanings.
and they're read geometrically in a different way by the model. so, it uh sometimes, if you have one neuron that's about a topic or One poll will be a about a topic, and the negative poll will be about a different topic. Sometimes they're related, but There's a lot of variety there.
So, other reasons why we chose this model, it performs quite well on benchmarks, and it also has a form of attention called uh gated delta net. Which umIt has regular attention, but then that's only one fourth of the attention layers. The three fourth are these um gated delta nets, and umThis model just has a lot of features that are also present in like the uh the biggest open source models, the frontier open source models. So, that uh made it a good subject for our investigation.
Now, when it comes to the squiggle activations, or the uh the individual neurons, and what you were alluding to before with the two paths into the uh the neuron. Basically, you can think of each neuron as having an up projection, and then a gate projection. So, instead of input will come into the neuron layer. And then it will go through two, those two sets of parameters instead of just one. And those are two like parameter majorities that are kept completely separate, so they can recognize different things.
So, what happens in practice is that the gate uh matrix will detect some aspect of the input, and then the up matrix, the up projection will detect Different thing about the input, and then once they do their computations, the result is multiplied together. So, that allows for you to have um like a conjunction, with basically If you see, you know, maybe the gate covers like context, and then um the up projection covers a specific topic topic about the context. Like maybe the context is cooking, and then the up projection recognizes An ingredient like garlic, and then when they're multiplied by each other, it activates e extra strongly.
So, maybe, I don't know if you know like the intellectual history of this very well, but like, the sort of traditional MLP that I think most people imagine when they think of an MLP is basically just rows of neurons where each one has A parameter that says. how strong its activation will be multiplied by as it connects to each of the different positions in the next layer, right? That is vanilla. That's kind of what I've become accustomed to thinking about.
When did this more complicated mechanism from layer to layer start to become the norm? Do we know why it became the norm, and Is there anything more that I should be just kind of, like sometimes with With the attention mechanism, you know we've got like our uhKeys, queries, value. matrices, and we have kind of a story as to like what each one of those is doing. You know, this is saying this token has this information, it's looking for this information. Now, having found that, it's gonna load this other kind of information. Do we have a story? Around that here that is like principled that led to its design, or we kind of post hocing that story based on the fact that this just kind of seems to work.
To be honest, I'm not sure of the exact history of the development of this. um, But the larger family, the gated NLP family that includes um Squeeze, but also includesum, RedGlue, well, it's a little bit different, but it usesReLU instead of Silu in the middle. um, These have been around at least since the llama 3.1 family. uh,So that's been a few years now. Yeah, more than two years. Yeah, yeah, and probably pre-dating that. um, But right now, the vast majority of Modern language models use gated MLPs, and among those, um most of them are SwiGLU. They just perform better. umIn practice, and I think the people who developed it weren't thinking about interpretability at all. Just, they worked better, probably because it's more expressive. um, You know, you get twice as many input parameters. To the NLP. We do have a post talk story about how it allows the network to function. um, And we go into this in the paper a little bit as well, which is that um if you have This um combination of gate and up, it means that you can switch contexts more easily. So for example, uhuh, This is, if you have a neuron that has two meanings, and then you'll probably want it to be read by two sets of downstream readers. And um so that each group of downstream readers will interpret the neuron differently. That way, you won't get your signals mixed up. uhFor example, there's a neuron where the one meaning is oral health, and the other meaning is marine wildlife. And uh these are very different concepts, right? In practice, when the neuron has one meaning, the set of readers is completely different. When it has another meaning, the set of readers is again uh separate. And what we see is that uh the context of the text that sent to the model will activate these downstream readers in advance, so that they'll be prepared to Receive the target neuron signal. So it's like you have a switching function basically. um.
This just allows more combinations of things to happen in the network. If we zoom in on one particular neuron, it's getting now basically Two signals from every neuron position in the layer before it. One is the sort of simple signal of just like The strength of that firing times a parameter that says, you know, in a linear way, here's how strong you should fire based on my contribution. And then there's this additional parameter, which I, to correct me if I get anything wrong, I probably will. Again comes from every neuron in the layer before, but now it's The strength of the activation is put, is multiplied by a parameter and put through this gate function, which is the swiggle or the silu. or could be a variety of Different ones, but you said, Squeegee, I see Silo in the paper, but you said Squeegee is like the most commonly used, so maybe you can deconfuse me a little bit on that. But it's Not necessarily the case, or we we shouldn't think of it necessarily, I guess, as In fact, I'll state it the other way. We probably should think of it as the gates coming from different places than the signals, because if the gates and the signals came from the same place, they'd be they'd be inseparable. And the whole point of this is that we have a neuron being told when to be active, and then also kind of how strong to be active, but coming from different places, so that this can these two signals can reach it independently. And that independence is where we get this greater expressivity. How am I doing? Yeah, so that's basically right. It is, it does get a little messy because um the strength of the activation can come from both the up projection and from the gate.
So, to also to answer one of your earlier questions, so the the gated MLP as a whole is called SqueezeLU, this particular design. That includes the up projection, the gate, uh, projection, and the um decoder direction. Then side of that, the gate is multiplied by the activation function, which is Silu. If you had red glue, um, instead of swiggle, then the gate would be multiplied by aReLU activation. And what's the silu does is allow the gate to be Like a little bit negative sometimes, but mostly positive. uh, Where as revenue in that place would only be like only positive. But yes, we do indeed see that They often have some Somewhat disjoint sets of things that activate them. Sometimes there's some overlap, but usually it's uh quite separate, which allows for that expressivity. Gotcha. OK. Hey. We'll continue our interview in a moment after a word from our sponsors.
Today's episode is brought to you by anthropic, makers of Claude. To show off Claude's latest capabilities, I asked Claude to take the lead in making this ad.
Given a short creative brief, Claude using Opus 5.5, studied my past Claude ads, wrote this script, directed a clone of my voice, and designed and coded the animation you're watching.
My job, give feedback and decide.
Claude is the AI for problem solvers. It's the collaborator that understands your entire workflow and thinks with you, not for you. Whether you're debugging code at midnight, building a financial model Or strategizing your next business move, Claude extends your thinking to tackle the problems that matter.
And with cloud code routines, it keeps working in the cloud even after you close your laptop. For problems worth solving, get started with Claude at claude dot A I slash T C R. That's claude dot A I slash T C R. And check out Claude Pro, which includes access to all of the features mentioned in today's episode. Claude dot AI slash TCR.
This episode of the cognitive revolution is brought to you by OutSystems, the leading agnostic systems platform. We've all seen the headlines, companies are pouring money into AI. But the big question on every executive's mind right now isn't just how fast can we adopt this, it's where is the ROI? We're seeing a real trend toward AI chaos. You've got teams deploying standalone coding tools, random agent builders, and experimental scripts. It sounds innovative, but in reality, it's creating a massive headache. Fragmented tools, ungoverned data, serious security blind spots, and costs that are spiraling out of control. If you don't bring those agile applications under control now, while they're still embedding into your core processes. You are looking at broken systems and damaged customer trust down the road. That's where OutSystems comes in. OutSystems is the leading agnostic systems platform for the enterprise. Instead of managing a patchwork of disconnected tools, OutSystems lets your team engineer, orchestrate, and govern your entire agnostic ecosystem on one open, unified platform. It's built for the speed of AI, but with the reliability and security that enterprises actually require. We're talking about real results like KeyBank, who used that systems to deploy a customer facing app. at delivered 75 percent faster onboarding times, or the global logistics leaders who built agnostic systems to completely eliminate their engineering bottlenecks. You don't have to choose between speed and control. Whether you're a small team or a massive enterprise, OutSystems helps you engineer, orchestrate, and deploy, agnostic systems that actually scale. stop chasing the hype and start owning your agential future. you can see how it works and learn more at outsystems dot com slash t c r. out systems dot com slash t c r. so one big Maneuver that plays out a few different ways in this paper that's really core to all the findings is Sparsity in a a few different ways, you sort of Look at how sparse can we make this thing and still get, you know, pretty similar results. One thing that I would love to. understand is kind of when we move things to sparse, I Not entirely clear on what that always means. Like, the simple way to think about it would be like turn them all to zero. But I I take away that it's actually a little more complicated than that, like there's some sort of baseline. Average activation that's non zero, that is considered to be like this, that sort of default or neutral state when uh a neuron is ablated or You know, essentially turned off, but turned off doesn't mean going all the way to zero. Help me understand that a little bit better. Yeah, so, um, it's a bit tricky in practice because uhWhen an expert is activated, all of its neurons are on a little bit. You know, there is no true zero for SWEGLU or SILU. um, When we do the sparse experiments There's um a variety of things we do for um where we, in some cases we ablate everything except for the extreme activations that we've measured precisely. For a given neuron, and then when we do that, we set the other values of all the other neurons to their average. So it's a mean ablation. Now this mean ablation in practice is actually quite close to zero, cause then neuron is bipolar, that's both nega- positive and negative. um, The average just ends up being like very very close to zero or small. Another kind of ablation we do where we just select the top A neurons from each expert, for example, top 64 neurons from an expert. In this case, those are the only signals we allow to pass through. The other items we do not umThey don't have any signal, so they're effectively zero. So is is much at stake there, like in the scenario where you use the average, if you just literally set them all to Zero, meaning like there was no contribution from that neuron to the next layer. Would that be, would that like yield dramatically different results or is it? hmm, Not a big difference in practice. So, in practice, when we do this, the model performs quite well still on a number of benchmarks, um, just basically equivalent to the original model.
So when we initially do this Then reasoning does suffer, um, so the models will start going into loops sometimes, it'll like be unconfident about its answer and just like self check too many times. But um with a little bit of fine tuning, we can correct that, and the model like can perform as well or even better in the benchmarks that we tested. in this ablated state. yeah, so that's really weird. I definitely wanted to try to get some intuition around that. so, just to uh one one more fine point of uh clarification. So, there's these different ablation techniques. Top 64 is I think where the like 88 percent number comes from basically, right? And then you also have, and then you look at top 32, and it seems like there's significantly more degradation of performance. When you go from top sixty four to top thirty two, but then there's also this like percentile thing where you ablate like, because it's bipolar, I understand you're taking like the middle, right?
Strongest positive, strongest negative will keep, but will ablate like the 10 to 90 percentile or the 5 to 95. Why is it w- why is it meaningfully different to have 64 versus just keeping the bottom and and top 5 percentile. Is that like, it seems like it's almost two ways of saying the same thing, but there must be something more there that's causing those to be like substantially Different to the point where you're even bothering to report them separately in the paper. Each form of ablation has kind of a different meaning to the model. One thing we noticed is that um if you rank and single neurons. activations or uh the places where it activates by these percentiles like P75, um, P90, P95 and so forth. Different neurons Start to descend into noise at different levels. So, one neuron might be meaningful all the way down to P75. And another neuron might be meaningful just down to P99.
And this can also differ by layer. So, um, sometimes just a strict ablation based on percentiles, it doesn't always make sense or might not be principle.
Another way that you can do it is if you do the top top in top k, um, top sixty four for example. Then what this says is Given that you've activated this expert, what are the most important things in the expert? And this kind of lets the model decide in a way what's important rather than just like The pure um percentiles, and the percentiles can be kind of dependent on the data set as well. But by letting the model do that We get a little better performance. Practice what this turns into is the vast majority of um things that activate are indeed already above P95 um on the positive side or below P5 on the negative side. But it'll include like a handful of neurons that are like, you know, T90 or something like that. They're a little bit weaker.
So, is it is the core difference that the percentile base thing is happening model wide versus the top k is happening at the per uh on a per expert basis? Where is the percentile also per expert? The percentile is actually per neuron, so it's like uh given this neuron's historical activation range, you ablate based on That individual neurons um value for P ninety or whatever the case may be. But that's like global in the in the context of all 5 million neurons. Yeah. all at once. gotcha. so the the top k is sort of like a stratified approach where you're gonna ensure that ex on an expert by expert level, you keep like a a similar amount of activity.
Present, um,Yeah, yeah, exactly. Yeah. 'cause maybe you have an expert where um most of the neurons have still have some kind of meaning below um you know P ninety five, maybe they still, maybe all of the neurons in that expert have a meaning at like P ninety. and it's like very clear, and uh still useful. And then you have another expert where Nothing is usable below P99. So in such cases, you'd want to let each expert decide um what the threshold should be. Can you maybe give a little more of the intuition? Behind the language you're using there around like ning down to, you know, could be P99, could be down to P90, cause I was thinking of it maybe wrongly, but kind of in a reverse way where I was thinking like The most important neurons would be the. ones that would make the more stringent filters, right? Like the the 25 to 75, you're cutting half of the neurons out. The 10 to 90, you're cutting eighty percent of the neurons out. As you push this middle band wider, you're left with presumably like the most important neurons. But I think you're saying something different, which is like something could be in a high percentile and not that important, where something else could be in a lower percentile and still important, and that's why It's worthwhile to go down to the per expert level. Do I have that right? Yeah, essentially. So. um,To be clear, the variance is quite small. It's almost always like the ex- extreme activations that are the most meaningful and most um the most causally relevant. to the model's computation. so, to give some intuition about how we see this, we collect a whole bunch of examples where the neuron activates at every percentile, uh, like The top 1000, and then P99.99, and so on, just like down these ranks all across the activation range. um, And then we study where Fit, like where the coherence stops. So, we just like read the examples and study them, and see like sometimes it dissolves into noise at a certain point. But it's always in the nineties pretty much. um, It's just like, you know, sometimes it's going to be P95, sometimes it's going to be P99 or something.
uh, It's also worth noting that the quantiles themselves do depend on the data set. So we use a pretty large mixed data set, but it's not as large as the model's training distribution, which was I believe something like several trillion tokens. We use 10 billion tokens to extract these examples. So, as I'm looking at the performance table What you're saying makes sense, as I look at P 25 to 90 or put P 25 to 75. So, the Middle half of neurons that are least extreme in their activations being ablated. You scroll down that column and look at all the different uh performance results on all these different benchmarks. And there's like not that much change. So from that, you could say at a very high level, like you can cut out the half of neurons that are least extremely activated. And basically, not much goes wrong, and even interestingly, on the reasoning stuff, like you don't see much damage there either. Then you go more extreme. Cut the middle eighty percent, and then cut the middle ninety percent, and the impact to performance becomes more significant. So, we're kind of pushing like, where does this uhcurve uh get steep in activation extremity space, uh, and trying to find like how how far we can go and still have things like mostly work. I'm really interested to get your in intuition for how is it that some of these things do better? It's notably across the top, you've got four different arc AGIuh, Sections, and The middle, you know, 50 percent doesn't move it much, but then Moving, removing eighty, removing ninety percent of neurons, you actually get a little bit of a bump in performance. Do you have any account of why that is happening?
So some of these benchmarks will care about how quickly the model reaches an answer. So, like, if it reasons for too long before it puts out an answer, then um then accounts is like a failure. umBasically, if you cut out a lot of the stuff inside, the model becomes more confident in those benchmarks where performs better, it reaches the answer more quickly, and um I suppose some of the benchmarks that you mentioned don't involve reasoning. but the ones that don't involve reasoning is just because the model is more confident, it doesn't have as much Internally to distract itself from the right answer, and the most confident thing rises to the top. In the case of reasoning Then um with our fine tuning, we see the same thing, or just reaches the answer that the original model knew, just like faster.
That's fascinating. So so far, just to kind of put a sign post in the ground here, we have talked through in somewhat excruciating detail the structure of the network. What it means to ablate neurons, and We've established that you can ablate Significant majority of neurons up to 90 percent or 88 percent if you take the top K64. And still get surprisingly non-degraded performance, at least on these like non reasoning tasks.
We'll continue our interview in a moment after a word from our sponsors.
Cognitive Revolution is brought to you and powered by Tasklet. I've been running Tasklet agents for almost a year, and they've become a major part of how the show gets made. Before every recording, one agent researches the guest and sends me a suggested outline of questions, complete with links to all sources. Meanwhile, another agent scores the overwhelming number of pitches that I'm getting from PR firms. And that's really the core idea behind Tasklet. Run your business on agents by giving them real jobs to do on an ongoing basis. Setup is incredibly easy. Just describe the work in plain English, research a new sales lead, update the CRM, and draft a personalized reply. Tasklet connects to your business tools, and can run around the clock. On a schedule, or when something happens, like a new email arrives. Each agent work.
With your tools and business context, and remembers useful information across threads. You can also share agents, connections, and reusable skills with your team, so the workflows that one person figures out become something the whole company can use. No developer needed. You decide what agents can do on their own, and what needs your approval. And there are no per seat fees, you pay for usage, not for adding teammates. Start with one recurring job, like researching the people you're meeting, and then just keep building from there. Visit Tasklet dot AI, and use code CogReve for 50 dollars in free credits. That's code, KAGREV, at Tasklet dot AI. OK, now the next question though, of of course would be like, what's one thing to say only the extreme ones matter, is another one to say Can we interpret what's going on? So maybe walk me through the process that the Neuron scientist goes through You already kind of described like you have a big corpus, you collect a lot of activations, you can rank them, you can you know put different thresholds in place. Now, how do we turn Massive blob of activation data into five million uh stories about what each individual neuron in a whole big 35B3A3Buh, network is actually doing. Great question, so um I like talking about the neuron scientist, because I think it's a pretty cool um agent basically. And we put a lot of work into like trying to improve it. But so, as you said, we basically collect these um thousands of examples of prompts where this um Ron becomes active, and then we group them, we cluster them um by similarity. We have a few ways of doing this. One of them is you can look at the input connections and group them by or cluster them by that. You can also look at the um just the text itself, and what other neurons activate, and cluster them by what other ac-, what other things activated. And in practice, that gives you like different contexts where the neuron Becomes active, but the essential thing is that we just get an initial grouping, and then we hand these um examples and the groups to the agent, the neuroscientist. um, So, the neuroscientist's job is to come up with a hypothesis that unifies these different examples where the neuron activates, and then predicts where it'll activate in the future. So sometimes that will be one meaning, like that's more common. Sometimes it'll be multiple meanings. um,And there's different patterns like different words that neurons prefer to activate on, um, different contexts, different um concepts.
We give the neuroscientists a lot of uh latitude in which kind of hypothesis it comes up with. But we give it a bunch of tools as well, so it can um create example sentences or modify example sentences, and send them to the model, and then get the result of how much the neuron activated on them. It can run other experiments like umTwo very similar sentences with like one minor difference, and then see like what the difference in is an activation there. uh, It can do steering, it can do umBasically, all this all the same things that an interpretability researcher can do.
So it'll come up with an initial hypothesis, and then propose this, and then we will test it objectively by with another system that is separate from the agent, so that the other system will just basically see OK. based on this description of the neuron, um,Can we predict where in this example text the neuron is going to fire and by how much? um. And this will happen for like a few texts, and then if it fails, if the description just isn't good, then it'll come back to the non scientist with feedback. It will see how it needs to adjust its hypothesis.
Improve it a little bit, send it back and so forth.
And then at the end, a helper agent will create an page that basically shows us the results of uh what the hypothesis Is. So the beginning of that sounds pretty similar to auto labeling of SAE features. I think people have seen that in the past, right? Where there's like, okay, here's A bunch of passages that cause this particular SA featured to light up, like, hey model, what do you think that appears to be? And then where we've taken this farther now is we're not just asking that question, taking the answer, and calling it a day, but rather saying burn some tokens to really like dial in your explanation. test it, and refine it, and you know what's really try to Make this good. Cause obviously a lot of SAE features are deemed uninterpretable, and certainly like honestly, I have looked at like lists of passages that make SAE features fired, some of which were considered uninterpretable, others which were considered interpretable. and at times I've been like, I don't know dude, like you're saying that's what this means, and it's it's not like Really jumping out at me that that's like really what this means. So like, what do you see the agent doing as it goes down this path? Could you tell a story of one where it was like not obvious at first, but through use of tools, it was able to kind of get to insight as to what this particular Neuron meant. Yeah, for sure. um, So, yeah, a lot of the auto labeling stuff, the auto interp stuff, um, that's used for SAEs, and that we first used for neurons. When the function of the thing is obvious, it will tell us what's going on. But when it's not obvious, it'll usually be some vacuous label like This fires on um words in the context of medical discussions, and that's just not very useful. Ha ha. That doesn't teach us much at all. uh,So, one thing that we have noticed is that as we apply increasing levels of intelligence, then more and more of what the neuron is doing Becomes legible and predictable. And we have a graph of that in our paper where like the autointerp stuff is the lowest, and then as we get better agents, and they're allowed to do more work, then we get better predictions. And the neuron scientists usually will use a frontier model. um,Like, whichever the latest one that seems to perform well is.
So, one example um of a neuron that seemed uninterpretable at first, but then um as we applied more intelligence became more interpretable. There was a uh a neuron where if you just look at the examples, and just like the 50 token window where it fires, it seemed Like completely interpretable, it was always I mean it would just be some phrase that could be across the field of cooking or instructions or um like legal documents or anything really. And you couldn't really tell, um,What it was, there was just nothing unifying the patterns.
But with a lot of investigation using agents, we are able to identify that this actually fires, the neuron fires. When it's um the second item in a list where contents of the list had been introduced in a different format. A long way before in the text, maybe a thousand tokens before in the text, but This was being recapitulated here in this place in a different format. um, So like maybe before I was a commented, or comma based list, and now it's like one, two, three, four or something. So, this is like a structural feature that you wouldn't necessarily think to look for, but was present. And there's a lot of features like that where the idea isn't Obvious at first. uh,That that's just just one example. So, the, I thought this is pretty creative, and I I correct me if I'm wrong, but I think all this technique would be Pretty equally applicable to SEs, like there's nothing that would prevent you from giving an agent a similar set of tools around SEs and allowing it to tinker and You know. change text and rerun and all that that same kind of thing, right? So, that's an interesting innovation regardless of um you know which lens we're using to look at things. So let me see if I can get this right. So the the neuroscientist just kind of iterates for a while. It does it it does its experiments, it does counterfactuals, it maybe you know expand scope to look at longer bits of text to try to see these like bigger p- picture patterns that weren't apparent in the very, you know, excerpted texts that we're accustomed to seeing. And it eventually settles on basically what sounds like a paragraph length description of what the neuron is.
Now, how do we validate that that in fact is what it is? The answer is give it to another model from, I guess like a different model maker or you know different family of models. Say, OK, your task is to take this description of a neuron.
Look at this text, go token by token, and tell us for each token how strongly that neuron will fire.
And then based on the strength of those neurons, you actually like patch its answers into the model. uh, Now we're back to the original model, the model being interpreted, and say how well does the model perform if instead of its actual Natural activations, we force the predicted activations from this other model that was based on the combination of The description and the text at hand. and the answer there is we recover 74 percent of the KL uh divergence loss. Which I'd like to understand a little bit better. Like, I'm not, I don't have great intuition. I don't see in like, K L divergence color. I don't think maybe you do. um.
So tell me, did I get anything wrong about the process? Is there anything else we should understand about the process? And then how should we understand that 74 percent recovery bottom line out of that? So that's essentially correct. Yeah, so the uh the neuron scientist comes up with a paragraph length description um of the neuron, highlights you know what sorts of tokens it fires on, as well as the uh context and the concept overall. hmm, So this is One of our evaluation methods, it's the currently our primary one, and um as you said, we first ablate the neuron completely from the passage, and then This other model will um say. OK, based on the description out of a score out of uh 0~9, how strongly will this neuron fire? um, And then it labels each token in the sequence with that. Most of them are zeros, but a lot of them are gonna be high. And then uh as you say, we patch those into the model, and then we see how much of the damage from Deleting the neuron entirely was recovered by patching it in uh to these places, at these values. umSo, this works pretty well, and the a model that we um use right now is Jeff, so it's like very different from the model that generated the prediction.
And this gives us an idea of how much of the damages recovered. And we use um as you mentioned KL divergence. So, this basically says at each step for each token in the sequence, the model is predicting It has a prediction for every token in its vocabulary, each of the logits in its vocabulary. And so that's a distribution of predictions over all of these tokens. And um the Kullback divergence is best understood as like the difference between the distribution when it's damaged, versus the distribution when it's patched in or repaired. And so, uh, that distribution of predictions over tokens Basically shows how much damage we've caused to the model, the model's ability to predict the next okay. uh, And we measure that for each of, like we combine it over the entire sequence. um.
At each token position, we have that value, and then we just likeuh, measure it over the whole sequence that the model's predicting. Now, something that's worth noting is that we do weight it by damage. So when we say 74 Percent damage recovery. That means that cases where the neuron basically didn't matter, or it matter very very very little, get a lower weight than cases where The neuron mattered a whole lot to the model's prediction. So, that's the the basic setting. And this is um our primary evaluation, but we have a couple of others that we use too that are worth mentioning. So a very intuitive one is we say, we give another model the description, and we say, based on this description of the neuron, make a text, write a text that's going to activate the neuron. More than anything in the data set, like we've given, we've run a 10 billion token data set through the model, and collected these examples. And we said this other model Exceed that, we don't give it any examples. So, it has nothing to work from except for the description. And then, it just like iterates until it's produced a sentence that will activate the neuron more.
Anything in the data set?
And then other metrics that we might use are, we say, given this sequence, can you tell me whether this neuron should activate in this sequence at all? um, Is it relevant at all? And um at this one, you know, we often see rates in the the nineties um because it's an easier task than token by token. Prediction. So this all adds up to, we should have some you know reasonably high level of confidence that like the process by which the paragraph Like Description of the neuron is created, is like working, because if it wasn't working. we wouldn't expect to be able to recover this damage, we wouldn't expect to be able to get these predictions right. How do how now do we, you know now we we start to get into the interpretation phase of this, right? So now I'm looking at a paragraph length description. It's still a little bit in the eye of the beholder. It was like a paragraph can obviously contain two different concepts or related concepts. We have the question of like how do we decide to draw boundaries between concepts? So like, how do you think about Modest Man's ticity coming out of this, like what counts as one concept? um, I definitely want to hear your thoughts around the nouns verse verbs thing. You know, w- maybe give me a little more of like a qualitative uh intuition for like, what are these, what are these paragraph length, just as somebody, I'm sure you've read, you know, thousands of them, what What is the nature of these paragraph length descriptions? They can vary widely between neurons. um, We see neurons doing so many different things. As you said, sometimes they'll contain multiple ideas. Like this neuron will activates, you know, on on oral health and inva- marine environments usually on the point at which someone decides to get oral surgery. At or at the point at which um a specific animal in the marine environment was described. The description will read something like this. umMost neurons do have something of a central concept that unifies them. But um as I've looked at, you know Thousands of neuron descriptions, and uh what they actually tend to represent.
I've uh like come to a somewhat different philosophical perception of things than simple monosemanticity or polysemanticity. It's like monosemanticity or just like Semanticity in general is this idea that a uh a neuron or something else like a s- a feature represents a single thing, a single concept, is just detecting whether that's there.
In practice, I think it ends up much more complex. So, each neuron can connect to thousands of other neurons upstream, and They are That provides a lot of information to this neuron.
One thing that you might see is uh a neuron that responds to like discussions of insects, for example. It'll fire specifically on three types of things. The food that insects prefer to eat, um, the habitats they prefer to live in, and the places where they prefer to lay their eggs.
Now, is this three concepts, or is it one concept? Kind of hard to say, because um it's not firing on everything about insects. It's not firing on every preference of insects, it's just firing on like those three sub topics within the insect sphere. Now a neuron that fires on you know Musical instruments like banjos, or legal documents about um alimony, that's probably going to be, that's very easy to see, like, okay, this is two different things, right? An- another problem that we see also, um, with the concept of human recognition of monosemantic or polysemanticity is that we don't always know Why the models putting things together? um, There's an example like Let's say you have an around that fires on um clothing, it fires on exercise equipment, and it fires on dishes, and umOn table cost.
Seems very polysemantic, right? Like several different meanings. But what if the concept that the model has is things you might find at a garage sale? Then suddenly those things are unified, but you you might never see it um from the outside. So for me, the important question about mono and polysemanticityum, Is less about is a thing strictly monosemantic, is it strictly polysemantic. It's more can you elucidate All of the things that Verner on represents, and sometimes you might want to zoom in and find like it looks like a single concept, you zoom in, you find a few concepts inside, but then you just list them, right? you just You know what they are, you elaborate over that set of thing. And when those things are disjoint, when they're like totally different from each other, then you just list that as well.
And um the interesting thing about this also from a mechanistic perspective is that we can see the signatures of these concepts in the weights themselves. Which means like You can basically find among the thousands of neurons that are connected to a neuron, a subset that goes to the neuron when it's discussing one topic. And a subset for another topic, and you can just kind of analyze thousands of examples and pull out these subcircuits in this way, and thenum, That gives you You know, this perspective of like how. uhThe model actually has these primitives inside of its own mind. So as you've looked at these circuits, do you have kind of a simple story?
Around like, I mean, this sounds silly to to say, but like, kind how it works, like, I mean, wh- wh- what what sort of motifs or um you know moves stand out as sort of the You know. notable primitives that could give us some intuition. I mean, I guess this gets to you know one of the big questions, of course, with all of this is like, at what point do we get to the ambitious reverse engineering phase of all this? I think that's been one of the things that has been like most discussed about this essay, and and now the paper, I'm sure will generate a lot of similar discussion.
To what degree do we now have a better story of? It's one thing to say, okay, we can kind of say actually look, these neurons do have a pretty interpretable thing that they do individually, but how does that fit into context? how does that start to turn into behavior? like how do we aggregate that into you know real understanding? how how far are we on that? do you have any kind of Story that you can share that gives us a little bit better intuition around Again, like how it works as opposed to just like what an individual neuron means.
Well, some great questions in there. Haha. I have, uh, only the only the big ones for you. Yeah, haha.
um, So first of all, I I think the shift from noun to verb can be seen in a couple different ways. um,uh, One way that I like to think of it is this is less of a detection of a single feature or object, and more like the neuron The neuron is doing something, right? It's not just detecting a thing, it's like sending a signal that is going to induce the model to do something else. So in that sense it is A verb, um,But also, it detects uhBasically shifts of what's going on in the text or what things are happening, and shifting towards a different kind of generation. uh,Of text.
I guess that that's how I s- think of um the noun versus verb distinction, although uhI might think of it slightly differently, but I think it's quite similar to our thoughts.
So, let me just let me echo that back to real quick. So, the v- the verb is like With respect to the model, the verb is like this neuron sends a signal downstream that activates a certain set of circuits. And presumably some are are still very like nounish, but these sort of uh these are like control flow, no modes that we can describe as like, if this, then that kind of operations. um,But we should understand their effect as not like representing something, but sort of directing traffic or routing energy or activation through the model to the right places downstream to be used. Exactly, yeah. um,They're not just like static, like each layer just detects a certain set of concepts, and now these concepts are there in the model. They are like you said, control flow. They are Direct the model towards specific things or away from specific things, and we can see this with um some interesting neurons that respond to um reasoning in particular. So, there's this whole class of neurons that uh they Fire on and direct the model to be more or less confident in its reasoning, or to do things like wait, or to like recheck. Or to like continue along a specific direction, or pivot to a different approach. um,A lot of reasoning specific ones that are just really interesting in this way, and these are very much like verb and steerable type uh neurons. There are others that are like, oh, this number is wrong, or this one's like off by one, or like, yeah, just like these sorts of uh operations.
Relating to the topic of ambitious reverse engineering, uh, I think, so, certainly there's more than just neurons to reverse engineering. We need to understand attention, um,And uh other things in the model, the residual stream in particular is like a really complicated thing to unpack. But I think understanding neurons and the specific circuits and subcircuits, they instantiate is pretty critical to that. uh,Now, you can understand every single neuron in the model, and just have a big list of what they all represent and what they all do, and not have an ambitiously reverse engineered model. You need to see how they operate together. And Turning individual neurons into understanding requires like basically understanding circuits. And you can get circuits through a variety of ways, like you can run millions of prompts through the model and gather attribution graphs for them using one of the existing methods, and then See like what the average umJust like pick out these communities of neurons from there. um, That's one thing that we mentioned in our paper. You can also um see what this circuit is for a specific prompt to turn this into understanding, then you need to find the right ones, and then see how they impact behavior. uh,So From this lowest layer, we need to go like slightly up this tree of abstractions, and find like a sub circuit for like all these little pieces of knowledge that the model has, and for all of its um Like little decisions. per cupidities, maybe you find like how it decides to use um a particular Python package or how it decides to uh decide which Painters are impressionist versus post impressionist, or um figure out like which capital belongs to which state. So, we actually have done some working there too, and we see how this sort of knowledge is represented. um.
The, like for example, for the impressionist example, there's a community of, I think just few dozen neurons that represent this idea of which painters are Impressionist, Neo-Impressionist or Post-Impressionist, and then the neurons representing individual artists are linked to um the Tokens for those movements. and it's all like Just a simple little mechanism that will decide this topic.
So, I think we have to work our way out the tree of abstraction, and just kind of compile this huge list of things at the neuron level, at the subneuron level where we see the individual circuits. um, for the different meanings that an around could have. um,um, And then up towards neuron communities and super circuits and so on. That just do these given tasks. Now I think there's two things you have to do. One of them is you want to do this for the model in general, at least a few times, right? You want to understand the full model. All of the little circuits, all of the umPieces of understanding that you can. If you understand the neurons, and you have the right primitives to like put into these slots, you can say, OK, now that we have a neuron community, and we know what the neurons are. We can say what it's doing. So, going really wide and getting this huge collection of things is important, but you also need to do things that are like really specific to your alignment and safety objectives too.
So that means Doing a lot of experiments with data sets that elicit specific umSafety relevant properties like uh reward hacking behavior or scheming planning or Whatever the case may be, you need to see how the uh communities affect this behavior. and like how you can steer it in one way or another. And you need to see umBasically what fires when those things are happening. I have much more specific questions too, but like, where do you think we are on this?
story, I mean when I hear a little circuit that You know, de determines what, umWave of impressionism, you know, pre or post or whatever, a particular artist is in. I'm like, OK, um, that's something, you know, it's a.
There's all, there would be you know, a zillion of those, right? So, in a sa- in a sense, we could you know, map out a bazillion uh of those things, and then kind of still be sort of in the same place that we're at. With respect to the neurons themselves, where it's like, OK, well now we've got, you know, equally long list, maybe even a longer list of like micro circuits that do things. How does this ladder up into like a holistic understanding? Do you feel like you see that path from here? Cause I think this is one of the things that people sort of initially were like, oh my god, you know, they've reduced Interpretability to a normal science. Now, we can just grind the agents away forever, and we'll like have a pretty good understanding of how the models work. And then other people were kind of like, I don't know, you know, we can like have, as you said, like a long list of neuron descriptions, or maybe you know, an even longer list of these microcircuits that doesn't really tell us like macroscopically like what's it gonna do next. or you know what's it gonna do if I put it in this situation it's never seen before, right? um, Like Yeah, I mean, I guess out of out of distribution generalization is always like a critical question. um, Do we feel like there's any traction on all this labeling? All this stuff like, can we now make any better predictions about what will happen when you put a mo- a model into a novel situation?
A lot of the neuron stuff is new enough that um we have just begun to do this. There's a lot of interesting work online inspired by Our first essay on this where one user found a single neuron that fires on reward hacking text. So You know, that neuron could be used for monitoring potentially, at least for that sub type of reward hacking, maybe not all reward hacking. um, There's also a lot of interesting work on persona. Creation and steering with neurons. um, And that's surprisingly practical. uh, It seems like a lot of neurons just affect how the model responds, and it's Personality.
But getting back to your question about um having this huge collection of microcircuits, huge collection of neurons. um, Where does this get us? Like how does it like actually turn into larger level of primitives? I think to some extent, we haven't yet figured out what those higher level primitives are. Very much like how You know, we have physics, we have chemistry, and we have uh biology, and umTheoretically, you could describe everything in physics or in um biology in terms of physics, but you would never want to. because it's too too um granular, too detailed, and uh you don't need to, because there are hi- higher level laws that have been discovered at the chemical level, and Then at the bio- biological level.
So, I think for neural networks, we still need to find um these laws and the science of the higher levels of abstraction. But I think by understanding the lower level stuff better.
We can more quickly come to these these next levels of abstraction, and also validate them, and like see cases where they might not apply. So, you could have a persona steering vector, right? um,Which I think, you know, we've seen working this before from anthropic and others, where it's just a vector that can steer the models persona in different directions. um,We can understand that in the neuron basis by just seeing like what neuron circuits Lead to this persona, or which of them are important to it, which of them, if uh you ablate them, will cause problems with it.
Are there any neurons that would like sabotage it if it got a particular piece of input would it like break the persona and cause it to do something different like how so many so many models would like Sometimes just snap and do something really crazy, like one out of 10,000 times or something like that.um, If you want. to debug why the model does things like this, then I think neurons are a good place to look. um, Not necessarily Guaranteed to have the answer there, but it'll be useful. um, But okay, so I see our place being somewhere like We're discovering these primitives like molecules that are uh important to the model's behavior. um,But we need to understand Alloys, we need to understand fluid dynamics. We need to understand um these higher levels of science. um, So If you have the neurons, you can model all these things better. um.
I see it also as a process that's happening from two ends. One of them is the lower level, get all the little pieces, get all the little um components. See how they work. From the top down, we also see just like Finding these vectors like difference of means vectors or steering vectors that do these like big things. We don't necessarily understand how they work mechanistically.
Or you do some training, and that also is very top down, but You start with the lower level, you start with the higher level, and you see you keep working until they converge. So, build higher level abstractions more and more of these. um, Until you reach the level where you see what's actually happening when you train a model to do X.
What changes at these levels that makes it want to do a reward hacking? That makes it evil aware, that makes it you know better at solving problems, that makes it More cooperative and so on. uh,Yeah, so basically we have a lot of work left to do, but I think neurons are a big piece of that, and they will enable all the work that we wanted to do. So, maybe I'd summarize that, as saying first, you mentioned monitor ability, that certainly stood out to me as like the obvious immediate Application of this kind of work. um,You also mentioned, and it's it's right to call out, need to be careful that uh you don't just take the first near on you find for reward hacking, and monitor that, and end up blind to Other places where reward hacking may be invoked in the model. but never nevertheless, it's like, you know, seems like a There's a great angle on on monitor ability there for sure. And then the other angle I guess when you talk about debugging, uh, the way I tell the story is kind of like We thought that we had to use these like SAE type constructs, because everything was so messy inside. and now we're like Creating this thing, we've sort of created this additional somewhat opaque layer that when we have questions, we have a harder time getting to ground truth, because we've now got to go through this. and so To the degree that we can just do away with that additional Rigmarole, and get closer to ground truth. We're now like at least debugging the thing itself, as opposed to some reconstruction of the thing itself, which just means like, ha. We're probably gonna make a lot less mistakes in the debugging process, and hopefully have a a lot greater clarity that we're, you know, we're we're looking at what we think we're we're looking at. Would you would you modify that? Or is that a decent uh account? um, Certainly that's the hope. I think with umSo, SAEs can be used for a variety of parts of the model. I think uh for MLPs specifically, for neuron specifically, if you can Get a better understanding in the neuron basis, it makes se- sense to use the neurons instead. And we have some things mentioned in our paper, and also there's a great paper byum, Stepan and Matush, uh, Stepan Shabalin, and I think this just came out a couple of weeks ago, as about uh how transcoders. which are like the you know The neuron basis version of MLPs work slightly differently, but similar idea, dictionary learning. Basically, these just recapitulate neurons. They, the features are neurons. And when they're not neurons, they represent sparse combinations of neurons that often fire together and compose into um a specific meaning.
So, certainly if you use transcoders instead of looking at the neurons, you know, it might help to like see which combinations of neurons often fire together.
whatnot, but um you have more loss if you substitute a transcoder for the m l p than if you just use the other top k neurons instead. Which really suggests that you should be looking more at the neurons. um,Now, SAEs still have some use for like the residual stream, which we don't understand yet in terms of neurons, and umIs a more complicated object. Certainly, there is you know superposition and and complicated geometry in the residual stream. But even for that, SAE's may not be the best choice. um, There's like block sparse featureizers, um, which we have.
to paper on, um, and basically, I think you need to understand the geometry of the residual stream better. That's one of the bigger things I think we need to do to do this reverseuh, ambitious mechaterm ambitious reverse engineering is understand the res residual stream better. But yeah, um, when it comes to neurons, I think It makes more sense uh from my perspective to try to understand them really well. Let's maybe do a a little lightning round if such a thing is possible in this context. On, just like how this work. Interacts with, or maybe should cause me to update my understanding of some other parts of, you know what I think I understand about what's going on in these in these networks.
Factual Memorization and just factual recall, like clearly there's like an unbelievable number of facts memorized in models, my sense had been that the facts live in the mlps. uh, I kind of always knew that was somewhat of a general, you know, an oversimplification. uh,How do you, how would you update my thinking about facts? Like, do they, do we still think they live in the MLPs? Do they, like, the the sort of One core role per neuron does leave me like, okay, then where where are the facts? Ha ha in this thing. Yeah. That's a pretty good question, because uh you know, a model might have 5 million neurons, but no, way more than 5 million facts, right? um,That's that's because you don't have a fact in a neuron. A neuron is not a fact, but the fact is in the connections between neurons. And you can have exponentially more connections between neurons than you have individual neurons. So, um,um, You know, a set of 10 neurons network together can represent way more than 10 facts, just because the number of possible paths between them is just so high. So yeah, I from what we've seen, certainly we haven't found every single fact is that's in the model and can say 100 percent they're only in the MOPs, but We just find so many facts in the nlp is just implemented by these connections that uh it seems like the natural place for them to be. Like the post impressionism thing. you know that's Whole bunch of artists and a whole bunch of concepts, and in a smaller set of neurons than there are things that could be umLiberated from that community.
Do we see a different profile of factual recall degradation with sparsity as compared to like like Arca- style tests? They can even do better with sparsity, reasoning they do worse. My gut would say factual would also be like significantly affected by sparsity. but what what did you actually observe? um,So we did test some MMLU uh data sets, and we're able to recover performance on those pretty well. And that does test factual recall. We do have some uh test that we're still working on, um, for like med- medicine knowledge or chemistry knowledge, but For the most part, we really haven't seen much degradation. um, Let's see. Yeah, for MedQA actually, a little bit of fine-tuning restored that so that It's within a point of the original model. um, GPQA diamond also the same. We were able to restore super GPQA as well.
It's possible that if we did just like huge sets of millions and millions of facts and through that at that, we might see some drop, but from the bit sparks that we've seen There's, it performs quite well, um, on factual data sets.
This is because, you know, we're not ablating every neuron across every step, but every single token, you know, it's only a small set of neurons that need to operate. So every neuron still gets its chance to express itself, and every connection between neuron still gets its chance to express itself. But only in cases where it seems important and relevant. Yeah, interesting. I guess that that really just speaks to like localization, which then brings to mind the nature of experts. The old story about experts was the experts themselves are also not interpretable, bad news. You know, it's uh we can't really identify what role the experts are playing. It seems like if the, based on everything you've said, like that almost can't be true, right? Like these circuits like They're localized, the facts are there, the Router has to get that expert active. So, there's got to be like some meaningful expertise localization, or otherwise the router would just have an impossible time picking out which of the 8 out of 256 at each layer would actually be ac- ative, right? So like, should I now s- update my thinking that the experts actually like are much more coherent in terms of the role that they play as well? Yes. uh, Actually, you should. Ha ha. The experts, so there is some earlier research on this, I think, um, basically, uh,I forget the names of the papers, but they did run some data sets through experts and found that some experts tend to activate more on specific topics than others. um, But now we've found that at the neuron and representation level whereum, Indeed, the experts that we examine are very like concentrated. They're like mostly about 1~3 topics. um, And that's it. They're not about like a hundred different things mixed all together.
Yeah, some really interesting ones that we found are like, let's see. There's um a lot of mathematical and notational ones. Another one is like legal slash constitutional, jurist uh prudential text specialist. That's a one type. umOne about algebra, there's so many about different things with math. There's also like timekeeping, units of time, andum, Basically like identifying how much time has passed, uh, geometry expert, certainly a lot of medical ones that are just like about specific sub topics of medicals. Medical things. um, But yeah, the experts are Pretty focused on what they umRepresent.
Do you think that this Suggests like future directions in architecture. I mean, i, i, if we zoom out to kind of the super big picture, right? We're in this moment where we've got agent swarms on the loose. uh, We've got your frontier model companies saying, hey, we need some like antitrust waver or something so we can coordinate on pacing the frontier. Jensen Wong says like, you don't need that, just do don't release unsafe products and like Get ready to enter the big leagues, which I've been in for a long time, which is like, it's only 10~20 percent of my resources that going to making the thing. it's the other 80~90 percent that going to making it safe and reliable. So like Buy more GPUs and burn more FLOPs on monitoring and you know interpretability, and and all these things. And so, I kind of imagine a world in which We maybe start to make that shift, and we're like, OK, another way to frame this question might be in terms of like scaling laws for interpretability. But it kind of does make me think that maybe we wanna go Or we should at least be open minded to designing architectures that are maybe Somewhat less quick learners, or you know take longer to train. maybe are somewhat even less efficient at inference, because hey, we're gonna be putting a huge amount of FLOPs into Interpretability and monitoring, but now we take into account, you know, this like 80 percent potentially that Jensen's talking about, that's going into understanding and control. And so we can afford to pay those costs more because now it'll make like interpretability easier. Does this lead to any upshots in terms of architectures that You think would be more interpretable? It's a great question. um,So certainly the idea of an alignment tax, where you just like pay some cost in the model just to make it more interpretable and more monitorable. um, Certainly there is some trade off where it's worth it. um,Although, you know, many companies will not want to Pay that alignment tax as it were. But I think one of the cool things about what we see here is that um the models are already fairly interpretable, and more than we thought. Like there's maybe It's plausible, but not guaranteed, that maybe we need less of that, create an interpretability specific architecture that is expensive to run. than we thought, because maybe we can just interpret the existing ones. But with that said, I do think there are probably some tweaks that would make models easier to monitor, and Maybe easier to shape um through training, so that we can like have have intentional design. And one of those things is probably if you have a more sparse inference regime. There's just less things that you have to monitor, right? um, Instead of tracking 5 million neurons at every step, you can track a much smaller number, and then.
You can also probably find cleaner circuits. So, there are probably ways to incentivize models to be more sparse, either during training or after training. So like what we did with the sparcified quinn model. You know, it performs as well or better on most benchmarks, while still being quite sparse.
um, There are some papers that take that further. um, I think maybe not purely in the NLP basis, but in terms of parameters. um,But I think Basically, things that push the model towards more sparsity will will be useful. I also think localization is um important too. uh,um, There's one paper, I think it's from AE Studios that talks about like localizing, for example, potentially harmful biological knowledge.
or W and D knowledge in like parts of the model, so that you can just like Not have those working, or just not even have those be part of the public release for the model. um,So, If with our knowledge of neurons and expert specialization, we can sort of incentivize the model to put buckets of knowledge in a particular place. Then we can just kind of update that when necessary.
Yeah, I think, I think this points towards the potential for models that could be pretty interpretable without paying that I like a huge alignment tax or a huge safety tax. Thank you for raising the topic of Graham, uh, gradient routing something something. I'm a Graham maximalist, and I bring it up probably every other episode. So, yeah, that's a to the degree that anybody's uh playing a drinking game as they listen to the Cogito Revolution. It's time for your uh Graham. Shot on this episode, uh, the bingo card, you know, it should be like all Graham squares, that I had this question around like the activation function, and there's this weird Double negative phenomenon that happens with some cases. you can maybe help me understand a little bit better like what's even going on there. But the key thing is that be Because the Activation function has this like ability to be positive and negative, unlike the original likeReLU one, which was just like zero if negative or linear if positive, right? Now you have the up the potential for there to be Double negatives, and it seems like this is like a very confusing thing, we don't really know what to make of it yet. um, When I saw that, I thought, well geez, maybe this could be the sort of thing that could be the alignment tax that we'd we'd pay, like maybe we go back to A simpler, you know?
Yeah, um, monotonic, um,If notReLU specifically, you know, some monotonic activation function that would potentially eliminate this sort of bipolarity, and then you know, maybe we don't have to worry about double negatives, and maybe that learns a little less fast, maybe it requires a little bit bigger network. You know, more parameters for the same. value whatever. I'm sure that that won't pan out exactly as I just described it, but like, should we be thinking about like maybe somewhat simpler mechanisms in some cases?
Not necessarily. So, the thing with Squee, Squee glue is that I think it allows for more umMore monosemanticity or more simplicity, because even the polysemanticity, when you have it, can just like be switched between a few different things through that mechanism. But I agree that the Q three, the double negative activations where you have the gate projection is negative, and the up projection is negative, and then these sort of cancel each other out turn into positive thing. That's kind of a weird case, and like you said, those are less interpretable examples, um, that have They're definitely more divergent from what the model is doing. Sometimes they're useful for what the model is doing, but sometimes not. There are some modern architectures that Don't allow this to happen. For example, umIf you have red glue, um, you still have the gate in the projection, but the um instead of silu in the middle, that gets multiplied by the gate. you have value. so, uh, I believe the gemma four models use this. um, but this one by design is not gonna have that double negative activation. those perform quite well. uh, we haven't done detailed analysis of the neurons there. um,To say how interpretable they are, but it is certainly an option um to have.
Something that I believe I've seen when looking at Kimi K three uh neurons, is that They tend to almost never use this double negative activation. So I'm not sure in this case whether it's architectural or um just that's the way the model's wired, but it may be more of a confusing thing that's particular to the Quinn 3.6 family or to Swiggle in general. um, In these specific models, um, with that said, they're they're very weird activations, because umYou can ablate them sometimes, just like get rid of all of them, and other times it screws with reasoning or memorization. but you can just like Put them back in, swapped in the direction, uh, like the token order is reversed, and then that restores reasoning. Or you can like swap in all of these double negative activations from a completely different Sequence, uh, and that will fix reasoning too. um, We're not exa- exactly what they're doing. That's uh going to be the subject for future research. One thing I al- I definitely also wanted to make sure we touch on is Long context basically, and this you know connects to reasoning to some degree as well. Maybe we should just establish how easy it was, and give many caveats on you know Exactly how well it worked, but it was strikingly few tokens that needed to be brought to bear on the sparsified model to restore the reasoning performance. Hmm. How do you account for the fact that I think it was like, it feels like 10 million or something, like a really a very very minimal number basically brought reasoning back. Why in retrospect, like how do we How do we explain that to ourselves?
Well, it was 100 million, but yeah, pretty low. It's a small number. In this country, it's a small number. Yeah, yeah, that's definitely way smaller than your average post training run, and way way way smaller than the pretraining would have been. Yeah, basically we were able to do it in like a single day. uh,On a few GPUs, so The primary problem with the long context degradation, and the initially specified model was that the, I think the model just got confused, it would get going to loops, it would lose track of where it was. it would self check over and over again. Something about confidence was um was off, and I think that what the fine tuning experiment shows us is that The model still had the knowledge, it still had the ba- basic reasoning mechanisms there, but there was some kind of calibration that was off, that was the issue. um, And we don't know exactly what that. was. The fact that it took so little to restore it indicates to me at least that the model was really close. It was probably just like confused with having many Percent of its brain mass effectively gone in this process of reasoning. um.
We also saw, you know, as we did some experiments before fine tuning where we had the model uh try a problem multiple times. The pass fourth score or pass eighth score, and um in these cases, its performance was equivalent to the original, so Had the knowledge, it just wasn't sure how to get there. uh, Until we fight to. Like how how much of a recovery Did that achieve? I mean, I I I don't know quite how this plays out on like all chips, but There are at least some chip designs that will like skip multiplication by zero in a way that you know you could imagine Geez. if we could On a layer by layer run time basis, if we could just like round a bunch of things to zero, and then not have to do a bunch of matrix multiplication, because we've got a bunch of zeros there, and we just know that. You could imagine like potentially. a negative alignment uh tax for some of these things, but it has to work, right? So like When we talk about recovering performance, would you like want to use the, you know, sparsified and like lightly post trained model? Is it is it like indistinguishable from a User experience standpoint, or is it you know more of a like 90 percent sounds good, but they're still like a you'll you'll feel the gap kind of a story. I said I think part of that you could only see if you use it a lot, um, for a long time.
I have uh talked with the ablated model a decent amount. um, And from the queries that I gave it, and for my experience with it, it was just as useful um as the original model, and it would stilluh, Reason through things and give me the answer to the questions that I wanted. and umYou know, they'll be pretty much the same answers as the original model.
The recovery in terms of like how much, um,So for several benchmarks, we saw Not just recovery, but even improvement of um you know 5~15 points um of performance. Which was like really really surprising. We didn't continue post training too long because we just stopped at the point where we reached parity for the most part.
But it would be really interesting if this model could actually be trained to be, if he just gave it more than 100 steps of RL, maybe it would turn out to be better in some ways. So We tried a wide range of benchmarks for mathematics and for code, um, as well as MedQA and basic knowledge. It performed, you know? At parity or better on all of those. We're still running on s- some benchmarks um to see if we can get you know performance even on some coding tasks. But It's a great model still. Yeah, that's really super interesting and definitely kind of suggestive. I'll just point out that this is the sort of thing that a pause would allow us to maybe understand a lot better than we currently do.
Another thing I wanted to understand a little bit better, again, this is on the long context thing. So, some of the experiments were done with like attention frozen, and then you ask like, OK, now we've had, you know, whatever context up until this point. And that you know model has kind of figured out how to pass information from token to token. Now, how sparse can we go to just like predict the next token, or you know, to like run reasoning for a little while? And it seemed like the story there is like the the single token prediction, you can go like extremely extremely sparse. But if you want to Allow reasoning to run for longer than You can't go quite as sparse. And so, ChatGPT actually gave me at what I thought was a pretty interesting description of this, which is like similar to language in the paper, but a little different. And ChatGPT says this suggests something like Each new token's computation uses a small circuit acting on representations that were gradually built up by previous computations. And this sort of had me thinking like, OK, maybe that is sort of what some of these weak activations are doing, especially as we think like really long context. I mean, benchmarks in general don't have like Super long context, and I don't know how many, you know, turns deep you're getting with the uh you know the ablated model when you're doing these tests. But you know, in practice, in like real use, right? We're going like many turns and You were you were filling up the million token context window, and then we're like, you know, compressing, and um won't be too long before, if not already, we like have sort of Kind of neuralies, you know, uh carry over from one context window to the next. And so. this could be a way where maybe because it's just like relatively convenient to look at like Single turn or like relatively short things. I I could at least see a story based on everything I understand so far where weak activations don't matter on short time horizons much. But maybe they do matter over like a million tokens, and it's like a big part of what allows the model to sort of pick up on like the rich texture of the whole conversation we've had.
What do you think? Do we have a, do we have a read on that? Or is that still something we we will need to answer with, really, with further research. When it comes to million token windows, I think we'll definitely have to see how that pans out in future research. we've tested it on tasks that go up to 30 32 k tokens, and it still seems to perform well at those. That's for like coding specifically. um,So, one of our experiments suggests that for different topics, you need different amounts of umBasically, neuron fires retained. So, for reasoning and coding, you need more. For telling a story, you need much less. um,Like by an order of magnitude. Certainly, there is something to the need to have information accumulate through the context and be stored, you know. Whatever it may be, residual stream, KV cash, et cetera. um.
Does give the model something useful to use, but up to 32 K tokens, it seems OK.
I suspect we can find you know thresholds that will like give us exactly how much. um,You know, we can ablate, but um My suspicion is that what works for 32K will probably work further out as well. So where do we go next? I mean I was kind of trying to think.
What are like canonical results in interpretability that I would bump this up against or you know do kind of Imagine like what is the sort of neuron basis version of tracing the thoughts of a large language model came to mind. um, You know, unbelievably complicated setup there with like Transcoders everywhere. I guess an optimistic take would be like we should see something like tracing the thoughts of a large language model in the neuron basis as kind of your next act. Is that the sort of thing that you think will be Achievable in the not too distant future? Yeah, I do, actually. uh, Probably in multiple ways. You know, one thing we can do now, in fact, with the the neuron basis is You can find the circuit for a particular passage. Like you give a model a paragraph, then you just look at the circuits, the neurons that are firing there. And you ask another model, hey, here's the attribution graph and the neurons that are firing. Can you tell what you know what per- what the paragraph is saying? And the answer is that usually they can. I can identify the entities, the relationships to each other, and so on. Now That doesn't tell us any more than what the text would have told us, but sometimes we want to be able to trace, you know, is there any hidden thought going on in the chain of thought. or For these models that are trained to like communicate in neural ease or like direct transfer of kv caches, then we'll just like want to be able to read what's going on in there. So I'm definitely interested in exploring this more and finding out a structured represent representation of the model's thought processes. And um that's definitely one of the big hopes for being able to understand neurons so that we can do this better. How accessible is this on a compute basis by the way? Like, when you think about the unit of work, is it sicking the neuron scientist on one neuron? Or some you know higher order thing, and like how much does that cost, so to speaks. How do you map that onto like, you know whatever whatever the unit is, if we're gonna roll it out across the whole model. um, What kind of compute budget did you spend on all this so far?
um, There's a lot of variables there, so it's hard to like give a single number. Certainly, I've also experimented with, you know, more and less complex neuron scientists. The most expensive one took 45 dollars of inference for a single neuron, which is pretty crazy. But they're uh in general, yes, hahaha. In general, they're much cheaper, um, and We haven't tried to optimize for cost too much, but if you're running a local model that isn't a scaffold to do the neuron analysis itself, um, I would say that's probably The best and cheapest way to go about it. like running a local GLM 5.3 or something like that, which performs quite well.
Yeah, so, my suspicion is that if you wanted to interpret an entire model, for the vast majority of neurons, you probably don't need to do the full neuron scientist on every single neuron. You need a way to find out which ones are more difficult, and then selectively apply intelligence and compute to the harder cases. So like You have a course pass over the whole thing, and then just like some areas you get really intense with it.
Yeah, I think it's definitely not a crazy price tag if you do that sort of process. And Lord knows uh there's a lot of computer out there these days, so umWhat what cost could be too high to uh understand the alien minds that were rapidly uh bringing online? um.
Fascinating stuff. Anything that I didn't ask you about, or that you would wanna, you know, clarify or just touch on, or leave people with?
I guess one of the things that I would want to leave people with is um.
Idea that you can try this stuff yourself. Like um you can run a local model, extract the neuron activations, and play with like neuron steering and neuron identification.
We plan to release some labels for neurons that can be played with, but um for a smaller model, it's very feasible to just like Get a bunch of labels, and do attribution graphs, and see how it looks. um, Another thing I want to say too is that um you know from this work, we're definitely Building on um what other people have done, like we're not the only people who have explored neuron and terp. We've definitely gotten some heavy inspiration from other people, uh, including Transluse who have done great work on neurons.
There's always been like some group of people who's like still try to interpret things in their own basis. um, And so we reference those in our um report, but Yeah, Round is great. You should play with them. Well, it'll be a great thing indeed if we can simplify the way in which we can analyze and make sense of neural networks, and this does seem likeuh, A notable step in that direction at an absolute minimum. So, really appreciate the hard work that went into it, and appreciate your time today helping me make sure I understand what you have come to understand. Curt tigges, thank you for being part of the cognitive revolution. Absolutely, thank you so much, Nathan. I've uh really enjoyed it.
Walk by a yard this morning, had to stop and stare. A wool coat on the hedge and a kitchen chair, dumbbells baskets plates in the grass. i thought, bless their heart, and i started to pass. coat and In a rollin' machine. Could it be One little sign, and I see what you mean. Monosyllabic.
I've known a few folks like that yard. Hard to tell. Tuesday in a quiet law, Friday raising hell. I used to call them scattered, I used to to call them wild till I found the one thing they wanted, and I smile.
A rollin' machine. Could it really be?
One little smile. And I see what you mean.
City.
Now some yards don't have a sign, far as I can see. I just count what's on the grass and let it be a coat. A chair, a bike, three good plates. There's a word for that somewhere, it just come late. Someday I'll drag my whole life out on The grass.
scratch their heads as they pass. they'll call me a puzzle, they'll call me a mess, till they read the sign and nod and say, oh yes. Coats and dishes and a roving machine. Could it really be?
One little sign, and I see what you mean. Monosyllabic city.
If you're finding value in the show, we'd appreciate it if you take a moment to share with friends, post online, write a review on Apple Podcasts or Spotify, or just leave us a comment on YouTube. Of course, we always welcome your feedback. guest and topic suggestions, and sponsorship inquiries, either via our website cognitive revolution dot ai, or by dm ing me on your favorite social network. the cognitive revolution is part of the turpentine network, a network of podcasts, which is now part of a16 z. Where experts talk technology, business, economics, geopolitics, culture, and more. We're produced by AI podcasting. If you're looking for podcast production help for everything from the moment you stop recording to the moment your audience starts listening. Check them out, and see my endorsement at AI Podcast dot I N G. And thank you to everyone who listens for being part of the cognitive revolution.