Papers › Understanding Inter-Concept Relationships in Concept-Based Models

Understanding Inter-Concept Relationships in Concept-Based Models

28 May 2024arXiv:2405.18217archive 2025-07-28

Naveen Raman, Mateo Espinosa Zarlenga, Mateja Jamnik

Concept-based explainability methods provide insight into deep learning systems by constructing explanations using human-understandable concepts. While the literature on human reasoning demonstrates that we exploit relationships between concepts when solving tasks, it is unclear whether concept-based methods incorporate the rich structure of inter-concept relationships. We analyse the concept representations learnt by concept-based models to understand whether these models correctly capture inter-concept relationships. First, we empirically demonstrate that state-of-the-art concept-based models produce representations that lack stability and robustness, and such methods fail to capture inter-concept relationships. Then, we develop a novel algorithm which leverages inter-concept relationships to improve concept intervention accuracy, demonstrating how correctly capturing inter-concept relationships can improve downstream tasks.

PaperPDFCodeCode 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="2405.18217")

Code

Syntology Ran 17 of 28 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 17 ran with no contract checked.

By repository: official repository: 28 samples from 1 repository, 17 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

naveenr414/Concept-Learning officialmentioned on GitHubpytorch report

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

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

17ran
11unverified

Licence: 28 of the 28 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 naveenr414/Concept-Learning. “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.

add_gaussian_noise naveenr414/Concept-Learning/src/dataset.py official repository ran no licence file found · pointer only · b46d787c7739ef2d · report
compute_accuracy naveenr414/Concept-Learning/cem/cem/models/cbm.py official repository ran no licence file found · pointer only · 4ff918536e7f785c · report
compute_bin_accuracy naveenr414/Concept-Learning/cem/cem/models/cbm.py official repository ran no licence file found · pointer only · f2a2c7786ba1a01d · report
create_distance_metric naveenr414/Concept-Learning/src/util.py official repository ran no licence file found · pointer only · 56bec599c7b2bf6a · report
create_encoder naveenr414/Concept-Learning/src/models.py official repository ran no licence file found · pointer only · 8c5436aaf4f86091 · report
create_junk_image naveenr414/Concept-Learning/src/dataset.py official repository ran fingerprinted no licence file found · pointer only · 93b997ef9a011370 · report
create_max_hierarchy naveenr414/Concept-Learning/src/hierarchy.py official repository ran fingerprinted no licence file found · pointer only · a73a5e62b564b3e1 · report
create_min_hierarchy naveenr414/Concept-Learning/src/hierarchy.py official repository ran fingerprinted no licence file found · pointer only · 850b98940a7a4f09 · report
create_skipgram_architecture naveenr414/Concept-Learning/src/models.py official repository ran no licence file found · pointer only · 3a4aa8a1db711a49 · report
create_ward_hierarchy naveenr414/Concept-Learning/src/hierarchy.py official repository ran fingerprinted no licence file found · pointer only · b99e0f3d4a50ad41 · report
diff_xor naveenr414/Concept-Learning/cem/experiments/cbm_models.py official repository ran fingerprinted no licence file found · pointer only · 8deaafbaa1d280ab · report
fetch_imagenet_class naveenr414/Concept-Learning/src/download_data.py official repository ran no licence file found · pointer only · 4a29f7b0efb6f11e · report
filter_data_labels naveenr414/Concept-Learning/src/plots.py official repository ran no licence file found · pointer only · a8d95e20fb547e39 · report
find_average_distances naveenr414/Concept-Learning/src/util.py official repository ran no licence file found · pointer only · aa7458eb229efdef · report
flip_concept_labels naveenr414/Concept-Learning/src/dataset.py official repository ran no licence file found · pointer only · d398629f19219bb0 · report
generate_labels_from_activation naveenr414/Concept-Learning/src/plots.py official repository ran no licence file found · pointer only · 267148a8891a5bc3 · report
row_to_fix_2 naveenr414/Concept-Learning/src/concept_vectors.py official repository ran no licence file found · pointer only · 62c53a5a76b81541 · report
compute_accuracy naveenr414/Concept-Learning/cem/cem/models/cem.py official repository unverified no licence file found · pointer only · 625948c28aa9ff09 · report
create_concept2vec naveenr414/Concept-Learning/src/create_vectors.py official repository unverified no licence file found · pointer only · cf6c255d26875519 · report
create_encoder_model naveenr414/Concept-Learning/src/models.py official repository unverified no licence file found · pointer only · ca99a4e19389758e · report
embedding_distance naveenr414/Concept-Learning/src/metrics.py official repository unverified no licence file found · pointer only · 264dbbc5f2804efd · report
find_paired_distance naveenr414/Concept-Learning/src/util.py official repository unverified no licence file found · pointer only · 3ee9fed128c703db · report
get_fix_data naveenr414/Concept-Learning/src/concept_vectors.py official repository unverified no licence file found · pointer only · f5087556ea112a96 · report
get_top_k_pairs naveenr414/Concept-Learning/src/metrics.py official repository unverified no licence file found · pointer only · f1a0fad179772085 · report
initialize_model naveenr414/Concept-Learning/cem/experiments/cbm_models.py official repository unverified no licence file found · pointer only · b18555b57615e2e7 · report
row_to_fix naveenr414/Concept-Learning/src/concept_vectors.py official repository unverified no licence file found · pointer only · 9101ea653bd170ba · report
stability_metric naveenr414/Concept-Learning/src/metrics.py official repository unverified no licence file found · pointer only · fd02fb27bc4d86b2 · report
train naveenr414/Concept-Learning/cem/experiments/cbm_models.py official repository unverified no licence file found · pointer only · 6810adb2ac653d75 · 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