Certified Circuits: Stability Guarantees for Mechanistic Circuits
AA Alaa AnaniTL Tobias Lorenz Bernt Schiele Mario FritzJF Jonas FischerAA Alaa Anani
TL Tobias Lorenz
Bernt Schiele
Mario Fritz
JF Jonas Fischer
+5
Certified Circuits is a framework that wraps any black-box circuit-discovery algorithm with randomized data subsampling to provide provable stability guarantees for the circuits it finds. It certifies that inclusion decisions over circuit components—neurons or edges of the model graph, depending on the base algorithm—are invariant to bounded edit-distance perturbations of the concept dataset, and it abstains from unstable components, yielding more compact and more accurate circuits. Across ResNet, ViT, and GPT-2 on ImageNet with four OOD datasets and on IOI, IOI-Hard, and Greater-Than, certified circuits achieve up to 56% higher accuracy and up to 80% fewer components, remaining reliable where baselines degrade.
0
0
0
arXiv ·
· February 26, 2026