{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2606-09607","title":"Closure-Validated Circuit Discovery in Attention Heads: Co-activation Proposes, Ablation Disposes","arxiv_id":"2606.09607","date":"2026-06-08","proceeding":null,"authors":["Yongzhong Xu"],"abstract":"Interpretability increasingly treats groups of components, not individual units, as the basic object, and proposes to find them by clustering co-activation statistics. We ask whether such a cheap signal actually identifies an attention-head circuit. Adapting a sparse-autoencoder clustering recipe to attention heads -- but validating by causal ablation rather than reconstruction -- we cluster heads and then run a closure test: ablate the discovered community and compare per-example damage to matched-random controls. Across two dense 1B-scale models (Pythia 1B, OLMo 1B) and two input distributions, the communities pass closure. In a Mixture-of-Experts model (OLMoE-1B-7B), route-conditional clustering recovers a statistically real signal that nonetheless does not survive closure -- ablation improves loss, the wrong direction. Extending closure across training, attention-target selectivity and participation ratio decouple from function in both directions. We conclude that a cheap signal is a circuit proposal, not a confirmed circuit; closure is what separates them.","url_abs":"https://arxiv.org/abs/2606.09607","url_pdf":"https://arxiv.org/pdf/2606.09607","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2606.09607","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.09607"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/skydancerosel/coactivation-closure","reach":null}],"summary":{"ran":18,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":20,"ran":18,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"0a27e5f8df47991a","entry":"block_mean_residual","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"pipeline/layer_residualized_clustering.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/pipeline/layer_residualized_clustering.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0a27e5f8df47991a"}},{"code_sha256_prefix":"0c78886f94b3f6eb","entry":"classify_all_heads","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"analysis/supervised_vs_unsupervised.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/analysis/supervised_vs_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0c78886f94b3f6eb"}},{"code_sha256_prefix":"8d7c9bc62f2becdd","entry":"cluster_and_score","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"pipeline/layer_residualized_clustering.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/pipeline/layer_residualized_clustering.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8d7c9bc62f2becdd"}},{"code_sha256_prefix":"8c51cbf46667312d","entry":"confusion_matrix","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"analysis/supervised_vs_unsupervised.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/analysis/supervised_vs_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8c51cbf46667312d"}},{"code_sha256_prefix":"1e52205f22b814fa","entry":"evaluate","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_olmo_natural.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_olmo_natural.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e52205f22b814fa"}},{"code_sha256_prefix":"acf74f6ad99f9f97","entry":"evaluate","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_olmoe_route_cluster1.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_olmoe_route_cluster1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"acf74f6ad99f9f97"}},{"code_sha256_prefix":"8fa9b2fb8d43738a","entry":"evaluate","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_test_olmo_cluster2.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_test_olmo_cluster2.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8fa9b2fb8d43738a"}},{"code_sha256_prefix":"97a35722da7538dd","entry":"evaluate","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"developmental/closure_at_intermediate.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/developmental/closure_at_intermediate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"97a35722da7538dd"}},{"code_sha256_prefix":"3b2c30ae4c8e6d25","entry":"evaluate_loss","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"developmental/olmoe_baseline_loss_scan.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/developmental/olmoe_baseline_loss_scan.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3b2c30ae4c8e6d25"}},{"code_sha256_prefix":"a4e1334eaf63a0e0","entry":"fit_ising","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/select_closure_candidate.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/select_closure_candidate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a4e1334eaf63a0e0"}},{"code_sha256_prefix":"8fd8b2b800c739f4","entry":"install_ablation","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_olmo_natural.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_olmo_natural.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8fd8b2b800c739f4"}},{"code_sha256_prefix":"465531a9283db4d0","entry":"install_ablation","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_olmoe_route_cluster1.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_olmoe_route_cluster1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"465531a9283db4d0"}},{"code_sha256_prefix":"9b4fd51b124e8e38","entry":"install_ablation","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_pythia_natural.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_pythia_natural.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9b4fd51b124e8e38"}},{"code_sha256_prefix":"42a0a461d8483ebe","entry":"install_ablation","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"developmental/closure_at_intermediate.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/developmental/closure_at_intermediate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"42a0a461d8483ebe"}},{"code_sha256_prefix":"7d0df836b41c41f0","entry":"make_pre_hook","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_olmo_natural.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_olmo_natural.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7d0df836b41c41f0"}},{"code_sha256_prefix":"5473f133c9597574","entry":"per_class_recall_precision","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"analysis/supervised_vs_unsupervised.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/analysis/supervised_vs_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5473f133c9597574"}},{"code_sha256_prefix":"caa2d8429b3ae290","entry":"per_head_median_split","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/select_closure_candidate.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/select_closure_candidate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"caa2d8429b3ae290"}},{"code_sha256_prefix":"805a6e705b42ec63","entry":"within_layer_cluster","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"pipeline/layer_residualized_clustering.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/pipeline/layer_residualized_clustering.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"805a6e705b42ec63"}},{"code_sha256_prefix":"7cf4e93599c5a110","entry":"build_induction_batch","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/closure_test_olmo_cluster2.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/closure_test_olmo_cluster2.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7cf4e93599c5a110"}},{"code_sha256_prefix":"7a80a252257f4ac4","entry":"template_free_signal","repo":"skydancerosel/coactivation-closure","repo_kind":"found_in_text","path":"closure/select_closure_candidate.py","file_url":"https://github.com/skydancerosel/coactivation-closure/blob/HEAD/closure/select_closure_candidate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7a80a252257f4ac4"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,795 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6795},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}