ElemedexA pocket encyclopedia of AI architectures

Glossary (TM) › Interpretability and evaluation

TM187

Features and superposition

Also: polysemanticity, superposition hypothesis

In Spanish: Rasgos y superposición

The hypothesis that a network represents more features than it has dimensions, using nearly orthogonal directions; hence many neurons respond to several unrelated concepts.

In interpretability, a feature is a property of the input that the network represents internally ("this is Python code," "this is about the Golden Gate Bridge"); the linear representation hypothesis holds that each feature corresponds to a direction in activation space (Millière & Buckner, 2024b, sec. 2.5.3). (Not to be confused with the classic sense of an input feature.) It would be convenient if each neuron matched one feature, but many are polysemantic: Olah et al. (2020) had already seen a vision network spread a car detector across neurons devoted mainly to dogs.

Elhage et al. (2022) offered an explanation using toy models. When features are sparse (rarely active together), it pays for the network to store more features than it has dimensions, superposed along nearly orthogonal directions, and to tolerate some interference: a high-dimensional space has room for far more nearly perpendicular directions than axes. The idea is related to compressed sensing in mathematics and to the old connectionist thesis that representations are distributed rather than housed in a "grandmother cell" (Millière & Buckner, 2024b, sec. 2.4).

If there is superposition, neuron-by-neuron analysis falls short and the features must be disentangled. The current tool is the sparse autoencoder, an auxiliary network that rewrites each activation as a combination of a few features from a huge dictionary. Templeton et al. (2024) trained dictionaries of ≈1, 4 and 34 million features on a middle layer of Claude 3 Sonnet and found multilingual and multimodal features, from the Golden Gate Bridge to deception or sycophancy. Clamping one of them at a high value changes the model's behavior: this is the basis of steering.

For philosophy, superposition shifts the question about the vehicle of representation: it is the direction, not the neuron, and how many directions "there are" depends partly on the dictionary we choose to look for them. Do we discover the model's concepts, or impose ours?

Sources

  • Elhage, N., Hume, T., Olsson, C., Schiefer, N., Henighan, T., Kravec, S., Hatfield-Dodds, Z., Lasenby, R., Drain, D., Chen, C., Grosse, R., McCandlish, S., Kaplan, J., Amodei, D., Wattenberg, M., & Olah, C. (2022). Toy models of superposition. Transformer Circuits Thread. https://transformer-circuits.pub/2022/toy_model/index.html §
  • Millière, R., & Buckner, C. (2024b). A philosophical introduction to language models—Part II: The way forward (arXiv:2405.03207). arXiv. https://doi.org/10.48550/arXiv.2405.03207 §
  • Olah, C., Cammarata, N., Schubert, L., Goh, G., Petrov, M., & Carter, S. (2020). Zoom in: An introduction to circuits. Distill, 5(3), e00024.001. https://doi.org/10.23915/distill.00024.001 §
  • Templeton, A., Conerly, T., Marcus, J., Lindsey, J., Bricken, T., Chen, B., Pearce, A., Citro, C., Ameisen, E., Jones, A., Cunningham, H., Turner, N. L., McDougall, C., MacDiarmid, M., Tamkin, A., Durmus, E., Hume, T., Mosconi, F., Freeman, C. D., . . . Henighan, T. (2024). Scaling monosemanticity: Extracting interpretable features from Claude 3 Sonnet. Transformer Circuits Thread. https://transformer-circuits.pub/2024/scaling-monosemanticity/index.html §