LESSWRONG
LW

2338
Alex Gibson
86Ω22150
Message
Dialogue
Subscribe

Posts

Sorted by New

Wikitag Contributions

Comments

Sorted by
Newest
No wikitag contributions to display.
9Positional kernels of attention heads
8mo
0
1Alex Gibson's Shortform
10mo
2
1Alex Gibson's Shortform
10mo
2
Interpretability is the best path to alignment
Alex Gibson2mo3-1

Interesting post, thanks.

I'm worried about placing Mechanistic Interpretability on a pedestal compared to simpler techniques like behavioural evals. This is because ironically, to an outsider, Mechanistic Interpretability is not very interpretable. 

A lay outsider can easily understand the full context of published behavioural evaluations, and come to their own judgements on what the behavioural evaluation shows, and if they agree or disagree with the interpretation provided by the author. But if Anthropic publishes a MI blog post claiming to understand the circuits inside a model, the layperson has no way of evaluating those claims for themselves without diving deep into technical details.

This is an issue even if we trust that everyone working on safety at Anthropic has good intentions. Because people are subject to cognitive biases and can trick themselves into thinking they understand a system better than they actually do, especially when the techniques involved are sophisticated.

In an ideal world, yes, we would use Mechanistic Interpretability to formally prove that ASI isn't going to kill us or whatever. But with bounded time (because of alternative existential risks conditioning on no ASI), this ambitious goal is unlikely to be achieved. Instead, MI research will likely only produce partial insights that risk creating a false sense of security resistant to critique by non-experts.

Reply
Alternative Models of Superposition
Alex Gibson3mo10

I guess I mean cheating purely as "I don't think this applies to to the Toy Model setting", as opposed to saying it's not a potentially valuable loss to study.

For p=1.0, I forgot that each of the noise features are random between 0 and 0.1, as opposed to fixed magnitude. The reason I brought it up is because if they were fixed magnitude 0.05 then they would all cancel out and face in the opposite direction to the target feature with magnitude 0.05. Now I reread the setting again I don't think that's relevant, though.

Reply
Alternative Models of Superposition
Alex Gibson3mo81

The restriction of the loss to the target feels like cheating, to be honest. The linear model claim is scoped to reconstruction loss, where you genuinely don't see superposition as far as i'm aware. And in this case, the reconstruction loss would be poor, because the vectors are nested so close to each other that adjacent features false fire.

I agree with the core point about finding alternative models of superposition though. As far as I know, there is no evidence that the Toy Model paper is accurate to how real models actually represent things, except at the broadest level. Towards Monosemanticity in fact notes divergence from the Toy Model paper (see Feature Splitting).

On the model itself, for p=0.0, and p=1.0, why can't you place vectors equidistant around the circle, allowing for arbitrarily many features? 

Reply
$500 Bounty Problem: Are (Approximately) Deterministic Natural Latents All You Need?
Alex Gibson3mo92

I'm confused by this. The KL term we are looking at in the deterministic case is 
DKL(P[X,Λ]||P[Λ]P[X1|Λ]P[X2|Λ]), right?

For simplicity, we imagine we have finite discrete spaces. Then this would blow up if P[X=(x1,x2),Λ=λ]≠0, and P[Λ=λ]P[X1=x1|Λ=λ]P[X2=x2|Λ=λ]=0. But this is impossible, because any of the terms in the product being 0 imply that P[X=(x1,x2),Λ=λ] is 0. 

 Intuitively, we construct an optimal code for encoding the distribution P[Λ]P[X1|Λ]P[X2|Λ], and the KL divergence measures how many more bits on average we need to encode a message than optimal, if the true distribution is given by P[X,Λ].  Issues occur when but the true distribution P[X,Λ] takes on values which never occur according to P[Λ]P[X1|Λ]P[X2|Λ], i.e: the optimal code doesn't account for those values potentially occurring. 

Potentially there are subtleties when we have continuous spaces. In any case I'd be grateful if you're able to elaborate.

Reply
Small foundational puzzle for causal theories of mechanistic interpretability
Alex Gibson4mo*20

Agreed, it's a necessary but not sufficient condition for explanation. In practice, all mechanisms have scopes of inputs where they are valid / invalid, and your mechanistic explanation should explicitly specify these scopes. 

I think when you have such small input spaces it's hard to beat just giving a list of the computations for a mechanistic explanation though. Where mechanistic explanations can shine is when they can take some relatively weak assumptions on the input, including exponentially many potential inputs, and find ways to abstract the computation to make it more humanly understandable. And then your explanation consists of showing that under those assumptions on the input, the model indeed can be abstracted that way. And that forces you to engage with the mechanisms.

Like if we had your toy example from above, but instead the input space was {0,1,...,1000000} x {0,1,...,1000000}, then an explanation that says M∗ has the same output as M as long as x1=x2, has a much shorter proof if we engage with the mechanisms, than if we try to manually run all the inputs (x,x) for all x in {0,1,...,1000000}.

My gripe with most modern mech interp is that it doesn't even try to give conditions on the input, or engage with the underlying mechanisms. Instead it just is either looking at very small input spaces, where very little can be said, because it's easiest just to give the trace of the computation, or looking for empirical patterns in activations when running the model across large input spaces.

Reply
Small foundational puzzle for causal theories of mechanistic interpretability
Alex Gibson4mo*20

Am I right that the line of argument here is not about the generalization properties, but a claim about the quality of explanation, even on the restricted distribution? As in, we can use the fact that our explanation fails to generalize to the inputs (0,1) and (1,0) as a demonstration that the explanation is not mechanistically faithful, even on the restricted distribution?

Sometimes models learn mechanisms that hold with high probability over the input distribution, but where we can easily construct adversarial examples. So I think we want to allow explanations that only hold on narrow distributions, to explain typical case behaviour. But I think these explanations should come equipped with conditions on the input distribution for the explanation to hold. Like here, your causal model M∗ should have the explicit condition "x_1=x_2".

Reply
[Paper] Stochastic Parameter Decomposition
Alex Gibson4mo10

If there is some internal gradient descent reason for it being easier to learn to read off orthogonal vectors then I take it back. I feel like I am being too pedantic here, in any case.

Reply
[Paper] Stochastic Parameter Decomposition
Alex Gibson4mo30

As a more productive question, say we had an LLM, which, amongst other things, if there is a known bigram encoded in the residual stream of the form t1A+t2B (corresponding to known bigram t1t2), potentially with interference from other aspects, outputs a consistent vector vt1t2 into the residual stream from an MLP layer. This is how GPT-2 encodes known bigrams, hence the relevance.

And say that there are quadratically many known bigrams as a function of hidden neuron size, so that in particular there are more bigrams than residual stream dimension. As far as I know, an appropriately randomly initialized network should be able to accomplish this task (or at least with Win random)

Is the goal for SPD to learn components for Win such that any given component only fires non-negligibly on a single bigram? Or is it ok if components fire on multiple different bigrams? I am trying to reason through how SPD would act in this case.

Reply
[Paper] Stochastic Parameter Decomposition
Alex Gibson4mo*10

Edit: To be clear, of course the network itself cannot perform the task precisely. I'm simply claiming that you can precisely mimic the behaviour of Win with 100 rank-1 components, by just reading off the basis, as SPD does in this case. The fact that the vi themselves are not orthogonal is irrelevant.

To be concrete: if we have 100 linearly independent vectors vi, we can extend this to a basis of the whole 1000-dimensional space. Let V be the change of basis matrix from the standard basis to this basis. Then we can write Win = (WinV−1)V, where we can pick (WinV−1) arbitrarily.

If we write WinV−1 as a sum of rank-1 matrices Wc, then WcV will sum to Win, and WcV is still rank-one since the image of WcV = image of Wc

So we can assume wlog that our vi lie along the standard basis, i.e: that they are orthogonal with respect to standard inner product.

Reply
Load More