{"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/diffusion-based-adversarial-purification-for","title":"Robust Physics-based Deep MRI Reconstruction Via Diffusion Purification","arxiv_id":"2309.05794","date":"2023-09-11","proceeding":null,"authors":["Ismail Alkhouri","Shijun Liang","Rongrong Wang","Qing Qu","Saiprasad Ravishankar"],"abstract":"Deep learning (DL) techniques have been extensively employed in magnetic resonance imaging (MRI) reconstruction, delivering notable performance enhancements over traditional non-DL methods. Nonetheless, recent studies have identified vulnerabilities in these models during testing, namely, their susceptibility to (\\textit{i}) worst-case measurement perturbations and to (\\textit{ii}) variations in training/testing settings like acceleration factors and k-space sampling locations. This paper addresses the robustness challenges by leveraging diffusion models. In particular, we present a robustification strategy that improves the resilience of DL-based MRI reconstruction methods by utilizing pretrained diffusion models as noise purifiers. In contrast to conventional robustification methods for DL-based MRI reconstruction, such as adversarial training (AT), our proposed approach eliminates the need to tackle a minimax optimization problem. It only necessitates fine-tuning on purified examples. Our experimental results highlight the efficacy of our approach in mitigating the aforementioned instabilities when compared to leading robustification approaches for deep MRI reconstruction, including AT and randomized smoothing.","url_abs":"https://arxiv.org/abs/2309.05794v2","url_pdf":"https://arxiv.org/pdf/2309.05794v2.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":"diffusion-based-adversarial-purification-for","repo_url":"https://github.com/sjames40/adversarial-purification-for-mri","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"adversarial-defense","task_name":"Adversarial Defense"},{"task_slug":"image-reconstruction","task_name":"Image Reconstruction"},{"task_slug":"mri-reconstruction","task_name":"MRI Reconstruction"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2309.05794","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2309.05794"}},"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/sjames40/adversarial-purification-for-mri","reach":null}],"summary":{"ran_violates":1,"ran_draft_wrong":5,"ran_fixture":1},"by_repo_kind":{"official":{"samples":7,"ran":7,"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":"6486015d4eabac72","entry":"complex_from_ri","repo":"sjames40/adversarial-purification-for-mri","repo_kind":"official","path":"rodio_purify.py","file_url":"https://github.com/sjames40/adversarial-purification-for-mri/blob/HEAD/rodio_purify.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6486015d4eabac72"}},{"code_sha256_prefix":"a36ce1140a585a1e","entry":"device_and_ids","repo":"sjames40/adversarial-purification-for-mri","repo_kind":"official","path":"train_MoDL.py","file_url":"https://github.com/sjames40/adversarial-purification-for-mri/blob/HEAD/train_MoDL.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a36ce1140a585a1e"}},{"code_sha256_prefix":"c73083a6d64c0e7f","entry":"method_name","repo":"sjames40/adversarial-purification-for-mri","repo_kind":"official","path":"evaluate_modl.py","file_url":"https://github.com/sjames40/adversarial-purification-for-mri/blob/HEAD/evaluate_modl.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c73083a6d64c0e7f"}},{"code_sha256_prefix":"fd8fa3fc216d385b","entry":"ri_from_complex","repo":"sjames40/adversarial-purification-for-mri","repo_kind":"official","path":"rodio_purify.py","file_url":"https://github.com/sjames40/adversarial-purification-for-mri/blob/HEAD/rodio_purify.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fd8fa3fc216d385b"}},{"code_sha256_prefix":"3abeaeb495c8f003","entry":"sha256_file","repo":"sjames40/adversarial-purification-for-mri","repo_kind":"official","path":"rodio_purify.py","file_url":"https://github.com/sjames40/adversarial-purification-for-mri/blob/HEAD/rodio_purify.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3abeaeb495c8f003"}},{"code_sha256_prefix":"6066dfdbfad67c16","entry":"state_dict_from_checkpoint","repo":"sjames40/adversarial-purification-for-mri","repo_kind":"official","path":"train_MoDL.py","file_url":"https://github.com/sjames40/adversarial-purification-for-mri/blob/HEAD/train_MoDL.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6066dfdbfad67c16"}},{"code_sha256_prefix":"093d804309b5a998","entry":"summarize","repo":"sjames40/adversarial-purification-for-mri","repo_kind":"official","path":"evaluate_modl.py","file_url":"https://github.com/sjames40/adversarial-purification-for-mri/blob/HEAD/evaluate_modl.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"093d804309b5a998"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}