Papers › DreamClear: High-Capacity Real-World Image Restoration with Privacy-Safe Dataset Curation

DreamClear: High-Capacity Real-World Image Restoration with Privacy-Safe Dataset Curation

24 Oct 2024arXiv:2410.18666archive 2025-07-28

Yuang Ai, Xiaoqiang Zhou, Huaibo Huang, Xiaotian Han, Zhengyu Chen, Quanzeng You, Hongxia Yang

Image restoration (IR) in real-world scenarios presents significant challenges due to the lack of high-capacity models and comprehensive datasets. To tackle these issues, we present a dual strategy: GenIR, an innovative data curation pipeline, and DreamClear, a cutting-edge Diffusion Transformer (DiT)-based image restoration model. GenIR, our pioneering contribution, is a dual-prompt learning pipeline that overcomes the limitations of existing datasets, which typically comprise only a few thousand images and thus offer limited generalizability for larger models. GenIR streamlines the process into three stages: image-text pair construction, dual-prompt based fine-tuning, and data generation & filtering. This approach circumvents the laborious data crawling process, ensuring copyright compliance and providing a cost-effective, privacy-safe solution for IR dataset construction. The result is a large-scale dataset of one million high-quality images. Our second contribution, DreamClear, is a DiT-based image restoration model. It utilizes the generative priors of text-to-image (T2I) diffusion models and the robust perceptual capabilities of multi-modal large language models (MLLMs) to achieve photorealistic restoration. To boost the model's adaptability to diverse real-world degradations, we introduce the Mixture of Adaptive Modulator (MoAM). It employs token-wise degradation priors to dynamically integrate various restoration experts, thereby expanding the range of degradations the model can address. Our exhaustive experiments confirm DreamClear's superior performance, underlining the efficacy of our dual strategy for real-world image restoration. Code and pre-trained models are available at: https://github.com/shallowdream204/DreamClear.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.18666")

Code

Syntology Ran 0 of 11 code samples harvested from 1 repository linked to this paper; 11 have no recorded run.

By repository: official repository: 11 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shallowdream204/dreamclear officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 0 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from shallowdream204/dreamclear. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AttentionBlock shallowdream204/dreamclear/basicsr/archs/dfdnet_util.py official repository unverified Apache-2.0 (permissive) · 8d3cd21cd5c3181a · report
PIL2Tensor shallowdream204/dreamclear/util_image.py official repository unverified Apache-2.0 (permissive) · 15ab450e1f7a0ad9 · report
Tensor2PIL shallowdream204/dreamclear/util_image.py official repository unverified Apache-2.0 (permissive) · 98906669109be0a4 · report
adaptive_instance_normalization shallowdream204/dreamclear/basicsr/archs/dfdnet_util.py official repository unverified Apache-2.0 (permissive) · b7c6741eed724350 · report
calc_mean_std shallowdream204/dreamclear/basicsr/archs/dfdnet_util.py official repository unverified Apache-2.0 (permissive) · a7e8af4ef5efc131 · report
g_path_regularize shallowdream204/dreamclear/basicsr/losses/gan_loss.py official repository unverified Apache-2.0 (permissive) · fe05416387de89c6 · report
gradient_penalty_loss shallowdream204/dreamclear/basicsr/losses/gan_loss.py official repository unverified Apache-2.0 (permissive) · 81eb425a41a7c2a1 · report
r1_penalty shallowdream204/dreamclear/basicsr/losses/gan_loss.py official repository unverified Apache-2.0 (permissive) · c7cba9053f3cadb5 · report
reduce_loss shallowdream204/dreamclear/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · a648a03a952822c0 · report
weight_reduce_loss shallowdream204/dreamclear/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · 1ba39317ea81871a · report
weighted_loss shallowdream204/dreamclear/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · cf63f8afc13f62a7 · report

Tasks

Image RestorationPrompt Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDiffusionDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections