{"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/accelerating-image-super-resolution-networks","title":"Accelerating Image Super-Resolution Networks with Pixel-Level Classification","arxiv_id":"2407.21448","date":"2024-07-31","proceeding":null,"authors":[],"abstract":"In recent times, the need for effective super-resolution (SR) techniques has surged, especially for large-scale images ranging 2K to 8K resolutions. For DNN-based SISR, decomposing images into overlapping patches is typically necessary due to computational constraints. In such patch-decomposing scheme, one can allocate computational resources differently based on each patch's difficulty to further improve efficiency while maintaining SR performance. However, this approach has a limitation: computational resources is uniformly allocated within a patch, leading to lower efficiency when the patch contain pixels with varying levels of restoration difficulty. To address the issue, we propose the Pixel-level Classifier for Single Image Super-Resolution (PCSR), a novel method designed to distribute computational resources adaptively at the pixel level. A PCSR model comprises a backbone, a pixel-level classifier, and a set of pixel-level upsamplers with varying capacities. The pixel-level classifier assigns each pixel to an appropriate upsampler based on its restoration difficulty, thereby optimizing computational resource usage. Our method allows for performance and computational cost balance during inference without re-training. Our experiments demonstrate PCSR's advantage over existing patch-distributing methods in PSNR-FLOP trade-offs across different backbone models and benchmarks. The code is available at https://github.com/3587jjh/PCSR.","url_abs":"https://arxiv.org/abs/2407.21448v1","url_pdf":"https://arxiv.org/pdf/2407.21448v1.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":"accelerating-image-super-resolution-networks","repo_url":"https://github.com/3587jjh/pcsr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[{"method_slug":"set","method_name":"SET"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2407.21448","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.21448"}},"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":"deterministic:regex_extraction","url":"https://github.com/3587jjh/PCSR","reach":{"status":"ok"}}],"summary":{"ran":3,"ran_draft_wrong":4,"ran_honours":2,"unverified":2},"by_repo_kind":{"listed":{"samples":11,"ran":9,"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":11,"samples":[{"code_sha256_prefix":"70dc72d693e731b8","entry":"compute_num_params","repo":"3587jjh/PCSR","repo_kind":"listed","path":"flops.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/flops.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"70dc72d693e731b8"}},{"code_sha256_prefix":"bb2da0b034248592","entry":"cubic_contribution","repo":"3587jjh/PCSR","repo_kind":"listed","path":"core.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/core.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bb2da0b034248592"}},{"code_sha256_prefix":"8b0e794d4d8f9b13","entry":"default_conv","repo":"3587jjh/PCSR","repo_kind":"listed","path":"models/utils.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/models/utils.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8b0e794d4d8f9b13"}},{"code_sha256_prefix":"7c1a00e1d0b53cce","entry":"get_model_flops","repo":"3587jjh/PCSR","repo_kind":"listed","path":"flops.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/flops.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7c1a00e1d0b53cce"}},{"code_sha256_prefix":"d342bf27c43984b3","entry":"get_names_dict","repo":"3587jjh/PCSR","repo_kind":"listed","path":"flops.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/flops.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d342bf27c43984b3"}},{"code_sha256_prefix":"5339f921d612e907","entry":"linear_contribution","repo":"3587jjh/PCSR","repo_kind":"listed","path":"core.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/core.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5339f921d612e907"}},{"code_sha256_prefix":"c04a23de0531da4a","entry":"make_layer","repo":"3587jjh/PCSR","repo_kind":"listed","path":"models/utils.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/models/utils.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c04a23de0531da4a"}},{"code_sha256_prefix":"caa766787cadd4e1","entry":"nearest_contribution","repo":"3587jjh/PCSR","repo_kind":"listed","path":"core.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/core.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"caa766787cadd4e1"}},{"code_sha256_prefix":"44c3aa4c610ea3f7","entry":"register","repo":"3587jjh/PCSR","repo_kind":"listed","path":"models/models.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/models/models.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"44c3aa4c610ea3f7"}},{"code_sha256_prefix":"0c6441af780ce58d","entry":"make","repo":"3587jjh/PCSR","repo_kind":"listed","path":"models/models.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/models/models.py","link_basis":"plan_row","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":"0c6441af780ce58d"}},{"code_sha256_prefix":"d9e995544e2536f3","entry":"make_data_loader","repo":"3587jjh/PCSR","repo_kind":"listed","path":"train_pcsr.py","file_url":"https://github.com/3587jjh/PCSR/blob/HEAD/train_pcsr.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":"d9e995544e2536f3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}