Hello everybody, in this episode, I'll be speaking with Lee Sharkey. Lee is an interpretability researcher at GoodFire. He co-founded a PolyResearch which he recently left, and he was most well-known for his early work on sparse auto anchors. Links, so what we're speaking about are available in the description.
There's a transcript available at xRP.net. You can tell me what you think about this episode at axrp.fi. That's axrp.fi. And you can become a patron at patreon.com.
Well, let's continue to do the episode. Well, Lee, welcome to Axar. It's good to be here. Yeah, so today we're going to talk about this paper, interpretability and parameter space, minimizing mechanistic description length with attribution-based parameter decomposition.
Author by Dan Brown, Lucius Bushknock, Cefan Heimersheim, based on being, I guess, joint first authors, Jake Mendel and yourself. So I guess how do you summarize just what's this paper doing? Yeah, so I would say that this paper was born out of two lines of thinking. One, primarily coming from what I was thinking about and one coming from where Lucius was thinking about.
And what I was coming from was we'd been working with SAEs, sparse auto encoders for some time. The community got quite excited about them. And we'd just been thinking about them quite a lot, and noticing just a bunch of conceptual and ultimately practical issues with them. And then the line of thinking that Lucius had been thinking about was thinking about just a potential area of research that might form a foundation for decomposing neural networks.
And what this paper does is basically bring those lines of thinking together. And the whole thing that we're trying to achieve here is breaking up the parameters of the network instead of its activations. Fair enough. So yeah, I guess the hope is to, when you say break up the parameters of the network, yeah, if I look at the paper, you know, you have this IDD method, and it seems like there's the core of it is this like objective of like, here's how we're going to decompose the network.
There are these three parts of the objective. Can you walk us through just like what those are? Yeah, so as I mentioned, the whole goal here is to break up the parameters of a network into different components. So the, and this is necessary for understanding what the objective of this algorithm is.
So we have, you know, a neural network. And, you know, as many of these networks are there composed of matrices, and these matrices are the parameters of the network. And even though these are matrices, you can flatten these matrices out and just, you know, can get them all together. And this is just, and you just make one big vector that you call your parameter vector.
And this is a, and your networks lives as a vector in parameter space. And what the method does is it basically supposes that you can break up the neural network into a bunch of mechanisms. And those mechanisms sum together to the, the parameters of the original network. And so what we want to do then is we want to start with a, you know, a, a set of parameter vectors that all sum to the, well, initially there's, you know, there's some to a random, random vector because they're randomly initialized.
But we basically want to optimize these parameter components, these, you know, the components of this sum that we want to sum to the original network. We optimize them such that one, they do actually, in fact, sum to the parameters of the original network. Two, that as few as possible of them are used on any given forward pass. And three, that they are in some sense, simple.
That individually they don't use very much, you know, computational machinery. Because, you know, one of the ways that you might have a, have a parameter, a set of parameter vectors that sums to the parameters of the original model is just to have, you know, one parameter vector that is, in fact, the parameters of the original network. And they, you know, as few as possible of these are used only given forward pass because that's just, it just uses one of these parameter vectors. But it's not very simple, right?
You haven't really done very much work to decompose this into, you know, smaller steps that you might more easily be able to understand. And so you want these individual parameter components to be simple as well, as faithful to the original network that is, and also minimal as few as possible of them are necessary on any given forward pass. Gotcha. So one thing that I guess immediately struck me about this idea is like, so it sort of, it sort of presented as like, ah, I say you have these problems and so we're going to do this thing.
And it strikes me as always just like a sparse autoencoder for the network, right? Like, what's a sparse autoencoder? Well, you want to like, you know, you have this like activation layer and you want to, you know, have something that recreates the activation layer and you want it to like sparsely activate, you know, there are a bunch of components that sparsely activate on any given like thing. And you know, if you train it with like L1 loss or L2 loss or something, like somehow you're, somehow you're supporting simplicity as well.
Um, how, I'm wondering like how much do you think there is to this analogy? I do think there are many parallels for sure. I wouldn't want to overstate them because, you know, they, they, I do feel like much more satisfied with the APD direction. And so, but you know, as you guys point out, there are many similarities, you know, and you might think of SAEs as in some sense minimizing the description length of a given set of activations you want to be able to, you know, be able to describe in as few bits as possible a given, given that a set of activations in any given layer.
Um, but the, but yeah, the method basically, um, I don't know, it, it, it focuses on, focus on a slightly different object, it focuses on parameter space rather than activation space. Right. And in that, in that sense, kind of focuses more on the computations rather than the results of the computations. But there is, I do, you know, it's not a coincidence that, you know, we've been thinking about SAEs for some time and then, you know, we come up with this direction.
It, there are some deeper similarities there. And I think that the core similarity is that whenever you're describing in your own network, you in some sense want to use as few objects as possible because in that way, you're going to be able to break it up into individually, you know, more understandable or simpler chunks. And the hope then is that you can, you know, if you understand those chunks, you can understand the rest of the network as well. And so both of them rely on that principle, but, you know, I can do different objects and the few other differences as well.
Sure. So I think just to get people to understand like what APD is, I think it's actually helpful to sort of go through three parts of the objective and whole through them. So I guess that first part is you have these, like, the set of vectors in parameter space and they're, they have to sum up together to make a whole network. Um, I think the first thing that strikes, um, that might strike, or at least it's talking to me is not strange is because you're looking at vectors in parameter space, rather than like, you know, subsets of the parameters of the neural network.
You're going to say, like, Oh, yeah, this mechanism is, you know, three times this parameter minus two times this parameter plus half of this other parameter. Um, like, like at first watch, there seems, it seems like there's something kind of strange about that. Um, and I'm wondering like, is this, well, firstly, are there like other parts of the objective that like, you know, mitigate against this sort of thing? Um, or if there aren't like, is this just the thing that ought to be done?
I mean, kind of say that implicitly there are, you know, that I think what we will find, um, is that, uh, and we do, you know, to some extent, find this in some of our experiments that even though networks try not, you know, we don't want our, um, uh, understanding of a neural network to be in some sense, um, privileged some basis, either in activation space or in parameter space, you know, the network doesn't necessarily have a, you know, a fundamental, uh, we don't, we don't get presumed a fundamental basis. We have to go and find that basis, either in activation space or parameter space. However, um, you know, you might be familiar with the idea of just privileged basis. Um, this is the idea that, uh, because of the activation function serving as these nonlinearities, certain basis might be preferred.
Um, and in particular basis that's somewhat aligned with neurons, although, you know, not equivalent to, you know, the unit basis in, um, you know, sorry, the, the, the neural basis. Um, so it, it does feel likely to be the case that, um, because neural networks, uh, have some, they seem to have some tendency to, um, align with the neuron basis under, you know, some, uh, data distributions and some training objectives. Um, I would guess then that, uh, you know, APD, if those, if, if those bases are indeed privileged in the network, APD should be able to, um, you know, recover them. Uh, and thus, you know, implicitly kind of has a, you know, a bias toward, if it has a bias toward finding two things in the network and the network has, uh, you know, some, um, it, it, it's probably just some basis and, you know, it, it should ultimately, uh, find out, but I'm not sure if it does have a, you know, a, a part of the objective that biases toward that, uh, explicitly.
Fair enough. So I guess the next thing I want to talk about that's, uh, I guess, somewhat, somewhat distinct to the method is the second part of, um, optimizing for minimality. So what, yeah, concretely, like, how does this work? What are you actually like optimizing for here?
Yeah. So we came up with a couple of different ways that we might be able to do this. And we, we use one in particular that is, um, we, we call it the top K method. So we have these, um, set of parameter components that we're, uh, training and we want them to each individually, um, uh, you know, take the form of one individual mechanism of the, of the network.
And the way we, um, we want these mechanisms to have the property such that as few as possible of them are necessary on a given forward pass. And so the way we optimize for this then is that we have a, we have two forward passes and one, two backward passes. So on the first forward pass, we use, um, the, uh, the summed parameters, sorry, the sum parameter components, which are, you know, approximately equivalent to the, um, parameters of the original network. And then on the first backward pass, we take the, uh, gradient of the E to the output dimensions, um, with respect to the parameters.
And the idea here is that we use these, um, these gradients as attributions of which of these parameter components was most influential over the output. And so in some sense, which of these parameter components is most cosily responsible for the output. Okay. And then on the, um, so we take those attributions, you know, each parameter component has a, you know, a number that, uh, is some approximation of how important it was for the output.
And it's not just a, is that like, is that number just though, like some of the absolute values of all the attributes in the store? Um, it's a slightly more complicated, um, formula. We basically, you take some in your product with the parameter components, themselves and the gradients. Um, but you can conceptually, uh, you know, approximate it with that.
It's roughly that idea. Um, and so you basically, uh, you have this number that, you know, tells you how approximately how important this parameter component was for the output. And then you say, well, I'm going to only take the top K most important parameter components and then you do a second forward pass only using the top K most important parameter components. And what this should do, whenever you train the output of that second forward pass to be the same as the original model, is that it should, um, update these active parameter components such that they become more important on this forward pass for that data point.
Um, so, uh, they basically should increase their attributions, um, on this data point, uh, compared with, um, before the, before the gradient update and the gradient update is just the second, um, backward pass. So yeah, there's the, yeah, but that's basically what the four steps of the, um, that train is going to do. Gotcha. So, so I guess my main question is, it seems like the fundamental thing here is like minimizing the number, not the, like number of mechanisms total, but the number of mechanisms that are like relevant for any one, um, for any, like single, uh, you know, forward pass of the network.
Um, I think when I first came across this idea, it just like wasn't only intuitive to me why that should be the, the minimality that's necessary, rather than just like minimizing the total number. Um, yeah, what's going on there? Yeah. Um, so I'm just trying to understand what the confusion is.
So I think the way maybe to think about it is that, uh, if I wanted to minimize just the number of, uh, parameter components that I used on any given forward pass, you know, what one, um, one thing I might do is just, uh, as we were discussing earlier, you know, we may just use the parameters of the original network. Um, of course, this doesn't really, um, this isn't satisfactory because, uh, it doesn't break up the, the parameter components into something that is simpler than the original network. And so one thing that you might, um, you know, so already we don't get to just, um, you know, minimize, uh, the number of parameter components that are active on, uh, given forward pass. Um, so you might then, you know, imagine that there is like a pre-different tier of, um, how many parameter components I've split up the network into, um, versus how simple they are.
Yeah. And there's going to be some, you know, uh, for a given level of simplicity, um, I'm going to require a, you know, certain number of parameter components only given forward pass. Um, but yeah, you don't really get to, um, I guess, I don't know. Yeah.
Maybe, maybe you can, uh, the, the, the, yeah. Yeah. Basically, basically my question is, um, so in actual APD, right, you're, one of the things you're optimizing for is that on any given forward pass, there should be few components active, but like on different forward paths, like maybe you have, like maybe on, sorry, passes, maybe on this forward pass, you have, you know, mechanisms like one, three and five active on this forward pass. You have mechanisms to four and six active.
And then you're like, oh, this, this is like a pretty good, you know, um, but you can imagine a world where you say like, Hey, I just want there to be as little few mechanisms as possible just for all the inputs, right? Yeah. So, so in this type of technical network where like, um, you know, you have like one, three and five on this input, you find six on this input for APD. You're saying like, oh yeah, that's like, it's only using three mechanisms for any four of us because I have a hypothetical method that's saying, Oh, that's like six mechanisms that are being used in total.
And I want to like minimize that number. So why is it like the per forward pass number that we want to minimize? Yeah. I think it is in fact the other one that you want to minimize you.
You do want to minimize the total number, um, because we're, you know, we're ultimately averaging the gradient steps over batches such that it will on average point toward a configuration such that the, uh, that if you get to share a parameter components between these different data points, you know, if you have a data point that has, you know, one, three and five and another one that has, um, one, four and six. Um, this one should be favored over the, uh, the, you know, the one where you just get to spit up, you know, one into two different mechanisms that, that, um, there, that is active on both of these data points. Um, I guess what I'm saying is that, uh, you arrive at, um, you arrive at a case, sorry, you, you basically do want to optimize for, uh, cases where things are shared. And that's kind of, um, where there is a few, as few mechanisms as possible over the entire dataset.
Um, you just happen to be doing this, you know, uh, batch wise over individual data points. My understanding of the method is, so you have, you have this like batch of inputs, right? And what you do is in a batch way, um, you, like for each input, you take the top K, you don't really do batch top K, but like that's, right? So for each of these inputs, you take the top K, um, mechanisms that are being used.
Yeah. And then you up weight and then you like do a backward pass where you're optimizing for on each input, the top K things that were used for that input are, um, basically optimized to, you know, better reconstruct, you know, the, the, the output of the network on that particular input. Sure. And so I don't see mechanistically, like, you know, if I have the like 135246 case, right?
I don't see like how, how that's going to be optimized for like, no, actually, you should like use the same, uh, few things because like, like, like, you're just taking the top K for both of them, right? You're not touching, you're not like, like, I don't see where the gradient term would be for things to share mechanisms, like in the 134546 case, I think you just like, I'll point one three five on the first input and I'll point two four six on the second input, right? Yeah. I guess maybe it might be useful to think of a concrete example.
So maybe the, the, the toy model of superposition model might be a useful example here. So suppose we, you know, the formula superposition, um, is a model I developed at the tropic. It's a very simple model where there are sparsely activating, um, input features. And these, you just a few of these are active on any given, um, input and the model, um, is consists of it's also just a very simple model.
It's got a, a weight matrix and that weight matrix, you know, has as many, um, uh, suppose it has as many, uh, rows as the number of in sparsely active input features. And it has as many, um, it has a small number of columns. So it's basically like a dying projection matrix from data space into this hidden space. And so, and then, you know, this, this non-projection gets up projected by, uh, this matrix whenever you, um, you know, like, you could use it in theory at different metrics, but you can just transpose metrics and, uh, that, um, spits out a, you know, a, uh, I put, um, after you pass through a, a relu activation and basically want to reconstruct the input data and there's a bias in that just, uh, so what, um, suppose then you have some, uh, input data, which has, you know, the first and the, uh, third and the fifth, um, features active.
And these are active, you know, these are in fact, um, you know, active inputs. Uh, but in the, um, in APD, you don't necessarily, you know, get to, uh, you haven't yet learned, um, whether or not there is a parameter components haven't yet learned, um, to correspond to these, um, input features. So you might then, um, have a bunch of, uh, uh, basically, yeah, I guess maybe one thing then to, to think about is, well, suppose you have a bunch of different parameter components, um, they're, because they're not aligned with the features in some sense, they, uh, there's too many of these parameter components active. Um, and you want to, uh, you know, APD is designed to learn as many, sorry, only as many parameter components as are necessary to explain the, um, whatever the network is doing, uh, for, you know, uh, on, on this data distribution.
And you basically don't want it to learn more parameter components than are necessary. Uh, and this is, you know, what you achieve by both optimizing for, um, minimality such that as few as possible are necessary and that they are as simple as possible. And so suppose you have two parameter components where, um, even though the ground truth, um, feature one is active active, you have, um, two of your parameter components are in fact active. Um, one is, you know, maybe slightly more active than the other.
Um, but you don't want this because like ultimately you wanted to, uh, learn only one of these parameter components per input feature. And the idea then is that, um, in some of these cases where this input feature is active, um, and one of these, you know, parameter components, uh, is more active than the other because it would be, you know, statistically unlikely that they are equally active. Um, there will be cases where, because you're thresholding this, um, the one that does, uh, get active will get updated such that it, um, in future cases like this where the feature one is active, um, it gets more attribution versus, uh, cases where it doesn't. I'm not sure if this really addresses, um, your concern, but I think maybe one of the, um, I guess I'm pointing out if there is a ground truth where, um, one thing is active and two things and two parameter components are, uh, then active, then this is something that we, uh, do in fact get to avoid by, um, minimizing, uh, both for, for, for minimality, all sorts of things.
Right. So I think the, the, the image I am getting from your answer, which is, which, which might be totally wrong to tell me if it's wrong. So, but I think the thing you're saying is okay, probably for every input, there are in fact, like some parts of the network that are like, you know, more active on that input. And like there, I think you're always saying like, imagine there is some ground truth composition.
It's like not super big, right? Well, if I have like input A and input B, right? And then in fact, do use many of the same mechanisms. Um, then it's going to be, then basically ABD is going to be distance advised from the like one, three, five, two, four, six solution, just because like, you know, it's going to be, you know, you're picking like few mechanisms active on any given thing, but you're trying to make it like mimic what the network actually does.
And so if the thing that network is actually doing is, uh, you know, using some of the same like actual parts of the actual network, then you're going to push these, these like two, four, six, you know, to be close to the actual mechanisms, the actual network and you're pushing one, two and three to be close to the actual mechanisms, the actual networks. So like they're, they're just going to merge basically. Yeah. Is that right?
Yeah. I think so. Yeah. Okay.
So, so in that case, like, yeah, the, so it seems like basically for this story to work, you basically, you're basically saying, oh, there is some ground truth decomposition. And like, because we're, you know, we're doing this thing that's getting close to the ground truth decomposition that that's like what's powering our thing working as opposed to some sort of construction, construction thing, like, oh, here's just the nicest way we can find of like decomposing things. Yeah. This is a, this is a question I haven't quite met my mind on yet.
Um, I think, you know, in toy models, it is, it can be the case that you have a ground truth decomposition because you made it that way. Um, and you know, the way that you might have, uh, designed this is that, you know, if someone came to you and, um, told you, well, you know, I got a equivalent way to describe this network that you designed yourself. Um, and their description, you know, uses more, you know, it uses either more components than is necessary or uses more complex components than is necessary, then you might say, well, sure, kind of, but like, I think this other explanation, the one I use in my head to design this network is better. Um, and in some sense, then, you know, it is more toward this like constructivist, um, way of thinking.
Maybe then, you know, there is actually no such thing as a ground truth explanation for the network, even though you designed it, and even though you said this is a ground truth explanation, and there are other equivalent things where, um, more objects, more complexity was necessary, um, then sure, there's still explanations, but they're not as good. And in the case of more natural networks, maybe it is also the case that even though, um, we can debate whether or not there is some ground truth to the thing that the network is doing, the style of explanation that we, you know, most prefer is something that is, um, you know, the shortest, simplest, uh, explanation for what the network is doing. So, um, so I think, but before we go further into the philosophy of APD, I think I want to just like get through the parts of it, people fully understand. Um, so the third kind of component of this objective function is simplicity, we're optimizing like each component to be simple.
Um, can you tell us like, what's simple? Yeah, so the way we defined simple, you know, simple as opposed to capture this, uh, this intuitive notion that, um, it uses as little computational machinery as possible. And what, you know, what is it mean for a, uh, a set of matrices to use as little computational machinery as possible? Um, the definition that we settled on was, um, that if the network consists of, you know, one matrix, that matrix is as low rank as possible.
Um, you can't get much simpler than a, uh, you know, a rank one matrix and a rank two matrix is, is, is less simple. And it does more things to, you know, a, a given, um, input vector. Um, and if your network consists of more, um, more matrices than just one, uh, you basically are getting a lot of, you know, uh, ranks in, in those matrices as well. So it's basically the, the thing that we want to minimize is the sum of the ranks over all of the, um, of the matrices, um, in a network.
Now the, I don't know, we are kind of, we're not fully, um, happy with this, but we do think that this is like a fairly reasonable, uh, reasonable notion of, you know, what it means to, to use this little computational machinery as possible. Yeah. So in some way, so if you think about what that's saying, right, like, saying that the, so, so there's something intuitive there, right? Like, for instance, if you use fewer matrices, that should be kind of more simple, like lower rank is basically saying like, your matrix is secretly over like smaller dimensional input slash more dimensional output space.
Yeah. Um, I think in some ways what it's saying is that like the, it's in some ways being basis independent in this kind of interesting sense, right? Like, um, you're sort of saying that like, you know, the identity function versus like a weird like rotation and scaling, like as long as you're doing on the same number of dimensions, like it's, uh, those counts as the same, which, which I think is actually plausible given that like, you know, different layers, activations functions are like, in some sense, uh, you know, maybe they just should be incomparable in that way. Maybe you don't want to, like these neurons with these neurons.
And like maybe the other thing that seems slightly strange about that is like, by being basis independent, like, by saying that, you know, the complexity of this, this weight matrix is just like the rank of it. So as you have like, you know, two, two components in one layer, right? Um, by saying the complexity of both of them is the rank. Somehow you're saying that like the, the basis you're thinking about for the computation of like thing A, and the basis you're thinking about for the computation for the thing B, are just like not related at all.
Um, and maybe there's something there that's worth, I don't exactly know what the objection there would be, but it seems like there's possibly something there that's worth getting into. Yeah, I mean, I think this is, um, I think that's just something that we're willing to accept. We do want to basically, in some sense what the exercise we're trying to do here is basically discretize the network into, you know, the sweet objects. Um, and ideally we want to discretize it into, you know, objects that have as little to do with each other as possible.
Um, and you know, if it is the case then that, uh, you know, we can in fact, um, you know, just distinguish between one kind of operation and another. Um, you know, sometimes that operation is used and another data points it is not. Um, then I think we're kind of okay with that. Um, but you know, one of the reasons that APD was developed was the case of multi-dimensional features.
Um, and the idea of a multi-dimensional feature is that, well, maybe you don't get to just break things up into rank one components. So maybe you actually do in fact, you know, need, um, need more than one. So the classic example here is, um, the days of the week features where, uh, the days of the week lie on, you know, a, a, your points in a circle. Um, and, and crucially they're in the right order, right?
And they're in the right order. Yeah, exactly. Um, and you know, in order to describe these features, um, sure, you can describe them as seven different, um, directions in activation space, but you can more, um, more succinctly describe them as, uh, you know, two, basically two-dimensional, um, objects basically. Uh, and, you know, if you want to, I don't know, understand the, yeah, uh, I guess I don't understand the operations that are done on those.
Yeah, it might just be useful to think of them, um, as two dimensions rather than, um, you know, seven dimensions, sorry, seven one-dimensional objects. Um, but yeah, the idea is that we want AVD to be able to, uh, decompose networks into chunks that if they do have these, um, computational units that are best thought of as two-dimensional rather than one-dimensional that it can indeed, uh, find those, um, and isn't just, you know, uh, decomposing things into, into two-dimensional objects. Fair enough. So I guess I next want to talk about like, so, so, so I, I want to test my intuitions for like, okay, basically do these, do these objective functions make sense when I compare against, you know, certain examples.
So the first thing I want to ask about is, so we just have a decomposition of the network. That's just like, each component is one layer of the network. Like a point one is the first layer, component two is the second layer, component three is the third layer. Um, is that going to, I feel like that might score well on AVD as long as like you're allowed like that many components, right?
And so my reason for thinking this is basically you have the cost that each matrix is full rank, but unless there are like, I guess it's possible that they're like unused, um, unused dimensions in the network that you could preen off, right? Like if there are some, like sometimes really, uh, in really networks, so neurons will die. So, so yeah, so, so, so basically you're like, uh, taking the weight matrices, but you're like preening off the dead values, right? It seems like, it seems like that might actually be optimal as long as you're allowed that many components just because like it's a perfect recreation of the network and no other way of like mixing around the, you know, the major, the things is going to save on like the total rank because you just need that much rank total.
Is that right? Um, it depends on the data distribution. Um, so I, I, there is a case where it is right, but it's a fairly strange case. Um, suppose you have a data distribution where for every input, um, all of your relos in your three layers are always active.
So fine, you've pretty enough of the dead ones. Um, those, you know, those never activate, but on the other ones that do activate, they're always active. Um, so everything's always above threshold. And so what you really got here is just like three linear transformations.
Um, and in that case, uh, you, yeah, you don't really get to summarize that any more than just, you know, describing the, the three linear transformations because on every given input in our data distribution, um, there's always like some nonzero amount, um, that each rank is, is used. Fine. There's going to be some, you know, in potentially small number of cases where it's perfectly orthogonal to some of the, um, you know, some of the, some of the smallest, uh, singular dimensions of some of these matrices, um, where, and then in that very small number of cases, uh, you know, that a parameter component that aligns with, um, sorry, an activation, uh, that aligns with parameter components that are aligned about to mention, uh, they, you know, the attribution will be zero. But, um, in almost every case, all of the ranks will be used.
Now you can imagine for certain, um, other data distributions, um, well, I guess maybe one way to think about it is that that wouldn't be very useful in neural network because it's just doing the same transformation to every input, um, and, uh, you know, that you might as well just use one linear transformation. The interesting thing about, um, neural networks is that they can, uh, they can do different transformations to different inputs. Um, and in that case then, um, you know, in some inputs, you may use transformations that go one way and on other inputs, you may use transformations that go another way. Um, and that's the kind of thing that you wanted to be able to break up using a pd.
Right. So, so sorry, if I think through this example, it seems like, suppose you have these alternate mechanisms, right? This alternate position where like, on, on this input, you know, we're only using like, you know, this half of the neurons and on this input, we're only using like this half of the neurons. Um, at first, sorry, maybe I'm telling you something about this wrong.
It seems like this is actually a case where minimality per input is actually buying you something because in my imagination, you're still using like the same amount of rank and like maybe you still have the same total number of things. But the thing you're saving on is like in the per layer thing, like, like every layer is active on every input, right? But like, if you can break it up with like, Oh, yeah, this is only using a subset of neurons. So I only need this subset of mechanisms.
Like, yeah, like it is a thing. It seems like maybe the thing I'm saving on there is like, you know, maybe it's ranked and maybe it's number of neurons, but like, sorry, number of components, but like on a per input basis rather than like over all the inputs. Yeah, I think that's right. So, you know, you might suppose you have two components in each of these layers and you got three layers.
And so you've got, you know, six components, overall. Well, if you're, parameter components, suppose your data distribution is, you know, split ups that you can, in fact, you know, throw away half the network that is involved in, you know, one half of the data distribution and you can, for the other half of the data distribution throw away the other half network. So you can basically just treat these as two separate networks that happen to be, you know, much into one. And if, you know, so we've got these six parameter components.
And if they're, you know, lined up such that, you know, one of these three of these parameter components are the correspondence to one of these data distribution, one of these, you know, that distribution, then the other three corresponds to the other distribution. Then yes, that, you know, on some inputs, you'll be able to use only three. And on others, well, yeah, in all cases, you'll be able to, you know, use just three. But in, you know, if your parameter components don't line up perfectly with these distributions, you'll have to use six every time, which is just not something that you want to be, if you want to, you know, break it up.
Sorry, you can put into, you know, a smaller number of active objects in any, any good point. Okay. So I think I feel satisfied with that case. My next one I just want to talk about.
So this is like a little bit out there, but tell me understand. I think it would be helpful for me to talk about doing APD to a car. So basically because like a car is an instance where I feel like I understand with them. Look, I'm not actually that good at cars, but I have a vague sense of like what they're like.
And I think I have a vague sense of what the mechanisms in cars are. So if I imagine like taking a car and doing APD to it, right, I want some decomposition of all the like stuff in the car that firstly, all the stuff in all of the decompositions just like reconstutes the whole car and not leaving out a bit of the car. That makes sense to me. Secondly, I want there to be as few parts to my decomposition that are like relevant on any given like car situation.
So like, you know, there's some situation, like maybe suppose we discretize time, right? And there's like some input to me driving and I do a thing and I'm like, you know, maybe it has to be self driving car for this to fully make sense. And then the third thing is that each component, the components have to be as simple as possible. Right.
One concern I have is I think when people are driving a car, usually like there are a bunch of components that are active at the same time, they're basically always active at the same time, even though I think of them as different components. So one example, I think is if you're like the steering wheel, right, there's always like an angle at which the steering wheel is going and whatever car is on, like that angle matters to how the car is going. Sure. There's also speedometer, which like tells you how fast you're going, right?
And that speedometer is always active whenever the thing is on. Now, if I imagine like, would APD tell me that the steering wheel and the speedometer are the same or part of the same component, I worried it would, because there's no, I think there's no like complexity hit from describing like, like if I describe them separately, but I have the complexity of the sponometer plus the complexity of the steering wheel, yeah, these two things. And if I describe them jointly as a sponometer and the steering wheel, then I've got to describe the sponometer. I've got to describe the steering wheel, like same amount of complexity.
Yeah. But in the case where I merge them, I have like one component instead of two. And like, there's never like some, there's never like some cases where the steering wheel is active, but the sponometer is not active or vice versa. If I understand cars directly, maybe, maybe people have a kind of example.
So in this case, yeah, would APD tell me that the sponometer and the steering wheel are the same or part of the same mechanism? And if so, is this a problem? I think there's a kind of like, I don't know, functionalist sense that we're taking here that like, we want to understand a particular function of the car and where I think it might help to specify what that function is. So suppose that function is just like, can I get me a human from A to B?
And so suppose, I live in a country that doesn't require sponometers. And I don't really care what my speed is. And it really just doesn't affect my behavior. And therefore, it doesn't affect the behavior of the car.
In this case, we can basically, I'll let the spodometer and the car would go from A to B with very little changed. Now, in a different context, whether or not the spodometer might affect the composition that we think is like the most succinct description of the thing that is doing the driving from A to B. Another analogy here might be, a more general case might be, well, we have the engine and we have the brakes. Now, whenever I'm moving, the brakes are not always on.
And so whenever I don't need the brakes, whenever I'm not braking, I can basically have the brakes and the behavior of the car, the behavior of the car system is basically going to be unchanged. Now, of course, if I have met the brakes and then do want them, there's a difference between those two worlds where I do have the brakes and I don't. There's like some sense in which I'm breaking it up into a thing that makes the car go forward and thinks the car to stop is actually a useful decomposition. So bring it back to your example.
I do think that it matters like the kind of function that we are specifying here. And in the case that you mentioned, it might not matter whether or not you decompose the car into the engine and the spodometer because it's all one part of, in your example, there was no driver and it's all part of one causal process. The spodometer is just basically intrinsically attached to the engine and we can, therefore, don't really get to chunk the system up into two different objects. But because the stance, what we're describing as the function here matters, that kind of determines whether or not you can, you can, in one sense, ablated in another sense, not, sorry, in one sense, decompose them and in another sense, not.
Right. So I think, yeah, so I mean, maybe one way of saying this is that like part of like, how do you tell that the spodometer and the steering wheel are different? Well, one way you can do it is you can have like sort of test cases, right? Where like, you know, you have this guy who like doesn't really care about how Fosse is going, which is a little bit weird, right?
Because like, at least back when I was driving, like that was relevant to like, how can you turn? Sure. But maybe you can just figure that out by looking at the road and being smart, right? But like, at the very least you can go to a mechanic and you can like get your car in some sort of like test situation where like, you're just like checking the spodometer is accurate by like, hooking it up to some like car treadmill thing and like, sure, yeah, the steering wheel doesn't matter there, maybe, or vice versa.
So one way I can think about this is like, this shows kind of the importance of like a diversity of like inputs for ABD. But you've really got to look at the whole the whole sort of relevant input space. And if you don't look at the whole relevant input space, you might going to appropriately merge some mechanisms that like you could have distinguished. Yeah, that's right.
Maybe take away. Yeah, that feels right. It does feel that it feels right that, you know, in order to understand all the functions, we do need to, you know, look at all the kind of cases that is sorry, in order to decompose networks into all the distinct mechanisms, we do need to look at all the cases where those mechanisms may be distinguishable. Yeah, that feels like a reasonable takeaway.
Sure. I guess the next thing, actually, the other thing about the car that I thought about when you were talking about it is seems relevant for just like identifying which mechanisms are active. So in the paper, the test for whether a mechanism is active is this like gradient based attribution, right, which is basically like, if you changed this bit of the network, would that result in a different output, right? Now suppose I'm driving and I'm not using breaks.
If you change the breaks such that they were like always on, then that would change my driving behavior, right? Or like even an incremental late, right? Like if you change the break pedal, such that it was always like a little bit pressed, that would be slowing me down. So am I right to think that if you use, and maybe we're just like straining the limits of analogy or whatever, but am I right to think that if we used the equivalent of like gradient based attribution to decomposing a car, you'd be thinking that the breaks were like always an active mechanism?
I think it may be the running up, I guess the limbs of the analogy maybe, but like one of the things that the gradient based attribution is supposed to approximate is if you were to, you know, what gradients are actually measuring. So like if you, you know, twiddle the activations or the parameters in one direction, will it affect, you know, the thing with which you're taking the gradient off? So, and the, you know, the, I don't know, this is supposed to approximate basically like how applicable is this direction. You're basically saying if I moved, if I didn't just do a small twiddle, but like did a very large twiddle to, you know, from where I currently am to zero, then should it affect the, you know, the thing that I'm taking the gradient off?
You're basically taking a first order approximation of the effect of a blading. Yeah, that's just like, you know, what you're trying to do whenever you're taking the gradient here. And yeah, so if you, so maybe a blading ability is like a, you know, a way to, you know, import this into the analogy. Hence, like if you can ablate to the breaks, you can, you know, and nothing changes in that situation, then, you know, the breaks are in some sense.
For this, you know, for this moment, the breaks are degenerate to the breaks are not needed. For this particular data point, we're at a point where, you know, I did not need a break. But on data points where I was breaking, I do not get to ablate the breaks and have that, you know, the state does change quite a lot, whether I ablate the breaks or not, in cases where I am, in fact, requiring the breaks. Fair enough.
So I guess the last question that I want to ask just to help me understand, like, ABD is if I recall correctly in the, I have an abstract of introduction of the paper, there's this disclaimer that like, okay, you know, parts of this are just like, you know, implementation details and like there's kind of a core, there's a core idea and there's like how you made it work for this paper. And like, there's not like quite the same thing. Yeah. Out of the stuff that we talked about, like, yeah, which parts do you feel like kind of the core important parts of like, you know, the version of ABD that you're interested in investigating and which parts of it just felt like, okay, this is like the first way I thought of operationalizing.
And certainly using gradient based attributions is not something that we're wedded to at all. What they're supposed to do, as I mentioned, is just figure it, you know, it's supposed to get some measure of how it causally important these, you know, I given parameter component is not the only potential method that you might consider using. You know, people have, you should be able to sub in any you know, method of causal attribution and there and replace that. This is something, you know, that we're keen to replace basically because gradient based attributions will have, you know, all sorts of predictable pathologies such as, well, you know, I mentioned it's the first order approximation of causal abolition, but it is really just it's the first order approximation.
It's not going to be very good. There will be cases where, you know, if you, if you totally the parameters in a certain direction and the output doesn't change very much, but in fact, it is if you bled, you know, the entire way does change, does change a lot. A classic example of this is attention where if you're, you know, if you're really paying a lot of attention to a particular sequence position, you know, your attention softmax is basically saturated in, you know, on that sequence position. And even if you know, change the parameters a fair bit, you know, locally, it may not change very much, but if you change them a lot, you may go from a regime where you're saturated to non-saturated and, you know, then you realize that in fact this was, you know, a causally important, a causally important, you know, sequence position.
And so there's just lots of predictable pathologies that will arise out of gradient-based attributions. We're also like not totally wedded to the definition of simplicity that we have. We're open to, you know, other potential definitions that may be more principled. For instance, you know, one of the main motivations in the, you know, design process of this method was not to be basis privileged.
And there are, you know, there are a bunch of reasons for this, but one of the, one of the, one of the reasons is that, well, representations or computations in neural networks seem to be distributed over a very large number of different, different things. The classic case is that, you know, you don't get to just look at an individual neuron and understand, you know, an individual function within the network by looking at one neuron. You have to, you know, at very least look at multiple, multiple neurons, things seem to be distributed over multiple neurons, but it gets even, you know, worse than that. It's, this, this, representations may be distributed across, you know, multiple layers, in fact, in, especially in residual networks where you don't really get to just look at one layer to understand something, you have to look at multiple.
And the same thing goes for attention heads. Maybe, you know, maybe, in fact, you know, a lot of analysis looks at individual attention heads, but this is kind of an assumption. We're kind of assuming that the network has chunked it up such that one head does one thing. And right, there's some, like, intuitive reasons to believe that, but there was some intuitive reasons to believe that one neuron does one thing.
And there's, there's no fundamental reason why it can distribute things across, you know, attention heads and there's some, you know, toy samples and some empirical evidence that this may be happening in networks. And so, this is, you know, there's a bunch of reasons why you might not want to be based privileged. And the thing that our simplicity measure, it does in fact, you know, privilege layers, because it's the sum over layers. It doesn't, you know, privilege particular ranks, but it does privilege layers.
And, you know, we're open to versions of this metric that don't privilege players. Aside from that, yeah, I think, I think what we're, the fundamental thing about this, whole method is that we get to decompose parameters into directions in parameter space. And we are, you know, open to different ways to doing this. It's, it's more, we hope this is just like a first pass of a general class of methods that do parameter decomposition and the kinds that we're, you know, introducing to some extent here is like linear parameter decomposition.
We're decomposing it into something that sums to the parameters of the original network. And we think that's likely to be, you know, a somewhat powerful way to decompose networks, not necessarily the only one. But we hope this points towards, you know, a broader class of networks that, of which APD is just one. Sure.
Okay, it turns out I lied. I have another question just about how you actually how the method actually works, which is so I guess obviously there are a few hyper parameters in APD training, but one that feels very silly to me is like, how many, like, how many components actually get to the active on a given thing? Yeah, like how, so first of all, how, how in fact do you pick that? It is one of the things that we want to move away from in future, future versions of the model.
I mentioned that we were using, you know, an implementation that is like a top K implementation where you're just choosing, you know, a certain value of K and you're saying this is the, you know, the number that is active on each data point. In fact, we use batch top K where you're saying, you get a little bit more flexibility per data point, but you still have to say over, you know, a batch of, you know, a given size, we still want on average there to be only K active per data point. And, you know, that's a hyper parameter that is, you know, like one of the main issues with the whole method is that it's currently like still pretty hyper parameter sensitive. And this is just one of the hyper parameters that, you know, if you manage to get rid of, then you may, you know, arrive at a more robust method.
The way that we, you know, choose it is basically, because we've got toy models, we have ground truth and we can know whether or not the method is doing the right thing, and we can basically search for the right number of values of K such that, you know, it yields the ground truth mechanisms. But yeah, we want something that's more robust, that if you didn't know the ground truth mechanisms, you could just choose a, you know, an okay value for the hyper parameter and you would be, you know, you could rest assured that you, you know, should end up with something up to be right. Right. So one thing that occurs to me is, so in the title, it says like, minimizing a mechanistic description length with attribution based parameter decomposition.
And you present it as a part of this, like, you know, minimizing minimal description length, like part of this family of things where, you know, you're trying to like, you know, run some algorithm to describe stuff and, you know, you know, you know, it's related to, you know, all these ideas of some of the and I thought that one of the points of minimal description length type things was that it offered you this ability to like have this principle choice of how to choose hyper parameters, right? But like, at least these sorts of hyper parameters. Like, I think of MDL as saying like, oh, you know, you could, you know, you could, when you're doing regression, right, you know, you can model it as like a, you know, during one polynomial or you can model it as a degree two or degree three, and you know, you have this like tradeoff between fit and something else and like, MDL is supposed to tell you like how many degrees of your polynomial you're supposed to have, right? In a similar way, I would imagine that it should be able to tell you like, okay, what's how many components are you supposed to divide into?
Is that like, I guess you must have thought of this. Like, does that actually work? The story is a little bit more nuanced in that like, we, you know, minimum description length, whenever you're dealing with say some continuous variables, you may have to, you know, fix one of your continuous variables and say, for a given value of this continuous variable, how for you, can I get in these other variables? Right.
And you know, suppose, you know, in the case of an SAE, you might say, for a given, you know, a means squared error or, you know, like, how low can I get my, my L0, sorry, how low can I get the description of the set of activations, where, you know, that depends on like how many things are active for a given data point and, you know, how many features I've used in my, my sparse local dictionary. The same thing kind of applies in APD. You need to, you know, fix some of your variables. So the mean squared error is one of them.
You know, if you really want your, your mean squared error to be, you know, very, very low, you might need, you might get to ablate fewer parameter components, because, you know, you'll just particularly increase the loss if you, a bit things, even if your parameter components are perfect. But there are also some, you know, other, other continuous variables here. The, even though we're using the, we're trying to minimize the rank, we don't, you know, rank is a non-differentiable quantity. What we are in fact getting to, to minimize is the, especially the, the sum of the singular values of a, of a, of the matrix.
This is what, you know, we call it in the paper, the shat and norm. Yeah, that's just the name of the quantity. And so we're, this is like a continuous approximation of the, of the rank. If you minimize this to, yeah, basically if you minimize this, you minimize the rank.
But it's not perfect quantity. So you, but this is our, you know, measure of simplicity. And we kind of have to say, you know, for a given level of simplicity, how if you active components do we get to have. So there's like a lot of, you read a freedom that we, you know, have to hold constant such that we can hold them constant and say, you know, how well can I do in terms of minimum description length?
But yeah, we basically want to, you know, get toward a method such that we, you know, we hold these things constant at a special level, that we don't have to, you know, really worry that we're, we're, you know, introducing arbitrary choices. Right. I mean, I think, I think in terms of like, okay, you've got to like bounce against the loss. Like, I have this impression that like, you know, for a lot of these, like means where our losses, you could actually like think of it as the likelihood of something and end up measuring in bits.
I don't know as much about, so it makes sense that you would have to think about singular values rather than literal rank, because like presence of any noise, like every matrix is full rank. Yeah, I think my, I wonder if it's a thing, I wonder if it's going to come down to, so you are dealing like one thing going on with description length type things is that like, you know, description length is inherently a discrete concept, right, like how many bits are using to describe a thing. And if the thing is continuous, it's like, well, what resolution do you want to describe it? And I think like this ends up being a hyper parameter, but like hyper parameter of MDL, but like, um, does, it seems like it's relevant.
In this case, it seems like, you know, how many bits do you need to describe the stuff? Like, if it's parameters, then like, you know, you can control that by saying, like, if I quantize my network with how many bits, how bad is that like, I don't know, maybe I should, maybe this is one of these things where if I like set down and try to do it, I realize the issue, but it seems doable to me. It seems like there's possibly something here. Yeah, I do, I do agree that it feels like we should be able to at least find, you know, a satisfactory, you know, pre-defront here before, I mean, description, like, I'm not sure it will be able to get away from, you know, the, from that, you know, requiring that it just be a different to you.
I'm not sure there will be some sort of, you know, single optimal version of it, but at very least I do think we can do better than the current algorithm. Fair enough. So I think the thing I next want to talk about is basically the experiments you run in your paper. So in my recollection, in the main paper, there are like basically two experiments, or you know, contextually there are two types of experiments.
So there's firstly this like toy models of superposition, and secondly, there's this, uh, uh, compress, I'm sorry, compress computation, compress computation. Yeah. Um, so maybe, I mean, you spoke about it a little bit earlier, but first can you like recap, uh, yeah, what's how the toy models of superposition experiments are working? Yeah, so some, uh, some of the folks who are reading our paper and many lessons will be familiar with the model.
But, um, again, it's just this, uh, matrix that projects sparsely activating, um, data, uh, down into some bottleneck space and, uh, in that bottleneck space features have to be represented in superposition such that there are more features than dimensions in this, in this bottleneck space. And then the matrix has to up project them, um, back to the, uh, original, uh, space of the original size of the, um, the number of data features, and then you know, basically, so it's, it's, it's like an auto encoder setup. Um, and because it, uh, gets to, I don't know, because it compresses, um, these data set features, um, down, it, it's kind of, in some sense, unintuitive that it can actually do this, um, because it has fewer, uh, dimensions than, um, than features. Um, but it can, because, because it has these, you know, like fewer features, sorry, fewer dimensions, there will be some, you know, interference between, um, features that are not orthogonal to each other in this bottleneck space.
Um, but the way it gets over this is that, uh, because it has, um, relu activations following the up projection, um, it can kind of filter out some of these, uh, this interference noise, um, and, you know, do a reasonably good job at, uh, by reconstructing the, the input data features. Now, one of the ways you might think about this network is that, um, we have this, we have this matrix, and if one of the input data features is active, well, only say one, um, one row of the matrix is actually necessary. We can basically throw away, um, the other rows, we can set them to zero, um, in cases where only this, um, you know, one, let's call it, you know, input data feature one, um, is active. And the, in particular, the row that we get to, that we have to keep is, you know, the one, it is the first row.
Um, in, so we can basically set the, uh, the other rows to zero. And so, in, there's some sense in which the rows of our, uh, toy model are like the, the ground truth mechanisms. And because why are they, why are they the ground truth mechanisms? Well, they satisfy the, um, the properties that we wanted to, uh, that we're aiming to recover, um, here.
So we have, you know, that they also have to the, uh, the original network that is all the rows, when we set zero, the other rows, um, set, you know, that basically sums to the, uh, to the original network. Um, on a, because the, the, uh, then looking at the malady, because the data set features are sparsely activating, um, there is, uh, yeah, like, if you only activate the, um, mechanism, the correspondence to that, that is that feature and you don't activate, um, other ones, well, this is going to be the shortest, you know, the smallest number of mechanisms that you have to activate on this data point. So it's minimal. And they're, um, simple in some sense in that, uh, single rows of this matrix, when you zero, at all the other rows are rank one.
Um, they just correspond to the other product of a, you know, an indicator vector and, um, and the road itself. So, um, they satisfy the, uh, what we wanted to, um, call a, you know, a ground truth mechanism. Um, and this is the, the things that we're basically optimizing, um, are randomly initialized parameter components to try to approximate. Um, and so what we then find whenever we, um, do this is that at least for a given set of, you know, hypergrammeters, we are able to recover, you know, this, this set of ground truth, um, features using, um, yeah, APD.
Um, yeah. And how, like, so in the paper, so one thing you mentioned is that, uh, so the original toy models were superposition, you know, it like has a bunch of geometry and draw some pictures, and that's partly like relying on the fact that it's, you know, they're like five inputs into hidden units. And that's a setting where like, this is very small and so things depend on a lot of hyperparameters. So you'll, you'll still look at it at somewhat higher dimensional case where there's like, what, 50 inputs in 10 units or something.
Is that right? It's 40 in 10. Yeah. 40 in 10.
Yeah. So, so my understanding is that you're pretty hyperparameter sensitive in this like really small setting in the like 40 and 10 setting. How, how hard is it? It's got the hyperparameters, right?
It's easier, but I still think it's pretty hard. Um, it, yeah, but the five and two cases, particularly challenging because, you know, optimizing in a two dimensional space is just, you know, it's something the gradient descent is not especially good. I mean, it kind of it is just like moving things, moving vectors around each other can be kind of more difficult in two dimensional spaces versus in, you know, in dimensional spaces where, you know, they basically just get to move in any direction and not interfere with each other. Right.
In two dimensional spaces, there's just much greater chance for interference. Okay. And so, yeah, I guess I'm especially drawn to this hyperparameter of how many components you have. Um, yeah, just, I don't know, for some reason, to me, it feels like I'm a cheesy hyperparameter, even though, you know, obviously I guess like relative weighting of these objective terms and, you know, all sorts of things are also important.
Um, if you get the, the number of, um, well, like in this case, you have a ground truth number of components. If you get the number of components slightly wrong, like what, what happens? How bad does it go? Um, I don't, I can't recall like an exact story for what happens, but you know, it, for some cases, it will kind of learn, you know, a bunch of reasonable features, but then in some cases, it will, you know, in some features will just not be learned.
Um, in other cases, uh, it will be just much more noisy and I will, it'll fail to learn altogether. Um, I won't, I can't get a good sense of like how sensitive it is to this hyperparameter. Uh, yeah. Um, my colleague Dan will have a much, you know, more informed sense of like the, you know, how sensitive it is to twiddling this, but, um, it, it's also hard to tell, you know, is it this hyperparameter that, you know, is the most sensitive thing versus others?
Right. And there's just basically a bunch of different hyperparameters to get right here. Uh, it's hard to get really intuitive around any given one of them. Um, yeah.
So, okay. Um, I eventually want to get to a question about like all of the, about these experiments in general. And so in order to get in there, can you tell me about the compressed computation setup and like what's going on there? Yeah.
Yeah. So compressed computation is the name for a phenomenon that we, um, uh, that we observed in our experiments, we were initially trying to, um, model, uh, two different things. One is a, a theoretically, uh, well-grounded, um, phenomenon that is, uh, that my colleagues, well, Lucius and Jake, uh, had talked about in, uh, previous post-it there's a computation superposition where a network is basically, um, learning to compute more functions than which has neurons. Um, and there's also a related, um, phenomenon that's more empirical, which is from the, um, original, toymolar superposition paper that they also called computation in superposition, which, and then this is also with this third, uh, phenomenon that we've called compressed computation.
Now, it may be the case that all of these are the same thing. Um, but it, we are not yet confident enough to say that they are all exactly the same phenomenon. The reason is that, um, we're not super, super confident, at least we're not at the time, we became a little bit more confident and have slightly, uh, updated against the update, uh, that the compressed computation is similar to, um, these other, uh, forms of, you know, these are phenomenon, uh, computations in position. Which one, um, I would not be able to answer.
Okay. The, yeah, but like the overall, um, but it is nevertheless the case that all of these can be described as learning, um, learning more, learning is compute more functions than you have neurons. Um, it's just that there's a fair bit of whittle room in the words when you put those words into a mess. Sure.
And the basic, so it's twin models of superposition. The basic intuition for why it was possible to, you know, reconstruct more stuff than you had, um, you know, you can, uh, in activation space dimensions was that like the stuff you had to reconstruct was like sparse, and so, you know, you didn't have to do that many things at a time. Is that the same thing? Sorry, this is only certainly the paper.
In compressed computation, like, is the trick just like, it doesn't have to compute all the things at the same time, or somehow it like actually really does compute all the things at the same time with like less space than you thought you would need. This is the, this is the point in which we're uncertain, basically. We are basically, um, we are not super confident about how much this phenomenon depends on sparsity. No, we're also just not super confident on how much the, uh, the anthropic, uh, to a model of computation, superposition depends on sparsity.
You know, we know in their example, it does, but we don't, because we don't have access to, um, you know, the, the experiments, we don't know how much, um, you know, what was going on in the background of those figures, and we just haven't, you know, got around to doing extensive experiments to actually figure that it wouldn't be too difficult. Um, but in our case, we're basically quite uncertain as to how much our phenomenon depends on sparsity. Uh, my colleague Stefan has done some experiments in this direction. Um, the, it's, it's somewhat inconclusive.
Um, for now, I think he's, he's got a project ongoing, uh, on this, um, that, uh, hopefully there'll be a right off soon, but, um, yeah, long story short, it may or may not depend on, uh, on sparsity, but I think it for the purpose of the conversation may be reasonable to see the way it does. Okay. So, so basically, um, so basically, the thing of impressing computation is like computing more functions than, you know, than you have, uh, you know, with internal neurons, uh, sort of surprising that you'd be able to do it, you can. Um, my understanding is that, uh, the particular functions you're trying to compete are really functions of the inputs.
Yes. Um, and it might be like, ah, really, no, it shouldn't be able to do it. And but the trick is like, you know, the network narrows significantly. And so what's the, like, what is the hope here?
Like, what should a B.D. be able to do in this setting if it's working? So in this setting, um, the, the ground truth mechanisms are supposed to be things where, um, even though the data has, say, 100, um, you know, input dimensions and the labels are, you know, 100, um, you know, relos of that input data. Um, the, the models, the models have learned basically to compute 100 relos using only 50 relos in the model.
Yeah. And the idea here is that, well, if they're able to do this, they are in some sense, um, you know, using, um, they're distributing their, their, their computation over multiple, uh, relos such that, um, they can have a less do this, um, without interfering with other features whenever they're not active. So you're basically, uh, computing more functions than you have neurons because you're not always having to compute them all the same time. Right.
And so this is just because like, uh, like, if you have a negative input, then you just, all you have to know is that it's, you know, it's really zero and you don't have to do that much computation to like make sure you have the identity function. Yes. Yeah. And also, but in, in other cases where I suppose you have to input, um, uh, features that are positive and so you need to compute, you know, to, um, to relos well, if a, you know, if you have basically projected, um, one of your input features to a one set of, uh, uh, you know, hidden, um, hidden neurons so that you can, uh, do, uh, you can spread your, um, absolute, sorry, your, your relu function over these multiple relos.
Um, and if they are like a, a different set of, uh, hidden, relu neurons than the other feature, then you should be able to get a, you know, make a good approximation of, um, the, uh, the rally of the input data, um, because you know, the magnitude matters here. Um, you don't really want, um, if you use the same, um, suppose they were some overlapping in one of their neurons, uh, between these two, these two features, well, they would, uh, double up and that would, you know, contribute to, they were basically overshoot, um, in the, in the output. And so if you spread things out a little bit, um, so that's that they don't, you know, overlap very much. Uh, you should be able to compute, um, things with some interference, but, um, you know, ultimately a bit more functions, um, than you have neurons, but yeah, the cost is interference.
Gotcha. And so yeah, just as long as you're like distributing over the seven neurons, sorry, I think that I just realized the fact that you're going from 100 inputs to like 50 wide, which is half of 100, is that just the same thing? Is that just for the same reason as like numbers have a 50% chance of being positive and negative and so on average, you only need to represent half of them? Um, I don't think the number of 50 was especially important.
Um, I think we could have easily chosen something, something else. Uh, I think it was just a, yeah. Yeah. I think it was somewhat arbitrary.
Okay. Fair enough. Um, all right. So, uh, so I was asking like what the, what APD is like meant to get and what was the answer?
Yeah. Yeah. So, um, yeah. Thanks for reminding me.
So the, well, so I was trying to get a sense of what the Grunge with features should be. Um, and the Grunge with, sorry, I said Grunge with features, Grunge with mechanisms, you know, mechanisms. And these Grunge with mechanisms should be things that distribute across multiple hidden neurons. Um, and, uh, so, you know, the input, um, you have this done projection matrix and then this up projection matrix.
This is a, a, rather maybe think about it as a, um, you know, an embedding matrix, uh, then a, an MLP matrix and then an MLP, sorry, an embedding matrix, an MLP in matrix, an MLP outmatrix and then an embedding. Um, so it's a residual architecture. And so you have this embedding matrix and this, uh, MLP in matrix and whenever you, um, multiply these two matrices together, you basically want to show that a given input dimension projects onto multiple hidden features, sorry, multiple hidden neurons. Um, and this is what one, you know, component should do.
And, and those hidden, those hidden, um, neurons should then project back to, uh, that input, sorry, well, that output feature corresponds to the input feature that you kind of spoke. And so you can basically do this for, um, multiple, uh, you know, multiple input and output features. Um, you want your, because your input and output features are like partially activating, you want your parameter components, um, to mostly only correspond to, um, one of these, uh, input and output, um, right computations. And so you want basically to, to, to have, uh, parameter components that, um, line up strongly with these, uh, input and output, um, components.
Right. So it seems like the, the thing is you don't like, maybe you don't know exactly like what the, like what the, uh, components like, you don't exactly know which parameters fly out or whatever, but you do know like for each, like, for each component of that ipd finds, it should, you know, reconstruct the relative of like exactly one input and like none of the rest of them. Yes. Yeah.
Um, because yeah, in this case we basically get to define what the, the minimal set of, um, components is because we get to, you know, choose a lot about the data distribution. Okay. So I think the thing that I'm wondering about with both of these tests is, so I, I think of the, the kind of idea of ipd as like, you know, previously a bunch of people have been like trying to explain feature, you know, representation of features, you know, they've like looked at these neurons, they've said, you know, what do these neurons represent, but you want to find the mechanisms, right? No, the thing that strikes me about both of these examples is they feel very representationy, you know, they're like, okay, we, you know, we've got this part, we've activated input and we've got, you know, we've got this like low dimensional, um, bottlenec space.
I mean, you want to say, you know, we want to reconstruct these parameter vectors that tell us like how the bottlenec space, you know, is it is able to reconstruct the inputs, you know, each of the component of the input or really, right? It's like, okay, you know, somehow this thing like, um, you know, like for each of these inputs, there should be like some something that's like representing the really of that input. I just want to like divide into things that, you know, get the really, um, like, it seems to me that like networks could have a bunch of mechanisms that like don't necessarily do representing individual, you know, features or things, right? Or potentially like representing feature, like representing things could involve like a bunch of, you know, mechanisms, like like, for any given thing you represent, like maybe they're like five mechanisms that are necessary.
So yeah, basically I just had this little reading this paper of like, it feels, like it feels like the experiments or two or two representationy and not mechanisticy enough. What do you think of this anxiety that I'm feeling? Yeah, I think that's reasonable. I do definitely, I share this.
There are a few terminals that we'll be keen to, you know, see people work on. For instance, you might, well, I'll also just forget about just say, yeah, I do think that there's like some sort of, there's in some sense, it's not perfect duality between representation and, you know, mechanisms or computation, either the kind of computationally kind of point of view. There's nevertheless a relationship. It is therefore, you know, more a matter of perspective, like which one is most convenient to think about at a given point in time.
I do think that when designing these toy models, we wanted to get, you know, a method that works in a very simple, you know, setups where the, these representations do in fact correspond to the mechanisms, right? This is just, this is a case where it's been easy to design networks where there's a ground truth that's easily accessible to us. We find a little bit harder to, you know, design, well, rather train networks where you could be somewhat sure of what the ground truth was, even though there are, you know, multiple computational steps that may be involved. I think it's perfectly possible.
We know we did have some cases where we handcrafted some models, there's an example of this in the appendix, but that had, you know, some pathologies that the gradients didn't work, you know, especially well on this because it was handcrafted. And so we did find it somewhat challenging. Now, there are some models that you could think of that may capture this notion a little bit more than the ones in the paper. One that's very similar to what is in the paper could be, consider a toy model or superposition model where instead of just this done projection and then up projection, you have a done projection and then, for example, an identity matrix in the middle and then, you know, an up protection or, you know, you can replace this identity with, you know, some other, some other, you know, a rotation say.
Now, like, what would you want a goody to find here? Well, you don't really get to think about it in terms of representations anymore because, you know, fine, you've like broken it up into these mechanisms in the input, you know, in the done protection and the up protection. But there's this bottleneck where you're doing something in the bottleneck, you know, if it's an identity or a transfer or rotation, suppose it's a rotation, just it's probably easy to think of instead. You're basically having to use, you know, all ranks of that rotation in the middle, at all, for every given data point, you don't actually get to chunk it up.
So what you would want then is, you don't want to be defined is parameter components that correspond to the things that we originally found for the simpler example here, where it's just the rows of the, the rows of the done projection matrix and the up projection matrix. But then also, a component that corresponds to this rotation in the middle. Why? Because you're having to use this, all ranks of this rotation for every data point, you always have to do it, you don't get to throw it away and reduce your minimality, you don't get to make it any simpler to reduce your simplicity.
It's just always there. And so this is maybe a case where you do get to think about it in terms of computational steps rather than representations. Yeah, I mean, I think that, okay, actually, before I could just pick up on a thing, I said, yeah, so in, I believe this is in a PEDX-B1, you like hand design these networks to compete these functions or whatever. How, how did you hand design the networks?
So I believe this was Jake and Lucius and Stefan, maybe mis-attributing there, but at least they included all of them, the other made, not being involved. But they, I think just thought about it really hard and then came up. I don't have a great, they're not super complicated. They're not super complicated networks.
They just have particular steps, they just have a little gate and for certain inputs, your gate is active and another input is not, and this does have some computations. It's been a little while since I looked at it, but the bit is possible, so it's not a complicated network. Yeah, I guess, so my recollection is that it's basically sinusoidal functions. Yeah, I guess if I had to, I could write down a network that, like if you just divide up and spacewise lineers for a wide network, you can figure out how to do it.
It's just like kind of tricky. Yeah, this network gave us a lot of grief because the, it's intuitively quite a simple network, but yeah, because we're using gradient-based attributions, yeah, it just didn't play nice with the method, even though, even though, so our naive cells, it intuitively felt like it should, but we eventually got it working, but it is demoted to the appendix. So, yeah, you're talking about, so you mentioned, okay, in this point network where you have like, kind of, projectile, dual operation in like, down-projected space, and then like, on-project back up. Well, like this is ideally what APD should find.
When you say it like that, it sounds like an easy enough experiment to run, like, have you tried it? I believe we, at various points, gave it a go. I think it just wasn't like top priority to get the paper out. Fair enough.
It's very possible that we have got this working already, and I'm just forgetting, it's also very possible that we had tried it and couldn't get it working, or at least, you know, didn't want to invest the time to get it working, such as the sensitivity of the hyperparameters, but yeah, I would be keen to see a verification that it is at least possible for APD to find this. It feels like it ought to be able to, but, you know, yeah, just like, see them very quickly. Sure. I guess like other things that striking is interesting to look into.
So, there are few cases in the literature where people do really seem to have identified mechanisms within neural networks. I think I guess the most famous one is like, these induction heads, right? Where like, in induction, like, as some people have pointed out, it's like, it can be kind of a loose term, like, people can use it for a few things, but in at least some cases, people can just point to like, look, this attention head, the pay attention to like, this thing it's doing, this thing it's doing, you know, or the, I guess it's two attention heads, maybe, but like, you could just tell a very clear story about how it's like looking for an initial thing and then like, taking the thing after that and then like, this thing copies the thing after that into the output. So, that's one example of the thing that feels very much like a mechanism and does not feel so like, representational, you know.
Another example is group multiplication, you know, these neural networks that train on group multiplication tables, they have to get the other ones. Like, I think, I guess I was like, semi-involved in the paper, well, I, you know, I chatted with one of the people and like, tried to make sure it was on track for things, but there's a small, some paper that's basically together with them, jig-dory, and older, I'm forgetting, just in course, and basically they, I think they end up with like a pretty good story of like, how these networks learn group multiplication, and you know, they they can basically tell you right, they do this thing and then they, you know, transform, you know, they do this thing and then they transform in this way and then they get this output and like, you know, it works because of this like, weird group three fact. Like, I think there are a few more things. I guess like, for at least those examples, like, do you think, like, can we get APD working on those?
How hard would it be to like, check if APD actually works on these? It feels possible. Certainly, in toy models for the induction head, indeed, it's like, you know, it was one of the motivations for APD that I'd been working with various math scholars, Chris Mathwin, Keith Monroe, on, on things like this as well, on attention, decomposing, you know, attention in, in, in, in your networks. And it was, it's basically just intuitively quite, you know, it feels like you should be able to do this, just, you know, add in, you know, an SAE here or a transcoder there, and like, you can kind of make some progress in this, but it just didn't feel conceptually very like, satisfying.
And, you know, it basically was one of the motivations for APD that, well, we really want a method where we don't have to like, modify it such that you know, if you have a slightly different architecture, like, you know, maybe it's a, I guess, linear unit or maybe it's a space model, you don't, ideally you wouldn't have to like adapt your interpreting methods to, to the use you should just be able to, you know, decompose, just apply the method that you have that works for all, you know, that would be ideal. And so this was one of the motivations, like looking at attention and how it may actually distribute computations across, you know, heads or various other ways to distribute it. Now, it feels possible then that, you know, we should be able to do this in toy models of say induction heads. It would be, you know, somewhat more complicated model than APD has been used for, used for it thus far, but it does feel possible.
And it's, you know, one of the things I'm excited about people trying. In the cases where, you know, say group multiplication or, you know, modular addition, it's very possible that if you did apply APD to these models, where you don't really get to, it feels possible that in these models, all mechanisms are active all the time, and therefore you just, you know, APD just returns the original network. And if that's the case, this is a, you know, ability I'm willing to bite on, on the method. Sometimes we just don't get to, decompose, you know, things into more things than the original network.
These are after all, you know, fairly special networks trained in, you know, quite different ways from, you know, the task that we really care about, you know, such as language modeling. It's nevertheless, you know, something of a, something to bear in mind when applying APD to models, it's not going to immediately tell you in cases where, you know, it may be a multi-dimensional feature like how to understand the interactions within this, this multi-dimensional multi-layer component. But at the very least, what we wanted was a method that would, in cases where you could decompose it, where it actually succeeds in doing that. Right.
So sorry, the thing you said just inspired me to look at this paper. So this is, so paper is towards a unified verified understanding of group operation networks. And the author I was forgetting was Lewis Jaburi. Sorry, Lewis.
I think, yeah, so there's this question, do four group multiplications, do all of the things, are all the things like active at once? I think, okay, I think I'm not going to be able to figure out quickly enough in time for this. But yeah, basically, like, I don't know, it does seem like an interesting question of like, can, can you get APD working in a setting where like, there, I guess it's tricky because like, it's a lot easier to have ground truth representations than ground truth, you know, than ground truth mechanisms, especially if you know, like, okay, I'm an auto-entruder, or I'm, you know, doing like this known function of like each individual input. And I guess, I guess this sort of relates to the fact that we understand like, like, representation is just much easier for us to have good API theory solved in computation, from someone, unfortunately.
I'm curious, will you? Yeah, I'm maybe I'm just too APD-branded at this point, but I'm curious, yeah, could you factor that into a bit more? I feel like what it means for, you know, I had an activation to represent one of the input features in the TMS case, doesn't feel intuitively, doesn't feel intuitively obvious to me, you know, it's finally corresponds to one of the, maybe a direction in activation space, corresponds to the, the, one of the, one of the, one of the input dimensions, it feels like more intuitive, that point of view than say, you know, this input feature activated that computation. And I am curious.
Yeah. Yeah. Yeah. Yeah.
I guess, like, all I'm saying is that, like, with toy moles of superposition, right, the reason you can very confidently say, like, okay, this, like, like, it feels like the reason you can very confidently say, like, this part is doing this thing is like, in some sense, you know, that like, all the neural network has to do is like, that's to like, put a bunch of information into this two-dimensional knapsack and be able to like, get it out again, right? Like that, like, that's just everything that network's doing. And you can kind of say, like, okay, well, I understand that, you know, it should be sensitive to all these things. And like, I guess there are some things you can say about the computation there, but like, like, like, four cases, like compressed computation, like, toy moles of superposition, you can just say, like, okay, look, I have these things.
And I know, like, I know, like, this input should correspond to this output, right? Like, that's just like, definite ground truth, because it's like basically when I'm training one. Whereas, like, it's a lot harder to look at a network and say, like, well, I know it should be doing this computation and I know it should be divided up into this way. Like, that's, like, that's, and therefore, like, it's easier to like test against like, do I reconstruct this thing into my most superposition where I like, know what I'm supposed to reconstruct versus like, do I reconstruct this, you know, way of doing things in like this, you know, where like, I don't, you know, a priority, don't exactly know.
Yeah. Yeah. Yeah. I think that's fair.
And I think this maybe is, you know, part of the, this goes back to a little bit of what we were talking about at the start, where there is this, even though there may not be, there may be multiple equivalent ways to describe the computations going on in the network. We really just have to, you know, be opinionated about like, what constitutes a good explanation? And, you know, faithfulness of, faithfulness to the network, minimality, and simplicity is just the ones that we think are reasonable, reasonable set of properties for an explanation to have. Fair enough.
So, okay, I think I'm going to transition into just more asking miscellaneous questions or less group by theme. I think the first thing I want to talk about is that, at one point in your paper, you say that like, so why are we doing APD on like these small networks and not on like, you know, you know, llama, you know, whatever, however many billion models you can get these days. And the answer is that it's like kind of expensive, it's right in APD. How, like concretely, how expensive is it to actually run?
And so the, yeah, the version that we've come up with here is, you know, we didn't aim for efficiency. We didn't aim for some of the obvious things that you might try to get a method that works more efficiently than ours. The reason being that we wanted something where on theoretical grounds we could be, you know, somewhat satisfied with it, satisfied with it, working, and then after that we can, you know, move to things that are more efficient. But so for the current method, what we have here is, you know, for a start, we've got like, let's call, you know, let us see, see components.
And that's, you know, how many we got, see components. And each of these requires much memory as the original model, right? Now, that's, you know, already, you know, a multiple of the expensive, massive original model just through one forward pass. We also have, you know, the first forward pass, the first backward pass, the second forward pass and the second backward pass.
So we're having to, you know, during one training update, we have, you know, these four steps. So you're already like, it's already a multiple of just, you know, I given forward pass and backward pass that might be required to train a, you know, an original model, but yeah, I guess, yeah, different goals with these steps. Yeah. And how, like, so I don't know, maybe the answer to this is just another hyperparameter and you've got to fill with it.
But like, so there's, there's a number of hyperparameters that, sorry, there's a number of components that you want to end up being active, right? Like this, this K that you talk about. And there's just like a total number of components that you have to have in order to like run the method all, like, is there something to say about like, oh, it turns out you need like five times as many total components as you want components active in any single run, or is it just like kind of a mess? Well, you know, some people will be familiar with training, smarts, all encoders.
And the, in some cases you start with more than you expect to, you start with more features than you expect to need. The reason being that during training, some like die at various, you know, tricks that people have invented to stop them dying, reinitialization, and so on. The same's true in APD. Some of these parameter components will in some sense die, and depending on the type of model.
And you will, you know, want, therefore to, you know, in general, you'll want to train with a little bit more than the number of run trees mechanisms, just so that you, in the, in the off chance that some people die, you still never have enough to learn all of the, all of the run trees mechanisms. Okay. But it sounds like you're, you're thinking that it has to be like, you know, more like a factor of two, a factor of like a hundred or something. Uh, that would be my expectation.
I don't think there's going to be, you know, a, a, a grandchildren to do that. But yeah, I think, you know, it wouldn't be, I don't see any reason why it would need to be, you know, many multiples higher. Okay. So, so yeah, I guess if you're thinking about these sorts of things, it seems like, okay, you have this like constant blow up of like, you know, you've got to do like two forward passes and two backward passes on each like grading step.
And also you've got to keep on, you know, having like, you know, these C copies of the network, you know, around a little times. Um, and then there's this question of like how many steps it takes actually train ABD, which presumably is just an empirical thing that like, you know, it's not super well understood. I think like, I guess one question I have is, if I remember correctly, there's some part of your paper where you mentioned that like naively ABD might take order of and squared times a run. Do I remember that correctly?
Yeah, I think there's, this is like a, a pessimistic upper bound on like the, the expensiveness, but I think there's plenty of reasons to, to expect it to be lower than this, but I would need to revisit the sentence to be, I'm not sure what we're talking about here. Fair enough. There is a, there is a sentence that does have, you know, talks about the scaling and images. So I'm going to go, yeah.
Okay. Um, so, okay, the next thing that, uh, came across my mind that I wanted to ask is when you're training for a minimality, right? Uh, so on each input, you know, you like, you know, you run it forward, you get like the, you do attribution together, like a most active, um, components. Um, and then you like, drop all the other components and then like have some training step to make sure that, make the K most active components, like, you know, reconstruct the behavior better on that.
I'm kind of surprised. It seems like, um, one thing you could imagine doing is also, um, having the, uh, having it be like, training the ones that you dropped to be less relevant on that input than they actually are. Um, I'm wondering if like you tried this and didn't work or if this is just like less of an obvious idea than it feels like to me. Yeah.
I guess so like concretely what you might consider doing in that case would be, um, you know, you run it, uh, you run, you might have, you know, a third forward pass where you only run it with, ah, I guess, I don't know. It may be, it may be hard. I hadn't thought about this enough, but it may be hard to distinguish, um, between the influences of like, uh, I don't know, I don't know. It feels, it feels, it feels, on the face of it feels like something that could be useful to, um, to implement, um, it's possible to implement, um, it, yeah, uh, it does feel possible for sure.
Um, I, I don't recall us trying it though. Um, yeah, the things that we did try were at the top K and then we also tried, um, like an LP, sparsity version where, um, you penalize, you know, everything for being attributed, you penalize everything for having some causal influence over the other, but you, but you penalize, um, the things that were most causally attributed less, proportionally less, than, um, than the things that were, you know, had some small influence. Um, and this, this is kind of doing that where you were like, um, but it is not equivalent, but, um, yeah, there's, it feels possible to, to, to, um, I'd be curious if it could be done. Go try.
So I think at this point, I'm interested in, um, what follow-up work you think is important to do on APD. Uh, either, you know, you think it's important to do, or, you know, if enterising listeners like maybe you want to pick up some of this lack. Yeah. Um, so I mentioned a few of the things, um, that I've been keen to see already.
Um, so, you know, uh, non-exhaustively attention, uh, I'd be curious to see, you know, if it can decompose attention in a sensible way. Um, there's very other things. However, the main thing right now is, um, figuring out whether or not we can make it less sensitive to hyper parameters and more scalable, basically. These are the two, um, you know, robustness and scalability are the main things that we're, uh, keen to solve.
Just because it will open up, um, whenever we do, you know, investigate these other things, like attention, uh, you know, uh, distributed representations, gross attention, um, that will be less painful to do. Um, and also you can do this on larger, more interesting models. Um, so the main thing, uh, is, is scalability and, uh, hyper parameter sensitivity over robustness. So, um, it's, it's, it's, yeah.
So the first thing, the two main things, suppose we solve those, um, I would be keen to, uh, see attention, keen to see other types of architecture decompose here. Um, there's also a few, um, other phenomena that you might be curious to apply APD to, for instance, um, the phenomena of, uh, you know, memorization, right? There's this, you might imagine that, um, memorization whenever, you know, APD successfully decomposes the network into, um, you know, memorize data points versus generalizing data points. Um, memorize, there may be, you know, one parameter component that corresponds to one memorized, um, data point and, uh, you know, one parameter component that corresponds to a general, you know, a generalizing, um, generalizing computation within the network.
Uh, it may therefore, you know, be a nice place to, um, distinguish between, um, these two, uh, computational regimes, um, of memorization and generalization. So I, I became the, to see APD applied to that. I mentioned some of the, um, you know, more theoretical, uh, things that you might want to look into such as privilege, privileging layers, um, or, uh, more intermittently figuring out whether or not we can, um, get rid of, uh, having to choose, having to do a top case setup where you have to choose, you know, okay. Um, then, yeah, there's basically, yeah, there's a bunch of, um, you know, fairly, uh, disparate, uh, directions, obviously, you know, super keen to see that.
I think, like, um, yeah, our army priorities are just creating a method that, uh, that makes these other things a bit easier. Um, yeah, yeah, there's a, uh, non-exhaust to be though. There's, there's a more, um, there's a, yeah, more exhaustive, um, less I think in, in paper. Makes sense.
I guess like, so a couple things that seemed interesting to me, but I'm curious if you have comments on. Um, so one thing that, I guess someone inspired by our discussion, um, about doing APD to a car, right? Um, it seems like, like, APD is a method that sort of is sensitive to the, um, to input distribution that you do train to. And I think, like, you know, there's this inter-ability illusions paper that says, you know, like, sometimes, like you might think that you have a rich enough input distribution, but you don't actually, I think like, yeah, just like how sensitive you are to this input distribution, like how, how right you have to get it.
I think like, I know that that's something that like, I don't know if you've like had much preliminary exploration into you, but like, it does seem like pretty relevant. It seems relevant. I think, um, I think this is in some senses unavoidable, uh, just because, you know, I want to decompose neural networks. Um, what does that mean?
Well, it means to decompose, you know, what these networks are doing. Um, what they're doing depends on the, the, the input distribution. Um, and just simply with a, with a different distribution, um, um, natural or unnatural, it just will kind of lead to different things. Um, yeah, I do think that, um, when we get to, you know, more scalable versions of this method, um, this will become even more important.
Uh, you ideally want to, you know, um, have a method where I suppose you present, um, suppose you're, you know, decomposing, you know, lama three or whatever, if you've got a scalable, um, scalable method, and you present it with one, um, you, you, you, you, you train it using the, the training distribution of lama, um, but then you also train it with the training distribution of lama permuted. You ideally want to, you know, um, end up the same thing, similarly for, you know, a large enough subset. Um, and then, you know, more adversarial subsets. Um, it, it will be the case that, you know, for a sufficient level of, um, adversity, it will, it will break.