Papers › DDPM-CD: Denoising Diffusion Probabilistic Models as Feature Extractors for Change Detection

DDPM-CD: Denoising Diffusion Probabilistic Models as Feature Extractors for Change Detection

23 Jun 2022arXiv:2206.11892archive 2025-07-28

Wele Gedara Chaminda Bandara, Nithin Gopalakrishnan Nair, Vishal M. Patel

Remote sensing change detection is crucial for understanding the dynamics of our planet's surface, facilitating the monitoring of environmental changes, evaluating human impact, predicting future trends, and supporting decision-making. In this work, we introduce a novel approach for change detection that can leverage off-the-shelf, unlabeled remote sensing images in the training process by pre-training a Denoising Diffusion Probabilistic Model (DDPM) - a class of generative models used in image synthesis. DDPMs learn the training data distribution by gradually converting training images into a Gaussian distribution using a Markov chain. During inference (i.e., sampling), they can generate a diverse set of samples closer to the training distribution, starting from Gaussian noise, achieving state-of-the-art image synthesis results. However, in this work, our focus is not on image synthesis but on utilizing it as a pre-trained feature extractor for the downstream application of change detection. Specifically, we fine-tune a lightweight change classifier utilizing the feature representations produced by the pre-trained DDPM alongside change labels. Experiments conducted on the LEVIR-CD, WHU-CD, DSIFN-CD, and CDD datasets demonstrate that the proposed DDPM-CD method significantly outperforms the existing state-of-the-art change detection methods in terms of F1 score, IoU, and overall accuracy, highlighting the pivotal role of pre-trained DDPM as a feature extractor for downstream applications. We have made both the code and pre-trained models available at https://github.com/wgcban/ddpm-cd

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="2206.11892")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 2 ran · our draft was wrong; 5 ran with no contract checked.

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

wgcban/ddpm-cd officialmentioned in papermentioned on GitHubpytorchMIT 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

13 samples harvested; 10 ran; 1 honoured the contract we drafted; 3 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.

1ran · honoured contract
2ran · violated contract
2ran · our draft was wrong
5ran
3unverified

Licence: 0 of the 13 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 wgcban/ddpm-cd. “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.

calculate_psnr wgcban/ddpm-cd/core/metrics.py official repository ran fingerprinted MIT (permissive) · 9394ff2c25b8a988 · report
default wgcban/ddpm-cd/model/ddpm_modules/diffusion.py official repository ran · violated contract MIT (permissive) · fbf9ec7be545688e · report
default_init wgcban/ddpm-cd/model/ddpm_modules/vanilla_unet.py official repository ran MIT (permissive) · 66362066ac43ccc4 · report
dict2str wgcban/ddpm-cd/core/logger.py official repository ran · our draft was wrong MIT (permissive) · 40c52ad98161c17b · report
dict_to_nonedict wgcban/ddpm-cd/core/logger.py official repository ran · our draft was wrong MIT (permissive) · ada7273eee7081c7 · report
exists wgcban/ddpm-cd/model/ddpm_modules/diffusion.py official repository ran · violated contract MIT (permissive) · 608e364a9d2376a3 · report
make_beta_schedule wgcban/ddpm-cd/model/ddpm_modules/diffusion.py official repository ran · honoured contract MIT (permissive) · 90be2f67f3d453d7 · report
ssim wgcban/ddpm-cd/core/metrics.py official repository ran fingerprinted MIT (permissive) · ba721aeacc165234 · report
tensor2img wgcban/ddpm-cd/core/metrics.py official repository ran MIT (permissive) · 34c878feb7966d4c · report
variance_scaling wgcban/ddpm-cd/model/ddpm_modules/vanilla_unet.py official repository ran MIT (permissive) · de3d22f71b0f275c · report
ddpm_conv3x3 wgcban/ddpm-cd/model/ddpm_modules/vanilla_unet.py official repository unverified MIT (permissive) · 8a784ebc11d07ba4 · report
define_G wgcban/ddpm-cd/model/networks.py official repository unverified MIT (permissive) · 49314e81665c06fc · report
parse wgcban/ddpm-cd/core/logger.py official repository unverified MIT (permissive) · ebcbfae053892594 · report

Tasks

Change DetectionDecision MakingDenoisingImage Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Change Detection CDD Dataset (season-varying) DDPM-CD F1-Score 95.62 #12 of 18 Archive leaderboard report
Change Detection CDD Dataset (season-varying) DDPM-CD Overall Accuracy 98.98 #12 of 18 Archive leaderboard report
Change Detection DSIFN-CD DDPM-CD F1 96.65 #1 of 9 Archive leaderboard report
Change Detection DSIFN-CD DDPM-CD Overall Accuracy 97.09 #1 of 9 Archive leaderboard report
Change Detection LEVIR-CD DDPM-CD F1 90.91 #20 of 28 Archive leaderboard report
Change Detection LEVIR-CD DDPM-CD Overall Accuracy 99.09 #20 of 28 Archive leaderboard report
Change Detection WHU-CD DDPM-CD F1 92.65 #8 of 22 Archive leaderboard report
Change Detection WHU-CD DDPM-CD Overall Accuracy 99.42 #8 of 22 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Diffusion

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