Papers › Concept Bottleneck Models

Concept Bottleneck Models

9 Jul 2020ICML 2020 1arXiv:2007.04612archive 2025-07-28

Pang Wei Koh, Thao Nguyen, Yew Siang Tang, Stephen Mussmann, Emma Pierson, Been Kim, Percy Liang

We seek to learn models that we can interact with using high-level concepts: if the model did not think there was a bone spur in the x-ray, would it still predict severe arthritis? State-of-the-art models today do not typically support the manipulation of concepts like "the existence of bone spurs", as they are trained end-to-end to go directly from raw input (e.g., pixels) to output (e.g., arthritis severity). We revisit the classic idea of first predicting concepts that are provided at training time, and then using these concepts to predict the label. By construction, we can intervene on these concept bottleneck models by editing their predicted concept values and propagating these changes to the final prediction. On x-ray grading and bird identification, concept bottleneck models achieve competitive accuracy with standard end-to-end models, while enabling interpretation in terms of high-level clinical concepts ("bone spurs") or bird attributes ("wing color"). These models also allow for richer human-model interaction: accuracy improves significantly if we can correct model mistakes on concepts at test time.

PaperPDFConference PDFCodeCode 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="2007.04612")

Code

Syntology Ran 5 of 19 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · our draft was wrong; 2 ran · fixture could not drive it.

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

yewsiang/ConceptBottleneck officialmentioned in paperpytorchMIT report
mateoespinosa/cem mentioned on GitHubpytorch report
mateoespinosa/concept-quality mentioned on GitHubtf 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

19 samples harvested; 5 ran; 1 honoured the contract we drafted; 14 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.

1ran · honoured contract
1ran · violated contract
1ran · our draft was wrong
2ran · fixture could not drive it
14unverified

Licence: 0 of the 19 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

assign_value_to_bins yewsiang/ConceptBottleneck/analysis.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 6f6a066db48a5839 · report
convert_continuous_back_to_ordinal yewsiang/ConceptBottleneck/analysis.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 7d6319bafb29a83d · report
assess_performance yewsiang/ConceptBottleneck/analysis.py official repository unverified MIT (permissive) · 81e8146056025ecb · report
combine_and_mask yewsiang/ConceptBottleneck/CUB/gen_cub_synthetic.py official repository unverified MIT (permissive) · fe49a67591e2b166 · report
crop_and_resize yewsiang/ConceptBottleneck/CUB/gen_cub_synthetic.py official repository unverified MIT (permissive) · e2f8b1a98dec9723 · report
extract_data yewsiang/ConceptBottleneck/CUB/data_processing.py official repository unverified MIT (permissive) · fb9f011b98a5be6f · report
get_attr_groups yewsiang/ConceptBottleneck/CUB/generate_new_data.py official repository unverified MIT (permissive) · 7363ec8e1dc1e2bc · report
get_conv_layer_substring yewsiang/ConceptBottleneck/OAI/template_model.py official repository unverified MIT (permissive) · f799ff74497d86d8 · report
get_places yewsiang/ConceptBottleneck/CUB/gen_cub_synthetic.py official repository unverified MIT (permissive) · 55a1a81bf8682a6e · report
inception_v3 yewsiang/ConceptBottleneck/CUB/template_model.py official repository unverified MIT (permissive) · 3adfc15ac6dd7d81 · report
inference yewsiang/ConceptBottleneck/CUB/generate_new_data.py official repository unverified MIT (permissive) · 11b5a291d1cf99bd · report
inference_no_grad yewsiang/ConceptBottleneck/CUB/generate_new_data.py official repository unverified MIT (permissive) · 03eae1235a58b502 · report
parse_arguments yewsiang/ConceptBottleneck/CUB/hyperopt.py official repository unverified MIT (permissive) · d65244603db1c967 · report
find_max_alignment mateoespinosa/concept-quality/concepts_xai/evaluation/metrics/oracle.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · c55626b02da843fc · report
max_alignment_matrix mateoespinosa/concept-quality/concepts_xai/evaluation/metrics/oracle.py community (archive-listed) ran · violated contract fingerprinted Apache-2.0 (permissive) · 4f3310d325613028 · report
niche_completeness mateoespinosa/concept-quality/concepts_xai/evaluation/metrics/niching.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 8095a4f6f683e5f0 · report
concept_similarity_matrix mateoespinosa/concept-quality/concepts_xai/evaluation/metrics/oracle.py community (archive-listed) unverified Apache-2.0 (permissive) · af4bce600242a9fb · report
niche_completeness_ratio mateoespinosa/concept-quality/concepts_xai/evaluation/metrics/niching.py community (archive-listed) unverified Apache-2.0 (permissive) · 099f946666b64813 · report
niche_impurity mateoespinosa/concept-quality/concepts_xai/evaluation/metrics/niching.py community (archive-listed) unverified Apache-2.0 (permissive) · b34032fc514199d9 · 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