SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.23799 · 2026

Restoring Without Forgetting: Continual Learning Across Image Degradations

Alif Ashrafee

arXiv · PDF · Open in the Atlas

Code that ran

18 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 12 failures of our instrument; 0 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.23799.json · badge: /api/ran/2608.23799.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
AlifAshrafee/Restoring-Without-Forgetting canonical (classifier label)
classifier basis: census
18 ran · 0 no recorded run
FunctionStatusWhere it lives
add_gaussian_noise Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/degradations.py
pointer only (licence: NONE) · get_code("6a4415d5c7a0b330")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

add_motion_blur Ran
ran on a synthesized input
AlifAshrafee/Restoring-Without-Forgetting/degradations.py
pointer only (licence: NONE) · get_code("297e750bb7f3b510")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

add_rain Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/degradations.py
pointer only (licence: NONE) · get_code("0c18065c51b519de")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_psnr Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/utils.py
pointer only (licence: NONE) · get_code("d292dd965ab59629")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_ssim Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/utils.py
pointer only (licence: NONE) · get_code("a05b184dc6c264a0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_metrics Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/compute_cl_metrics.py
pointer only (licence: NONE) · get_code("1b5955295986b5a8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_patches Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/generate_patches_degradations.py
pointer only (licence: NONE) · get_code("4ddda92558c55c31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_position_from_periods Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
AlifAshrafee/Restoring-Without-Forgetting/restormer/basicsr/models/lr_scheduler.py
pointer only (licence: NONE) · get_code("cd569444547de84f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_config Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/extract_degradation_prototypes.py
pointer only (licence: NONE) · get_code("f8d8097614247b5d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_image Ran
ran, honoured the contract we drafted
AlifAshrafee/Restoring-Without-Forgetting/generate_degradation_domains.py
pointer only (licence: NONE) · get_code("f7f4aca3a2748f50")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_img Ran
ran, honoured the contract we drafted
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/extract_degradation_prototypes.py
pointer only (licence: NONE) · get_code("04f9122f3967b7ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_matrix Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/compute_cl_metrics.py
pointer only (licence: NONE) · get_code("4a49f1899099bea3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_for_ssim Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/restormer/basicsr/metrics/psnr_ssim.py
pointer only (licence: NONE) · get_code("95c6eba9350a455a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_for_ssim_rgb Ran
ran; our contract draft was wrong, not the code
AlifAshrafee/Restoring-Without-Forgetting/restormer/basicsr/metrics/psnr_ssim.py
pointer only (licence: NONE) · get_code("fb93712db7064ac4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_train_image Ran
ran, honoured the contract we drafted
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/generate_patches_degradations.py
pointer only (licence: NONE) · get_code("2d9e9caacd616d74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_val_image Ran
ran, violated the contract we drafted
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/generate_patches_degradations.py
pointer only (licence: NONE) · get_code("bef27a3bbbc25983")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reorder_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
AlifAshrafee/Restoring-Without-Forgetting/restormer/basicsr/metrics/metric_util.py
pointer only (licence: NONE) · get_code("95067518dc16b3e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ssim Ran
ran, honoured the contract we drafted
AlifAshrafee/Restoring-Without-Forgetting/restormer/Motion_Deblurring/utils.py
pointer only (licence: NONE) · get_code("ba721aeacc165234")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AlifAshrafee/Restoring-Without-Forgetting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_position_from_periods 55 other papers
55 dated earlier
2110.04627 (2021-10)
Vector-quantized Image Modeling with Improved VQGAN
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2204.04676 (2022-04)
Simple Baselines for Image Restoration
and 52 more not named here
ssim 18 other papers
18 dated earlier
1809.00219 (2018-09)
ESRGAN: Enhanced Super-Resolution Generative Adversarial Networks
1904.03377 (2019-04)
Blind Super-Resolution With Iterative Kernel Correction
2005.05650 (2020-05)
Invertible Image Rescaling
and 15 more not named here
reorder_image 17 other papers
17 dated earlier
2204.04676 (2022-04)
Simple Baselines for Image Restoration
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 14 more not named here
calculate_psnr 9 other papers
9 dated earlier
Zamir_Restormer_Efficient_Transformer_for_High-Resolution_Image_Restoration_CVPR_2022_paper (2022 (year only))
Restormer: Efficient Transformer for High-Resolution Image Restoration
2201.02973 (2022-01)
MAXIM: Multi-Axis MLP for Image Processing
2303.02881 (2023-03)
KBNet: Kernel Basis Network for Image Restoration
and 6 more not named here
calculate_ssim 8 other papers
8 dated earlier
Zamir_Restormer_Efficient_Transformer_for_High-Resolution_Image_Restoration_CVPR_2022_paper (2022 (year only))
Restormer: Efficient Transformer for High-Resolution Image Restoration
2201.02973 (2022-01)
MAXIM: Multi-Axis MLP for Image Processing
2303.02881 (2023-03)
KBNet: Kernel Basis Network for Image Restoration
and 5 more not named here
prepare_for_ssim 8 other papers
8 dated earlier
ijcai2022_0131 (2022 (year only))
Exploring Fourier Prior for Single Image Rain Removal
2204.04676 (2022-04)
Simple Baselines for Image Restoration
and 5 more not named here
prepare_for_ssim_rgb 5 other papers
5 dated earlier
ijcai2022_0131 (2022 (year only))
Exploring Fourier Prior for Single Image Rain Removal
2405.03349 (2024-05)
Retinexmamba: Retinex-based Mamba for Low-light Image Enhancement
2409.01274 (2024-09)
DAVIDE: Depth-Aware Video Deblurring
and 2 more not named here
load_img 1 other paper
1 dated earlier
2505.23068 (2025-05)
URWKV: Unified RWKV Model with Multi-state Perspective for Low-light Image Restoration

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 multidegradation image restoration. Code, benchmark, and weights are available at: https: //github.com/AlifAshrafee/Restoring-Without-Forgetting.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.23799")
get_code_for_paper("2608.23799")
have("2608.23799")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.23799.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.23799.svg)](https://syntology.ai/paper/2608.23799)

Connect an agent — have() is free.