{"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/progressive-focused-transformer-for-single","title":"Progressive Focused Transformer for Single Image Super-Resolution","arxiv_id":"2503.20337","date":"2025-03-26","proceeding":"CVPR 2025 1","authors":["Wei Long","Xingyu Zhou","Leheng Zhang","Shuhang Gu"],"abstract":"Transformer-based methods have achieved remarkable results in image super-resolution tasks because they can capture non-local dependencies in low-quality input images. However, this feature-intensive modeling approach is computationally expensive because it calculates the similarities between numerous features that are irrelevant to the query features when obtaining attention weights. These unnecessary similarity calculations not only degrade the reconstruction performance but also introduce significant computational overhead. How to accurately identify the features that are important to the current query features and avoid similarity calculations between irrelevant features remains an urgent problem. To address this issue, we propose a novel and effective Progressive Focused Transformer (PFT) that links all isolated attention maps in the network through Progressive Focused Attention (PFA) to focus attention on the most important tokens. PFA not only enables the network to capture more critical similar features, but also significantly reduces the computational cost of the overall network by filtering out irrelevant features before calculating similarities. Extensive experiments demonstrate the effectiveness of the proposed method, achieving state-of-the-art performance on various single image super-resolution benchmarks.","url_abs":"https://arxiv.org/abs/2503.20337v1","url_pdf":"https://arxiv.org/pdf/2503.20337v1.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":"progressive-focused-transformer-for-single","repo_url":"https://github.com/labshuhanggu/pft-sr","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"image-super-resolution","task_name":"Image Super-Resolution"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"focus","method_name":"Focus"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-super-resolution-on-manga109-4x","task":"Image Super-Resolution","dataset":"Manga109 - 4x upscaling","model":"PFT","rank_in_archive_order":9,"of":50,"metrics":{"PSNR":"32.63","SSIM":"0.9306"},"uses_additional_data":false},{"leaderboard":"/sota/image-super-resolution-on-set14-4x-upscaling","task":"Image Super-Resolution","dataset":"Set14 - 4x upscaling","model":"PFT","rank_in_archive_order":13,"of":104,"metrics":{"PSNR":"29.29","SSIM":"0.7978"},"uses_additional_data":false},{"leaderboard":"/sota/image-super-resolution-on-urban100-4x","task":"Image Super-Resolution","dataset":"Urban100 - 4x upscaling","model":"PFT","rank_in_archive_order":10,"of":65,"metrics":{"PSNR":"28.20","SSIM":"0.8412"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2503.20337","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2503.20337"}},"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/labshuhanggu/pft-sr","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":3,"ran":3,"ran_fixture":1,"unverified":3},"by_repo_kind":{"official":{"samples":10,"ran":7,"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":"ef9faf68f492a375","entry":"flow_warp","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/archs/arch_util.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/archs/arch_util.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ef9faf68f492a375"}},{"code_sha256_prefix":"cd569444547de84f","entry":"get_position_from_periods","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/models/lr_scheduler.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/models/lr_scheduler.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cd569444547de84f"}},{"code_sha256_prefix":"96ad5dc9ca239aec","entry":"make_layer","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/archs/arch_util.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/archs/arch_util.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":"96ad5dc9ca239aec"}},{"code_sha256_prefix":"95067518dc16b3e5","entry":"reorder_image","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/metrics/metric_util.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/metrics/metric_util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"95067518dc16b3e5"}},{"code_sha256_prefix":"5a1d8458dc7077a6","entry":"resize_flow","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/archs/arch_util.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/archs/arch_util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5a1d8458dc7077a6"}},{"code_sha256_prefix":"60363d0620f5778d","entry":"window_partition","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/archs/pft_arch.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/archs/pft_arch.py","link_basis":"harvester_set","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":"60363d0620f5778d"}},{"code_sha256_prefix":"4f003e9ad9b7a7cb","entry":"window_reverse","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/archs/pft_arch.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/archs/pft_arch.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4f003e9ad9b7a7cb"}},{"code_sha256_prefix":"a648a03a952822c0","entry":"reduce_loss","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/losses/loss_util.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/losses/loss_util.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":"a648a03a952822c0"}},{"code_sha256_prefix":"1ba39317ea81871a","entry":"weight_reduce_loss","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/losses/loss_util.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/losses/loss_util.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":"1ba39317ea81871a"}},{"code_sha256_prefix":"cf63f8afc13f62a7","entry":"weighted_loss","repo":"labshuhanggu/pft-sr","repo_kind":"official","path":"basicsr/losses/loss_util.py","file_url":"https://github.com/labshuhanggu/pft-sr/blob/HEAD/basicsr/losses/loss_util.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":"cf63f8afc13f62a7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}