ELVIA.Evidence Atlas
NeurIPS 2025ELVIA assessment Minor

SGCD: Stain-Guided CycleDiffusion for Unsupervised Domain Adaptation of Histopathology Image Classification

Hsi-Ling Chen, Chun-Shien Lu, Pau-Choo Chung

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

Minor
Evidence 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.

□\square

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

Minor
Evidence 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 (0.1,0.9,0.6,0.7)(0.1,0.9,0.6,0.7) and (0.1,0.2,0.3,0.4),(0.1,0.2,0.3,0.4), labels (0,0,1,1)(0,0,1,1) give AUCs (0.5,1);(0.5,1); reversing labels gives (0.5,0).(0.5,0). The selected epoch changes with test labels while predictions are fixed. This is model selection rather than logging alone.

□\square

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

Minor
Evidence 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 L(w)=w2/2L(w)=w^2/2 at w=1,w=1, backward creates gradient 11 but leaves the parameter unchanged; SGD at rate 0.10.1 would give 0.9.0.9. The diffusion optimizer owns different parameters and cannot substitute. Batch-normalization buffers may still change.

□\square

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

Minor
Evidence 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 At=1/4,A_t=1/4, denoiser ϵ(x)=2x/3\epsilon(x)=2x/\sqrt3 and reference 1,1, the clean estimate is 2x−3ϵ(x)=0.2x-\sqrt3\epsilon(x)=0. The norm of its difference from the reference is constant, so its derivative is zero. The dormant normalized residual is instead −1.-1. This occurs away from the norm’s nondifferentiable boundary.

□\square

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

Minor
Evidence 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 At=0.64,A_t=0.64, As=0.81,A_s=0.81, the step gives xs=0.19ϵ+0.19zx_s=\sqrt{0.19}\epsilon+\sqrt{0.19}z for independent standard normals, hence variance 0.380.38 instead of 0.19.0.19. A loop at times (30,20,10,0)(30,20,10,0) first transitions using index 29,29, then treats that output as time 20.20. The final T=5T=5 setting never reaches a clean endpoint under that stride.

□\square

Possible revision

Choose an actual destination s<ts<t and a consistent DDIM variance, direction and endpoint convention. For example, use σ2=η2(1−As)(1−At/As)/(1−At)\sigma^2=\eta^2(1-A_s)(1-A_t/A_s)/(1-A_t) and direction variance 1−As−σ2.1-A_s-\sigma^2.

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

Minor
Evidence 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 DS(x)=2x,D_S(x)=2x, DT(x)=x/2,D_T(x)=x/2, the intended composition sends 11 to 1;1; the selected double-target composition sends it to 1/4.1/4. The source arguments establish the selector error independently of this illustration.

□\square

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.

Submit an author revisionContribute a review