SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2507.00790 · ICCV · 2025

LD-RPS: Zero-Shot Unified Image Restoration via Latent Diffusion Recurrent Posterior Sampling

Tongwen Huang, Haoqian Wang, Xiangxiang Chu, Yong Wang, Hailang Huang, Huaqiu Li

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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, 0 violated it and 0 have no contract verdict; 3 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/2507.00790.json · badge: /api/ran/2507.00790.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
AMAP-ML/LD-RPS canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
build_transform Ran
ran; our contract draft was wrong, not the code
AMAP-ML/LD-RPS/get_prompts.py
pointer only (licence: NONE) · get_code("57e95166ade5f25c")
How it ran

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

check_value Ran
ran, honoured the contract we drafted
AMAP-ML/LD-RPS/instruct_all_in_one/dehazing_pipeline.py
pointer only (licence: NONE) · get_code("5366754d01b9e13b")
How it ran

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

dynamic_clip Ran
ran, honoured the contract we drafted
AMAP-ML/LD-RPS/instruct_all_in_one/utils.py
pointer only (licence: NONE) · get_code("2277a2b674750a37")
How it ran

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

dynamic_preprocess Ran
ran; our contract draft was wrong, not the code
AMAP-ML/LD-RPS/get_prompts.py
pointer only (licence: NONE); the stored copy get_code serves, from jam-cc/MMAD, is pointer only (licence: NONE) · get_code("6dc77bb22fb9d660")
How it ran

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

find_closest_aspect_ratio Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
AMAP-ML/LD-RPS/get_prompts.py
pointer only (licence: NONE); the stored copy get_code serves, from OpenGVLab/MM-NIAH, is pointer only (licence: NONE) · get_code("bd77f5f8067f18e9")
How it ran

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

flatten_list Ran
ran, honoured the contract we drafted
AMAP-ML/LD-RPS/img_qua_ass/benchmark_results.py
pointer only (licence: NONE) · get_code("024e0b35d03e4520")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AMAP-ML/LD-RPS 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
AMAP-ML/LD-RPS/instruct_all_in_one/utils.py
pointer only (licence: NONE) · get_code("d9b1ab1c1595bdeb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AMAP-ML/LD-RPS 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_img2img Not yet run
unverified (harvested, no recorded run)
AMAP-ML/LD-RPS/instruct_all_in_one/utils.py
pointer only (licence: NONE) · get_code("5ead8ab4f1670b16")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AMAP-ML/LD-RPS 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, 2 the same month, 3 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
find_closest_aspect_ratio 43 other papers
33 dated earlier, 6 later, 4 same year, order not determinable
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 40 more not named here
build_transform 31 other papers
22 dated earlier, 1 the same month, 4 later, 4 same year, order not determinable
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 28 more not named here
dynamic_preprocess 17 other papers
11 dated earlier, 1 the same month, 2 later, 3 same year, order not determinable
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
2410.01733 (2024-10)
ASCIIEval: Benchmarking Models' Visual Perception in Text Strings via ASCII Art
and 14 more not named here
flatten_list 1 other paper
1 dated earlier
2308.03060 (2023-08)
TOPIQ: A Top-down Approach from Semantics to Distortions for Image Quality Assessment

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

put with the generated preference of the diffusion model, and employs recurrent refinement for posterior sampling. Extensive experiments demonstrate that our method outperforms state-of-the-art methods, validating its effectiveness and robustness. Our code and data will be available at https://github.com/AMAP-ML/LD-RPS.

For agents

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

get_harvested_code_for_paper("2507.00790")
get_code_for_paper("2507.00790")
have("2507.00790")

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

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

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

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

Connect an agent — have() is free.