{"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/seeing-beyond-the-brain-conditional-diffusion","title":"Seeing Beyond the Brain: Conditional Diffusion Model with Sparse Masked Modeling for Vision Decoding","arxiv_id":"2211.06956","date":"2022-11-13","proceeding":"CVPR 2023 1","authors":["Zijiao Chen","Jiaxin Qing","Tiange Xiang","Wan Lin Yue","Juan Helen Zhou"],"abstract":"Decoding visual stimuli from brain recordings aims to deepen our understanding of the human visual system and build a solid foundation for bridging human and computer vision through the Brain-Computer Interface. However, reconstructing high-quality images with correct semantics from brain recordings is a challenging problem due to the complex underlying representations of brain signals and the scarcity of data annotations. In this work, we present MinD-Vis: Sparse Masked Brain Modeling with Double-Conditioned Latent Diffusion Model for Human Vision Decoding. Firstly, we learn an effective self-supervised representation of fMRI data using mask modeling in a large latent space inspired by the sparse coding of information in the primary visual cortex. Then by augmenting a latent diffusion model with double-conditioning, we show that MinD-Vis can reconstruct highly plausible images with semantically matching details from brain recordings using very few paired annotations. We benchmarked our model qualitatively and quantitatively; the experimental results indicate that our method outperformed state-of-the-art in both semantic mapping (100-way semantic classification) and generation quality (FID) by 66% and 41% respectively. An exhaustive ablation study was also conducted to analyze our framework.","url_abs":"https://arxiv.org/abs/2211.06956v3","url_pdf":"https://arxiv.org/pdf/2211.06956v3.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":"seeing-beyond-the-brain-conditional-diffusion","repo_url":"https://github.com/zjc062/mind-vis","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"brain-computer-interface","task_name":"Brain Computer Interface"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"},{"method_slug":"latent-diffusion-model","method_name":"Latent Diffusion Model"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2211.06956","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.06956"}},"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/zjc062/mind-vis","reach":null}],"summary":{"ran_fixture":2,"ran_draft_wrong":2,"ran_violates":1},"by_repo_kind":{"official":{"samples":5,"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":0,"samples":[{"code_sha256_prefix":"50b349c29d2d27e5","entry":"channel_last","repo":"zjc062/mind-vis","repo_kind":"official","path":"code/stageB_ldm_finetune.py","file_url":"https://github.com/zjc062/mind-vis/blob/HEAD/code/stageB_ldm_finetune.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"50b349c29d2d27e5"}},{"code_sha256_prefix":"83a0978611193dd9","entry":"fmri_transform","repo":"zjc062/mind-vis","repo_kind":"official","path":"code/stageA1_mbm_pretrain.py","file_url":"https://github.com/zjc062/mind-vis/blob/HEAD/code/stageA1_mbm_pretrain.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"83a0978611193dd9"}},{"code_sha256_prefix":"3cabbd740641e448","entry":"normalize","repo":"zjc062/mind-vis","repo_kind":"official","path":"code/gen_eval.py","file_url":"https://github.com/zjc062/mind-vis/blob/HEAD/code/gen_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3cabbd740641e448"}},{"code_sha256_prefix":"91f9d3667fbabcc0","entry":"to_image","repo":"zjc062/mind-vis","repo_kind":"official","path":"code/stageB_ldm_finetune.py","file_url":"https://github.com/zjc062/mind-vis/blob/HEAD/code/stageB_ldm_finetune.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"91f9d3667fbabcc0"}},{"code_sha256_prefix":"8d302dbb95d627c0","entry":"update_config","repo":"zjc062/mind-vis","repo_kind":"official","path":"code/stageA1_mbm_pretrain.py","file_url":"https://github.com/zjc062/mind-vis/blob/HEAD/code/stageA1_mbm_pretrain.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8d302dbb95d627c0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}