{"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/masa-sr-matching-acceleration-and-spatial","title":"MASA-SR: Matching Acceleration and Spatial Adaptation for Reference-Based Image Super-Resolution","arxiv_id":"2106.02299","date":"2021-06-04","proceeding":"CVPR 2021 1","authors":["Liying Lu","Wenbo Li","Xin Tao","Jiangbo Lu","Jiaya Jia"],"abstract":"Reference-based image super-resolution (RefSR) has shown promising success in recovering high-frequency details by utilizing an external reference image (Ref). In this task, texture details are transferred from the Ref image to the low-resolution (LR) image according to their point- or patch-wise correspondence. Therefore, high-quality correspondence matching is critical. It is also desired to be computationally efficient. Besides, existing RefSR methods tend to ignore the potential large disparity in distributions between the LR and Ref images, which hurts the effectiveness of the information utilization. In this paper, we propose the MASA network for RefSR, where two novel modules are designed to address these problems. The proposed Match & Extraction Module significantly reduces the computational cost by a coarse-to-fine correspondence matching scheme. The Spatial Adaptation Module learns the difference of distribution between the LR and Ref images, and remaps the distribution of Ref features to that of LR features in a spatially adaptive way. This scheme makes the network robust to handle different reference images. Extensive quantitative and qualitative experiments validate the effectiveness of our proposed model.","url_abs":"https://arxiv.org/abs/2106.02299v1","url_pdf":"https://arxiv.org/pdf/2106.02299v1.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":"masa-sr-matching-acceleration-and-spatial","repo_url":"https://github.com/dvlab-research/MASA-SR","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"masa-sr-matching-acceleration-and-spatial","repo_url":"https://github.com/xuefusiji/badrefsr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"image-super-resolution","task_name":"Image Super-Resolution"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.02299","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.02299"}},"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/dvlab-research/MASA-SR","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xuefusiji/badrefsr","reach":{"status":"ok"}}],"summary":{"ran":5,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":6,"ran":5,"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":"0b1fb3a9784a4efa","entry":"DRAM","repo":"dvlab-research/MASA-SR","repo_kind":"official","path":"models/archs/MASA_arch.py","file_url":"https://github.com/dvlab-research/MASA-SR/blob/HEAD/models/archs/MASA_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b1fb3a9784a4efa"}},{"code_sha256_prefix":"a99f4469b696e781","entry":"Decoder","repo":"dvlab-research/MASA-SR","repo_kind":"official","path":"models/archs/MASA_arch.py","file_url":"https://github.com/dvlab-research/MASA-SR/blob/HEAD/models/archs/MASA_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a99f4469b696e781"}},{"code_sha256_prefix":"a2d0ed546c01adb8","entry":"Encoder","repo":"dvlab-research/MASA-SR","repo_kind":"official","path":"models/archs/MASA_arch.py","file_url":"https://github.com/dvlab-research/MASA-SR/blob/HEAD/models/archs/MASA_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a2d0ed546c01adb8"}},{"code_sha256_prefix":"89fefaa3bb27b0b0","entry":"ResidualBlock","repo":"dvlab-research/MASA-SR","repo_kind":"official","path":"models/archs/MASA_arch.py","file_url":"https://github.com/dvlab-research/MASA-SR/blob/HEAD/models/archs/MASA_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"89fefaa3bb27b0b0"}},{"code_sha256_prefix":"224af6a4c088bba6","entry":"SAM","repo":"dvlab-research/MASA-SR","repo_kind":"official","path":"models/archs/MASA_arch.py","file_url":"https://github.com/dvlab-research/MASA-SR/blob/HEAD/models/archs/MASA_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"224af6a4c088bba6"}},{"code_sha256_prefix":"c04a23de0531da4a","entry":"make_layer","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"c04a23de0531da4a"}},{"code_sha256_prefix":"535c783ce89ad298","entry":"MASA","repo":"dvlab-research/MASA-SR","repo_kind":"official","path":"models/archs/MASA_arch.py","file_url":"https://github.com/dvlab-research/MASA-SR/blob/HEAD/models/archs/MASA_arch.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":"535c783ce89ad298"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}