SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.18217 · 2024

Understanding Inter-Concept Relationships in Concept-Based Models

arXiv · PDF · Open in the Atlas

Code that ran

17 of 28 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 6 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 11 failures of our instrument; 11 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.18217.json · badge: /api/ran/2405.18217.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
naveenr414/Concept-Learning canonical (classifier label)
classifier basis: census
17 ran · 11 no recorded run
FunctionStatusWhere it lives
add_gaussian_noise Ran
ran, honoured the contract we drafted
naveenr414/Concept-Learning/src/dataset.py
pointer only (licence: NONE) · get_code("b46d787c7739ef2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_accuracy Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/cem/cem/models/cbm.py
pointer only (licence: NONE) · get_code("4ff918536e7f785c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_bin_accuracy Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/cem/cem/models/cbm.py
pointer only (licence: NONE) · get_code("f2a2c7786ba1a01d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_distance_metric Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/src/util.py
pointer only (licence: NONE) · get_code("56bec599c7b2bf6a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_encoder Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/src/models.py
pointer only (licence: NONE) · get_code("8c5436aaf4f86091")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_junk_image Ran
ran, honoured the contract we drafted
naveenr414/Concept-Learning/src/dataset.py
pointer only (licence: NONE) · get_code("93b997ef9a011370")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_max_hierarchy Ran
ran, honoured the contract we drafted
naveenr414/Concept-Learning/src/hierarchy.py
pointer only (licence: NONE) · get_code("a73a5e62b564b3e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_min_hierarchy Ran
ran, honoured the contract we drafted
naveenr414/Concept-Learning/src/hierarchy.py
pointer only (licence: NONE) · get_code("850b98940a7a4f09")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_skipgram_architecture Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
naveenr414/Concept-Learning/src/models.py
pointer only (licence: NONE) · get_code("3a4aa8a1db711a49")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_ward_hierarchy Ran
ran, honoured the contract we drafted
naveenr414/Concept-Learning/src/hierarchy.py
pointer only (licence: NONE) · get_code("b99e0f3d4a50ad41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

diff_xor Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/cem/experiments/cbm_models.py
pointer only (licence: NONE) · get_code("8deaafbaa1d280ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

fetch_imagenet_class Ran
ran, honoured the contract we drafted
naveenr414/Concept-Learning/src/download_data.py
pointer only (licence: NONE) · get_code("4a29f7b0efb6f11e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

filter_data_labels Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/src/plots.py
pointer only (licence: NONE) · get_code("a8d95e20fb547e39")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_average_distances Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
naveenr414/Concept-Learning/src/util.py
pointer only (licence: NONE) · get_code("aa7458eb229efdef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

flip_concept_labels Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/src/dataset.py
pointer only (licence: NONE) · get_code("d398629f19219bb0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_labels_from_activation Ran
ran; our contract draft was wrong, not the code
naveenr414/Concept-Learning/src/plots.py
pointer only (licence: NONE) · get_code("267148a8891a5bc3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

row_to_fix_2 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
naveenr414/Concept-Learning/src/concept_vectors.py
pointer only (licence: NONE) · get_code("62c53a5a76b81541")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_accuracy Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/cem/cem/models/cem.py
pointer only (licence: NONE) · get_code("625948c28aa9ff09")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

create_concept2vec Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/create_vectors.py
pointer only (licence: NONE) · get_code("cf6c255d26875519")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

create_encoder_model Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/models.py
pointer only (licence: NONE) · get_code("ca99a4e19389758e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

embedding_distance Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/metrics.py
pointer only (licence: NONE) · get_code("264dbbc5f2804efd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

find_paired_distance Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/util.py
pointer only (licence: NONE) · get_code("3ee9fed128c703db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_fix_data Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/concept_vectors.py
pointer only (licence: NONE) · get_code("f5087556ea112a96")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_top_k_pairs Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/metrics.py
pointer only (licence: NONE) · get_code("f1a0fad179772085")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

initialize_model Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/cem/experiments/cbm_models.py
pointer only (licence: NONE) · get_code("b18555b57615e2e7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

row_to_fix Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/concept_vectors.py
pointer only (licence: NONE) · get_code("9101ea653bd170ba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

stability_metric Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/src/metrics.py
pointer only (licence: NONE) · get_code("fd02fb27bc4d86b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

train Not yet run
unverified (harvested, no recorded run)
naveenr414/Concept-Learning/cem/experiments/cbm_models.py
pointer only (licence: NONE) · get_code("6810adb2ac653d75")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, naveenr414/Concept-Learning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 28 samples lifted from this paper's linked repositories, 28 carry a function identity and 0 do not. Of the 27 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 27 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.18217")
get_code_for_paper("2405.18217")
have("2405.18217")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.18217.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.18217.svg)](https://syntology.ai/paper/2405.18217)

Connect an agent — have() is free.