{"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/dynadiff-single-stage-decoding-of-images-from","title":"Dynadiff: Single-stage Decoding of Images from Continuously Evolving fMRI","arxiv_id":"2505.14556","date":"2025-05-20","proceeding":null,"authors":["Marlène Careil","Yohann Benchetrit","Jean-Rémi King"],"abstract":"Brain-to-image decoding has been recently propelled by the progress in generative AI models and the availability of large ultra-high field functional Magnetic Resonance Imaging (fMRI). However, current approaches depend on complicated multi-stage pipelines and preprocessing steps that typically collapse the temporal dimension of brain recordings, thereby limiting time-resolved brain decoders. Here, we introduce Dynadiff (Dynamic Neural Activity Diffusion for Image Reconstruction), a new single-stage diffusion model designed for reconstructing images from dynamically evolving fMRI recordings. Our approach offers three main contributions. First, Dynadiff simplifies training as compared to existing approaches. Second, our model outperforms state-of-the-art models on time-resolved fMRI signals, especially on high-level semantic image reconstruction metrics, while remaining competitive on preprocessed fMRI data that collapse time. Third, this approach allows a precise characterization of the evolution of image representations in brain activity. Overall, this work lays the foundation for time-resolved brain-to-image decoding.","url_abs":"https://arxiv.org/abs/2505.14556v1","url_pdf":"https://arxiv.org/pdf/2505.14556v1.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":"dynadiff-single-stage-decoding-of-images-from","repo_url":"https://github.com/facebookresearch/dynadiff","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-reconstruction","task_name":"Image Reconstruction"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2505.14556","atlas_url":"https://app.syntology.ai/?focus=2505.14556","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2505.14556"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/facebookresearch/dynadiff","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":4,"unverified":1},"by_repo_kind":{"official":{"samples":5,"ran":4,"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":5,"samples":[{"code_sha256_prefix":"d09bf6c7c12f65f3","entry":"batch_intersection_union","repo":"facebookresearch/dynadiff","repo_kind":"official","path":"metrics/mIOU/eval_miou.py","file_url":"https://github.com/facebookresearch/dynadiff/blob/HEAD/metrics/mIOU/eval_miou.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"d09bf6c7c12f65f3"}},{"code_sha256_prefix":"f1fb897b7787acfa","entry":"batch_pix_accuracy","repo":"facebookresearch/dynadiff","repo_kind":"official","path":"metrics/mIOU/eval_miou.py","file_url":"https://github.com/facebookresearch/dynadiff/blob/HEAD/metrics/mIOU/eval_miou.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"f1fb897b7787acfa"}},{"code_sha256_prefix":"bd3ca5bbe94ef235","entry":"get_mask","repo":"facebookresearch/dynadiff","repo_kind":"official","path":"blur.py","file_url":"https://github.com/facebookresearch/dynadiff/blob/HEAD/blur.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"bd3ca5bbe94ef235"}},{"code_sha256_prefix":"de2ee01cea02bf0f","entry":"intersectionAndUnion","repo":"facebookresearch/dynadiff","repo_kind":"official","path":"metrics/mIOU/eval_miou.py","file_url":"https://github.com/facebookresearch/dynadiff/blob/HEAD/metrics/mIOU/eval_miou.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"de2ee01cea02bf0f"}},{"code_sha256_prefix":"02015a2dbd02c1de","entry":"compute_miou","repo":"facebookresearch/dynadiff","repo_kind":"official","path":"metrics/mIOU/evaluate_img_gen.py","file_url":"https://github.com/facebookresearch/dynadiff/blob/HEAD/metrics/mIOU/evaluate_img_gen.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"02015a2dbd02c1de"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}