{"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/volumetric-conditioning-module-to-control","title":"Volumetric Conditioning Module to Control Pretrained Diffusion Models for 3D Medical Images","arxiv_id":"2410.21826","date":"2024-10-29","proceeding":null,"authors":["Suhyun Ahn","Wonjung Park","Jihoon Cho","Seunghyuck Park","Jinah Park"],"abstract":"Spatial control methods using additional modules on pretrained diffusion models have gained attention for enabling conditional generation in natural images. These methods guide the generation process with new conditions while leveraging the capabilities of large models. They could be beneficial as training strategies in the context of 3D medical imaging, where training a diffusion model from scratch is challenging due to high computational costs and data scarcity. However, the potential application of spatial control methods with additional modules to 3D medical images has not yet been explored. In this paper, we present a tailored spatial control method for 3D medical images with a novel lightweight module, Volumetric Conditioning Module (VCM). Our VCM employs an asymmetric U-Net architecture to effectively encode complex information from various levels of 3D conditions, providing detailed guidance in image synthesis. To examine the applicability of spatial control methods and the effectiveness of VCM for 3D medical data, we conduct experiments under single- and multimodal conditions scenarios across a wide range of dataset sizes, from extremely small datasets with 10 samples to large datasets with 500 samples. The experimental results show that the VCM is effective for conditional generation and efficient in terms of requiring less training data and computational resources. We further investigate the potential applications for our spatial control method through axial super-resolution for medical images. Our code is available at \\url{https://github.com/Ahn-Ssu/VCM}","url_abs":"https://arxiv.org/abs/2410.21826v1","url_pdf":"https://arxiv.org/pdf/2410.21826v1.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":"volumetric-conditioning-module-to-control","repo_url":"https://github.com/Ahn-Ssu/VCM","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[{"method_slug":"attention","method_name":"Attention"},{"method_slug":"concatenated-skip-connection","method_name":"Concatenated Skip Connection"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"diffusion","method_name":"Diffusion"},{"method_slug":"max-pooling","method_name":"Max Pooling"},{"method_slug":"relu","method_name":"ReLU"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"u-net","method_name":"U-Net"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2410.21826","atlas_url":"https://app.syntology.ai/?focus=2410.21826","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.21826"}},"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/Ahn-Ssu/VCM","reach":{"status":"ok"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"samples":8,"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":8,"samples":[{"code_sha256_prefix":"ecd0fc28815b65ae","entry":"avg_pool_nd","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/adapters.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/adapters.py","link_basis":"harvester_set","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":"ecd0fc28815b65ae"}},{"code_sha256_prefix":"fe4eb545bbb728e0","entry":"conv_nd","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/adapters.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/adapters.py","link_basis":"harvester_set","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":"fe4eb545bbb728e0"}},{"code_sha256_prefix":"f5d3e57e1619d63b","entry":"get_down_block","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/vcm.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/vcm.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":"f5d3e57e1619d63b"}},{"code_sha256_prefix":"a64ffdffa6b66848","entry":"get_down_block","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/ControlNetLITE.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/ControlNetLITE.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":"a64ffdffa6b66848"}},{"code_sha256_prefix":"f8d0a66a7719e890","entry":"get_mid_block","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/ControlNetLITE.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/ControlNetLITE.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":"f8d0a66a7719e890"}},{"code_sha256_prefix":"412193b83494703d","entry":"get_parameter_dtype","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/adapters.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/adapters.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":"412193b83494703d"}},{"code_sha256_prefix":"da94debb8019ad46","entry":"zero_module","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/ControlNet.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/ControlNet.py","link_basis":"harvester_set","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":"da94debb8019ad46"}},{"code_sha256_prefix":"b2cc5b37d4cbdc04","entry":"zero_module","repo":"Ahn-Ssu/VCM","repo_kind":"official","path":"models/vcm.py","file_url":"https://github.com/Ahn-Ssu/VCM/blob/HEAD/models/vcm.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":"b2cc5b37d4cbdc04"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}