Papers › Assessing Reliability of Symbol Detection in Concept Bottleneck Models

Assessing Reliability of Symbol Detection in Concept Bottleneck Models

15 Jun 2026arXiv:2606.16535added by Syntology

Javier Fumanal-Idocin, Javier Andreu-Perez

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

Concept Bottleneck Models (CBMs) are a relevant tool for explainable Artificial Intelligence because they make their predictions through human-interpretable symbols. However, high task accuracy does not guarantee that these symbols are detected faithfully: jointly trained CBMs may encode task-specific shortcuts in the bottleneck, making their explanations unreliable. In this paper, we study concept-detection reliability by swapping independently trained concept detectors and classification heads that share the same symbolic vocabulary. We use the resulting performance degradation, concept-level metrics, and symbol-wise uncertainty estimates to identify concepts that are especially prone to spurious firing. Finally, we propose a reliability-aware training strategy in which a shared concept detector is optimized with multiple classification heads and penalized for relying on globally or instance-wise unreliable symbols. On CUB-200-2011 with full concept supervision, detectors and heads are almost freely interchangeable (swap drop below one accuracy point, relative retention above 99%, and no concept detected below chance), whereas on a controlled synthetic task we show that, as the concept-supervision weight is reduced, models keep near-perfect task accuracy while swapped accuracy and agreement with the ground-truth concepts collapse to chance. Our reliability-aware training substantially mitigates this leakage, roughly doubling swap accuracy in the leaky regime.

PaperPDFCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 50 code samples harvested from 1 repository linked to this paper: 22 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 1 honoured, 2 violated, 3 with no contract checked; 16 where Syntology's instrument failed) · 28 unverified. Where Syntology's instrument failed: 8 where our contract draft was wrong; 8 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 50 samples from 1 repository, 22 ran (6 with no instrument failure; 16 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

Fuminides/cbm_sanity found in paper text by SyntologySyntology: 50 samples, 22 ran (16 instrument-failed) · 28 unverified 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

50 samples harvested: 22 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 1 honoured, 2 violated, 3 with no contract checked; 16 where Syntology's instrument failed) · 28 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
2ran · violated contract
8ran · our draft was wrong
8ran; the contract check could not run
3ran
28unverified

Licence: 0 of the 50 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 Fuminides/cbm_sanity. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

Fuminides/cbm_sanity found in paper text by Syntology 50 samples, 22 ran (16 instrument-failed) · 28 unverified
_backend_types src/symbol_sanity/multihead.py ran MIT (permissive) · 05b68467cd380d75 · report fixture: returned SimpleNamespace · level recorded 2026-09-22
_build_inception src/symbol_sanity/multihead.py ran · our draft was wrong MIT (permissive) · 1f5842a4f2bcadb8 · report fixture: signature backend:SimpleNamespace/0/?, spec:OfficialCBMSpec/0/?, include_class_output:bool/0/bool, n_attributes:NoneType/0/? · returned MockInceptionOutputsAdapter · level recorded 2026-09-22
_check_modern_dependencies src/symbol_sanity/multihead.py ran MIT (permissive) · 7bb6ef93aae0743c · report fixture: returned dict · level recorded 2026-09-22
_correlation_pair src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 6110700a0609dd3d · report fixture: signature xs:list/1/float, ys:list/1/float · returned dict · level recorded 2026-09-22
_import_version src/symbol_sanity/multihead.py ran · our draft was wrong fingerprinted MIT (permissive) · af663a92cee66539 · report fixture: signature module_name:str/0/str · returned str · level recorded 2026-09-22
_mean src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 3d2fbd9335073f2b · report fixture: signature values:list/1/float · returned float · level recorded 2026-09-22
_parse_version src/symbol_sanity/multihead.py ran · honoured contract fingerprinted MIT (permissive) · 3f4c4edcbefbe540 · report fixture: signature version:str/0/str · returned tuple · level recorded 2026-09-22
_pearson src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 4ff74503a9262227 · report fixture: signature xs:list/1/float, ys:list/1/float · returned float · level recorded 2026-09-22
_ranks src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 1bc4f143b790d15c · report fixture: signature values:list/1/float · returned list · level recorded 2026-09-22
_select_worked_examples src/symbol_sanity/multihead.py ran · our draft was wrong MIT (permissive) · bd9febe8425d42c2 · report fixture: signature rows:list/1/dict, concept_names:list/1/str, member_probs:Tensor/3/float, symbol_epistemic:Tensor/2/float, delta:Tensor/2/float, labels_true:Tensor/1/int, labels_pred:Tensor/1/int, label_epistemic:Tensor/1/float, cross_entropy:Tensor/1/float, num_examples:int/0/int · returned list · level recorded 2026-09-22
_train_or_load src/symbol_sanity/multihead.py ran · our draft was wrong MIT (permissive) · d31a583fa2d77eec · report fixture: signature seed_dir:PosixPath/0/?, train_fn:callable/0/? · returned dict · level recorded 2026-09-22
accuracy in 872 papers
census: 8 implementations from 7 papers, 7 distinct outputs across 6 buckets, one shared input per bucket
src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 3fd33fdbe6d31096 · report fixture: signature y_true:list/1/int, y_pred:list/1/int · returned float · level recorded 2026-09-22
balanced_accuracy src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 86aeb9d545c9f0ea · report fixture: signature y_true:list/1/int, y_pred:list/1/int · returned float · level recorded 2026-09-22
concept_agreement src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) MIT (permissive) · 0c8acc79b3549d66 · report fixture: signature concepts_a:list/1/list, concepts_b:list/1/list · returned float · level recorded 2026-09-22
image_to_tensor in 14 papers src/symbol_sanity/multihead.py ran · our draft was wrong MIT (permissive) · 90ca77556bde0da2 · report fixture: signature image:Image/0/?, image_size:int/0/int · returned Tensor · level recorded 2026-09-22
load_dataset in 276 papers src/symbol_sanity/multihead.py ran · our draft was wrong MIT (permissive) · 1291306b127cc274 · report fixture: signature dataset_dir:PosixPath/0/? · returned tuple · level recorded 2026-09-22
loader_num_workers src/symbol_sanity/multihead.py ran MIT (permissive) · e704f1f5911df6f0 · report fixture: returned int · level recorded 2026-09-22
macro_f1 in 5 papers src/symbol_sanity/multihead.py ran; the contract check could not run (RAISES) fingerprinted MIT (permissive) · 19b09245ff0215ab · report fixture: signature y_true:list/1/int, y_pred:list/1/int, num_classes:int/0/int · returned float · level recorded 2026-09-22
mean in 84 papers src/symbol_sanity/multihead.py ran · violated contract fingerprinted MIT (permissive) · 21eab06f5c9e22db · report fixture: signature values:list/1/float · returned float · level recorded 2026-09-22
read_json in 250 papers src/symbol_sanity/multihead.py ran · our draft was wrong MIT (permissive) · 6194c9d9fea7914e · report fixture: signature path:PosixPath/0/? · returned dict · level recorded 2026-09-22
read_jsonl in 136 papers src/symbol_sanity/multihead.py ran · our draft was wrong MIT (permissive) · 5b2dd5de02dc3211 · report fixture: signature path:PosixPath/0/? · returned list · level recorded 2026-09-22
std in 5 papers src/symbol_sanity/multihead.py ran · violated contract fingerprinted MIT (permissive) · bf5a04d4dff4a8bb · report fixture: signature values:list/1/float · returned float · level recorded 2026-09-22
OfficialCBMSpec src/symbol_sanity/multihead.py unverified MIT (permissive) · 4d90687bfd1ec684 · report
OfficialCBMUnavailableError src/symbol_sanity/multihead.py unverified MIT (permissive) · 62e93112c77c6e15 · report
_IndexedDataset src/symbol_sanity/multihead.py unverified MIT (permissive) · 4e7f99dec1df9c8f · report
_SyntheticTorchDataset src/symbol_sanity/multihead.py unverified MIT (permissive) · 76e4fcb97f60cb27 · report
_evaluate_arm src/symbol_sanity/multihead.py unverified MIT (permissive) · 099c48a6bd9021b7 · report
_evaluate_head_on_probabilities src/symbol_sanity/multihead.py unverified MIT (permissive) · f3bb60951188f757 · report
_freeze_attribution src/symbol_sanity/multihead.py unverified MIT (permissive) · 40bbbc876fcc188f · report
_make_indexed_loader src/symbol_sanity/multihead.py unverified MIT (permissive) · 40ba29def8c13662 · report
_require_min_version src/symbol_sanity/multihead.py unverified MIT (permissive) · 7bbe11cb7c432df2 · report
_set_seed src/symbol_sanity/multihead.py unverified MIT (permissive) · f942f6dd41fcef41 · report
_write_per_concept_csv src/symbol_sanity/multihead.py unverified MIT (permissive) · e607c241189e6aff · report
_write_per_example_csv src/symbol_sanity/multihead.py unverified MIT (permissive) · 64747b5cf66b9ef2 · report
binary_entropy in 8 papers src/symbol_sanity/multihead.py unverified MIT (permissive) · ad6623bc2b9c1140 · report
build_official_cbm src/symbol_sanity/multihead.py unverified MIT (permissive) · aa24f77002a6637c · report
categorical_entropy in 5 papers src/symbol_sanity/multihead.py unverified MIT (permissive) · b292d0b5fb66705e · report
collect_detector_probabilities src/symbol_sanity/multihead.py unverified MIT (permissive) · ab4a7782aaa4b530 · report
collect_ensemble_probabilities src/symbol_sanity/multihead.py unverified MIT (permissive) · 414fae016fe62c04 · report
compute_concept_reliability_scores src/symbol_sanity/multihead.py unverified MIT (permissive) · 1fbd1aff16d89e79 · report
compute_epistemic_table src/symbol_sanity/multihead.py unverified MIT (permissive) · f2c05cab55833f58 · report
evaluate_ensemble_uncertainty src/symbol_sanity/multihead.py unverified MIT (permissive) · 6bbb04c402acd085 · report
evaluate_official_oracle_head src/symbol_sanity/multihead.py unverified MIT (permissive) · 5513ebaa5c482fb7 · report
label_uncertainty_decomposition src/symbol_sanity/multihead.py unverified MIT (permissive) · cce69bf0a4d6dce3 · report
member_label_distributions src/symbol_sanity/multihead.py unverified MIT (permissive) · 22a20563e26c2034 · report
require_concept_names src/symbol_sanity/multihead.py unverified MIT (permissive) · 627fbae39944a82e · report
run_reliability_comparison_experiment src/symbol_sanity/multihead.py unverified MIT (permissive) · 4b63d5baf9bf49f0 · report
symbol_uncertainty_decomposition src/symbol_sanity/multihead.py unverified MIT (permissive) · 861d25f8551b920a · report
train_multihead_cbm src/symbol_sanity/multihead.py unverified MIT (permissive) · dce3f8909da35268 · report
write_json in 11 papers src/symbol_sanity/multihead.py unverified MIT (permissive) · f9188461672c5c9f · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for reliability-aware training strategy (graph method: reliability-aware training strategy). 50 bricks; individually on a fixture: 22 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 1 honoured, 2 violated, 3 with no contract checked; 16 where Syntology's instrument failed) · 28 unverified. The assembly has not been run end-to-end.

  1. run_reliability_comparison_experiment entry · level 0 · unverified · 4b63d5baf9bf49f0
  2. _evaluate_arm metric · level 0 · unverified · 099c48a6bd9021b7
  3. _train_or_load helper · level 1 · ran · our draft was wrong · d31a583fa2d77eec
  4. compute_concept_reliability_scores metric · level 0 · unverified · 1fbd1aff16d89e79
  5. compute_epistemic_table helper · level 0 · unverified · f2c05cab55833f58
  6. read_json helper · level 1 · ran · our draft was wrong · 6194c9d9fea7914e
  7. train_multihead_cbm model · level 0 · unverified · dce3f8909da35268
  8. write_json helper · level 0 · unverified · f9188461672c5c9f
  9. _evaluate_head_on_probabilities helper · level 0 · unverified · f3bb60951188f757
  10. _mean helper · level 1 · ran; the contract check could not run (RAISES) · 3d2fbd9335073f2b
  11. collect_detector_probabilities helper · level 0 · unverified · ab4a7782aaa4b530
  12. concept_agreement helper · level 1 · ran; the contract check could not run (RAISES) · 0c8acc79b3549d66
  13. evaluate_ensemble_uncertainty helper · level 0 · unverified · 6bbb04c402acd085
  14. evaluate_official_oracle_head helper · level 0 · unverified · 5513ebaa5c482fb7
  15. load_dataset helper · level 1 · ran · our draft was wrong · 1291306b127cc274
  16. require_concept_names helper · level 0 · unverified · 627fbae39944a82e
  17. balanced_accuracy helper · level 1 · ran; the contract check could not run (RAISES) · 86aeb9d545c9f0ea
  18. collect_ensemble_probabilities helper · level 0 · unverified · 414fae016fe62c04
  19. symbol_uncertainty_decomposition helper · level 0 · unverified · 861d25f8551b920a
  20. OfficialCBMSpec helper · level 0 · unverified · 4d90687bfd1ec684
  21. _make_indexed_loader data_transform · level 0 · unverified · 40ba29def8c13662
  22. _set_seed helper · level 0 · unverified · f942f6dd41fcef41
  23. build_official_cbm helper · level 0 · unverified · aa24f77002a6637c
  24. accuracy helper · level 1 · ran; the contract check could not run (RAISES) · 3fd33fdbe6d31096
  25. macro_f1 helper · level 1 · ran; the contract check could not run (RAISES) · 19b09245ff0215ab
  26. _correlation_pair helper · level 1 · ran; the contract check could not run (RAISES) · 6110700a0609dd3d
  27. _freeze_attribution helper · level 0 · unverified · 40bbbc876fcc188f
  28. _select_worked_examples helper · level 1 · ran · our draft was wrong · bd9febe8425d42c2
  29. _write_per_concept_csv helper · level 0 · unverified · e607c241189e6aff
  30. _write_per_example_csv helper · level 0 · unverified · 64747b5cf66b9ef2
  31. label_uncertainty_decomposition helper · level 0 · unverified · cce69bf0a4d6dce3
  32. member_label_distributions helper · level 0 · unverified · 22a20563e26c2034
  33. read_jsonl helper · level 1 · ran · our draft was wrong · 5b2dd5de02dc3211
  34. binary_entropy helper · level 0 · unverified · ad6623bc2b9c1140
  35. _IndexedDataset helper · level 0 · unverified · 4e7f99dec1df9c8f
  36. _SyntheticTorchDataset helper · level 0 · unverified · 76e4fcb97f60cb27
  37. loader_num_workers helper · level 1 · ran · e704f1f5911df6f0
  38. _backend_types helper · level 1 · ran · 05b68467cd380d75
  39. _build_inception helper · level 1 · ran · our draft was wrong · 1f5842a4f2bcadb8
  40. _pearson helper · level 1 · ran; the contract check could not run (RAISES) · 4ff74503a9262227
  41. _ranks helper · level 1 · ran; the contract check could not run (RAISES) · 1bc4f143b790d15c
  42. categorical_entropy helper · level 0 · unverified · b292d0b5fb66705e
  43. image_to_tensor helper · level 1 · ran · our draft was wrong · 90ca77556bde0da2
  44. _check_modern_dependencies helper · level 1 · ran · 7bb6ef93aae0743c
  45. mean helper · level 1 · ran · violated contract · 21eab06f5c9e22db
  46. std helper · level 1 · ran · violated contract · bf5a04d4dff4a8bb
  47. _import_version helper · level 1 · ran · our draft was wrong · af663a92cee66539
  48. _require_min_version helper · level 0 · unverified · 7bbe11cb7c432df2
  49. OfficialCBMUnavailableError helper · level 0 · unverified · 62e93112c77c6e15
  50. _parse_version helper · level 1 · ran · honoured contract · 3f4c4edcbefbe540

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2606.16535") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.16535, 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