It looks like there are many neurons that are almost mono-semantic, but not quite.[1] If this is true why might this be?
Possibility 1:
It's beneficial for features to line up with neurons, so they can use the non-linearities without interference from other features. E.g. not having the ReLU threshold or SwiGLU gating being messed with by some other feature. This is pushing the network to separate different circuits/features into different neurons. However in reality everything is correlated with everything else. So you might end up with a primary cat detector neuron, that looks at all the cat evidence and fires if it's above some threshold. But downstream from that, everything that is either correlated or anti correlated with cats will read a bit of evidence from the cat neuron, and vice versa. Smearing the meaning of all neurons just a little bit.
Possibility 2:
There is going to be a distribution (probably power law) of how important various circuits are. And by "important" I mean how much the loss would be hurt by removing it, or messing it up. Important circuits will be things that are used all the time, like grammar. Less important things will be remembering some rarely used fact, or the exact next word in some (not too often recited) poem. The important stuff needs to be robust. The less important stuff get squeezed in where there's room, even if that means it only works half the time, because that's still better than nothing. Also, the important stuff will be learnt earlier during training.
We therefore get a picture where the important circuits get embedded first, into nice clean directions, that they get all to themselves. This will sometimes look like mono-semanticity.[2] The network will learn the circuits approximately in order of importance, putting them in non-interfering orthogonal directions, until it's full. After that, it will start "squeezing things into the gaps".
It might looks something like this: The important robust circuits dictate which neurons are on, and roughly their magnitude. However these circuits are noise robust, which means the network can vary the activations of these neurons a bit, without breaking anything. These fluctuations on top becomes an extra channel the network can use to represent additional information.
But representation is not enough, any useful information will be conditional. E.g. you don't just want to be able to represent "Paris", you want to trigger "Paris" if there is a query about the location of the Eiffel Tower. Thankfully we have an idea of how the network might do this. Dugan et al. describes an algorithm for efficiently encoding lookups in a neural net. This algorithm uses gated neurons where the gating is a random function of the input. I hypothesize that neural networks uses approximately this algorithm for fact memorizations of less important facts, but where the important circuits set the neuron gating, instead of just randomizing.
The reason I believe this is mostly based on private conversations with @Lucius Bushnaq. I think their evidence is some mix of observing VPD components (a lot of them are almost neuron aligned), talking to mono-semanticity believers at Goodfire, and looking into various published results.
Sometimes it will not look exactly mono-semantic, e.g. if there's some non orthogonal feature geometry. If it's just a little bit non-orthogonal, this takes us to possibility 1 (and there can indeed be a mix of possibility 1 and 2). But if the feature geometry is very non orthogonal, then they feature-neuron alignment has to break somewhere, which might explain why a lot of neurons don't look mono-semantic.
On bi-semanticity
I hear that SwiGLU neurons are bi-semantic more often than mono-semantic. I.e. one meaning for positive activations and another for negative activations. This makes sense to me.
Imagine two possibilities:
1) Positive activation means X and negative activation mean -X[1]
2) Positive activation means X and negative activation means Y
2 is much easier to create with a SwiGLU than 1.
For 1, the gating needs to encode |X| somehow. It's not impossible for a NN to calculate |X| but it does require use of non-linearities in previous layers which is a... (read more)