{"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/exploiting-interpretable-capabilities-with","title":"Exploiting Interpretable Capabilities with Concept-Enhanced Diffusion and Prototype Networks","arxiv_id":"2410.18705","date":"2024-10-24","proceeding":null,"authors":["Alba Carballo-Castro","Sonia Laguna","Moritz Vandenhirtz","Julia E. Vogt"],"abstract":"Concept-based machine learning methods have increasingly gained importance due to the growing interest in making neural networks interpretable. However, concept annotations are generally challenging to obtain, making it crucial to leverage all their prior knowledge. By creating concept-enriched models that incorporate concept information into existing architectures, we exploit their interpretable capabilities to the fullest extent. In particular, we propose Concept-Guided Conditional Diffusion, which can generate visual representations of concepts, and Concept-Guided Prototype Networks, which can create a concept prototype dataset and leverage it to perform interpretable concept prediction. These results open up new lines of research by exploiting pre-existing information in the quest for rendering machine learning more human-understandable.","url_abs":"https://arxiv.org/abs/2410.18705v2","url_pdf":"https://arxiv.org/pdf/2410.18705v2.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":"exploiting-interpretable-capabilities-with","repo_url":"https://github.com/acarballocastro/ConceptEnhanced","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.18705","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.18705"}},"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/acarballocastro/ConceptEnhanced","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":11},"by_repo_kind":{"official":{"samples":11,"ran":0,"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":0,"samples":[{"code_sha256_prefix":"7ff7e1347c2cd6cb","entry":"cramers_v","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGProtoPNet/utils/CUB_correlation.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGProtoPNet/utils/CUB_correlation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7ff7e1347c2cd6cb"}},{"code_sha256_prefix":"82a30936aad6d427","entry":"densenet121_features","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGProtoPNet/utils/densenet_features.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGProtoPNet/utils/densenet_features.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"82a30936aad6d427"}},{"code_sha256_prefix":"cf20cbc234ba341a","entry":"densenet169_features","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGProtoPNet/utils/densenet_features.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGProtoPNet/utils/densenet_features.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cf20cbc234ba341a"}},{"code_sha256_prefix":"3803a12204298d72","entry":"densenet201_features","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGProtoPNet/utils/densenet_features.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGProtoPNet/utils/densenet_features.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3803a12204298d72"}},{"code_sha256_prefix":"931f67e0ca8b7337","entry":"generate_concept_matrix","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGCondDiff/utils.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGCondDiff/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"931f67e0ca8b7337"}},{"code_sha256_prefix":"1a92b9a476932efd","entry":"get_concept_groups","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGProtoPNet/utils/CUB_correlation.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGProtoPNet/utils/CUB_correlation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1a92b9a476932efd"}},{"code_sha256_prefix":"8ed1e4f5ec9412d1","entry":"get_data","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGCondDiff/utils.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGCondDiff/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ed1e4f5ec9412d1"}},{"code_sha256_prefix":"81197ee39f87dc5f","entry":"get_empirical_covariance","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGProtoPNet/utils/CUB_correlation.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGProtoPNet/utils/CUB_correlation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"81197ee39f87dc5f"}},{"code_sha256_prefix":"af6b550b075c56c0","entry":"one_batch","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGCondDiff/utils.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGCondDiff/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"af6b550b075c56c0"}},{"code_sha256_prefix":"4b602b0867bad430","entry":"one_param","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGCondDiff/modules.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGCondDiff/modules.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4b602b0867bad430"}},{"code_sha256_prefix":"5cea6959c9c2a71b","entry":"train_test_split_AwA","repo":"acarballocastro/ConceptEnhanced","repo_kind":"official","path":"CGProtoPNet/datasets/AwA2_dataset.py","file_url":"https://github.com/acarballocastro/ConceptEnhanced/blob/HEAD/CGProtoPNet/datasets/AwA2_dataset.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5cea6959c9c2a71b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}