{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/learning-bottleneck-concepts-in-image","title":"Learning Bottleneck Concepts in Image Classification","arxiv_id":"2304.10131","date":"2023-04-20","proceeding":"CVPR 2023 1","authors":["Bowen Wang","Liangzhi Li","Yuta Nakashima","Hajime Nagahara"],"abstract":"Interpreting and explaining the behavior of deep neural networks is critical for many tasks. Explainable AI provides a way to address this challenge, mostly by providing per-pixel relevance to the decision. Yet, interpreting such explanations may require expert knowledge. Some recent attempts toward interpretability adopt a concept-based framework, giving a higher-level relationship between some concepts and model decisions. This paper proposes Bottleneck Concept Learner (BotCL), which represents an image solely by the presence/absence of concepts learned through training over the target task without explicit supervision over the concepts. It uses self-supervision and tailored regularizers so that learned concepts can be human-understandable. Using some image classification tasks as our testbed, we demonstrate BotCL's potential to rebuild neural networks for better interpretability. Code is available at https://github.com/wbw520/BotCL and a simple demo is available at https://botcl.liangzhili.com/.","url_abs":"https://arxiv.org/abs/2304.10131v1","url_pdf":"https://arxiv.org/pdf/2304.10131v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"learning-bottleneck-concepts-in-image","repo_url":"https://github.com/wbw520/botcl","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"classification-1","task_name":"Classification"},{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2304.10131","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2304.10131"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wbw520/botcl","reach":null}],"summary":{"ran":4,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"official":{"samples":7,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":7,"samples":[{"code_sha256_prefix":"ffd5f53fd212a9c4","entry":"Aggregate","repo":"wbw520/botcl","repo_kind":"official","path":"model/reconstruct/model_main.py","file_url":"https://github.com/wbw520/botcl/blob/HEAD/model/reconstruct/model_main.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ffd5f53fd212a9c4"}},{"code_sha256_prefix":"51e67fb8178896f2","entry":"PositionEmbeddingLearned","repo":"wbw520/botcl","repo_kind":"official","path":"model/reconstruct/model_main.py","file_url":"https://github.com/wbw520/botcl/blob/HEAD/model/reconstruct/model_main.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"51e67fb8178896f2"}},{"code_sha256_prefix":"ac35c5d9fb6e692c","entry":"PositionEmbeddingSine","repo":"wbw520/botcl","repo_kind":"official","path":"model/reconstruct/model_main.py","file_url":"https://github.com/wbw520/botcl/blob/HEAD/model/reconstruct/model_main.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ac35c5d9fb6e692c"}},{"code_sha256_prefix":"056d1bfd4100a453","entry":"ScouterAttention","repo":"wbw520/botcl","repo_kind":"official","path":"model/reconstruct/model_main.py","file_url":"https://github.com/wbw520/botcl/blob/HEAD/model/reconstruct/model_main.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"056d1bfd4100a453"}},{"code_sha256_prefix":"59886ab4f3558c49","entry":"build_position_encoding","repo":"wbw520/botcl","repo_kind":"official","path":"model/reconstruct/model_main.py","file_url":"https://github.com/wbw520/botcl/blob/HEAD/model/reconstruct/model_main.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"59886ab4f3558c49"}},{"code_sha256_prefix":"7d857bbb3ae3ab22","entry":"ConceptAutoencoder","repo":"wbw520/botcl","repo_kind":"official","path":"model/reconstruct/model_main.py","file_url":"https://github.com/wbw520/botcl/blob/HEAD/model/reconstruct/model_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7d857bbb3ae3ab22"}},{"code_sha256_prefix":"5a4183f33d05632f","entry":"vis","repo":"wbw520/botcl","repo_kind":"official","path":"model/reconstruct/model_main.py","file_url":"https://github.com/wbw520/botcl/blob/HEAD/model/reconstruct/model_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5a4183f33d05632f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}