{"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/bidirectional-multi-scale-implicit-neural","title":"Bidirectional Multi-Scale Implicit Neural Representations for Image Deraining","arxiv_id":"2404.01547","date":"2024-04-02","proceeding":"CVPR 2024 1","authors":["Xiang Chen","Jinshan Pan","Jiangxin Dong"],"abstract":"How to effectively explore multi-scale representations of rain streaks is important for image deraining. In contrast to existing Transformer-based methods that depend mostly on single-scale rain appearance, we develop an end-to-end multi-scale Transformer that leverages the potentially useful features in various scales to facilitate high-quality image reconstruction. To better explore the common degradation representations from spatially-varying rain streaks, we incorporate intra-scale implicit neural representations based on pixel coordinates with the degraded inputs in a closed-loop design, enabling the learned features to facilitate rain removal and improve the robustness of the model in complex scenarios. To ensure richer collaborative representation from different scales, we embed a simple yet effective inter-scale bidirectional feedback operation into our multi-scale Transformer by performing coarse-to-fine and fine-to-coarse information communication. Extensive experiments demonstrate that our approach, named as NeRD-Rain, performs favorably against the state-of-the-art ones on both synthetic and real-world benchmark datasets. The source code and trained models are available at https://github.com/cschenxiang/NeRD-Rain.","url_abs":"https://arxiv.org/abs/2404.01547v1","url_pdf":"https://arxiv.org/pdf/2404.01547v1.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":"bidirectional-multi-scale-implicit-neural","repo_url":"https://github.com/cschenxiang/nerd-rain","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"image-reconstruction","task_name":"Image Reconstruction"},{"task_slug":"rain-removal","task_name":"Rain Removal"}],"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":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.01547","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.01547"}},"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/cschenxiang/nerd-rain","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/cschenxiang/NeRD-Rain","reach":{"status":"ok"}}],"summary":{"ran":16,"ran_fixture":3,"unverified":2},"by_repo_kind":{"official":{"samples":21,"ran":19,"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":21,"samples":[{"code_sha256_prefix":"df381277d7bba35a","entry":"Attention","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"df381277d7bba35a"}},{"code_sha256_prefix":"160a4409db2674fe","entry":"BasicConv","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"160a4409db2674fe"}},{"code_sha256_prefix":"181a7bbb3ce8e607","entry":"BiasFree_LayerNorm","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"181a7bbb3ce8e607"}},{"code_sha256_prefix":"400a7978bb40b09a","entry":"Downsample","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"400a7978bb40b09a"}},{"code_sha256_prefix":"3c4ac9454843b309","entry":"FeedForward","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"3c4ac9454843b309"}},{"code_sha256_prefix":"1627be0174779ade","entry":"Fusion","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"1627be0174779ade"}},{"code_sha256_prefix":"0d5e242c70896cd2","entry":"INR","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"0d5e242c70896cd2"}},{"code_sha256_prefix":"0d10fe15d578d59b","entry":"LayerNorm","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"0d10fe15d578d59b"}},{"code_sha256_prefix":"d3d78250b470cc7b","entry":"MLP","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"d3d78250b470cc7b"}},{"code_sha256_prefix":"431a5b15b04de8cb","entry":"OverlapPatchEmbed","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"431a5b15b04de8cb"}},{"code_sha256_prefix":"cd3fb6e97a656194","entry":"Upsample","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cd3fb6e97a656194"}},{"code_sha256_prefix":"3b44ab3e2ece74c6","entry":"WithBias_LayerNorm","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3b44ab3e2ece74c6"}},{"code_sha256_prefix":"a29bed156b030586","entry":"conv","repo":"cschenxiang/nerd-rain","repo_kind":"official","path":"Ablations/model_MPRNet.py","file_url":"https://github.com/cschenxiang/nerd-rain/blob/HEAD/Ablations/model_MPRNet.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":"a29bed156b030586"}},{"code_sha256_prefix":"b86bbfdbe4bd50bf","entry":"make_coord","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b86bbfdbe4bd50bf"}},{"code_sha256_prefix":"82a15cc1e46f7e4d","entry":"to_3d","repo":"cschenxiang/nerd-rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/nerd-rain/blob/HEAD/model.py","link_basis":"harvester_set","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":"82a15cc1e46f7e4d"}},{"code_sha256_prefix":"b20f2a5df739a59e","entry":"to_4d","repo":"cschenxiang/nerd-rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/nerd-rain/blob/HEAD/model.py","link_basis":"harvester_set","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":"b20f2a5df739a59e"}},{"code_sha256_prefix":"f14419333447d8d6","entry":"window_partitions","repo":"cschenxiang/nerd-rain","repo_kind":"official","path":"layers.py","file_url":"https://github.com/cschenxiang/nerd-rain/blob/HEAD/layers.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f14419333447d8d6"}},{"code_sha256_prefix":"5dcf5593ac1fb555","entry":"window_partitionx","repo":"cschenxiang/nerd-rain","repo_kind":"official","path":"layers.py","file_url":"https://github.com/cschenxiang/nerd-rain/blob/HEAD/layers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5dcf5593ac1fb555"}},{"code_sha256_prefix":"8d587d6910a0319d","entry":"window_reverses","repo":"cschenxiang/nerd-rain","repo_kind":"official","path":"layers.py","file_url":"https://github.com/cschenxiang/nerd-rain/blob/HEAD/layers.py","link_basis":"harvester_set","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":"8d587d6910a0319d"}},{"code_sha256_prefix":"1bce495a4fdc49fa","entry":"MultiscaleNet","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"1bce495a4fdc49fa"}},{"code_sha256_prefix":"e0f3a63ce67469c7","entry":"TransformerBlock","repo":"cschenxiang/NeRD-Rain","repo_kind":"official","path":"model.py","file_url":"https://github.com/cschenxiang/NeRD-Rain/blob/HEAD/model.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":"e0f3a63ce67469c7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}