{"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/minima-modality-invariant-image-matching","title":"MINIMA: Modality Invariant Image Matching","arxiv_id":"2412.19412","date":"2024-12-27","proceeding":"CVPR 2025 1","authors":["Jiangwei Ren","Xingyu Jiang","Zizhuo Li","Dingkang Liang","Xin Zhou","Xiang Bai"],"abstract":"Image matching for both cross-view and cross-modality plays a critical role in multimodal perception. In practice, the modality gap caused by different imaging systems/styles poses great challenges to the matching task. Existing works try to extract invariant features for specific modalities and train on limited datasets, showing poor generalization. In this paper, we present MINIMA, a unified image matching framework for multiple cross-modal cases. Without pursuing fancy modules, our MINIMA aims to enhance universal performance from the perspective of data scaling up. For such purpose, we propose a simple yet effective data engine that can freely produce a large dataset containing multiple modalities, rich scenarios, and accurate matching labels. Specifically, we scale up the modalities from cheap but rich RGB-only matching data, by means of generative models. Under this setting, the matching labels and rich diversity of the RGB dataset are well inherited by the generated multimodal data. Benefiting from this, we construct MD-syn, a new comprehensive dataset that fills the data gap for general multimodal image matching. With MD-syn, we can directly train any advanced matching pipeline on randomly selected modality pairs to obtain cross-modal ability. Extensive experiments on in-domain and zero-shot matching tasks, including $19$ cross-modal cases, demonstrate that our MINIMA can significantly outperform the baselines and even surpass modality-specific methods. The dataset and code are available at https://github.com/LSXI7/MINIMA.","url_abs":"https://arxiv.org/abs/2412.19412v2","url_pdf":"https://arxiv.org/pdf/2412.19412v2.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":"minima-modality-invariant-image-matching","repo_url":"https://github.com/LSXI7/MINIMA","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.19412","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.19412"}},"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/LSXI7/MINIMA","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":1,"unverified":10},"by_repo_kind":{"official":{"samples":11,"ran":1,"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":"616a327f53231192","entry":"lower_config","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/utils/data_io.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/utils/data_io.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"616a327f53231192"}},{"code_sha256_prefix":"854b097c0448e7e0","entry":"error_auc","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/utils/culculate_auc.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/utils/culculate_auc.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"854b097c0448e7e0"}},{"code_sha256_prefix":"c467cd703cd60729","entry":"get_cfg_defaults","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/config/default.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/config/default.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c467cd703cd60729"}},{"code_sha256_prefix":"69b7cffd9cd40c26","entry":"get_rank_zero_only_logger","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/utils/misc.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/utils/misc.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"69b7cffd9cd40c26"}},{"code_sha256_prefix":"804cdf9aa61bbc8e","entry":"load_loftr","repo":"LSXI7/MINIMA","repo_kind":"official","path":"load_model.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/load_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"804cdf9aa61bbc8e"}},{"code_sha256_prefix":"0b98e6b701b04c7c","entry":"load_roma","repo":"LSXI7/MINIMA","repo_kind":"official","path":"load_model.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/load_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0b98e6b701b04c7c"}},{"code_sha256_prefix":"af9fd86492ee69a8","entry":"load_sp_lg","repo":"LSXI7/MINIMA","repo_kind":"official","path":"load_model.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/load_model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"af9fd86492ee69a8"}},{"code_sha256_prefix":"b8b45857264d43e3","entry":"relative_pose_error","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/utils/metrics.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b8b45857264d43e3"}},{"code_sha256_prefix":"65d11daf5f0057aa","entry":"symmetric_epipolar_distance","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/utils/metrics.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"65d11daf5f0057aa"}},{"code_sha256_prefix":"4f3df24c01f477aa","entry":"symmetric_epipolar_distance_numpy","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/utils/metrics.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/utils/metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4f3df24c01f477aa"}},{"code_sha256_prefix":"d2dd10cadb61b3ed","entry":"upper_config","repo":"LSXI7/MINIMA","repo_kind":"official","path":"src/utils/data_io.py","file_url":"https://github.com/LSXI7/MINIMA/blob/HEAD/src/utils/data_io.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d2dd10cadb61b3ed"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}