SGCD: Stain-Guided CycleDiffusion for Unsupervised Domain Adaptation of Histopathology Image Classification
ELVIA analysis
Independent review pending
The first reported finding concerns “Target class labels determine adaptation-sample selection”. The release is not strictly label-blind target adaptation. Accuracy advantage, patient leakage and historical split preprocessing are not established.
Problem 1. Target class labels determine adaptation-sample selection
MinorEvidence and reasoning
Problem statement
`main.py` constructs the target training `CoordDataset` with class balancing enabled; the loader obtains labels from filename prefixes before downsampling.
Proof
Changing only those target class annotations can therefore change which image identities enter adaptation, even if minibatch labels are later discarded. In the balanced-subset operation, label information has already affected the training input. An externally predeclared curator subset would be a different protocol.
Possible revision
Use all eligible target training images or a selection rule independent of their class annotations. Identify any external subset manifest explicitly.
An explicit local correction is described; author adoption and a corresponding published erratum are not established.
Problem 2. Target-test AUC selects saved checkpoints
MinorEvidence and reasoning
Problem statement
The release repeatedly evaluates the dataset explicitly opened in testing mode and saves model components when its AUC improves.
Proof
For fixed scores and labels give AUCs reversing labels gives The selected epoch changes with test labels while predictions are fixed. This is model selection rather than logging alone.
Possible revision
Select by an independently declared validation rule or prespecified epoch, then evaluate on untouched final test data. A labeled target validation set changes the supervision protocol.
An explicit local correction is described; author adoption and a corresponding published erratum are not established.
Problem 3. The classifier branch backpropagates without stepping its optimizer
MinorEvidence and reasoning
Problem statement
Section 4.3 specifies classifier optimization. The classifier branch calls backward, but the only optimizer step in the surrounding loop is inside the diffusion branch.
Proof
For at backward creates gradient but leaves the parameter unchanged; SGD at rate would give The diffusion optimizer owns different parameters and cannot substitute. Batch-normalization buffers may still change.
Possible revision
Use a persistent classifier optimizer, matching scheduler and explicit intended trainable parameter set; clear gradients, backpropagate and step in that phase.
An explicit local correction is described; author adoption and a corresponding published erratum are not established.
Problem 4. Guidance is bypassed and its dormant derivative is incomplete
MinorEvidence and reasoning
Problem statement
The reverse function sets `guide` false internally; its dormant routine returns a normalized residual without the clean-estimator Jacobian and ignores its locally zeroed cutoff scale.
Proof
With denoiser and reference the clean estimate is The norm of its difference from the reference is constant, so its derivative is zero. The dormant normalized residual is instead This occurs away from the norm’s nondifferentiable boundary.
Possible revision
Honor the guidance flag and cutoff, and differentiate through the declared clean-image estimator, or explicitly specify and evaluate a different approximation.
An explicit local correction is described; author adoption and a corresponding published erratum are not established.
Problem 5. The custom sampler doubles variance and mismatches time indices
MinorEvidence and reasoning
Problem statement
The custom reverse step combines a deterministic direction with an unreduced additional noise variance; its loop skips ten indices while the step uses the immediate preceding index.
Proof
For a point-mass clean distribution and exact denoiser with the step gives for independent standard normals, hence variance instead of A loop at times first transitions using index then treats that output as time The final setting never reaches a clean endpoint under that stride.
Possible revision
Choose an actual destination and a consistent DDIM variance, direction and endpoint convention. For example, use and direction variance
An explicit local correction is described; author adoption and a corresponding published erratum are not established.
Problem 6. The target round trip selects the target model twice
MinorEvidence and reasoning
Problem statement
The claimed target-to-source-to-target cycle needs source reverse dynamics followed by target reverse dynamics; the target branch passes `model_T` to both calls.
Proof
Even deterministic inverse maps show the consequence: with the intended composition sends to the selected double-target composition sends it to The source arguments establish the selector error independently of this illustration.
Possible revision
Pass the source model to the first target-cycle reverse call and the target model to reconstruction. Reconcile guidance, sampling and optimization separately.
An explicit local correction is described; author adoption and a corresponding published erratum are not established.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
To address this issue, this paper proposes a novel method termed Stain-Guided Cycle Diffusion (SGCD), employing a dual diffusion model with bidirectional generative constraints to synthesize highly realistic data for downstream task fine-tuning.
NeurIPS 2025 official proceedings PDF (current publisher bytes, checked 2026-10-21); Abstract, PDF p. 1
Actual review scope
The recorded inspection concerns these source locations: Introduction and Section 4.3, PDF pp.1 and 7; main.py, lines 61–84 and 129; Section 5, PDF pp.7–9; main.py, lines 130–135 and 552–559; Section 4.3, Eq.(9), PDF p.7; main.py, lines 373–388 and 521–543; Section 4.1, Eq.(3), PDF p.5; Algorithm 2, PDF p.15; main.py, lines 278–321; Eq.(2), PDF p.3; Algorithm 2, PDF p.15; main.py, lines 259–274, 318–319 and 596; Section 4.1, Eqs.(5),(7), PDF p.6; main.py, lines 499–507.