{"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/efficient-and-explicit-modelling-of-image","title":"Efficient and Explicit Modelling of Image Hierarchies for Image Restoration","arxiv_id":"2303.00748","date":"2023-03-01","proceeding":"CVPR 2023 1","authors":["Yawei Li","Yuchen Fan","Xiaoyu Xiang","Denis Demandolx","Rakesh Ranjan","Radu Timofte","Luc van Gool"],"abstract":"The aim of this paper is to propose a mechanism to efficiently and explicitly model image hierarchies in the global, regional, and local range for image restoration. To achieve that, we start by analyzing two important properties of natural images including cross-scale similarity and anisotropic image features. Inspired by that, we propose the anchored stripe self-attention which achieves a good balance between the space and time complexity of self-attention and the modelling capacity beyond the regional range. Then we propose a new network architecture dubbed GRL to explicitly model image hierarchies in the Global, Regional, and Local range via anchored stripe self-attention, window self-attention, and channel attention enhanced convolution. Finally, the proposed network is applied to 7 image restoration types, covering both real and synthetic settings. The proposed method sets the new state-of-the-art for several of those. Code will be available at https://github.com/ofsoundof/GRL-Image-Restoration.git.","url_abs":"https://arxiv.org/abs/2303.00748v2","url_pdf":"https://arxiv.org/pdf/2303.00748v2.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":"efficient-and-explicit-modelling-of-image","repo_url":"https://github.com/ofsoundof/grl-image-restoration","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-deblurring","task_name":"Image Deblurring"},{"task_slug":"image-defocus-deblurring","task_name":"Image Defocus Deblurring"},{"task_slug":"image-restoration","task_name":"Image Restoration"},{"task_slug":"image-super-resolution","task_name":"Image Super-Resolution"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-deblurring-on-gopro","task":"Image Deblurring","dataset":"GoPro","model":"GRL","rank_in_archive_order":10,"of":55,"metrics":{"PSNR":"33.93","Params (M)":"19.81","SSIM":"0.968"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2303.00748","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.00748"}},"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/ofsoundof/grl-image-restoration","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/ofsoundof/GRL-Image-Restoration","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"ran":2,"unverified":8},"by_repo_kind":{"official":{"samples":12,"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":"8b0e794d4d8f9b13","entry":"default_conv","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"models/common/common_edsr.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/models/common/common_edsr.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8b0e794d4d8f9b13"}},{"code_sha256_prefix":"f9d4c247328f3337","entry":"get_image_paths","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/utils_bsr/utils_image.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/utils_bsr/utils_image.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f9d4c247328f3337"}},{"code_sha256_prefix":"5360d45b71ae2bb1","entry":"insert_bn","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"models/aux_archs/vgg.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/models/aux_archs/vgg.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5360d45b71ae2bb1"}},{"code_sha256_prefix":"226f6afcd57ff476","entry":"is_image_file","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/utils_bsr/utils_image.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/utils_bsr/utils_image.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"226f6afcd57ff476"}},{"code_sha256_prefix":"d8709f460c3945ff","entry":"is_image_file","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/image_utils.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/image_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d8709f460c3945ff"}},{"code_sha256_prefix":"2e6c9cf740755d88","entry":"is_numpy_file","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/image_utils.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/image_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2e6c9cf740755d88"}},{"code_sha256_prefix":"61540a6c08cb232a","entry":"is_png_file","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/image_utils.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/image_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"61540a6c08cb232a"}},{"code_sha256_prefix":"5ccdf73de87b7bf0","entry":"modcrop","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/utils_image.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/utils_image.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5ccdf73de87b7bf0"}},{"code_sha256_prefix":"3984b3ec31e90ef0","entry":"patches_from_image","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/utils_bsr/utils_image.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/utils_bsr/utils_image.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3984b3ec31e90ef0"}},{"code_sha256_prefix":"0455799ef89f3e08","entry":"shave","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/utils_image.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/utils_image.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0455799ef89f3e08"}},{"code_sha256_prefix":"5d49a4c5c692b24f","entry":"tensor_round","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"utils/utils_image.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/utils/utils_image.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5d49a4c5c692b24f"}},{"code_sha256_prefix":"9560f94a99c0322b","entry":"tv_loss","repo":"ofsoundof/GRL-Image-Restoration","repo_kind":"official","path":"losses/losses.py","file_url":"https://github.com/ofsoundof/GRL-Image-Restoration/blob/HEAD/losses/losses.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9560f94a99c0322b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}