{"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/arxiv-2601-15884","title":"Contrast-X: A Multi-Modal Contrast Image Synthesis Benchmark and Universal Modality Flow Matching","arxiv_id":"2601.15884","date":"2026-01-22","proceeding":null,"authors":["Yifan Chen","Fei Yin","Hao Chen","Jia Wu","Chao Li"],"abstract":"Contrast-enhanced imaging is central to oncologic diagnosis, but contrast agents can be contraindicated for many of the patients who need them most. Synthesizing contrast scans from non-contrast inputs is the natural response. Two obstacles stand in the way: no benchmark provides paired contrast data with lesion-level evaluation, and no single model handles the arbitrary missing patterns seen in practice. We introduce Contrast-X, a benchmark of paired contrast-enhanced and non-contrast imaging spanning 10 organs in CT (1{,}526 patients) and multi-phase breast DCE-MRI (1116 patients). Every case carries radiologist-verified phase labels and tumor masks. We further propose FlowMI, a single model that handles arbitrary subsets of available modalities through a unified multi-modal latent space and flow matching. We benchmark a range of missing-modality configurations, reporting standard image-quality metrics, radiologist reader studies, and downstream lesion analysis on the synthesized scans. We further evaluate cross-organ generalization to test whether the model has learned a transferable contrast-enhancement operation. Dataset, code, and leaderboard will be released. Our code are available at https://github.com/YifanChen02/Contrast-X.","url_abs":"https://arxiv.org/abs/2601.15884","url_pdf":"https://arxiv.org/pdf/2601.15884","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2601.15884","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.15884"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/YifanChen02/Contrast-X","reach":null}],"summary":{"unverified":19},"by_repo_kind":{"found_in_text":{"samples":19,"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":19,"samples":[{"code_sha256_prefix":"019d7c4c6e4e1fe1","entry":"create_standard_plan","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/tools.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/tools.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":"019d7c4c6e4e1fe1"}},{"code_sha256_prefix":"20df7c0ae44de03d","entry":"disable_inplace_activations","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/train_autoencoder.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/train_autoencoder.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":"20df7c0ae44de03d"}},{"code_sha256_prefix":"12dc7bdb0d4cfd6f","entry":"extract_middle_slices_per_channel","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/extract_latents.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/extract_latents.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":"12dc7bdb0d4cfd6f"}},{"code_sha256_prefix":"1b2e1be14e91679f","entry":"find_threshold","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/tools.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/tools.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":"1b2e1be14e91679f"}},{"code_sha256_prefix":"4bc5820fb7987100","entry":"fuse_weight_3_to_1_channel","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/src/utils_model.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/src/utils_model.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":"4bc5820fb7987100"}},{"code_sha256_prefix":"44a2995bdc0637bb","entry":"fuse_weight_3_to_4_channel","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/src/utils_model.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/src/utils_model.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":"44a2995bdc0637bb"}},{"code_sha256_prefix":"fa154fa0e2d59aae","entry":"gradient","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/tools.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/tools.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":"fa154fa0e2d59aae"}},{"code_sha256_prefix":"f55ceeba7f936902","entry":"load_if","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/src/networks.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/src/networks.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":"f55ceeba7f936902"}},{"code_sha256_prefix":"a863b3f37bb24495","entry":"load_if","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/src/utils_model.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/src/utils_model.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":"a863b3f37bb24495"}},{"code_sha256_prefix":"6a0f235560760f16","entry":"min_max_normalize","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/utils_image.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/utils_image.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":"6a0f235560760f16"}},{"code_sha256_prefix":"ca445153fba99fd7","entry":"pad_to_shape","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/utils_image.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/utils_image.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":"ca445153fba99fd7"}},{"code_sha256_prefix":"d218494195e4fdcf","entry":"patch_conv_layer","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/src/networks.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/src/networks.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":"d218494195e4fdcf"}},{"code_sha256_prefix":"ee174de7e6829571","entry":"perform_mask_image","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/train_autoencoder.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/train_autoencoder.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":"ee174de7e6829571"}},{"code_sha256_prefix":"4573c3718de5fd62","entry":"psnr_2d","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/utils_metric.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/utils_metric.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":"4573c3718de5fd62"}},{"code_sha256_prefix":"b914f118429deafe","entry":"psnr_3d","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/utils_metric.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/utils_metric.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":"b914f118429deafe"}},{"code_sha256_prefix":"33646471f591b72a","entry":"remove_module_prefix","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/extract_latents.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/extract_latents.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":"33646471f591b72a"}},{"code_sha256_prefix":"dd1a0b05b9ac4a25","entry":"ssim_3d","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/utils_metric.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/utils_metric.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":"dd1a0b05b9ac4a25"}},{"code_sha256_prefix":"121af55f9e1cc74e","entry":"standardize_images","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/utils/utils_image.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/utils/utils_image.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":"121af55f9e1cc74e"}},{"code_sha256_prefix":"f44d335547b0ab6d","entry":"to_numpy_image","repo":"YifanChen02/Contrast-X","repo_kind":"found_in_text","path":"code/STEP1-AutoencoderModel/train_autoencoder.py","file_url":"https://github.com/YifanChen02/Contrast-X/blob/HEAD/code/STEP1-AutoencoderModel/train_autoencoder.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":"f44d335547b0ab6d"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}