SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.03379 · 2024

Towards Effective Multiple-in-One Image Restoration: A Sequential and Prompt Learning Strategy

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-21; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2401.03379.json · badge: /api/ran/2401.03379.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
xiangtaokong/mioir canonical (classifier label)
classifier basis: census
10 ran · 3 no recorded run
FunctionStatusWhere it lives
down_tensor Ran
ran; our contract draft was wrong, not the code
xiangtaokong/mioir/data_script/add_MiO_test_degradation.py
pointer only (licence: NONE) · get_code("e33f35a70fbf96fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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)
xiangtaokong/mioir/basicsr/models/lr_scheduler.py
pointer only (licence: NONE); the stored copy get_code serves, from AlifAshrafee/Restoring-Without-Forgetting, is 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, xiangtaokong/mioir 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.

gradient_penalty_loss Ran
ran; our contract draft was wrong, not the code
xiangtaokong/mioir/basicsr/losses/gan_loss.py
pointer only (licence: NONE); the stored copy get_code serves, from CUHK-AIM-Group/MedVSR, is pointer only (licence: NONE) · get_code("81eb425a41a7c2a1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

is_image_file Ran
ran, violated the contract we drafted
xiangtaokong/mioir/data_script/gen_sub.py
pointer only (licence: NONE); the stored copy get_code serves, from sgoldyaev/DeepFashion.ADGAN, is pointer only (licence: NONE) · get_code("ab4109634b75ef8b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

reduce_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xiangtaokong/mioir/basicsr/losses/loss_util.py
pointer only (licence: NONE) · get_code("a648a03a952822c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

resize_tensor Ran
ran; our contract draft was wrong, not the code
xiangtaokong/mioir/data_script/add_MiO_test_degradation.py
pointer only (licence: NONE) · get_code("b982e472c895e0a6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

resize_tensor Ran
ran; our contract draft was wrong, not the code
xiangtaokong/mioir/data_script/add_MiO_train_degradation.py
pointer only (licence: NONE) · get_code("fc5ba23653333ada")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

weight_reduce_loss Ran
ran; our contract draft was wrong, not the code
xiangtaokong/mioir/basicsr/losses/loss_util.py
pointer only (licence: NONE) · get_code("1ba39317ea81871a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

worker Ran
ran; our contract draft was wrong, not the code
xiangtaokong/mioir/data_script/gen_sub.py
pointer only (licence: NONE) · get_code("d322f4e33cbbbb9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

zero_mask Ran
ran, honoured the contract we drafted
xiangtaokong/mioir/data_script/add_MiO_test_degradation.py
pointer only (licence: NONE) · get_code("d33436d0b5032794")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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.

g_path_regularize Not yet run
unverified (harvested, no recorded run)
xiangtaokong/mioir/basicsr/losses/gan_loss.py
pointer only (licence: NONE); the stored copy get_code serves, from CUHK-AIM-Group/MedVSR, is pointer only (licence: NONE) · get_code("fe05416387de89c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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. No invocation recorded.

r1_penalty Not yet run
unverified (harvested, no recorded run)
xiangtaokong/mioir/basicsr/losses/gan_loss.py
pointer only (licence: NONE); the stored copy get_code serves, from CUHK-AIM-Group/MedVSR, is pointer only (licence: NONE) · get_code("c7cba9053f3cadb5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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. No invocation recorded.

weighted_loss Not yet run
unverified (harvested, no recorded run)
xiangtaokong/mioir/basicsr/losses/loss_util.py
pointer only (licence: NONE) · get_code("cf63f8afc13f62a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangtaokong/mioir 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. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 7 the same month, 8 later) and 5 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
is_image_file 62 other papers
48 dated earlier, 12 later, 2 same year, order not determinable
1609.04802 (2016-09)
Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
1703.07511 (2017-03)
Deep Photo Style Transfer
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
and 59 more not named here
get_position_from_periods 55 other papers
21 dated earlier, 3 the same month, 28 later, 3 same year, order not determinable
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
weighted_loss 44 other papers
16 dated earlier, 1 the same month, 24 later, 3 same year, order not determinable
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2203.14216 (2022-03)
Efficient and Degradation-Adaptive Network for Real-World Image Super-Resolution
2205.05996 (2022-05)
Blueprint Separable Residual Network for Efficient Image Super-Resolution
and 41 more not named here
reduce_loss 43 other papers
15 dated earlier, 1 the same month, 24 later, 3 same year, order not determinable
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2203.14216 (2022-03)
Efficient and Degradation-Adaptive Network for Real-World Image Super-Resolution
2205.05996 (2022-05)
Blueprint Separable Residual Network for Efficient Image Super-Resolution
and 40 more not named here
weight_reduce_loss 43 other papers
16 dated earlier, 1 the same month, 23 later, 3 same year, order not determinable
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2203.14216 (2022-03)
Efficient and Degradation-Adaptive Network for Real-World Image Super-Resolution
2205.05996 (2022-05)
Blueprint Separable Residual Network for Efficient Image Super-Resolution
and 40 more not named here
g_path_regularize 18 other papers
4 dated earlier, 1 the same month, 12 later, 1 same year, order not determinable
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2303.17783 (2023-03)
Uncertainty-Aware Source-Free Adaptive Image Super-Resolution with Wavelet Augmentation Transformer
2305.07015 (2023-05)
Exploiting Diffusion Prior for Real-World Image Super-Resolution
and 15 more not named here
gradient_penalty_loss 18 other papers
4 dated earlier, 1 the same month, 12 later, 1 same year, order not determinable
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2303.17783 (2023-03)
Uncertainty-Aware Source-Free Adaptive Image Super-Resolution with Wavelet Augmentation Transformer
2305.07015 (2023-05)
Exploiting Diffusion Prior for Real-World Image Super-Resolution
and 15 more not named here
r1_penalty 18 other papers
4 dated earlier, 1 the same month, 12 later, 1 same year, order not determinable
2207.13784 (2022-07)
AvatarPoser: Articulated Full-Body Pose Tracking from Sparse Motion Sensing
2303.17783 (2023-03)
Uncertainty-Aware Source-Free Adaptive Image Super-Resolution with Wavelet Augmentation Transformer
2305.07015 (2023-05)
Exploiting Diffusion Prior for Real-World Image Super-Resolution
and 15 more not named here

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-21.

Repositories linked to this paper

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

Abstract

While single task image restoration (IR) has achieved significant successes, it remains a challenging issue to train a single model which can tackle multiple IR tasks. In this work, we investigate in-depth the multiple-in-one (MiO) IR problem, which comprises seven popular IR tasks. We point out that MiO IR faces two pivotal challenges: the optimization of diverse objectives and the adaptation to multiple tasks. To tackle these challenges, we present two simple yet effective strategies. The first strategy, referred to as sequential learning, attempts to address how to optimize the diverse objectives, which guides the network to incrementally learn individual IR tasks in a sequential manner rather than mixing them together. The second strategy, i.e., prompt learning, attempts to address how to adapt to the different IR tasks, which assists the network to understand the specific task and improves the generalization ability. By evaluating on 19 test sets, we demonstrate that the sequential and prompt learning strategies can significantly enhance the MiO performance of commonly used CNN and Transformer backbones. Our experiments also reveal that the two strategies can supplement each other to learn better degradation representations and enhance the model robustness. It is expected that our proposed MiO IR formulation and strategies could facilitate the research on how to train IR models with higher generalization capabilities.

For agents

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

get_harvested_code_for_paper("2401.03379")
get_code_for_paper("2401.03379")
have("2401.03379")

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

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

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

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

Connect an agent — have() is free.