COSDA: Counterfactual-based Susceptibility Risk Framework for Open-Set Domain Adaptation
ELVIA analysis
Independent review pending
The proposed representation and prototype heuristics may be useful, but their principal causal and generalization guarantees do not follow. The probability-of-sufficiency risk is replaced by a different quantity; the target-risk bound fails by explicit finite counterexamples; the variance-only generalization bound can be negative when the generalization gap is zero; and mutual-information maximization does not imply the claimed exogeneity. These are Major theoretical findings. Separate, version-bounded source defects affect a distributed training path, benchmark defaults, and regularization accounting. They do not establish that the published experiments used these defects. All 22 physical PDF pages, all original figures, and the complete acquired Python release were read or viewed as appropriate. Only reviewer-written checks were run. Scientific adjudication remains pending.
Problem 1. the risk identity and Theorem 2 are invalid
MajorEvidence and reasoning
Problem statement
Proposition1 risk identity and Theorem2 target upper bound. Examples satisfy pointwise monotone correctness. Same-domain example needs no domain shift; binary representation can ignore nuisance state. Positive-unknown-mass extension recorded.
Proof
Proposition 1, equation (8), and Appendix B.1 replace a ratio by a difference. Theorem 2, equation (10), and Appendix B.3 then give an invalid upper bound even if that difference is adopted as a new surrogate risk.
Let and Under the identification assumptions used by the paper, so For these are and Both probabilities are realizable by monotone potential outcomes: take independent uniform let correctness under be and under be and randomize the treatment independently of Thus this is not a violation of exogeneity or monotonicity.
There is useful counterevidence to an overly broad objection. For the weaker inequality does hold, since It could justify a limited surrogate interpretation. However, Appendix B.1’s intermediate bound fails in the example above: More importantly, minimizing the difference need not minimize the true risk. The feasible pairs and have differences but true risks respectively. The smaller difference chooses the larger true risk. A corrected statement must distinguish the risk from a surrogate and its possible upper bound.
Equations (36)–(38), pages 15–16, subtract two upper bounds on joint errors. From and one cannot infer The sign is central because the intervention error is deliberately subtracted.
For a binary counterexample, let the source have two nuisance states with masses and the target have masses all with the same known label. Let a deterministic classifier be correct on the observed representation and wrong on the intervened representation at both states. The representation can ignore the nuisance state, so its invariance and monotonic correctness are preserved. Then both disagreements vanish, and Equation (10) claims which is false even after replacing its strict inequality by a weak one.
This is not solely a closed-set boundary issue. Add target-only unknown mass on a new support point, with equal errors before and after intervention; give the old target states masses The unknown difference term is zero, and the claimed inequality becomes This extension uses the paper’s support-restricted density ratio. A convention making the divergence infinite for every open-set problem would instead render the advertised bound uninformative.
Equation (35) also applies to a multiclass problem. When two voters predict distinct wrong classes, the two error indicators sum to while disagreement plus twice joint error is
The failure can reverse the final inequality without any domain shift. Set fix true label and choose four equiprobable voters with outputs Every voter’s correctness is monotone under this intervention. Direct enumeration gives The true difference is but the right side of equation (10), with and no unsupported mass, is Replicating this construction under cyclic class relabeling supplies all three true classes if desired. A new multiclass decomposition and a valid bound for a signed error difference are needed. The advertised source/target loss justification materially depends on both missing steps; the findings do not by themselves refute measured accuracy.
Possible revision
Separate true risk from surrogate; replace signed transfer bound and multiclass decomposition.
Problem 2. Corollary 1 is not a valid high-probability bound
MajorEvidence and reasoning
Problem statement
Corollary1 uniform high-probability variance-only generalization bound. Gaussian feature distributions and fixed classifier are within stated every-parameter claim; monotonicity holds with equality. Counterexample unaffected by probability/error sign mismatch.
Proof
Equation (14), pages 4–5, asserts a uniform bound by Appendix B.4 does not establish it.
Take Gaussian representations with standard deviations one fixed true label, and a constant wrong classifier. Observed and intervened errors are both correct-class probabilities are both Consequently the difference risk in equation (8) and its empirical difference in equation (13) are both zero for every sample. Nevertheless the alleged bound is It fails with probability one, independently of sample size. Monotonicity holds with equality. This also avoids relying on the opposite sign conventions of equations (8) and (13), which must themselves be reconciled.
In the proof, upper bounds are again subtracted. Equation (42), page 17, then replaces by as an equality. These are not equal: for and the forward and reverse KL divergences are approximately and Nor does taking the prior variance to infinity yield a finite PAC-Bayes bound: the KL diverges. Dropping a parameter-independent divergent term may motivate an optimization heuristic, but cannot preserve a finite probability guarantee. A repaired result needs a proper prior, correct signs, and sample-size/confidence dependence.
Possible revision
Use valid two-sided concentration, proper prior and explicit sample/confidence dependence.
Problem 3. the stated mutual-information equivalence and monotonicity enforcement do not follow
MajorEvidence and reasoning
Problem statement
MI equivalence establishes exogeneity and average objective establishes monotonicity. Explicit coupled source/target law, balanced independent domain; same-label pairing does not eliminate invertible permutation. Randomized treatment for monotonicity example.
Proof
Proposition 2, equation (16), and Appendix B.5 identify domain-invariant conditional labels with maximized cross-domain mutual information. Equation (15) is also presented as satisfaction of monotonicity. Neither implication is established.
Let be a fair binary label, and pair source and target features from that label as and Their mutual information is the maximum possible, one bit. In a pooled population with independent fair domain let and Then but Thus maximal shared information, even with domain-independent feature marginals and same-label pairing, does not ensure the required conditional invariance. Mutual information is unchanged by invertible domain-specific permutations. This does not show that COSDA’s particular cosine alignment necessarily selects such a permutation; it disproves the claimed equivalence used to justify it.
There is a further definitional issue: conditional on a fixed class and fixed training set, the source centroid is constant, so its literal mutual information with a random target feature is zero. The variables and joint sampling law need to be specified before the displayed expectation of mutual information is meaningful. Equation (44) writes a single event’s log term in place of a full KL/conditional-MI sum, and equation (46)’s claimed “transmissibility” supplies no missing implication.
Likewise, a positive average correctness difference does not exclude individual defiers. A population with responders defiers and never-correct units has yet violates monotonicity on ten percent of units. With randomized intervention, true sufficiency is while the formula assuming monotonicity gives An average objective is not an enforcement mechanism for the pointwise assumption. CFA and VMP can remain useful heuristics; claims that they establish causal identification require additional conditions or weaker wording.
Possible revision
State additional identifiable coupling assumptions or remove equivalence/enforcement guarantees.
Problem 4. Released distributed training remains unsupervised on target labels
MajorEvidence and reasoning
Problem statement
Released distributed training remains unsupervised on target labels. Source loader shorter than target; run reaches branch and supervised loss. Outcome conditional, not executed.
Proof
In `cosda-clip/train_b_ddp.py`, lines – the loop runs for the maximum of source and target loader lengths. When the source iterator is exhausted, lines – reset it to the target loader. Its third output becomes `target_s` and enters source cross-entropy at line and lines – The dataset returns the annotation-derived label at `dataset/dataset.py:135--147`, mapping unknown labels to the unknown index.
If the source loader is shorter and the run reaches that branch, target annotations therefore enter the supervised gradient. An independent three-step iterator example, with two source batches and three target batches, confirms the last supervised batch comes from target data. This is a Major protocol defect for an affected distributed experiment. It is conditional on this path and does not prove that any published result is affected. In particular, the README’s adaptation command uses `train_b_noddp.py`, whose line correctly resets the source loader. The optional true-label contrastive branch defaults off; its existence is not evidence of label leakage in normal non-distributed adaptation. The repair is to reset the source iterator correctly and document the historical command and revision.
Possible revision
Reset correct iterator and disclose exact historical command/version.
Problem 5. Released defaults/objective match documented benchmark splits and regularization
MinorEvidence and reasoning
Problem statement
Released defaults/objective match documented benchmark splits and regularization. Current default configuration and literal dictionary update semantics; no external override.
Proof
The current DomainNet configuration fixes shared and unknown classes at `config/model_config.py:220--223`, while Tables 4–5 specify Dataset filtering thus retains target class IDs – rather than all classes, omitting – and moving the known/unknown boundary. Office-31’s default unknown classes at line combined with the offset in `dataset/dataset.py:92`, selects – rather than the paper’s – an explicit override to repairs that default. These are confirmed current-configuration differences, not evidence that the historical tables used the wrong split.
Both domains’ loss dictionaries use the same keys `loss_kl_nll` and `loss_kl_int_nll`. In the non-distributed loop, source update at line is overwritten by target update at line so the total at line retains only target values, rather than both domains’ regularizers. Distinct keys or explicit summation are needed if Algorithm 1 is intended. Moreover, `model/COSDA.py:119--124,230--235` applies a positive-part entropy threshold to both representations, not equation (14)’s signed log-standard-deviation difference. The implemented cross-entropy surrogate is also not a literal estimator of the disagreement/joint-error expressions. These discrepancies need an explicit algorithm-to-code mapping; replacing the false theorem alone does not document the implemented objective.
Possible revision
Correct defaults, distinguish/sum domain keys and document implemented surrogate.
Problem 6. Table3 average and Table8 improvement prose
MinorEvidence and reasoning
Problem statement
The Table 3 average and Table 8 improvement description should follow from their displayed comparisons. Arithmetic on displayed entries at their printed precision.
Proof
Table 3, page 7, reports an average OS* of without whereas its four entries average to or at the displayed precision. In Table 8, page 22, the CA OS* improvement over ANNA is percentage points, not the prose’s The corresponding UNK and HOS differences, and agree. These corrections do not reverse those individual improvements.
Figures 1–11, including both Figure 5 sensitivity surfaces and the five released embeddings, were visually inspected. The t-SNE separation is descriptive evidence, not proof of exogeneity. The synthetic graph in Figure 8 is its distance-correlation measurements demonstrate retention of label-associated factors in that generative model, not identification of an intervention effect This is a limit of the proposed causal validation, not an allegation that its plotted measurements are fabricated. The packet does not provide raw run-level uncertainty, a complete historical benchmark record, or synthetic-generation code sufficient to reproduce all these claims. Best-checkpoint selection and correspondence between current training paths and reported tables remain unresolved.
Possible revision
Correct average and percentage-point difference.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Source location
Pages3-4 equations8/10 Pages14-16 equations30-38 Pages4-5 equations13-14 Pages16-17 equations40-43 Page5 equations15-16 Pages13 and17 equations44-47 cosda-clip/train_b_ddp.py:157-185 and94-98 cosda-clip/dataset/dataset.py:135-147 config/model_config.py:130,220-223 dataset/dataset.py:88-107 train_b_noddp.py:78-91,169,207-209 model/COSDA.py:119-124,230-235 Page7 Table3 w/oLs OSstar average Page22 CtoA comparison prose
Actual review scope
The recorded inspection concerns these source locations: Pages3-4 equations8/10 Pages14-16 equations30-38; Pages4-5 equations13-14 Pages16-17 equations40-43; Page5 equations15-16 Pages13 and17 equations44-47; cosda-clip/train_b_ddp.py:157-185 and94-98 cosda-clip/dataset/dataset.py:135-147; config/model_config.py:130,220-223 dataset/dataset.py:88-107 train_b_noddp.py:78-91,169,207-209 model/COSDA.py:119-124,230-235; Page7 Table 3 w/oLs OSstar average Page22 CtoA comparison prose.