CAP: Contrastive Activation Patching for Locating, Comparing, and Steering Neurons in Multilingual LLMs

Aleksandr Semenikhin, Markus Frey, Ondřej Dušek, Lucie Flek, Patrícia Schmidtová


Abstract

Large language models routinely produce fluent output that is factually wrong or unsupported by the provided source, yet the neurons responsible for this behaviour remain poorly understood outside English. We present CAP (Contrastive Activation Patching), an open-source toolkit that locates, compares, and steers the neurons a model uses for a target behaviour across languages. From two contrastive groups of inputs, one command-line invocation captures per-neuron activations, ranks them with a Welch t-test and Benjamini–Hochberg FDR correction, and patches them to measure their causal effect on a benchmark; the same signal doubles as a training-free steering rule, and interactive viewers support per-layer inspection and cross-language comparison.

Anthology ID:
2026.inlg-demo.1
Volume:
Proceedings of the 19th International Natural Language Generation Conference: System Demonstrations
Month:
October
Year:
2026
Address:
Utrecht, The Netherlands
Editors:
Guanyi Chen, Laura Perez-Beltrachini, Emiel van Miltenburg
Venue:
INLG
SIG:
SIGGEN
Publisher:
Association for Computational Linguistics
Note:
Pages:
1–3
Language:
URL:
https://aclanthology.org/2026.inlg-demo.1/
DOI:
Bibkey:
Cite (ACL):
Aleksandr Semenikhin, Markus Frey, Ondřej Dušek, Lucie Flek, and Patrícia Schmidtová. 2026. CAP: Contrastive Activation Patching for Locating, Comparing, and Steering Neurons in Multilingual LLMs. In Proceedings of the 19th International Natural Language Generation Conference: System Demonstrations, pages 1–3, Utrecht, The Netherlands. Association for Computational Linguistics.
Cite (Informal):
CAP: Contrastive Activation Patching for Locating, Comparing, and Steering Neurons in Multilingual LLMs (Semenikhin et al., INLG 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.inlg-demo.1.pdf