SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.15510 · ICLR · 2025

Universal Image Restoration Pre-training via Degradation Classification

Jiakui Hu, Lujia Jin, Zhengjian Yao, Yanye Lu

arXiv · PDF · Open in the Atlas

Code that ran

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

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

Registry Ran
ran on a synthesized input · constructed an object; no result was computed
milab-pku/dcpt/basicsr/models/degradation_classification_pretrain_model.py
pointer only (licence: NONE) · get_code("ed2e0002a150698b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, milab-pku/dcpt 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_dist_info Ran
ran on a synthesized input
milab-pku/dcpt/basicsr/models/degradation_classification_pretrain_model.py
pointer only (licence: NONE) · get_code("34c62f60981f053e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, milab-pku/dcpt 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_root_logger Ran
ran; our contract draft was wrong, not the code
milab-pku/dcpt/basicsr/models/degradation_classification_pretrain_model.py
pointer only (licence: NONE) · get_code("78b9b7a499b61ec2")
How it ran

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

master_only Ran
ran; our contract draft was wrong, not the code
milab-pku/dcpt/basicsr/models/degradation_classification_pretrain_model.py
pointer only (licence: NONE) · get_code("7c6a318ab41fb56f")
How it ran

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

DCPTModel Not yet run
unverified (harvested, no recorded run)
milab-pku/dcpt/basicsr/models/degradation_classification_pretrain_model.py
pointer only (licence: NONE) · get_code("eb972bf3719c2f3b")
How it ran

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

build_loss Not yet run
unverified (harvested, no recorded run)
milab-pku/dcpt/basicsr/models/degradation_classification_pretrain_model.py
pointer only (licence: NONE) · get_code("406917308c80d0ad")
How it ran

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

build_network Not yet run
unverified (harvested, no recorded run)
milab-pku/dcpt/basicsr/models/degradation_classification_pretrain_model.py
pointer only (licence: NONE) · get_code("1364e5aeb7f4920b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, milab-pku/dcpt 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 1 later) and 4 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
Registry
brick of this paper's assembly: helper
13 other papers
11 dated earlier, 2 later · 13 only as an assembly brick
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2203.09195 (2022-03)
Details or Artifacts: A Locally Discriminative Learning Approach to Realistic Image Super-Resolution
2210.00752 (2022-10)
From Face to Natural Image: Learning Real Degradation for Blind Image Super-Resolution
and 10 more not named here
master_only
brick of this paper's assembly: helper
9 other papers
9 dated earlier
2105.12085 (2021-05)
DSANet: Dynamic Segment Aggregation Network for Video-Level Representation Learning
2110.04627 (2021-10)
Vector-quantized Image Modeling with Improved VQGAN
and 6 more not named here
get_dist_info
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2205.06803 (2022-05)
VQFR: Blind Face Restoration with Vector-Quantized Dictionary and Parallel Decoder
get_root_logger
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2303.08682 (2023-03)
RSFNet: A White-Box Image Retouching Approach using Region-Specific Color Filters

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

This paper proposes the Degradation Classification Pre-Training (DCPT), which enables models to learn how to classify the degradation type of input images for universal image restoration pre-training. Unlike the existing self-supervised pretraining methods, DCPT utilizes the degradation type of the input image as an extremely weak supervision, which can be effortlessly obtained, even intrinsic in all image restoration datasets. DCPT comprises two primary stages. Initially, image features are extracted from the encoder. Subsequently, a lightweight decoder, such as ResNet18, is leveraged to classify the degradation type of the input image solely based on the features extracted in the first stage, without utilizing the input image. The encoder is pre-trained with a straightforward yet potent DCPT, which is used to address universal image restoration and achieve outstanding performance. Following DCPT, both convolutional neural networks (CNNs) and transformers demonstrate performance improvements, with gains of up to 2.55 dB in the 10D allin-one restoration task and 6.53 dB in the mixed degradation scenarios. Moreover, previous self-supervised pretraining methods, such as masked image modeling, discard the decoder after pre-training, while our DCPT utilizes the pre-trained parameters more effectively. This superiority arises from the degradation classifier acquired during DCPT, which facilitates transfer learning between models of identical architecture trained on diverse degradation types. Source code and models are available at https://github.com/MILab-PKU/dcpt.

For agents

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

get_harvested_code_for_paper("2501.15510")
get_code_for_paper("2501.15510")
have("2501.15510")

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

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

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

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

Connect an agent — have() is free.