SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.04621 · ECCV · 2024

OneRestore: A Universal Restoration Framework for Composite Degradation

Yuan Gao, Ryan Liu, Shengfeng He, Yu Guo, Huilin Zhu, Yuxu Lu

arXiv · PDF · Open in the Atlas

Code that ran

7 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 2 failures of our instrument; 6 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/2407.04621.json · badge: /api/ran/2407.04621.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
gy65896/onerestore marked official in Papers with Code
Papers with Code archive
5 ran · 6 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
BiasFree_LayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("724906a60f007865")
How it ran

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

Cross_Attention Ran
ran on a synthesized input · constructed an object; no result was computed
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("d3ccad8b8086e2e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gy65896/onerestore 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
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("e85ae4291ba1b8bc")
How it ran

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

Self_Attention Ran
ran on a synthesized input · constructed an object; no result was computed
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("ed78f14e4bfc3b01")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gy65896/onerestore 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
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("9e049fb20380c085")
How it ran

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

to_3d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from kkkls/evssm
pointer only · get_code("6485826a37203bb8")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

to_4d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from kkkls/evssm
pointer only · get_code("31052f33cc443e68")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

OneRestore Not yet run
unverified (harvested, no recorded run)
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("b7c1cde4ed5cf1e1")
How it ran

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

ResidualBlock Not yet run
unverified (harvested, no recorded run)
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("2fc5524979466ad4")
How it ran

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

TransformerBlock Not yet run
unverified (harvested, no recorded run)
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("392dd9ba5b5f2e7a")
How it ran

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

backbone Not yet run
unverified (harvested, no recorded run)
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("f6f0f786ee4961ce")
How it ran

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

decoder Not yet run
unverified (harvested, no recorded run)
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("4b68208faa69b606")
How it ran

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

encoder Not yet run
unverified (harvested, no recorded run)
gy65896/onerestore/model/OneRestore.py
pointer only (licence: NONE) · get_code("a153e6fda2be705e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gy65896/onerestore 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, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 5 the same month, 5 later) and 8 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
to_3d
brick of this paper's assembly: helper
80 other papers
49 dated earlier, 3 the same month, 26 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 77 more not named here
to_4d
brick of this paper's assembly: helper
79 other papers
48 dated earlier, 3 the same month, 26 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 76 more not named here
BiasFree_LayerNorm
brick of this paper's assembly: helper
24 other papers
13 dated earlier, 1 the same month, 10 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
13 dated earlier, 1 the same month, 10 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
13 dated earlier, 1 the same month, 8 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

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

In real-world scenarios, image impairments often manifest as composite degradations, presenting a complex interplay of elements such as low light, haze, rain, and snow. Despite this reality, existing restoration methods typically target isolated degradation types, thereby falling short in environments where multiple degrading factors coexist. To bridge this gap, our study proposes a versatile imaging model that consolidates four physical corruption paradigms to accurately represent complex, composite degradation scenarios. In this context, we propose OneRestore, a novel transformer-based framework designed for adaptive, controllable scene restoration. The proposed framework leverages a unique cross-attention mechanism, merging degraded scene descriptors with image features, allowing for nuanced restoration. Our model allows versatile input scene descriptors, ranging from manual text embeddings to automatic extractions based on visual attributes. Our methodology is further enhanced through a composite degradation restoration loss, using extra degraded images as negative samples to fortify model constraints. Comparative results on synthetic and real-world datasets demonstrate OneRestore as a superior solution, significantly advancing the state-ofthe-art in addressing complex, composite degradations. Y. Guo et al. Degraded Images Manual Restoration Automatic Restoration 'rain/snow' 'low+haze+rain/snow' 'haze' 'haze+rain/snow' 'low' 'low+rain/snow' 'low+haze' 'low+haze+snow' 'low+haze+rain' ? Manual Setting

For agents

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

get_harvested_code_for_paper("2407.04621")
get_code_for_paper("2407.04621")
have("2407.04621")

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

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

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

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

Connect an agent — have() is free.