{"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/brain-decodes-deep-nets","title":"Brain Decodes Deep Nets","arxiv_id":"2312.01280","date":"2023-12-03","proceeding":"CVPR 2024 1","authors":["Huzheng Yang","James Gee","Jianbo Shi"],"abstract":"We developed a tool for visualizing and analyzing large pre-trained vision models by mapping them onto the brain, thus exposing their hidden inside. Our innovation arises from a surprising usage of brain encoding: predicting brain fMRI measurements in response to images. We report two findings. First, explicit mapping between the brain and deep-network features across dimensions of space, layers, scales, and channels is crucial. This mapping method, FactorTopy, is plug-and-play for any deep-network; with it, one can paint a picture of the network onto the brain (literally!). Second, our visualization shows how different training methods matter: they lead to remarkable differences in hierarchical organization and scaling behavior, growing with more data or network capacity. It also provides insight into fine-tuning: how pre-trained models change when adapting to small datasets. We found brain-like hierarchically organized network suffer less from catastrophic forgetting after fine-tuned.","url_abs":"https://arxiv.org/abs/2312.01280v2","url_pdf":"https://arxiv.org/pdf/2312.01280v2.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":"brain-decodes-deep-nets","repo_url":"https://github.com/huzeyann/braindecodesdeepnets","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2312.01280","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.01280"}},"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/huzeyann/braindecodesdeepnets","reach":{"status":"ok"}}],"summary":{"ran":5,"unverified":3},"by_repo_kind":{"official":{"samples":8,"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":8,"samples":[{"code_sha256_prefix":"acecfbc4f1f4ca27","entry":"ent","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/plot_utils.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/plot_utils.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":"acecfbc4f1f4ca27"}},{"code_sha256_prefix":"95766f4df66207ac","entry":"ent_transform","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/plot_utils.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/plot_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"95766f4df66207ac"}},{"code_sha256_prefix":"51ea6f792d6f49b2","entry":"point_pe","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/position_encoding.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/position_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"51ea6f792d6f49b2"}},{"code_sha256_prefix":"ff254abd63db71ff","entry":"point_position_encoding","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/position_encoding.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/position_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ff254abd63db71ff"}},{"code_sha256_prefix":"5e8e95c8d53ceb36","entry":"sinusoidal","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/position_encoding.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/position_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5e8e95c8d53ceb36"}},{"code_sha256_prefix":"e9d9433d6eed70dd","entry":"cluster_channels","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/clustering.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/clustering.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":"e9d9433d6eed70dd"}},{"code_sha256_prefix":"ca1ac6d1a45accfb","entry":"gpu_kmeans_cluster","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/clustering.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/clustering.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":"ca1ac6d1a45accfb"}},{"code_sha256_prefix":"e0408e73f25403de","entry":"load_from_yaml","repo":"huzeyann/braindecodesdeepnets","repo_kind":"official","path":"brainnet/config.py","file_url":"https://github.com/huzeyann/braindecodesdeepnets/blob/HEAD/brainnet/config.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":"e0408e73f25403de"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}