Seven language models, 124M to 7B parameters, opened up component by component.
Heads and neurons each push the logits toward a closing token, read out with the logit lens.
Sound mechanisms generalize across inputs. Faulty ones promote the wrong tokens too.
Errors happen when faulty mechanisms overshadow the sound ones.
CodeLlama-7b’s head L30H0 is almost 100% accurate on every sub-task. The full model averages 96.00%.
First by how many sub-tasks a component generalizes to, then by how well it promotes the right token.
Scale the top-k sound components’ activations by α before they enter the residual stream.