{"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/robust-reference-based-super-resolution-via","title":"Robust Reference-based Super-Resolution via C2-Matching","arxiv_id":"2106.01863","date":"2021-06-03","proceeding":"CVPR 2021 1","authors":["Yuming Jiang","Kelvin C. K. Chan","Xintao Wang","Chen Change Loy","Ziwei Liu"],"abstract":"Reference-based Super-Resolution (Ref-SR) has recently emerged as a promising paradigm to enhance a low-resolution (LR) input image by introducing an additional high-resolution (HR) reference image. Existing Ref-SR methods mostly rely on implicit correspondence matching to borrow HR textures from reference images to compensate for the information loss in input images. However, performing local transfer is difficult because of two gaps between input and reference images: the transformation gap (e.g. scale and rotation) and the resolution gap (e.g. HR and LR). To tackle these challenges, we propose C2-Matching in this work, which produces explicit robust matching crossing transformation and resolution. 1) For the transformation gap, we propose a contrastive correspondence network, which learns transformation-robust correspondences using augmented views of the input image. 2) For the resolution gap, we adopt a teacher-student correlation distillation, which distills knowledge from the easier HR-HR matching to guide the more ambiguous LR-HR matching. 3) Finally, we design a dynamic aggregation module to address the potential misalignment issue. In addition, to faithfully evaluate the performance of Ref-SR under a realistic setting, we contribute the Webly-Referenced SR (WR-SR) dataset, mimicking the practical usage scenario. Extensive experiments demonstrate that our proposed C2-Matching significantly outperforms state of the arts by over 1dB on the standard CUFED5 benchmark. Notably, it also shows great generalizability on WR-SR dataset as well as robustness across large scale and rotation transformations.","url_abs":"https://arxiv.org/abs/2106.01863v1","url_pdf":"https://arxiv.org/pdf/2106.01863v1.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":"robust-reference-based-super-resolution-via","repo_url":"https://github.com/yumingj/C2-Matching","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"reference-based-super-resolution","task_name":"Reference-based Super-Resolution"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[],"datasets_introduced":[{"slug":"webly-reference-sr-dataset","name":"Webly-Reference SR Dataset","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.01863","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.01863"}},"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/yumingj/C2-Matching","reach":null}],"summary":{"ran_fixture":3,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"official":{"samples":6,"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":0,"samples":[{"code_sha256_prefix":"60c90599f1960179","entry":"feature_match_index","repo":"yumingj/C2-Matching","repo_kind":"official","path":"mmsr/models/archs/corres_generation_arch.py","file_url":"https://github.com/yumingj/C2-Matching/blob/HEAD/mmsr/models/archs/corres_generation_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"60c90599f1960179"}},{"code_sha256_prefix":"3f3ce50681922b83","entry":"insert_bn","repo":"yumingj/C2-Matching","repo_kind":"official","path":"mmsr/models/archs/corres_generation_arch.py","file_url":"https://github.com/yumingj/C2-Matching/blob/HEAD/mmsr/models/archs/corres_generation_arch.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":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3f3ce50681922b83"}},{"code_sha256_prefix":"9a4a91c5528429eb","entry":"sample_patches","repo":"yumingj/C2-Matching","repo_kind":"official","path":"mmsr/models/archs/corres_generation_arch.py","file_url":"https://github.com/yumingj/C2-Matching/blob/HEAD/mmsr/models/archs/corres_generation_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9a4a91c5528429eb"}},{"code_sha256_prefix":"5bc48d1fca425cb7","entry":"tensor_shift","repo":"yumingj/C2-Matching","repo_kind":"official","path":"mmsr/models/archs/corres_generation_arch.py","file_url":"https://github.com/yumingj/C2-Matching/blob/HEAD/mmsr/models/archs/corres_generation_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5bc48d1fca425cb7"}},{"code_sha256_prefix":"7f150435dccbf69e","entry":"CorrespondenceGenerationArch","repo":"yumingj/C2-Matching","repo_kind":"official","path":"mmsr/models/archs/corres_generation_arch.py","file_url":"https://github.com/yumingj/C2-Matching/blob/HEAD/mmsr/models/archs/corres_generation_arch.py","link_basis":"first_harvest_node","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":"7f150435dccbf69e"}},{"code_sha256_prefix":"b88ea2032ee2de4c","entry":"VGGFeatureExtractor","repo":"yumingj/C2-Matching","repo_kind":"official","path":"mmsr/models/archs/corres_generation_arch.py","file_url":"https://github.com/yumingj/C2-Matching/blob/HEAD/mmsr/models/archs/corres_generation_arch.py","link_basis":"first_harvest_node","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":"b88ea2032ee2de4c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}