{"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/lg-bpn-local-and-global-blind-patch-network","title":"LG-BPN: Local and Global Blind-Patch Network for Self-Supervised Real-World Denoising","arxiv_id":"2304.00534","date":"2023-04-02","proceeding":"CVPR 2023 1","authors":["Zichun Wang","Ying Fu","Ji Liu","Yulun Zhang"],"abstract":"Despite the significant results on synthetic noise under simplified assumptions, most self-supervised denoising methods fail under real noise due to the strong spatial noise correlation, including the advanced self-supervised blind-spot networks (BSNs). For recent methods targeting real-world denoising, they either suffer from ignoring this spatial correlation, or are limited by the destruction of fine textures for under-considering the correlation. In this paper, we present a novel method called LG-BPN for self-supervised real-world denoising, which takes the spatial correlation statistic into our network design for local detail restoration, and also brings the long-range dependencies modeling ability to previously CNN-based BSN methods. First, based on the correlation statistic, we propose a densely-sampled patch-masked convolution module. By taking more neighbor pixels with low noise correlation into account, we enable a denser local receptive field, preserving more useful information for enhanced fine structure recovery. Second, we propose a dilated Transformer block to allow distant context exploitation in BSN. This global perception addresses the intrinsic deficiency of BSN, whose receptive field is constrained by the blind spot requirement, which can not be fully resolved by the previous CNN-based BSNs. These two designs enable LG-BPN to fully exploit both the detailed structure and the global interaction in a blind manner. Extensive results on real-world datasets demonstrate the superior performance of our method. https://github.com/Wang-XIaoDingdd/LGBPN","url_abs":"https://arxiv.org/abs/2304.00534v1","url_pdf":"https://arxiv.org/pdf/2304.00534v1.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":"lg-bpn-local-and-global-blind-patch-network","repo_url":"https://github.com/wang-xiaodingdd/lgbpn","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"}],"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":"convolution","method_name":"Convolution"},{"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"},{"method_slug":"fail","method_name":"fail"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2304.00534","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2304.00534"}},"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/wang-xiaodingdd/lgbpn","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Wang-XIaoDingdd/LGBPN","reach":{"status":"ok"}}],"summary":{"ran":7,"ran_fixture":6,"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"official":{"samples":18,"ran":12,"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":20,"samples":[{"code_sha256_prefix":"743e3f9eb7bdbd3a","entry":"Attention_dilated","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"743e3f9eb7bdbd3a"}},{"code_sha256_prefix":"db9f0e70f3f18049","entry":"BiasFree_LayerNorm","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"db9f0e70f3f18049"}},{"code_sha256_prefix":"01132779302908e5","entry":"DSPMC_21","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"01132779302908e5"}},{"code_sha256_prefix":"c128a046ebd0ea15","entry":"DSPMC_9","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"c128a046ebd0ea15"}},{"code_sha256_prefix":"c21cf1cb56772370","entry":"FeedForward_dilated","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"c21cf1cb56772370"}},{"code_sha256_prefix":"7add138148389ff5","entry":"LayerNorm","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"7add138148389ff5"}},{"code_sha256_prefix":"1d90d30671b0d4b8","entry":"WithBias_LayerNorm","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"1d90d30671b0d4b8"}},{"code_sha256_prefix":"036834e6c2899476","entry":"pixel_shuffle_down_sampling","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"036834e6c2899476"}},{"code_sha256_prefix":"1100d60b0769c2c8","entry":"pixel_shuffle_down_sampling_pd","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1100d60b0769c2c8"}},{"code_sha256_prefix":"89c2395f0d55328f","entry":"pixel_shuffle_up_sampling","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"89c2395f0d55328f"}},{"code_sha256_prefix":"efc6ac4881d6e1ee","entry":"pixel_shuffle_up_sampling_pd","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"efc6ac4881d6e1ee"}},{"code_sha256_prefix":"a2b9a7cddd1bc465","entry":"regist_model","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.py","link_basis":"first_harvest_node","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":"a2b9a7cddd1bc465"}},{"code_sha256_prefix":"82a15cc1e46f7e4d","entry":"to_3d","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"82a15cc1e46f7e4d"}},{"code_sha256_prefix":"b20f2a5df739a59e","entry":"to_4d","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"b20f2a5df739a59e"}},{"code_sha256_prefix":"ab1000c8079c7a7c","entry":"DTB","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"ab1000c8079c7a7c"}},{"code_sha256_prefix":"2b0147293dd2fa31","entry":"DTB_block","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"2b0147293dd2fa31"}},{"code_sha256_prefix":"24a80bbc58b83f64","entry":"DeformConv2d","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"24a80bbc58b83f64"}},{"code_sha256_prefix":"98cb4aae9e4827b7","entry":"LGBPN","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"98cb4aae9e4827b7"}},{"code_sha256_prefix":"04ce4855147527b2","entry":"global_branch","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"04ce4855147527b2"}},{"code_sha256_prefix":"3e79da0d2208062e","entry":"local_branch","repo":"Wang-XIaoDingdd/LGBPN","repo_kind":"official","path":"src/model/DBSNl.py","file_url":"https://github.com/Wang-XIaoDingdd/LGBPN/blob/HEAD/src/model/DBSNl.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":"3e79da0d2208062e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}