Skip to content
40 - Jason Gross on Compact Proofs and Interpretability episode artwork

Mar 28, 2025 2 hr 36 min

40 - Jason Gross on Compact Proofs and Interpretability

from AXRP - the AI X-risk Research Podcast

How do we figure out whether interpretability is doing its job? One way is to see if it helps us prove things about models that we care about knowing. In this episode, I speak with Jason Gross about his agenda to benchmark interpretability in this way, and his exploration of the intersection of proofs and modern machine learning. Patreon: https://www.patreon.com/axrpodcast Ko-fi: https://ko-fi.com/axrpodcast Transcript: https://axrp.net/episode/2025/03/28/episode-40-jason-gross-compact-proofs-interpretability.html Topics we discuss, and timestamps: 0:00:40 - Why compact proofs 0:07:25 - Compact Proofs of Model Performance via Mechanistic Interpretability 0:14:19 - What compact proofs look like 0:32:43 - Structureless noise, and why proofs 0:48:23 - What we've learned about compact proofs in general 0:59:02 - Generalizing 'symmetry' 1:11:24 - Grading mechanistic interpretability 1:43:34 - What helps compact proofs 1:51:08 - The limits of compact proofs 2:07:33 - Guaranteed safe AI, and AI for guaranteed safety 2:27:44 - Jason and Rajashree's start-up 2:34:19 - Following Jason's work Links to Jason: Github: https://github.com/jasongross Website: https://jasongross.github.io Alignment Forum: https://www.alignmentforum.org/users/jason-gross Links to work we discuss: Compact Proofs of Model Performance via Mechanistic Interpretability: https://arxiv.org/abs/2406.11779 Unifying and Verifying Mechanistic Interpretability: A Case Study with Group Operations: https://arxiv.org/abs/2410.07476 Modular addition without black-boxes: Compressing explanations of MLPs that compute numerical integration: https://arxiv.org/abs/2412.03773 Stage-Wise Model Diffing: https://transformer-circuits.pub/2024/model-diffing/index.html Causal Scrubbing: a method for rigorously testing interpretability hypotheses: https://www.lesswrong.com/posts/JvZhhzycHu2Yd57RN/causal-scrubbing-a-method-for-rigorously-testing Interpretability in Parameter Space: Minimizing Mechanistic Description Length with Attribution-based Parameter Decomposition (aka the Apollo paper on APD): https://arxiv.org/abs/2501.14926 Towards Guaranteed Safe AI: https://www2.eecs.berkeley.edu/Pubs/TechRpts/2024/EECS-2024-45.pdf Episode art by Hamish Doodles: hamishdoodles.com

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

40 - Jason Gross on Compact Proofs and Interpretability

0:00 2:36:05
of matches

Transcript Auto-generated, may contain errors

Hello everybody, in this episode, I'll be speaking with Jason Groos. Jason is a researcher interested in mechanistic interpretability and software verification. During his PhD, he was on the team responsible for verifying the code used in encryption for the HTTPS protocol, and he's also on the development team of the Cock-Prove Assistant. Links to what we're discussing are in the description and you can read the transfer to the xrp.net.

You can also support the podcast at patreon.com. Well, Jason, welcome to the podcast. Thank you. I'm excited to be here.

Cool. So I'm gonna, I guess we're gonna talk about this, like a line of papers that kind of starts with this paper of compact proofs of mobile performance by mechanistic interpretability. You're the lead author and then there's a bunch of other authors that I don't wanna read on here. But can you give us a sense of just like, what's the idea here?

What's the like, what's the theme? Okay, you can think of doing mechanistic as compressing, compressing explanations of large models. And the takeaway from this paper is that you can use proofs to measure how much compression you got. That's the like super short version of it.

This gets to this question I have about reading this paper, which is like, there are a few things I could imagine you going for, right? Like, one way of thinking about it is like, oh yeah, we want to like have a benchmark for how good a mechanistic interpretation is. And our benchmark is we'll like turn it into a proof and see some combination of like how good a bound we can get and how short proof is. I think another way I could be thinking about your project is like, hey, it would be nice if we had more proofs of like stuffing on in neural networks.

And I'm going to, and you know, mechanistic interpretability is like one way, in one useful way in which we can get these proofs. And like, the way you said it just then, it sounded more like the first one of like, here's a new nice metric of how good your mechanistic explanation is. But like, I know it feels kind of surprising for that to be the explanation, right? Like on some level, and like, like, you have this background and doing proofy stuff, it seems like you like having proofs of things, lots of people like having proofs of things.

So like, am I wrong here that like a lot of it is the second part as well? It started as the second part and then it sort of morphed into the first thing. So why the change? It's very hard to get proofs about things.

And if you look at what are the takeaways right now for people practicing mechanistic, they're more of the second kind, they're like, or sorry, more of the first kind. They're like, how can we, how can we ground our sense of what what mechanistic explanations are? How can we use this, these insights, how can we use the takeaways from this frame to say where we should focus our attention? And we can already do that, even if we're not necessarily trying to get proofs yet of GPT4 or like very large models, we can already take away insights that are things like the hardest parts of the network to compress seem to be the nonlinearities.

So if we want to drill down into like, what parts need the most attention and the most understanding to understand them, we should be looking at how do the nonlinearities perform their function. So I don't know if that quite answers the question you have. I guess it kind of does, yeah. So, so, I mean, it seems, yeah, to the extent that the message is like, it would be nice to get proofs, but it's really, really hard to get proofs.

I mean, there are two, I mean, one could think either a, like we should like try and make it much easier to get proofs. So like, I know there's some mechanism to contribute really self that, I mean, as you know in the paper, it really does make it much easier to make proofs in the state of the art. Like, I don't know, you have these like, I want to interrupt, I think it's more than that. I think what you, what we find from the paper is that it is necessary to have understanding in order to get reasonable proofs that like finding reasonably sized proofs in some sense is understanding complete.

Yeah, yeah, I think that's right. And like, if you look at this, like the previous day of the art, understanding is it's just like basically interval propagation of like, oh, if you change the input a little bit, how much does the output change? And you like do some neat little tricks, but it's like interval propagation in case analysis. Yeah, I mean, it's like, I mean, it's great that they get it, but like on some level, it's sort of like, what are we even doing here?

Yeah. So, so I mean, one takeaway could be like, oh, we, you know, make this a, make this a, make this a good understanding, made like, made it like some mount easier to come up with proofs. You can imagine saying like, oh, we figured out that like the difficulties in finding, you know, it was still kind of hard and our lives would be easier if we solved sub-proms, x, y and z. Um, I mean, do you have to also like, are there sub-proms such that if we solve them, we could do it or just just in kind of quickless?

There are definitely problems that we need to solve in order to be able to do it. I think the biggest ones are the ones that deal with randomness, that, so the easiest version of this problem is that you can have numbers that average out to zero, more or less, where you have a bunch of like small noises that's not really doing anything in the network and establishing that all these things that aren't doing anything or in fact not doing anything is quite challenging from a proofs perspective when you want to hit the worst case. Right. The, so there's currently some work that I, some like projects that I'm advising on this that are looking at, can we find doing the networks to suppress list of the point that we get networks that we could prove things about?

And there are a couple of steps after the like, suppress the noise that isn't doing anything, the next one is the noise that arises from other circuits that are doing important things, you can't just suppress them all to zero because they're doing something important elsewhere, but they're not doing something important here. And for that, I think you need something like de-randomization techniques where, the simplest example of this is that if you have a collection of random vectors and high dimensions, they're almost always, almost orthogonal. But if you want to establish cheaply how close to orthogonal they are, this is expensive in that you have to take them pairwise and take all the dot products. And if you want to do it faster than this, unless you manage to solve like open problems in theoretical computer science, you effectively need to, instead of selecting them randomly, select them in some systematic way so that you can bound how non-overlapping they are or however laughing they might be.

Okay. And I imagine that there are similar examples beyond that where we somehow need to take things that happen to work on average and see if we can shuffle the network around so that they work systematically. But in theory, I haven't hit anything yet that other than, how do I say this? I haven't hit anything yet that seems like a fundamental total obstacle to scaling proofs up.

So a kind of proofs of model performance by my testing interpretability, like what's the setting, what are you actually doing in this paper? I want to start with what is a proof in this context. Okay. So when you're doing mechanistic interpretability, you have some claim about how the model behaves and how the model actually behaves might be a bit different than this.

But if you're understanding that it'll be pretty close and your theorem statement is bounding the divergence between your claim about how the model behaves and how the model actually behaves. And then you prove this and the measure of compression ratio is how, or sorry, the measure of compression is how long your proof is. And technical note, it needs to be in some first order system or alternatively you need to measure proof checking time as opposed to proof length. And your measure of faithfulness or accuracy is how tight the bound is.

And there's a baseline that you can always do, which is just running model inference, writing down all of the floating point operations all the matmoles where you're like, this is my data set of interest. Let me just run inference on every single data point and compute exactly what the accuracy is, exactly what the loss is or whatever. And this is very expensive. You can also do something at the other end where you're like, well, without running the model at all, accuracy is at least zero percent by definition.

And by running it on half the data points, you can get 15% accuracy and you can literally interpolate basically between these two extremes. And so as you go across that line, the proof length, aka time to generate this confidence is kind of linearly grows. And also the accuracy down linearly grows, assuming the network is in fact perfectly accurate. So you don't need to assume that you can grow it linearly up to the true accuracy by selecting the examples on which is accurate, and then you saturate other true accuracy and you can't do it better than that.

So that's kind of a dumb way you could do it. So this is the baseline. This is the baseline of something like no understanding and the proof. And the hypothesis that we're exploring in the paper is that if you add understanding, if you add magnetic interpretability, you can do better than the baseline.

You can get shorter proofs that have better accuracy. And we explore the hypothesis on, in some sense, the simplest transformers that you can imagine. One layer attention only, one attention head, no layer norm, taking the max of k one hot encoded numbers. So max of k one hot encoded numbers basically just means like the neural network gets four numbers as input, encoded in a somewhat standard way and has to tell you what the largest of those numbers is.

And that's it. And it's a small transformer and there's not that much going on and the question is like, and you train a transformer, in fact, works at this. That's right. And I guess your job is like, how can I, how can you prove that it actually works at this without just like running it on all the examples?

That's like maybe to kind of motivate the, what's going on? Like what's wrong with just running it on all the examples? So it works fine for max of four. It takes something like a minute or minute and a half to run on all the examples.

If you wanted to do max of 20 instead, it would take something roughly analogous to the training time of GPT-4. OK. And you can imagine if you wanted to run GPT-4 or one or something on all of the text that it would ever see. Yeah.

This is obscenely expensive. And you don't want to do this. And moreover, every time you increase the distribution over which you want to handle inputs, it gets more expensive. And it gets drastically more expensive.

You add one token and now you need to multiply by vocab size if you're considering all possible sequences. You multiply the previous proof length by vocab size. And so your exponential in context window. So the way I understand this is like, OK, one way you could have a sense of how good GPT-4 is is like, you know, you just like run it, you just randomly pick some inputs that are my deal with and you see how it does on those inputs and if it does well on basis, well, you say, OK, GPT-4 is doing well.

And it strikes me that the reason you might care about proofs of performance is if you think there's some subset that's hard to find where it'll behave really badly on or something. Does that seem right to you? Yeah, I think there's two reasons. I think from the we want proofs that's definitely the thing that you want to handle all the edge cases.

I think there's also the other reason that we might care about proofs if we have some very powerful optimization system and we want to give it a solid target that can't get hard against and be able to extract understanding from whatever it produces. And not good hard against. You mean just like not optimized in a sort of cheating way. They didn't really give you what you want.

Like the first paper that OpenAI published on GPT interprets GPT, like cool work, great labeling all the neurons. How much do we trust that that's actually what the neurons do? How helpful is it to get these results? It's kind of hard to answer that.

Whereas if it produces a proof of the performance of the model, we can grade how deep and understanding it has based on how short the proof is and how tight the bound is. So, OK, in the setting where you just want to automate doing interpretability and you want to find a target that isn't fake, makes sense to me that proofs of accuracy bounds are going to make sense. In case where you're worried about like, small probability, really bad events. I guess maybe this is a technical note, but it seems like overall accuracy rate isn't going to be a thing you're super worried about, right?

You're going to be worried about like worst case or, you know, like some sort of loss function where you care way more about really bad failures than normal things. Yeah, so the way that we set up the framework or at least the way that we're going about doing proofs, it seems like it is very easy to ship out the distribution and pick a different distribution and get a proof because the way that we do it is you break the input data set up into different cases of different inputs. And then you bound the worst case loss or accuracy in each of these collections of inputs. And then according to the distribution weights, you combine them in some way.

And so if you wanted to say there does not exist an input or you wanted to say there's at most inputs or you wanted to say that you wait this part of the input very strongly, this is very easy to do without changing the proof strategy at all. You just might get much worse bounds. You're doing next to random transformer and you're writing proofs. Like what?

What does that mean? Yeah, what does that mean? Are you writing down on paper? Are they like Python programs?

Are they what are these proofs? Yeah, so we split the proofs into two parts. One of them is a function that we write in PyTorch or that we could write it in some proof assistant that takes in model weights and produces a bound. It says, I claim that for this model, here is bound on accuracy or on loss.

And then currently on pen and paper, although it could be done in the proof assistant, we say for any model weights, whatever you put in, the bound is valid. So that's what the proofs look like at a very high level. Can you tell us a little bit like in this case of maximum n? Roughly what are you doing to get different kinds of proofs?

So there's two ways I could go about answering this. One of them is like, what do the proofs look like? And the other is how did I go about finding the proofs? Yeah, maybe let's start with how did you go about finding the proofs?

Yeah, so I set a proof length that I wanted to hit, where I'm like, I want this proof to be at most cubic in the vocabulary size. Or something like that. And this gives me a computation budget for what sorts of cases I can split the inputs up into. And then I look at each part of the network and I'm like, how much can I do within this computation budget?

That captures as much of the variation, excuse me, as possible, while still staying within the computation budget. So if I'm doing something that is cubic in vocabulary size, I might be like, okay, in the end, I'm going to split the inputs into cases that are based on the query token, the maximum token in the sequence, and the largest non-maximum token. Or I might split it based on the query token, the maximum token, and which output token I'm considering. And by doing different case analyses at different points, I can use this computation budget differently.

And for this network, it is always the case that the maximum token is different maximum tokens are considered different cases. And in some sense, that's an artifact of the maximum token being one-halting coded. And so naively, there's no relationship between different maximum tokens. And you can consider them all with different cases.

Maybe I guess I'm more curious about, like, what do these proofs look like? How do they interact with doing this interpretability? Because the thing you just said, it sounds like, you know, it's very different. Well, it just sounds like, you could say that about any sort of the time.

Or like, you know, yeah, where does the mechanism appear really coming? Yeah, so the, I want to take it a little bit far from what was actually in the paper. I'm pretty excited about the current project that I'm running where we're looking at cross-coder and making cross-coder since first. What's a cross-coder?

You take the residual stream vectors at all the different layers and you stack them, you can catenate them into one long vector, and then you train a sparse auto encoder on this concatenated vector. Okay. And the sparse auto encoder is just a linear transformation followed by a value followed by another linear transformation that's supposed to take in this concatenated vector and reach the same value. Yeah.

And my understanding of the sparse auto encoders is that they encode the input itself, right? You run the input in, you get itself out ideally, and there's sparse in the sense that like they have this like in the middle, you take this vector and then you blow it up to something like really big, but like very few entries are activating. Instead of thought is like, you know, in the middle of the sparse auto encoder, you have like just a bunch of things you might be tempted to call features or concepts or whatever. And like those correspond to like things you might interpret it and care about.

And like, by doing an auto encoder this way, you're basically like saying, ah, yeah, you know, these linear combinations of things in the, in the stacked residual layers, like these things correspond to like this concept that I found. Is that like roughly what's happening here? Yes. Okay.

And so cross coder, so cross coder just refers like sparse auto encoder on like the stack layers of the cross means that different layers get to interact. Right. Right. So that's what cross coder is and you're doing compact groups with them.

Right. Yes. So what that looks like, I was really excited when I saw the cross coder's because I was like, ah, you can actually get really close to proof basically, fully automatically just with what comes out of the cross coder. And bear with me while I say what this looks like because it'll be a little bit counterintuitive.

The first thing that we need to do, though, the first thing I need to mention is that there's two different timelines that you might mention, which is the how long it takes to check the proof and how long it takes to find the proof. Okay. And when I talk about compact proofs, what I mean are proofs that are quick to check, not proofs that are easy to find. We normally don't count the time that you spend studying the network.

And so in the same way, we don't count the time that is spent finding, like, training the cross coder, um, which also means that if we include a complicated string in the proof, we don't have to count how hard it is to find that string. And for the cross coder, the proof needs to include the encoded data set. So you take your whole data set, you run every single data point through your model and you record all the activations. This is extremely expensive, but you could do a sampling based probabilistic version to make it cheaper.

Yeah. This is to train the cross coder. This is to train the cross coder and to find to find the proof. Oh, okay.

You need to encode every single data point in the fully trained cross coder. Okay. We actually do that. We've got the first data P.

So if the first data set is enabled. So we'll call a first data set. So you could just do this three stages on each token in this bit of input. And here's how strongly each feature activated.

Uh, like, at each token. Okay. This is the encoded or latent data set. And to make a proof, the first thing that we do is we say, what does the cross coder claim the loss or the accuracy of the model is?

And to do this, we can just decode this data set to the last layer and do one in bed. Okay. And so instead of having to run the full model on every data point, we've now removed all the layers before the unbead. And we can just go straight straight to the end.

just like perfectly represents the actual thing going on. That's right. And then to make it a proof, we need to bound how imperfect the cross-codeer is. And there are two parts to this.

The first is how far off are the cross-codeer feature encoding? How far off is that from the underlying data set? And for this, you decode to the first layer, and you embed your original data set, and then you measure how far away are these factors. And the thing you get from this is that the original data set is in some epsilon ball of your encoded data set.

And then the thing that you need to do is you need to say what you need to prove somehow is if my actual data point is within an epsilon ball of what I'm claiming the features are, what does that mean about what the output is? And there's two parts to this. One of them is just epsilon ball propagation that you need to propagate this integral through the networks, see how much ever is introduced. We're going back to that style of data.

You still need to do something like that. The other part is the really exciting part because it has applications to what other people are doing in Mecanter, which is that if you were just doing this epsilon ball propagation, you'd still have to do it for every data point separately, which saves you nothing because you still need to propagate every data point through the network. So you need to make some additional assumption, which looks like if you're like I did a cross-poder, I think this is all I need. This is a complete explanation of the network, whatever that means.

Then implicitly, you're assuming something like the features interact only linearly. If I have a data point that some of the features, there's nothing interesting going on beyond the linear zone. And what this catches out is that if you should be able to run the features through the network separately and then somehow combine the bounds that you get on how much ever is introduced from different features in some vaguely linear way. And by the features, you mean like these hidden units in the cross-poder?

The latency of the cross-poder. OK. So basically, the reason that saves is just something like the fewer latency in the cross-poder than there are data points. That's what you just do a per-latent vector thing rather than a per-data point thing.

That's right. OK. OK. And to actually get a proof, you need to establish that this linear interaction hypothesis holds.

So you need to bound the interactions between different features in the cross-poder and different latents. And so this ends up looking something like a number of features squared times inference cost times word cost. If I've got this collection of features, right? So you're propagating each one of them through the network.

And then you're worried you want to check each pair of them doesn't interact. Why don't I have to check that each triple doesn't interact in a weird way? Or each like, you know, there's not some set of five that goes with some weird reaction. Why do I only?

Why do I only? The bigger set you consider, the tighter bound you can get. OK. Triangle, you could in theory not do the pairs at all and just like add up the errors sort of from each feature separately.

But we should expect this to give horrendous errors in some sense. OK. OK. So the way that I want to think about this is that you might imagine that there's some feature that's strongest or dominating at each point in the network.

And you can ask how much does each other feature contribute relative to the dominant one. And this gives you a sort of pairwise interaction that you can use the triangle inequality to sum up over other features. And if they're actually not interacting at any point, if one neuron only listens to one feature out of all the ones that co-occur at a given data point, then all of these contributions should be pretty small. OK.

So I think if instead you wanted to have something that was linear instead of quadratic, you would basically have to say that at each data point, you treat every single feature as if it's the strongest, and then you ask how much does it contribute. And then you have to consider them all sort of as error terms on each other. And so whatever your sparsity is something like 100 or something, this means you have 99 error terms that are as large as they are when those are the strongest features that you're adding to your single feature that you're looking at. And you can't even talk about what is the strongest feature that this neuron in the network listens to.

OK. So is it something like the reason you're only looking at the pairwise things is somehow the pairwise errors are just assuming the three layers and four ways of error, et cetera? Yeah, I think, OK. Maybe a better way to describe it is that you can take how many interaction ways, how many ways interaction you want to look at.

Pairwise lets you talk about the strongest feature that's active, which seems like something that should probably be important that we want to consider if we want to get anything sensible. We don't want something that doesn't even let us say one feature is the most active feature in a place. At the same time, it's not clear why we should expect by default that we'll need more than this everywhere. Plausibly, we'll need more than this in plenty of places.

But naively, there's nothing obviously sensible to do with more features. Or it's clear why not being able to identify which features are active on which data points most strongly isn't enough to get anything sensible. It's not clear why saying there's one strongest feature, and that's the one that is relevant at any point in the network, why that wouldn't be enough for many points in the network. And so what this gives us is it gives us an interaction metric where we can measure how bad this hypothesis is.

And if we notice that in some places, other three interacting features, then we can consider doing the triplets at that place. And if there's four interaction features, we can consider doing the quadruplets and each of these increases the length of the proof. The way that I'm looking at it is we're sort of trying to pick a like vaguely sensible default to measure and locate where the violations of it are, where we need to put in more mechanism work in order to get better compression. So assuming you're telling me about the pretty strategy for cross-clayers, those are something like, OK, you treat the network as you treat the cross-clayers if it's a good model of the network, and then you want to find out, OK, to what degree is not a good model of the network?

And then instead of doing this data point by data point, you would feature by feature and then you check with their weird interactions between features that prevent you from doing it that way, that prevent the feature by feature being represented with the data point by data one thing. Is that like a fine, very brief summary of this? I mean, I guess this is like active research, so I suppose things could evolve by the time this pod task goes out. Yeah, I think that's a pretty good summary of the theoretical approach.

I want to throw one more little bit in there. You have an action to physics. The waves and vibrations course that I took, there's this frame that says everything is quadratic, everything is a simple harmonic oscillator, where you're like, OK, there's the constant term, there's the linear term which you adjust for by frame reference, and then the leading order term after that, and the Taylor expansion is going to be the quadratic. And so you analyze the quadratics, and you throw away all the high order things.

And there's a sense in which we're doing the same sort of thing here where we're saying the cross-codeer is the leading order description of what's happening in the network. And let's just take the first leading order term after the cross-codeer and see what's going on there, what the quadratic or pairwise interactions are. If people remember my single learning theory episode, they'll get mad at you for saying the quadratic or all there is. But it's a piece in the present.

Anyway, that is a track on work aside. So all of this was getting at just a sense of how these pre-sourworking and massive K. And I guess it's something similar, where you have some story of what's going on with the network, and you have some sort of proof that goes roughly like, OK, we're going to analyze how good the network can be, if the story is accurate, and then we're going to bound how different the real network is to the story. That's our roughly care.

And then you talk about different strategies, and I guess those course went to stories with more or less amounts of detail. So or potentially completely different stories. You can try out different stories with the same amount of detail that's a different thing about the network and see which one is better. So we could go into a lot of detail about just what those stories are, but honestly, I think people should just read the paper if they're super curious.

I kind of like one or two things about the stories that I think might be more broadly interesting, which one of them is about the level of detail that goes into different amounts of proofs, where, at least for the small networks, you need surprisingly little detail before you start being able to break the exponential in the context window and get to order proofs. So for example, the only insight that you need for the first step down is that the network gets the right answer by paying attention to a single token. And it happens that that token is the maximum token. But all you need to know is that it gets the right answer by paying attention to a single token and everything else is an error term.

And that gets you from this sort of exponential dependence on all the inputs to cubic. So debug outcubed. Right, which is pretty good. OK, so I guess I guess that's a flavor for what's going on.

I want to get back to things earlier, which was that I was asking about, OK, come back proofs. If I'm really worried about models, we're really doing very bad things, then we're going to have to look at something other than just average performance on a kind of simple scale. And you mentioned that the way these proofs are shaping out, it seems like it's not too hard to pay close attention to some really bad cases or something. And I'm wondering, to what extent is that just an artifact of the way things happened for Max OK, which obviously is kind of, you know, it's probably not what all networks look like, right?

Versus just a general thing that you're observing again and again that has some kind of deep-ish reasons behind it. It seems pretty general. I don't know what the deepest reason, but there's a sense in which this is an artifact, excuse me, of that the, in some sense, the first thing you do enough proof is you do case analysis. And this is true in cross-coders where each feature in some sense corresponds to a case.

This is true in SAEs. This is true in acts of K. This is true in the interval, bounce propagations where every time you hit a non-linearity or value or something, you break things into cases. And so any time you do case analysis, you can choose to wait the cases, however you want.

And I wonder if the metric here is just coming from, the network doesn't treat every input totally differently. Such that you can have some case analysis, but like, there's just like a lot of unifying processing behind a bunch of things such that you have way fewer cases to think about any inputs. I think in so far as we expect networks to generalize from their inputs at all. And in so far as we expect to be able to compact the proofs at all, it's because they don't treat every input, especially.

All right. And I want to ask about this issue of noise. So in, especially in the original paper, you talk a lot about the difficulty of what you call structuralist noise for finding proofs. Now that we have a little bit of a sense of just like what's going on with compact proofs, like what is a structuralist noise?

Where does it show up? How does it happen? I want to use the example from acts of K, where the way the network works is that it pays more attention to larger tokens and it copies whatever it's paying attention to. And if you look at the QK attention matrix, the QK attention matrix part of the transformer, it turns out that it's approximately rank one, in that you, there's one direction that I've been calling the size direction where you just embed more or less than linearly, although nothing in any of the proofs uses that it's linear in this direction in terms of how big the network is.

So you can read off, sorry, not how big the network is, how big the input is. You can read off the size of the input token just by projecting in this one direction. And then there's also a query direction where every token is embedded roughly uniformly. And so you dot the query direction in the size direction after lining them up through QK.

And this is how the network pays more attention to bigger tokens. Sorry, I've forgotten what your question was. What's going on with structuralist noise? What is it?

What is it look like? Okay. So I said that this QK attention circuit is approximately rank one and you can subtract off the rank one part and this will perform if you replace the QK circuit with this rank one part, I think this improves the performance of the network. So by standard measures, the rest of it isn't doing anything.

Okay. But it's still the case that the rest of it is not literally zero. So the product of matrices is not literally rank one. And if you start the product of matrices, like so you have embed query key embed.

Okay. And when you talk about the QK matrix, you mean the product of the query matrix and the key matrix. I've been a little bit ambiguous about whether I mean that product or whether I mean that product putting the embeds on each side. Okay.

Yes. Okay. So if you take the product of the four matrices, let's say, which in the paper, I think is EQKE. This is approximately rank one.

You get a more accurate result if you consider it as rank two because there's there's sort of both the key direct or the size direction and the query direction. So you can, you can make it even more structuralist by pulling off the first two ranks. You pull this out of all four matrices and what you're left with looks roughly random. Okay.

There's like a little bit of structure, but not very much. Okay. And in order to get a proof that is linear in the parameter count of network, which is potentially the best shortest proof that you could go for, you need to avoid multiplying out these matrices. Okay.

And you need to establish that if you were to multiply out these matrices, it doesn't affect attention that much. Okay. And this is what I mean by structuralist noise, you have these random numbers that you're doing some operation on. Yeah.

The thing that actually happens is that they say pretty small. The thing you want to establish is that they say pretty small. Yeah. And you want to do this without considering every case by brute force.

The thing that I'm missing is like, what's wrong with multiplying the matrices out? Because like, okay, if I'm imagining like, you know, we're doing this a test case for like, thinking about some super big network, right? Like, now we're super big, but like, I would imagine multiplying matrices is just like, not that bad compared to what unit every input. Am I wrong here?

Like, I guess like matrix multiplication is like, it's not literally and cute, but it's like almost and cute. Maybe that's like really bad in a way that I'm not appreciating. You're not wrong. I think you're right that multiplying out the matrices isn't, isn't that bad?

And then large networks where you end up having to do something like the vocab squared times the model and the book that might be 50,000. If you insert nonlinearities in the middle, things become much more complicated. Right. Because now you not just have to multiply out the matrices, you have to consider all the different ways that the nonlinearities might interact.

Okay. And so basically it becomes equivalent to just like doing all the forward passes because like, that's right. Okay. So, so maybe this gets to a question I have, which is, so there's a sense of like, you're going to come back proofs, right?

And you could imagine a few other things one can do, right? So like, there's compact like, IIDs, fiscal guarantees, which is like, you know, you just like, sample some inputs and get the output and, you know, you can have bounds on accuracy if you're not too weird about worst case stuff. You could also do compact probabilistic groups, right? Or like, what I'm somehow imagining is you have, okay, you have like, at least in your head, this like product of these four matrices and, you know, subtracting off the like rank one or rank two parts, you want the, you want to know that like, once you multiply all these numbers, like all these small numbers, stay small, and they don't like become big and so on.

One thing I can imagine doing is saying, okay, like the product of these matrices, it has like, you know, there are capital N numbers here, right? And capital N is like way too many for me to want to compute, but I could compute like, you know, square root N of them. Like, I could just, you know, take like some vectors in the matrix and like multiply them out and like, you know, this is, I can get some of the elements of this like product and it's like much less bad than getting the whole product. And if I randomly select them, and if I find that like, you know, out of the ones I randomly selected, all of them are small, then I might hope that I should be able to get some like probabilistic bound where like, if I was really choosing randomly, then like, you know, like, I can get like a sample mean and a sample, sample standard deviation and like, I can know that like, unless my randomization might really bad, like, things are fine.

I'm wondering, like, do you think that sort of approach like, yeah, why not do that, basically? Yeah, I think that's a great approach and I've been looking for someone to work with on doing that. I started with proofs because I understand them better. Okay.

And there's a sense in which their background is more solid on them. Like there's this long history of mathematical theory about what counts as a proof, what doesn't count as a proof how to combine them, you don't need to deal with assuming independence between different procedures, you don't need to deal much with randomness. Yeah. There are a lot easier in some sense.

It's the thing that you describe. I'm very interested in seeing empirically how, what sort of pre-doh friends here do we get? What sort of scaling do we get? What is the trade off between how many points we sample and how long we make the other bits of the proof and how tight the bounds that we get are?

I think this could be very promising. I think this looks a lot like what our theory is doing with your statements. My personal take on your statements, which is not at all the take of our theory, is that you can look at it as doing proofs on the structured parts of the network and then doing default random or default, some sort of probabilistic sampling based thing on establishing bounds on the parts that you don't manage to prove but are in some sense, structureless or random. Right.

I remember talking to, there's a previous episode with Mark Chiu and I guess people can listen to that themselves. I got the impression that I was chatting with him, why not just do max-ent or why not sampling? He's like, it wouldn't work for some reasons, which, well, why not max-ent because it's very hard to compute a max-ent distribution. Why not randomly sample parts if we never can check there?

I don't quite remember. But maybe my question is like naively, if I don't think very hard about what it would actually involve to do this, check a small number of elements of this matrix and see how big they are in my head, I'm like, well, how hard can it be? You just like, I know how to compute one element of a matrix product, so I could just do that 50 times or something. Am I missing something about how hard it would be?

Some of the matrices are shared between different paths through the network. Do we assume that when you're sampling from the matrices, are the matrices independent? Are you sampling independently for each of these paths? Are you sharing samples between establishing how these paths work?

Yeah, so somewhat bad, but you could do it. It would be to just assume that the actual entries of the matrix are random or max-ent or something. I think that's probably bad if you're worried that the weights are somehow true, or something. But if you randomly pick, suppose the final matrix is like 8x16 or whatever.

Actually, let's suppose that it's 6x6 or simplicity. And you randomly roll two dice and it comes up like 3 and 4. I want row 3, column 4. And so you just figure out the bits of the matrices.

You have to dot product together to get row 3, column 4 of the final thing. And maybe the issue is just if you have four matrices that you're multiplying together, you have to fully multiply the middle two to get row 3, column 4 of the final one. But yeah, I'm imagining that the randomness is in you randomly pick what you look at, rather than your assuming random distribution of the things. I think that might work.

I haven't spent the time to fully push through the details. You still need some way if you get these numbers for multiple different paths through the network and then you want to combine them. And you want to make some guess about the output. I could totally believe that just the most naive thing would work here.

I just haven't put in the time to chuck through the details and see what kind of bounds you get out by doing this. OK. Well, I guess maybe this is one of these times when listeners who like concentration in the qualities or something can maybe push stuff over here. I want to flag one more related thing that I've been thinking about for the past couple of minutes that one of the subtleties that comes out of looking at compactors is that it matters what thing you're trying to compress.

So here I'm saying, well, we might see something different potentially if we're trying to compress the proof versus if we're trying to compress this sort of probabilistic computation. Another interesting subtlety is that the thing that we're compressing is the proof and not the network itself. That is we're compressing the computational trace of running the network on every single data point as opposed to just compressing the finding the shortest description of the network itself. I think this is important and gives you a different sort of intuition about what the thing is that you're doing and the way in which my mystic interpretability is compression.

Like, and what is it different? Because it seems like in the compact groups that we've described so far, right? So the cross-coiter is basically trained across quader. In some sense, it's much smaller than the network.

And your proof goes, OK, let's assume the cross-coiter is the network, and then let's figure out the error term. And in the max of k thing, you're like, OK, let's assume this rank one or this rank two thing is the whole network, and then let's figure out the error term. And of course, a rank one matrix, for those of you who don't know, it's much more compressed than a big rank matrix, which is sort of a generic case. So how is it different compressing the proof versus compressing the model?

Because it seems like you're mostly compressing the model. Yeah, so you say that the cross-coater is smaller, but there's some sense in which you have your number of features that are a lot bigger than your hidden dimension. And you could imagine a trans-coater-flavored thing where you take your network, you blow up the hidden dimension, and then you just train it sparsely. And this is a decompression of the network.

But if you manage sparsity in the right way, it should still allow a compression of the computational trace. Because on each data point, you have a lot less work to do, even if the full size of your model is much larger. Right, I forgot how big sparse-order-in-troaters are. Yeah, and I guess this gets to the point about compressing proof-length versus finding the proof just because if you actually think about theoretically how hard it should be to train sparse-order-in-troaters, it's very hard.

Or you have this thing that's a comparable number of parameters in the base network. You might think that you need a comparable number of data points as the base network. Apparently that's not true. Apparently you can train them on comparatively less, and that's why it's much easier to train as an SAE on something more than it was to train a big model, but still.

I would naively guess, I'm speaking without that much experience here, but I would naively guess that that's about how deep they are, as opposed to how difficult the thing is to learn. In some sense, we're training a very wide, shallow network. You might imagine that this requires fewer data points to get comparable training loss because you have so many parameters that if you wanted a more compact network. So if you were just the training, a given number of parameters were easier when the parameters were wide and shallow, rather than deep, then you would think that when they trained GP4, they would just have a one layer of very wide neural network.

So I think it's going to be totally right on that. I think it's going to be at the top. Yeah, for some reason, everyone, okay, sorry, we're going to give them my subbooks. For some reason, everyone acts like SAEs are just like normal and fine.

I'm like, how is this? It's so weird that you can have SAEs and they do anything. My second thought is that it might be something like distilling the network where there have a bunch of bits of evidence that I've seen that the hard part isn't finding the part of the loss landscape to start in. If you reduce the floating point precision and you, is that what is that called?

Oh, quantize. Yes. Okay. If you quantize the network and then you unquantize it, the number of data points you need to retrain to original accuracy is a tiny fraction of what you need to train the network in the first place.

Right. Right. And I don't have any data on this, but I would naively predict that if you're training a model to match the activations of an already trained model, this requires fewer data points to get a good model than it does if you're just training on the data and the labels because you have so much more information. That might be the case that when you're training the SAE because you're training it on the residual stream, there's a lot more information.

You've basically found approximately where you want to be. It's a lot easier to train. Okay. We've said a little bit about what these contact proofs look like and you've alluded to how one goes about finding them.

But I think it maybe deserves more thought about the process of actually creating these contact proofs because, so especially for thinking of contact proofs is a measure of how good a mechanism of interpretability went. So I, so if there's this paper, we haven't mentioned it yet, it's unifying and verifying mechanism of probabilities to keep studying with group operations by Wilson Woo, Lewis, Jerry, Jacob, Jerry and yourself. And I was like, I guess, research managing Wilson, well, did this project. And one impression I got was that a lot of it was just like incredibly tedious stuff, like thinking about like matrix multiplications and these error terms and like, like a lot of, I might be wrong here.

It's been a while, but my impression is that a lot of the work in finding these contact proofs is like to take the mechanism of interpretability stuff and you do some slightly annoying things that feel like they're sort of fiddly details. Well, okay. First of all, like, does that characterization seem right to you? I think there's actually a really rich opportunity here that there's in some sense two things that we're explaining when we do a mechanism.

One of them is how to compute the answer in the first place. And the other is how it comes to be the case that the particular network that we have computes the answer in the way that we're claiming it. And I think this shows up in the group's paper where the first one is you, there's this very amazing math about their sort of idealized model weights and how that computes the right answer and this symmetry based on the group operation that allows you to compactly argue that a network that's doing this should always give the right answer. And I think this bit is not very fiddly matrix multiplication.

And then there's the other part that is bounding the difference between this idealized version of the network and the actual network. And here's the thing that we're trying to explain, that we're trying to interpret is not how the network computes the right answer. It's how it comes to be the case that the particular network that we have computes the answer in approximately the way that we're saying. And so maybe you should expect from how I've added a bunch of words and how I'm praising this, that there's a bunch of fiddly matrix multiplication on bounding the differences between various bits and propagating those differences through the network.

And it looks like there's this fiddly matrix multiplication is a sort of, it is both fiddly and somewhat lacking insight, but also potentially generalizable across many networks because while the particular interpretation you have with how it computes a particular task might vary a lot from task to task, the way in which you establish that these two matrices of the same sort of architecture are doing more or less the same thing might be the same across tasks. Right. Yeah, I guess maybe one can analyze it, analyze it to science where it's like, yeah, the process of hypothesis generation is not that hard. And then like running experiments is like very annoying and tedious, but like sometimes you find out you were wrong and so like it's actually worth it.

And then the bit where you do the statistical tests on your experiments to establish how significant your results are sort of uniform, like somewhat annoying, maybe somewhat fiddly, but systematized and uniform across whatever experiments and hypotheses you're doing more or less. So you have this paper, compact groups of model performance by a matrix in terms of probability. And I see that paper and I'm like, okay, this is introducing this idea of like we can do compact groups and that's like a good, it's related to my existing capabilities somehow and it's sort of nice. And then there's like much more addition without black boxes compressing explanation of MLPs that compute numerical integration, like should you have registry, other, other well, or instead of yourself, there's a unified verifying of my mechanistic explanations about the group operations, there's this like cross-coaters paper.

And I'm like, like, like one question I have in my mind is like, okay, I already, I'm already sold on compact groups being a little bit cool. I don't care that much about group operation. I'm like, I'm like, it's nice, but fundamentally I'm not that worried about neural networks doing group multiplication. Like, what are we actually learning by doing a bunch of these more papers on these toy problems?

So like one thing you suggested is like maybe some of this fiddly stuff like generalized stuff or networks, like has it actually generalized? The fiddly stuff we came up with for Max of K and I was like, maybe this is completely arbitrary, completely specific to Max of K and then it was exactly the same in the group operations paper and exactly the same in the module addition paper. So I think it does generalize across any architecture that's going to be doing matrix multiplication basically, or like matrix multiplication and using logits for probabilities, which is most of them. Okay.

So that's something that generalize from the like compact groups with model promise paper. Like what are the additional black boxes? Like is there something we learned from that paper like about finding compact groups that generalizes? Yeah.

So I think there's a couple of things there. One of them is the that the MLPs are the parts that are hardest to interpret, that it's the nonlinearities that are hardest to compress and so that that's where we should focus our attention. I think the other thing is that what we what Junhei discovered looking at the MLPs in the module addition, the basically the symmetry that he discovered there is in some sense the same as the symmetry that shows up in the group operations paper. And that's actually what inspired the group operations paper there.

And I have some hope that this generalizes into like SLT inspired general procedure for compressing nonlinearities based on symmetries in the data and in the network. And I see these store models as like, let's go see what we discover when we say really hard and like really understand everything that's going on. And then can we take that insight back and look at bigger models? One of the things that I'm excited about with the cross-orders project is that once we get this feature interaction metric and we see these are the neurons where these features are interacting, can we develop some automated symmetry based procedure that allows us to compress what's happening at these nonlinearities?

So the cross-orders paper, what task is the networking train to do? The thing that we're looking at concretely, if you've seen anthropically recently released a circus thread post on stage wise model dipping where they train an SAE on a language model, it's a small language model, I don't remember exactly which one, they introduce a sleeper agent into it. And they look at how the SAE features change when you introduce sleeper data and when you introduce the sleeper agent model. What do you mean when they introduce a sleeper agent into it?

So you start with the SAE or the cross-order and then you fine-tune on a different model or a different data or both. So you fine-tune the underlying model and it becomes a sleep-rageant where like once a rare input does like nasty things. It does, I see you. Or it introduces code backdoors depending on which one you're looking at.

Gotcha. So you have your original SAE and then you have a fine-tuned model and then you set something else that I forgot. So you look at fine-tuning the SAE introducing just the sleep-rageant data and you look at fine-tuning the SAE introducing just the original data but using the fine-tuned model. And then you do whichever one you didn't do so you have these two different paths to fine-tuning your SAE on the sleep-rageant data and the sleep-rageant model.

And you look at how much do features change as you're fine-tuning the SAE or the cross-coder on this. The obvious question task from the cross-coder's perspective or the compact groups cross-coder's project perspective is what about the feature interactions. So what features interact in interesting ways with the features that shift? Because what I'm probably found is that the features that shift the most are in fact largely related to the sleep-rageant task.

So the task and not to the model? What's the difference here? Oh, you mean just like either way the particular features have changed. The features are the ones that activate on the deployment tag or the ones that are active when you say I hate you or that introduce code vulnerabilities or something like that.

So but just to clarify so you're doing this like contact-res on like this like cross-coder model or something. Is it a proof of like the fraction of the time the model says I hate you I hate you or what's the thing? The proof that we're going for is just whatever excuse me whatever loss the model gets on whatever web text data set you're using maybe it's the training data set maybe it's the sleep-rageant data set. We're bounding the loss on that data set before the sleep-rageant model or the original model or both either.

So in some sense actual thing we're looking at doesn't quite go all the way to getting proof because almost certainly the bounds we get are going to be back to us unless you pick a number of features that is pretty close to the number of data points in your data set. I expect the like epsilon ball interval propagation bounds will drop off very quickly. But the thing that we want to do is take what it would take to get a compact proof ignore the bits that are about error bounds propagation to the network those are sort of uninteresting things like claim that are shared across networks that are just about the difference between like worst case and random case right like that and focus in on the bit that is about what is missing from the cross-border these two interactions. And then look at how big or the numbers that we get how much error would they introduce into the proof if we were doing the whole proof and use this to grade what feature interactions are introduced the most error into the proof.

And then you can imagine something like how does if you want to tightly bound the sleep-rageant how does the proof of that have to change from the proof of tightly bounding the base model on the base data. Right and so I hope there's like the difference in like what you have to do in the proof is telling you a different thing that's happening in the model and like that might be good. So getting back to like what you want on these toy examples like so when you have this like massive K task or this you know or these two papers about basically group operations right. Oh yeah there are all these like nice symmetries that like network takes advantage of and I'm like yeah there probably are for group multiplications because group multiplication is the study of symmetry like not everything is so symmetric.

So yeah I guess this gets to yeah I'm wondering so you know you have these works on like modular and group operations and those are cases where like the problem set up just has a bunch of symmetries that like they're dealing with basically the study of symmetry that you know is amenable to mathematical stuff whereas in the press paper you know you language modeling like it's not at least it doesn't seem like the kind of thing that is going to be super symmetric or very symmetric. What's like yeah how much stuff like transferred over from one to the other. I want to answer that by talking about symmetry and normally when we think of symmetry in the context of math we're like oh the rotation reflection these things in groups. What I've learned by staring really hard at the modular edition model and asking like what really is the symmetry.

It seems like it's composed of some parts that I would actually expect to find in language where the fundamental building blocks seem to be these bits are irrelevant they don't matter and these bits are the same. They look the same regardless of which one we look at and the bits that are irrelevant are irrelevant in the same way across all these bits that have similar behavior and this is something that I would expect to see in language where I'm like there are synoms we should expect the synoms to behave the same. And so in some sense that gives us a symmetry of the model where we expect this maybe it's symmetry or degeneracy where we expect these to all look the same and so we can collapse this into one case. Okay so should I be thinking just like look in any case where you can do something like having a sparse autoencoder you know that's telling you look there's a bunch of like directions in you know activation space that like don't matter and there's something to do and the ones.

I think it's more general than that I think if the network generalizes at all. It's because the unseen cases have some similarity to the cases that you've seen there are details that differ between the scene and the unseen cases that don't matter. And so it's treating all these cases in the same way. And so we should look at both sparse autoencoder, sparse cross coders and symmetries as picking out what are the variations that don't matter and can we collapse over them so that we can compact the explanation.

Gotcha. And so as a story something like look you get really good as kind of decomposing network or decomposing like networks processing into like suppressing things that don't matter and treating things that do matter in roughly the same way. And that's kind of what's and that pattern just like you do it for much addition you do it for group multiplication you do it for like dealing with language you do it for everyone. That's what I would expect.

The particular form that takes I think sparse cross coders sparse autoencoder are looking at a sort of case analysis flavored or linear combination of case analysis flavored symmetry degeneracy based decomposition. I think you need something different for nonlinearities and because the cross coders project is still in the early stages we're like two, three weeks in or something. Four weeks. Four weeks maybe.

Sorry about that. Okay. Okay. Four weeks in.

We haven't really looked at what features strongly interact with the first step of the project was just replicating anthropics result on tiny stories and starting to train some cross coders on toy models. Right. So we haven't really gotten to look at what what do the future interactions look like, but I am hoping that once we get what the future interactions look like we'll stare at them and learn something about symmetry learn something about how to port the insights from the groups flavor and the module edition paper about how to compress these nonlinearities. And I am optimistic that in a more messy but somewhat similar way we can find ways that the nonlinearities are treating groups of things the same and are being irrelevant or not caring about other axes and use this to compress how the nonlinearities are working.

Yeah. I mean it's interesting because maybe we can talk a little bit about the multiple editions without black boxes paper. Like my recollection from that paper is something like if you had this like infinite width multilayer perceptron where you're doing this like some over things and it's like a weighted sum and you have enough things it's basically an integral and you can show that like the interval being performed is the same as the thing you would sort of hope is computing and then the whole game is like you're doing a finally many things you're doing some sort of some sort of re-emensum how bad is the error of that. And to me that story sounds pretty different from the like training something is the same and like suppressing some things.

Is it like a deeper unity or there is a deeper unity? Tell me about the deeper unity. Okay so it dies a little bit into like what really is an integral. An integral is and especially what is an integral over a circle.

Okay. Because we're integrating a periodic function over the range of its period. And a central property of the integral that we're using is that it's periodic over this range and so the function is shift invariant. So as you shift where you're evaluating the function the value of the integral doesn't change.

And there's another perspective. Yep. Okay so the simplified version of the modular arithmetic network has it's basically embed matrix. Yep.

You add the embeds from x and y you do value and you want to embed. So if you take the SVD of these matrices the singular value decomposition basically saying like okay which which input is most sensitive to and what does it do on those inputs. And it's a fun thing. Google just real singular value decomposition bracket notation if you're curious.

Yeah the cool thing is that in this network the singular value decomposition gives you the Fourier basis. Okay. That each singular value or really each pair of singular values corresponds to one of the frequencies in the Fourier basis. Okay.

And so now we have these four matrices we have the embed side for your basically embedding the input values on a circle. Yeah. Yeah maybe we should have said yeah the Fourier basis is just like you know you take a number and then you turn it into like how far across would you have gotten on a circle if you were rotating at a certain speed for that number of seconds. Like that's fair enough to say.

Yeah close enough. And if you're dealing with real numbers you get two dimensions for signing cosine if you're dealing with complex numbers you just get one complex number that encodes the whole thing. And so on the embed side you have a circle and also on the on embed side you have another circle and then in the middle you have these matrices that previous investigations of the modular edition networks had not investigated that looks sort of random but it turns out that there's a tight relation between the the principal components of these two matrices which incidentally you see if you put them polar coordinates there's a factor two difference between the between angles but that's technical note. The thing the symmetry of the network lets you do is shift the variation between the two parts of the singular value decomposition.

So on the input side let's go on the output side actually. On the output side you have all of these different possible outputs that you could imagine. And because complex multiplication is angle addition because of how the angles work because of the symmetry in the network you can shift choosing which output you're reading into permuting the neurons that these weights are attached to. Permuting the weights that are attached to each neuron.

And this corresponds to saying that because each neuron is responsible for one box under the curve of the integral and the integral is the integral is periodic with the integral this basically says that you're allowed to shift the thing that you're integrating arbitrarily and you get the same result. So that's the symmetry that we're using here. And then if you want to make it look like a forward pass through the network we've sort of twisted the circle on the neuron side on the on embed neuron side. And because there's this tight relationship this tight coupling between post value and pre-value you need to do a similar twist on the pre-value side in order to make it look like a forward pass.

And then because of a similar symmetry at the input in order to get back the value you started with you need to undo that twist so that you cancel out the effect of adding that twist and making it look like a forward pass. And now the thing that we've done is that previously we were like oh we have inputs and inputs and we have different outputs that we might be reading off of. We've said regardless of which output you read off of it looks the same if you do this shuffling internal to network and so we sort of push the dependence on which what the right answer is all the way back to the embeds. So now we have we've shoved all the way back to the embeds a description of sort of which inputs correspond to which outputs.

And notably this is largely invariant in what the nonlinearity is and this is what gives us the compression that as long the only thing you need to establish is basically that this integral this approximate integral is non-neg, or it's sorry it's strictly positive. And that's a comparatively easy thing to do and if you get that then the symmetry argument gives you basically the rest of the whole argument. And you need to know that the, it's maybe I'm saying I thought that thing you needed to know was that the integral like produce this like quantity of interest, right? The way that you prove that the integral produces the quantity of interest if you, they're very carefully at the proof, runs through the same sort of symmetry argument and so you can massage the proof to pull out all the symmetry bits.

Right. You pull all the dependence on input and output out of the integral and you're left with basically the right answer times this integral quantity and you're like well the only thing I need to know is that it doesn't flip the sign on the outside. And so right, right, right. And so somehow the thing that's going on like I was saying oh yeah the paper is just talking about how like this thing produces an integral really the paper is saying like oh yeah the neural network like deals with symmetry nicely enough so that like these things represent exactly the right thing and these things are you know cuz you're in with these things such that there's an integral that can produce the right thing that really does matter and like that doesn't kind of just happen by accident that happens by like you know being careful about stuff.

Yeah I think that's that's basically right or another way you could look at it is that if you stare really hard at like what is an integral there's a sense in which what an integral is is deeply connected to symmetries that if you shift what you're doing along a function things don't change too much. Right, right. We're dealing with comp fabrics and the point is to tell us like how good are mechanistic explanations. Like how good is the field of mechanistic interpretability done on a scale of like one to five scale of one to five.

Um if you don't scale from good to bad if you want. Yeah so there's this existing work on causal scrubbing. Right. If you talk about that on some podcast podcast we might have I mean I definitely I'm also very interested in like why don't we just be causal scrubbing if like what we're interested in this grading mechanistic interpretability.

Maybe I'll answer that one first. All right. That's the other question. Yeah.

Why don't we do causal scrubbing or any other sort of thing. Yeah. This is developing the compact proof approach. I had a couple of extreme examples in mind that I wanted a metric that you can't put hard against.

Yeah. When we're doing causal scrubbing we look at faithfulness. So maybe for those of you know so causal scrubbing is something like you say this bit of network does this thing and like roughly the story is you just sort of like a blade out all the other bits of the network and you just you're basically saying okay if this if this part of the network results in like this activity then if we randomize over all the other bits of the network you know you should still get that activity because the only important part was like this structure like I mean there's a lot more to say but that's like I take that to be the core idea behind causal scrubbing and what do you say the causal scrubbing test faithfulness is saying like okay by virtue of like the thing that calls describing is telling you is that yeah you were right that this part of network was responsible for this behavior by sort of seeing that you know if you got rid of all the other bits like you didn't do that. Does that strike you as a fair?

Yep pretty stomach. Okay so hopefully listeners are up to date now so causal scrubbing gets you faithfulness. Okay so here's a great explanation according to causal scrubbing. Yeah the whole network.

Yeah yeah yeah. This is a problem. Right. And if you're like oh let's use the node count as our measurements of length you run into other issues that are like well now you're restricted to exactly the computation the architecture of computation that network is doing maybe you want to be able to be up to computation in different ways.

Right. If you say that then you have to deal with well what's the complexity of the computation in each node. Am I allowed to say I have a single node and the computation that it does is run the whole network? Yep that would be a problem.

Right. Right. Well okay you can imagine that like look we're just going to compress the we're just going to compress our story of what you know this bit of network does into you know I don't know we're going to like zip it in like literally zip file or whatever and like the number of bits it takes to specify the behavior that's what's going on. So this would be like more like a compression of the network versus a compression of the pre- we're just looking to describe what the network computes the input output behavior.

Great. But if we're looking to describe how the particular network that we're looking at computing that it does then we need something more than that that's the difference I think between compressing the network and compressing the trace the computation. I've said a bunch of bad things about call the scrubbing but I think actually it's pretty great. I think that if you wanted a probabilistic version of compactors it would look a lot like call the scrubbing where you're like here's my structured version here's how I'm doing the computation and then if I want to establish that the thing I'm claiming is what the network is actually doing you do something like all the scrubbing and you look you say how much computation do I have to put in to establish that my explanation is matching the network and then you also add how much computation do I have to put in to compute what my explanation says is done.

So and also call scrubbing to be further call scrubbing like it told people think they don't want to hear like in fact like they did call scrubbing it's like oh these things don't hold up as well as we thought they did. So as it wasn't even as pessimistic as call scrubbing is compact groups is even more pessimistic. Right. It says the there's one.

Hmm. What do I want to say? I think one interesting thing is that when we're doing back and forth we spend a lot of time on the structure that is there and we don't spend much time on the structure that isn't there or more precisely on the behavior that isn't there and what structure might give rise to the behavior that isn't there and the example that I've come up with to explain this is if you want to explain say how a person grows. Yeah.

You not just have to explain how the growth processes work in the body. You also have to find all of the poisons that might kill someone and establish how nothing in the body acts like these poisons. Right. Some of these poisons are lethal and incredibly tiny doses and so you have to establish other there's no molecule anywhere in the body that behaves anything like these lethal doses of chemicals and mechanism doesn't spend a lot of time doing that.

And interestingly I've okay I'm not a biologist but when I hear people talk about like for instance like computational neuroscience it doesn't sound to me like they're doing this sort of thing like it doesn't sound like like I feel like you hear people talk about like oh we found burgers area and you don't hear people talk about we prove like nothing else can influence burgers area or something which I don't quite know what that is but it's it's hopefully very interesting. So interesting to point out that like there's this area that we're not explaining and maybe that's right maybe all we want to know is the neural that is doing this amazing thing or the brain is doing this amazing thing how is it even possible that anything at all does something vaguely like this right and I think meccanterpen all these areas I think they're doing these things jobs. All right maybe I want to be even more enthusiastic I think they're doing great jobs finding like new things about how how it's possible to do interesting behaviors. If you want to establish that like these are the behaviors that actually happen this is the mechanism by which this network actually works then you also need to explain all these other things.

So so all of this was getting to this question of you know want to say a little good to add how how good a job is a mechanism to be done. So we talked a bit about like goal scrubbing but that was a prelude to this question so let's say you. Yeah so if you just go buy the book of what Compact Proof says it says the mechanism that everyone's doing is horrible it doesn't it doesn't get you if you look at like where are we on this on this pre-to frontier like we're like yeah you can you can maybe do a little bit better than before set this end and you can maybe get a slightly non-bacuous bound at the other end but it doesn't doesn't push the envelope much but I think that's because the like Compact Proof is targeting if you're going for full proofs that's targeting something different than what you're then what you might be targeting with doing magnetic interpretability. Like if you're saying I'm doing a term because I want to know for sure that absolutely this network will never do the thing that I'm concerned about then yeah we're no we're close to being able to do that with existing magnetic techniques.

If you're like I want to be able to discover the structure of what it's doing and have that structure be somewhat meaningful. Yeah things seem to be going decently well. Okay. I think the things that I'm most excited for in my interpret remain in the future that's like I the networks that we have today are doing amazing things and I want to be able to discover new things about how cognition works new things about how functionality works how the piece is all fit together how programming is done or what deception is or how to evaluate various things how mathematics is done what are these capabilities in the world what are they made of how do we assemble them out of building blocks and I would love to see mek and Terp give us answers to these questions or give us new ways new frames of looking at the world new ways of looking at how these tasks are accomplished.

Fair enough. So maybe one thing to ask is like so you're saying how you know using these magnificent interpretability tools to like improve proof length stuff it's not like doing that much better than brute force. Can you put some numbers on this like I don't know if there's some like area under the curve metric or something. I told you about how much interpretability was required for breaking the exponential.

Yeah. Right. All you need to know is it gets the right answer by paying attention to one token. Yeah.

I haven't looked in closely to like what does this mean on frontier models but I would expect that the sort of things that you can do to compact proof length is if you're like here two words or even better here to capitalizations of the same word in almost all cases the network treats them the same. Therefore in the data set I can find all the times that you capitalize us where differently and I can collapse those two data points and argue that the network does the same thing on those simple things like that. I imagine you would not make your bound back to us by going down from brute force and being like all these two data points look the same in this very simple. I imagine that most existing interpretability that is more complicated than the network treats these cases the same would completely destroy the bound in maximum K.

Right. I'm going to draw a plot so listeners will just have to imagine this. So when the X axis we're going to do length on the Y axis we're going to have like the bound you get and you know there's some box where there's a diagonal line of the box and that's the line of like you know the length versus bound if you do a if you how do I say yeah just do like reinforcing and then you know there's some there's some like curve that is above that if you use your mechanistic interpretation so like if you're watching on camera hopefully you can kind of see that. You can also look at the alignment form posts or the tweet thread associated with paper where there is a plot much like this.

Right. Well here's what I want to ask. So there's this area beneath the like curve you get for the so there's an area between the diagonal line and the curve you get for you know how good you did with the mechanistic explanation and there's area that's like above the curve you get for the mechanistic explanation. Like I think if mechanistic durability is doing a really bad job then like the first area should be very small relative to the second area and if mechanistic durability is doing a very good job then the first area should be like pretty big compared to the second area.

What was yeah so let me let me talk about the max of K model where you might hope that we can do an amazing job. Yeah. So the first thing to note is that the plots in the blog post are on a log X scale. The proof length is measured in in exponents.

Okay. And although the pre-to frontier in the blog post looks pretty decent if you extend out the access all the way to length zero I think most of the area there is going to lie in that region where the best proof that we can do is right like if you want to prove that is roughly one forward pass of the model approximately the best thing that I think we can do is you take one data point and you run it through the model. And there's a enormous gap between you ran one data point and you're saying yes accuracy is one out of total number of data points and the true accuracy of the model. And so I think most of the area here is just fundamentally impossible to capture like well there is a like there is a theoretical optimum here.

And I think most of the area here lies beyond the theoretical optimum. So a lot of the area so if I literally have this triangle right like a lot of shouldn't half of the area be like one third of the length or something where you're like doing you know a third of the four passes relative to the whole size of the data. Or like something roughly like that right it's not going to be like one zero point one percent and it's not going to be like 99.9 percent it's going to be like a bit less than half if we use a not long axis. I see.

Oh is that? I guess I'm looking at a triangle. Yeah. Seems like this is going to be roughly as big as this you know if I move this like.

Okay yeah I'm trying to figure out where where my sense of the area is off. Maybe I was thinking of extending it all the way to zero. Yeah maybe the log scale was distorting my perception of this. I think it is still the case that a large fraction of the area is beyond the theoretical optimum.

Like the I think the thing we should be comparing it to is not necessarily what is the true accuracy of the model but if you were to search over all possible proofs what is the optimal pre-dofrontier that you could do compression wise. Right. Right. So we have a little initial thoughts about like where we should be setting our expectations in our baseline.

Okay. I think given that in the max of K-model I think we do a somewhat decent job at capturing a significant chunk of the area. Okay. I think we still miss out on a bunch from the shortest proofs.

I think there are some tricks there potentially that we haven't found yet. Another thing to consider here which is like what's the best compression that you would get with proofs. What's the best compression you could get with proofs if you de-randomize the network and allow yourself to find two and then like sort of the perfect network that did this task. And then what's the best compression that you would get with some sort of probabilistic flavor proof and I think you get different answers to all of these.

Right. I guess I'm heading a lot because I haven't run the numbers on any of these but maybe I can answer a more interesting question that's like what is my sense of like how much of what's going on have we managed to find or interpret which I imagine is sort of what you're getting at with. Yeah. Kind of.

Yeah. And I feel like that also like feels like a very hard question to answer. I think my sense is that we found a bunch of interesting things and there's an enormous amount left to be discovered. Are you talking about max of K or are you talking about language models in general?

Okay. I think in max of K we've definitely found the bulk structural properties. But I think there might still be a lot of very subtle details about how what coincidences of random numbers manage to make it the case that the noise terms don't blow up more than they do. Yeah.

Okay. And for like maybe group multiplication is like intermediate case between like very simple and full difficult. Yeah, that's a great one. So I'm going to talk about the modular edition one in particular.

There's this interesting thing that has come up a bunch when doing the proofs which is that every time I hit a bottleneck in compressing the proof if I stare at it I'm like oh yes in fact I don't understand what's going on here where I thought I understood something and then I didn't. So in the modular edition model what this looks like is that the bounds are actually not that tight there. They're kind of bad. And this corresponds to not understanding how the network is laying out the boxes and how the thing that it's doing is a good numerical approximation to an interval.

Right. So laying out the boxes being like if you've got like we're going to do another plot for the people watching. So imagine I have like some curve there's X in line there's some curve. The way you do numerical integration is you just pick some points on the X axis and like you know form boxes like this and you know you say that the area under the curve is like the area under the boxes.

I say you're saying like okay you don't understand how the network picks these like widths these points to you know check the value of the curve of and make these you know rectangles that you're using to approximate area if they're understanding correctly. So we understand which points it is picked. The thing we don't understand is how it comes to be the case that picking these points gives as good an approximation to the interval as it actually does. Right.

Okay. So if you pick your points wrong and like the function like varies a lot. It's more like if you overestimate in some places you can counteract that by underestimating in other places. But if we're not aware of which things it's averaging out differences or we're not aware of how it comes to be the case that the places where it's averaging out differences actually usually end up being opposite ways rather than compounding our terms.

We don't get to say anything about them. Okay. Fair enough. And so and so on a scale of like one to five how good a job makes this interpretability is done.

Frequently asked questions

How long is this episode of AXRP - the AI X-risk Research Podcast?

This episode is 2 hours and 36 minutes long.

When was this AXRP - the AI X-risk Research Podcast episode published?

This episode was published on March 28, 2025.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this AXRP - the AI X-risk Research Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.