Open Interpretability
An interpretability project that traces how neurons and attention heads contribute to a model's next token.
What does it do?
Given a prompt, the explanation tool investigates how the model forms its next token. It first calculates baseline activations for neurons and attention heads using a generated corpus, then runs the prompt and records deviations from the baseline and the sensitivity of the output score. After identifying influential units, it disables them individually or retains only the explained units to examine changes in output probability. An agent reads these results and the registered information about the units, then writes an explanation of the path from prompt to answer.
Key features
- Explain how a model forms its next token for a prompt
- Calculate baseline activations for neurons and attention heads
- Rank influential units by activation changes and output sensitivity
- Test output changes by disabling relevant units or selectively retaining them
- Use an agent to describe the answer formation path from the analysis