{"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/selfreformer-self-refined-network-with","title":"SelfReformer: Self-Refined Network with Transformer for Salient Object Detection","arxiv_id":"2205.11283","date":"2022-05-23","proceeding":null,"authors":["Yi Ke Yun","Weisi Lin"],"abstract":"The global and local contexts significantly contribute to the integrity of predictions in Salient Object Detection (SOD). Unfortunately, existing methods still struggle to generate complete predictions with fine details. There are two major problems in conventional approaches: first, for global context, high-level CNN-based encoder features cannot effectively catch long-range dependencies, resulting in incomplete predictions. Second, downsampling the ground truth to fit the size of predictions will introduce inaccuracy as the ground truth details are lost during interpolation or pooling. Thus, in this work, we developed a Transformer-based network and framed a supervised task for a branch to learn the global context information explicitly. Besides, we adopt Pixel Shuffle from Super-Resolution (SR) to reshape the predictions back to the size of ground truth instead of the reverse. Thus details in the ground truth are untouched. In addition, we developed a two-stage Context Refinement Module (CRM) to fuse global context and automatically locate and refine the local details in the predictions. The proposed network can guide and correct itself based on the global and local context generated, thus is named, Self-Refined Transformer (SelfReformer). Extensive experiments and evaluation results on five benchmark datasets demonstrate the outstanding performance of the network, and we achieved the state-of-the-art.","url_abs":"https://arxiv.org/abs/2205.11283v4","url_pdf":"https://arxiv.org/pdf/2205.11283v4.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":"selfreformer-self-refined-network-with","repo_url":"https://github.com/BarCodeReader/SelfReformer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"salient-object-detection-1","task_name":"Salient Object Detection"},{"task_slug":"super-resolution","task_name":"Super-Resolution"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"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":"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/salient-object-detection-on-dut-omron-2","task":"Salient Object Detection","dataset":"DUT-OMRON","model":"SelfReformer-Swin","rank_in_archive_order":4,"of":8,"metrics":{"E-measure":"0.884","MAE":"0.043","S-measure":"0.859","max_F1":"0.838"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-dut-omron-2","task":"Salient Object Detection","dataset":"DUT-OMRON","model":"SelfReformer","rank_in_archive_order":5,"of":8,"metrics":{"E-measure":"0.886","MAE":"0.041","S-measure":"0.856","max_F1":"0.836"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-duts-te-1","task":"Salient Object Detection","dataset":"DUTS-TE","model":"SelfReformer-Swin","rank_in_archive_order":3,"of":8,"metrics":{"E-measure":"0.924","MAE":"0.024","Smeasure":"0.921","max_F1":"0.925"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-duts-te-1","task":"Salient Object Detection","dataset":"DUTS-TE","model":"SelfReformer","rank_in_archive_order":5,"of":8,"metrics":{"E-measure":"0.920","MAE":"0.026","Smeasure":"0.911","max_F1":"0.916"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-ecssd-1","task":"Salient Object Detection","dataset":"ECSSD","model":"SelfReformer-Swin","rank_in_archive_order":3,"of":10,"metrics":{"E-measure":"0.935","MAE":"0.025","S-measure":"0.941","max_F1":"0.963"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-ecssd-1","task":"Salient Object Detection","dataset":"ECSSD","model":"SelfReformer","rank_in_archive_order":6,"of":10,"metrics":{"E-measure":"0.928","MAE":"0.027","S-measure":"0.935","max_F1":"0.957"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-hku-is-1","task":"Salient Object Detection","dataset":"HKU-IS","model":"SelfReformer-Swin","rank_in_archive_order":3,"of":9,"metrics":{"E-measure":"0.961","MAE":"0.023","S-measure":"0.934","max_F1":"0.952"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-hku-is-1","task":"Salient Object Detection","dataset":"HKU-IS","model":"SelfReformer","rank_in_archive_order":5,"of":9,"metrics":{"E-measure":"0.959","MAE":"0.024","S-measure":"0.930","max_F1":"0.947"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-pascal-s-1","task":"Salient Object Detection","dataset":"PASCAL-S","model":"SelfReformer-Swin","rank_in_archive_order":5,"of":10,"metrics":{"E-measure":"0.874","MAE":"0.049","S-measure":"0.877","max_F1":"0.896"},"uses_additional_data":false},{"leaderboard":"/sota/salient-object-detection-on-pascal-s-1","task":"Salient Object Detection","dataset":"PASCAL-S","model":"SelfReformer","rank_in_archive_order":6,"of":10,"metrics":{"E-measure":"0.872","MAE":"0.050","S-measure":"0.874","max_F1":"0.894"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2205.11283","atlas_url":"https://app.syntology.ai/?focus=2205.11283","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.11283"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/BarCodeReader/SelfReformer","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":1,"ran_honours":1},"by_repo_kind":{"official":{"samples":2,"ran":2,"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":"8a3ba66f381601bc","entry":"calculate_mae","repo":"BarCodeReader/SelfReformer","repo_kind":"official","path":"utils.py","file_url":"https://github.com/BarCodeReader/SelfReformer/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8a3ba66f381601bc"}},{"code_sha256_prefix":"ced6bc2bfdfe0059","entry":"get_sinusoid_encoding","repo":"BarCodeReader/SelfReformer","repo_kind":"official","path":"model/Transformer.py","file_url":"https://github.com/BarCodeReader/SelfReformer/blob/HEAD/model/Transformer.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ced6bc2bfdfe0059"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}