Papers › Towards a fuller understanding of neurons with Clustered Compositional Explanations

Towards a fuller understanding of neurons with Clustered Compositional Explanations

27 Oct 2023NeurIPS 2023 11arXiv:2310.18443archive 2025-07-28

Biagio La Rosa, Leilani H. Gilpin, Roberto Capobianco

Compositional Explanations is a method for identifying logical formulas of concepts that approximate the neurons' behavior. However, these explanations are linked to the small spectrum of neuron activations (i.e., the highest ones) used to check the alignment, thus lacking completeness. In this paper, we propose a generalization, called Clustered Compositional Explanations, that combines Compositional Explanations with clustering and a novel search heuristic to approximate a broader spectrum of the neurons' behavior. We define and address the problems connected to the application of these methods to multiple ranges of activations, analyze the insights retrievable by using our algorithm, and propose desiderata qualities that can be used to study the explanations returned by different algorithms.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2310.18443")

Code

Syntology Ran 23 of 29 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 3 ran · honoured contract; 20 ran with no contract checked.

By repository: community (archive-listed): 29 samples from 1 repository, 23 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

29 samples harvested; 23 ran; 3 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

3ran · honoured contract
20ran
6unverified

Licence: 0 of the 29 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 krlgroup/clustered-compositional-explanations. “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.

And krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 6e38a1a9bf49e62e · report
F krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran MIT (permissive) · 77d55b4b5690d4e1 · report
Leaf krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · d19ee8c373497030 · report
Node krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran MIT (permissive) · 307306f38b84eb6e · report
Not krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · b078feb4ba8b2545 · report
OrderedFormula krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran MIT (permissive) · 2eb76680fde29ee0 · report
UnaryNode krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 5e67839d7dc4c8c7 · report
build_dense_label_array KRLGroup/Clustered-Compositional-Explanations/src/segmentations.py community (archive-listed) ran MIT (permissive) · 1ca87d6074add59d · report
build_numpy_category_map KRLGroup/Clustered-Compositional-Explanations/src/segmentations.py community (archive-listed) ran MIT (permissive) · c841173740b51fe3 · report
build_ranges_from_clusters KRLGroup/Clustered-Compositional-Explanations/src/activation_utils.py community (archive-listed) ran MIT (permissive) · 62e245e9fea48980 · report
compute_hits krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 8904ea91efc13ec0 · report
compute_hits KRLGroup/Clustered-Compositional-Explanations/src/metrics.py community (archive-listed) ran MIT (permissive) · 51278ffc0e50fce0 · report
extract_mask KRLGroup/Clustered-Compositional-Explanations/src/mask_utils.py community (archive-listed) ran MIT (permissive) · d9cbb5def766dac8 · report
get_mask_type KRLGroup/Clustered-Compositional-Explanations/src/mask_utils.py community (archive-listed) ran MIT (permissive) · 29d583b830de2e63 · report
get_rectangles_overlap KRLGroup/Clustered-Compositional-Explanations/src/heuristics.py community (archive-listed) ran MIT (permissive) · 93c52c7617a3d277 · report
hook KRLGroup/Clustered-Compositional-Explanations/src/model_utils.py community (archive-listed) ran MIT (permissive) · 51e482d6b1330aa9 · report
index_has_any_data KRLGroup/Clustered-Compositional-Explanations/src/segmentations.py community (archive-listed) ran MIT (permissive) · 130670bcfa93f2d8 · report
iou krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran · honoured contract MIT (permissive) · 6aee6866c4385318 · report
load_model_from_settings KRLGroup/Clustered-Compositional-Explanations/src/model_utils.py community (archive-listed) ran MIT (permissive) · 084259c7a0ea2d61 · report
load_sparse_masks KRLGroup/Clustered-Compositional-Explanations/src/mask_utils.py community (archive-listed) ran MIT (permissive) · 6f526af36b5ca85d · report
set_seed KRLGroup/Clustered-Compositional-Explanations/src/utils.py community (archive-listed) ran MIT (permissive) · b2a19cb38c877ae0 · report
sparse_to_torch krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) ran · honoured contract MIT (permissive) · e602316fb47c122d · report
torch_to_sparse KRLGroup/Clustered-Compositional-Explanations/src/utils.py community (archive-listed) ran MIT (permissive) · e98d8f1b76401340 · report
Or krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) unverified MIT (permissive) · e2b83fbe48e387a5 · report
beam_search krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) unverified MIT (permissive) · 4cbadf168b410b2a · report
compute_bitmaps KRLGroup/Clustered-Compositional-Explanations/src/activation_utils.py community (archive-listed) unverified MIT (permissive) · f68205752587488c · report
compute_hash_value krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) unverified MIT (permissive) · 90164d2b4896308d · report
get_formula_mask krlgroup/clustered-compositional-explanations/src/heuristic_search.py community (archive-listed) unverified MIT (permissive) · e83325ca92154c23 · report
get_formula_str KRLGroup/Clustered-Compositional-Explanations/src/formula.py community (archive-listed) unverified MIT (permissive) · 95abb69df3bd1d4e · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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