{"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/arxiv-2608-23799","title":"Restoring Without Forgetting: Continual Learning Across Image Degradations","arxiv_id":"2608.23799","date":"2026-08-24","proceeding":null,"authors":["Alif Ashrafee","Bartosz Krawczyk"],"abstract":"Recent progress in image restoration has converged on all-in-one architectures that jointly handle multiple degradations within a single network. These methods are effective on static benchmarks but target a closed-world setting that assumes simultaneous access to every target degradation at training time. In practice, degradations are encountered sequentially as field-deployed systems progressively face new environmental conditions, and historical training data is often unavailable due to privacy or storage constraints. Accommodating a new degradation then requires either retraining on the union of all prior data, which is often costly or infeasible, or fine-tuning, which causes catastrophic forgetting. We formulate multi-degradation image restoration as a continual domain-incremental learning problem, in which degradations arrive incrementally and prior data is unavailable. Our proposed Restoring without Forgetting (RwF) framework learns a lightweight adapter for each new degradation, eliminating forgetting by construction at a fraction of the cost of dedicated per-domain networks. To isolate degradation learning from dataset variation, we construct a benchmark spanning five degradation domains under shared image content. At test time, an unsupervised routing mechanism identifies the appropriate restoration path for unknown inputs without requiring domain labels. Across the five-domain sequence, RwF improves final average PSNR over naive sequential fine-tuning by 15.25 dB and 11.83 dB on the Restormer and NAFNet backbones, respectively. The framework transfers to eleven canonical real-degradation benchmarks (3,465 images) at 89.5% routing accuracy with only a +0.94 dB oracle PSNR gap, establishing, to our knowledge, the first systematic baseline for continual multi-degradation image restoration.","url_abs":"https://arxiv.org/abs/2608.23799","url_pdf":"https://arxiv.org/pdf/2608.23799","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2608.23799","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.23799"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting","reach":null}],"summary":{"ran":18},"by_repo_kind":{"found_in_text":{"samples":18,"ran":18,"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":18,"samples":[{"code_sha256_prefix":"6a4415d5c7a0b330","entry":"add_gaussian_noise","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"degradations.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/degradations.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":"6a4415d5c7a0b330"}},{"code_sha256_prefix":"297e750bb7f3b510","entry":"add_motion_blur","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"degradations.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/degradations.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":"297e750bb7f3b510"}},{"code_sha256_prefix":"0c18065c51b519de","entry":"add_rain","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"degradations.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/degradations.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":"0c18065c51b519de"}},{"code_sha256_prefix":"d292dd965ab59629","entry":"calculate_psnr","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/utils.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/utils.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":"d292dd965ab59629"}},{"code_sha256_prefix":"a05b184dc6c264a0","entry":"calculate_ssim","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/utils.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/utils.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":"a05b184dc6c264a0"}},{"code_sha256_prefix":"1b5955295986b5a8","entry":"compute_metrics","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"compute_cl_metrics.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/compute_cl_metrics.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":"1b5955295986b5a8"}},{"code_sha256_prefix":"4ddda92558c55c31","entry":"extract_patches","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/generate_patches_degradations.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/generate_patches_degradations.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":"4ddda92558c55c31"}},{"code_sha256_prefix":"cd569444547de84f","entry":"get_position_from_periods","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/basicsr/models/lr_scheduler.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/basicsr/models/lr_scheduler.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":"cd569444547de84f"}},{"code_sha256_prefix":"f8d8097614247b5d","entry":"load_config","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/extract_degradation_prototypes.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/extract_degradation_prototypes.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":"f8d8097614247b5d"}},{"code_sha256_prefix":"f7f4aca3a2748f50","entry":"load_image","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"generate_degradation_domains.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/generate_degradation_domains.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":"f7f4aca3a2748f50"}},{"code_sha256_prefix":"04f9122f3967b7ae","entry":"load_img","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/extract_degradation_prototypes.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/extract_degradation_prototypes.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":"04f9122f3967b7ae"}},{"code_sha256_prefix":"4a49f1899099bea3","entry":"load_matrix","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"compute_cl_metrics.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/compute_cl_metrics.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":"4a49f1899099bea3"}},{"code_sha256_prefix":"95c6eba9350a455a","entry":"prepare_for_ssim","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/basicsr/metrics/psnr_ssim.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/basicsr/metrics/psnr_ssim.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":"95c6eba9350a455a"}},{"code_sha256_prefix":"fb93712db7064ac4","entry":"prepare_for_ssim_rgb","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/basicsr/metrics/psnr_ssim.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/basicsr/metrics/psnr_ssim.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":"fb93712db7064ac4"}},{"code_sha256_prefix":"2d9e9caacd616d74","entry":"process_train_image","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/generate_patches_degradations.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/generate_patches_degradations.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":"2d9e9caacd616d74"}},{"code_sha256_prefix":"bef27a3bbbc25983","entry":"process_val_image","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/generate_patches_degradations.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/generate_patches_degradations.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":"bef27a3bbbc25983"}},{"code_sha256_prefix":"95067518dc16b3e5","entry":"reorder_image","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/basicsr/metrics/metric_util.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/basicsr/metrics/metric_util.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":"95067518dc16b3e5"}},{"code_sha256_prefix":"ba721aeacc165234","entry":"ssim","repo":"AlifAshrafee/Restoring-Without-Forgetting","repo_kind":"found_in_text","path":"restormer/Motion_Deblurring/utils.py","file_url":"https://github.com/AlifAshrafee/Restoring-Without-Forgetting/blob/HEAD/restormer/Motion_Deblurring/utils.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":"ba721aeacc165234"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":6,"rejected_by_independent_check":1,"refused_by_a_rule":5,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}