Aleksandr Semenikhin

Author directory

2026

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.