SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.12630 · CVPR · 2025

Degradation-Aware Feature Perturbation for All-in-One Image Restoration

Meng Li, Xiao Liu, Chao Ren, Xiangyu Liao, Xiangpeng Tian

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/2505.12630.json · badge: /api/ran/2505.12630.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
TxpHome/DFPIR community
Papers with Code archive
6 ran · 1 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input · constructed an object; no result was computed
TxpHome/DFPIR/net/model.py
pointer only (licence: NONE) · get_code("2df4621147879677")
How it ran

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

BiasFree_LayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
TxpHome/DFPIR/net/model.py
pointer only (licence: NONE) · get_code("77d1bb9e87c3b5fc")
How it ran

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

LayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
TxpHome/DFPIR/net/model.py
pointer only (licence: NONE) · get_code("f1c9d08271b6e681")
How it ran

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

PromptGenBlock Ran
ran on a synthesized input · constructed an object; no result was computed
TxpHome/DFPIR/net/model.py
pointer only (licence: NONE) · get_code("a1516aec3a9327cc")
How it ran

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

TransformerBlock Ran
ran on a synthesized input · constructed an object; no result was computed
TxpHome/DFPIR/net/model.py
pointer only (licence: NONE) · get_code("cde7278418c4fe09")
How it ran

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

WithBias_LayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
TxpHome/DFPIR/net/model.py
pointer only (licence: NONE) · get_code("5bf117f23f08da74")
How it ran

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

PromptIR Not yet run
unverified (harvested, no recorded run)
TxpHome/DFPIR/net/model.py
pointer only (licence: NONE) · get_code("d44ec5b6ba535a19")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TxpHome/DFPIR 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 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 5 later) and 2 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
BiasFree_LayerNorm
brick of this paper's assembly: helper
24 other papers
19 dated earlier, 5 later · 20 only as an assembly brick
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2207.10040 (2022-07)
Single Frame Atmospheric Turbulence Mitigation: A Benchmark Study and A New Physics-Inspired Transformer Model
2303.06440 (2023-03)
Xformer: Hybrid X-Shaped Transformer for Image Denoising
and 21 more not named here
WithBias_LayerNorm
brick of this paper's assembly: helper
24 other papers
19 dated earlier, 5 later · 20 only as an assembly brick
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2207.10040 (2022-07)
Single Frame Atmospheric Turbulence Mitigation: A Benchmark Study and A New Physics-Inspired Transformer Model
2303.06440 (2023-03)
Xformer: Hybrid X-Shaped Transformer for Image Denoising
and 21 more not named here
LayerNorm
brick of this paper's assembly: helper
22 other papers
19 dated earlier, 3 later · 17 only as an assembly brick
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2207.10040 (2022-07)
Single Frame Atmospheric Turbulence Mitigation: A Benchmark Study and A New Physics-Inspired Transformer Model
2303.06440 (2023-03)
Xformer: Hybrid X-Shaped Transformer for Image Denoising
and 19 more not named here
Attention
brick of this paper's assembly: model
9 other papers
7 dated earlier, 2 later · 8 only as an assembly brick
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2207.10040 (2022-07)
Single Frame Atmospheric Turbulence Mitigation: A Benchmark Study and A New Physics-Inspired Transformer Model
2303.06440 (2023-03)
Xformer: Hybrid X-Shaped Transformer for Image Denoising
and 6 more not named here
TransformerBlock
brick of this paper's assembly: model
9 other papers
7 dated earlier, 2 later · 5 only as an assembly brick
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2207.10040 (2022-07)
Single Frame Atmospheric Turbulence Mitigation: A Benchmark Study and A New Physics-Inspired Transformer Model
2303.06840 (2023-03)
DDFM: Denoising Diffusion Model for Multi-Modality Image Fusion
and 6 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-24.

Repositories linked to this paper

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

Abstract

All-in-one image restoration aims to recover clear images from various degradation types and levels with a unified model. Nonetheless, the significant variations among degradation types present challenges for training a universal model, often resulting in task interference, where the gradient update directions of different tasks may diverge due to shared parameters. To address this issue, motivated by the routing strategy, we propose DFPIR, a novel allin-one image restorer that introduces Degradation-aware Feature Perturbations(DFP) to adjust the feature space to align with the unified parameter space. In this paper, the feature perturbations primarily include channel-wise perturbations and attention-wise perturbations. Specifically, channel-wise perturbations are implemented by shuffling the channels in high-dimensional space guided by degradation types, while attention-wise perturbations are achieved through selective masking in the attention space. To achieve these goals, we propose a Degradation-Guided Perturbation Block (DGPB) to implement these two functions, positioned between the encoding and decoding stages of the encoder-decoder architecture. Extensive experimental results demonstrate that DFPIR achieves state-of-the-art performance on several all-in-one image restoration tasks including image denoising, image dehazing, image deraining, motion deblurring, and low-light image enhancement. Our codes are available at https://github.com/TxpHome/DFPIR.

For agents

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

get_harvested_code_for_paper("2505.12630")
get_code_for_paper("2505.12630")
have("2505.12630")

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

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

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

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

Connect an agent — have() is free.