SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2409.03755 · ECCV · 2024

DC-Solver: Improving Predictor-Corrector Diffusion Sampler via Dynamic Compensation

Wenliang Zhao, Jiwen Lu, Jie Zhou, Haolin Wang

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 2 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2409.03755.json · badge: /api/ran/2409.03755.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
wl-zhao/dc-solver canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
wl-zhao/DC-Solver community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
interpolate_fn Ran
ran; our contract draft was wrong, not the code
wl-zhao/dc-solver/stable-diffusion/ldm/models/diffusion/dc_solver/dc_solver.py
pointer only (licence: NONE) · get_code("6a35b62fbc80f70a")
How it ran

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

expand_dims Ran
ran; our contract draft was wrong, not the code
wl-zhao/dc-solver/stable-diffusion/ldm/models/diffusion/dc_solver/dc_solver.py
pointer only (licence: NONE) · get_code("e6110366588c5c65")
How it ran

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

model_wrapper Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wl-zhao/dc-solver/stable-diffusion/ldm/models/diffusion/dc_solver/dc_solver.py
pointer only (licence: NONE) · get_code("3552d38797b670d4")
How it ran

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

model_wrapper Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wl-zhao/dc-solver/stable-diffusion/ldm/models/diffusion/dpm_solver/dpm_solver.py
pointer only (licence: NONE) · get_code("c38c4cd486f7a766")
How it ran

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

DCSolver Not yet run
unverified (harvested, no recorded run)
wl-zhao/DC-Solver/stable-diffusion/ldm/models/diffusion/dc_solver/dc_solver.py
pointer only (licence: NONE) · get_code("4fffa779d1ef3577")
How it ran

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

download_models Not yet run
unverified (harvested, no recorded run)
wl-zhao/dc-solver/stable-diffusion/notebook_helpers.py
pointer only (licence: NONE) · get_code("4533e43e06a12dc5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wl-zhao/dc-solver 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 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, 4 later) and 1 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
expand_dims
brick of this paper's assembly: helper
39 other papers
26 dated earlier, 10 later, 3 same year, order not determinable · 4 only as an assembly brick
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2202.09778 (2022-02)
Pseudo Numerical Methods for Diffusion Models on Manifolds
2206.00927 (2022-06)
DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps
and 36 more not named here
interpolate_fn 34 other papers
24 dated earlier, 7 later, 3 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2211.01095 (2022-11)
DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models
2212.09478 (2022-12)
MM-Diffusion: Learning Multi-Modal Diffusion Models for Joint Audio and Video Generation
and 31 more not named here
download_models 17 other papers
13 dated earlier, 3 later, 1 same year, order not determinable
2211.01324 (2022-11)
eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers
Dombrowski_Foreground-Background_Separation_through_Concept_Distillation_from_Generative_Image_Foundation_Models_ICCV_2023_paper (2023 (year only))
Foreground-Background Separation through Concept Distillation from Generative Image Foundation Models
2303.00836 (2023-03)
Ensemble flow reconstruction in the atmospheric boundary layer from spatially limited measurements through latent diffusion models
and 14 more not named here
model_wrapper 6 other papers
4 dated earlier, 1 later, 1 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
aaai_28147 (2024 (year only))
Adv-Diffusion: Imperceptible Adversarial Face Identity Attack via Latent Diffusion Model
2401.11708 (2024-01)
Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs
and 3 more not named here
model_wrapper 1 other paper
1 dated earlier
2302.04867 (2023-02)
UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models

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

Diffusion probabilistic models (DPMs) have shown remarkable performance in visual synthesis but are computationally expensive due to the need for multiple evaluations during the sampling. Recent predictor-corrector diffusion samplers have significantly reduced the required number of function evaluations (NFE), but inherently suffer from a misalignment issue caused by the extra corrector step, especially with a large classifier-free guidance scale (CFG). In this paper, we introduce a new fast DPM sampler called DC-Solver, which leverages dynamic compensation (DC) to mitigate the misalignment of the predictor-corrector samplers. The dynamic compensation is controlled by compensation ratios that are adaptive to the sampling steps and can be optimized on only 10 datapoints by pushing the sampling trajectory toward a ground truth trajectory. We further propose a cascade polynomial regression (CPR) which can instantly predict the compensation ratios on unseen sampling configurations. Additionally, we find that the proposed dynamic compensation can also serve as a plug-and-play module to boost the performance of predictor-only samplers. Extensive experiments on both unconditional sampling and conditional sampling demonstrate that our DC-Solver can consistently improve the sampling quality over previous methods on different DPMs with a wide range of resolutions up to 1024×1024. Notably, we achieve 10.38 FID (NFE=5) on unconditional FFHQ and 0.394 MSE (NFE=5, CFG=7.5) on Stable-Diffusion-2.1. Code is available at https://github.com/wl-zhao/DC-Solver.

For agents

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

get_harvested_code_for_paper("2409.03755")
get_code_for_paper("2409.03755")
have("2409.03755")

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

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

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

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

Connect an agent — have() is free.