Papers › Demystifying Variance in Circuit Discovery of LLMs

Demystifying Variance in Circuit Discovery of LLMs

15 Jun 2026arXiv:2606.16920added by Syntology

Frank Zhengqing Wu, Francesco Tonin, Volkan Cevher

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Circuit discovery is a key technique in mechanistic interpretability to pinpoint the model components that are crucial for performing a given task. Although the current state-of-the-art method (EAP-IG) performs well on the metric of (un)faithfulness, it suffers from substantial variability. This includes resampling variance, where the circuit changes when we probe with a new batch of data from the same distribution; rephrasing variance, where the discovered circuit shifts when the prompts are rephrased; and sample-wise variance, where a circuit with low population unfaithfulness exhibits large fluctuations in unfaithfulness across individual samples. This paper studies the roots of these variances. We demonstrate that CEAP, our new circuit discovery method that improves upon EAP-IG with a theoretical guarantee, can substantially lessen resampling variance. We further show that rephrasing variance arises because prompts with different templates tend to activate different circuits in the model. This leads us to argue that it may be challenging to find a comprehensive circuit that explains and controls the model's behavior on a task, which can be expressed in countless templates, suggesting that LLMs may be inherently hard to steer. We show that sparsity, which has been claimed to form more compact and interpretable task circuits, fails to solve this problem. Regarding sample-wise variance, we argue that it is largely benign: extremely poor unfaithfulness scores often stem from how unfaithfulness is defined, rather than from defects in the measured circuits. We show that the magnitude of unfaithfulness is affected by selective contribution scaling, a neural mechanism that accounts for the extremely poor scores sometimes observed.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2606.16920")

Code

Syntology Ran 13 of 14 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 13 ran with no contract checked.

By repository: found in paper text by Syntology: 14 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

LIONS-EPFL/Circuit-Variance found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 13 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13ran
1unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from LIONS-EPFL/Circuit-Variance. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

collate_EAP LIONS-EPFL/Circuit-Variance/dataset.py found in paper text by Syntology ran MIT (permissive) · a163722c56d36ba6 · report
format_model_name LIONS-EPFL/Circuit-Variance/visualization/plot_rephrasing_samplewise_variance.py found in paper text by Syntology ran fingerprinted MIT (permissive) · a386c66aefa26449 · report
format_model_name LIONS-EPFL/Circuit-Variance/visualization/plot_resampling_variance.py found in paper text by Syntology ran fingerprinted MIT (permissive) · ebeddb42ba66079b · report
format_task_name LIONS-EPFL/Circuit-Variance/visualization/plot_rephrasing_samplewise_variance.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 3e1fbc61482f7d19 · report
get_logit_positions LIONS-EPFL/Circuit-Variance/metrics.py found in paper text by Syntology ran MIT (permissive) · 6eb050397dd71ef2 · report
get_n_edges_target_list LIONS-EPFL/Circuit-Variance/pareto_dev_utils.py found in paper text by Syntology ran MIT (permissive) · f948655140bd7b45 · report
is_circuit_sparsity_model_identifier LIONS-EPFL/Circuit-Variance/circuit_sparse_adapter.py found in paper text by Syntology ran MIT (permissive) · e9375a8ddbd853a1 · report
js_div LIONS-EPFL/Circuit-Variance/metrics.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 495039ab141aa6fa · report
make_train_test_dataframe LIONS-EPFL/Circuit-Variance/dataset.py found in paper text by Syntology ran MIT (permissive) · 8412b8161dd09236 · report
natural_key LIONS-EPFL/Circuit-Variance/visualization/plot_rephrasing_samplewise_variance.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 8cff6cdc74875cc7 · report
natural_key LIONS-EPFL/Circuit-Variance/visualization/plot_resampling_variance.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 6f859f08878f0484 · report
normalize_sparse_config LIONS-EPFL/Circuit-Variance/circuit_sparse_adapter.py found in paper text by Syntology ran MIT (permissive) · 75eee1fc5eaccebe · report
setup_label LIONS-EPFL/Circuit-Variance/visualization/plot_resampling_variance.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 0964215b60e518f9 · report
build_result_dir LIONS-EPFL/Circuit-Variance/pareto_dev_utils.py found in paper text by Syntology unverified MIT (permissive) · 90d82934607439cb · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.16920, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections