- Rating
- 4
- Clarity
- 3
- Confidence
- 2
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper introduces invariance auditing, a diagnostic that reveals what a feature extractor ignores rather than what it encodes by generating diverse natural inputs that all map to the same feature representation as a query input. The set of such inputs is the fiber, or invariant set of the model. The paper makes two contributions. First, it repurposes the fiber loss, the mismatch between a sample's features and the target features, as a training regularizer for conditional fiber models, improving how tightly samples sit on the fiber. Second, it proposes a training-free method that steers a pretrained unconditional diffusion or flow-matching model toward a target fiber using guidance, with the fiber loss as the terminal objective, plus a modification that matches the features of a re-noised query estimate to stabilize generation on detailed images. A controlled Color MNIST benchmark with a known fiber distribution compares fidelity against distributional consistency across generative paradigms, and larger studies across several vision and medical models span ImageNet, the cue-conflict dataset, a spurious-correlation MNIST variant, CheXpert, and rare-anatomy cases.
Strengths and weaknesses
Strengths
- The training-free method is the main practical step forward. Earlier auditing approaches had to train a fresh generative model for every model being inspected, which is expensive and is the reason the technique never caught on. This paper instead reuses a single pretrained generator and just guides it toward the target fiber, so the per-model cost disappears.
- The experiments are broad and convincing. The method reproduces biases that are already well established in the literature, such as CNN texture bias and the fact that self-supervised backbones are not invariant to their own training augmentations, which is good evidence that it works.
Weaknesses
- The abstract leads with the claim that Qwen-2B treats patients with a right-sided heart the same as normal anatomy, but this is based on only four images and on the absence of atypical anatomy in the generated fibers. The problem is that a missing right-sided heart could come from the generator, not the encoder. Situs inversus is almost certainly rare or absent in the diffusion model's training data, so the model may simply never draw it, regardless of whether the encoder actually throws away heart laterality.
- The "same quality" efficiency claim is asserted but never measured at scale. Table 4 compares only wall-clock time, and the comparison to prior fiber samples is purely visual. The Color MNIST benchmark does compare paradigms, but only on a toy grayscale model, so it does not show parity in the setting where the cost saving actually matters.
Questions
- How do you rule out that typical anatomy dominates the fibers because the diffusion prior rarely generates a right-sided heart, rather than because the encoder discards laterality?
- For the high-variance cases (e.g. BiomedClip on CheXpert), what does the per-fiber loss distribution look like?
- Do you have any quantitative comparison (fiber loss, FID, coverage) against a trained conditional fiber model on an ImageNet subject model, or is the parity claim based only on the toy Color MNIST benchmark and visual inspection?
Limitations
Yes.
Paper formatting concerns
N/A
Final justification
All of my concerns have been addressed. I will give score 4 to this paper.
Thank you for your careful review and detailed reading. Below we address the points raised.
Can generator bias misdiagnose an invariance? (W1, Q1)
You are right that the diffusion prior might overwhelmingly generate typical anatomy. But a thus biased generator can only prevent us from finding additional right-hearted images on the fiber – it cannot force left-hearted images to have a low fiber loss if they do not really belong to the fiber. The fiber loss only depends on the invariances of the subject model and is insensitive to the preferences of the generator. The fiber loss can only be low if the left-hearted fiber samples truly are on the same fibers as the situs inversus images. Otherwise, comparing different laterality images would lead to significantly higher fiber losses than comparing two typical images. Table 5 and Figure 10 show that this is not the case.
This experiment highlights a strength of invariance auditing, and especially our guided variant: There are not enough available situs inversus images to make the general statement that Qwen2B treats most or all right-hearted images the same as left-hearted ones, and we do not make this claim. However, invariance auditing also has the ability to perform qualitative analysis on specific query images. This justifies our claim in the abstract of “detecting cases where Qwen2B places typical anatomy and situs inversus in the same fiber”. Using guidance and our pretrained diffusion model this process was fast, and did not require training a conditional fiber model just to sample <100 images.
BiomedClip fiber loss distribution (Q2)
Thank you for making us aware of this outlier. The standard deviation is supposed to be computed over 10 different fiber sampling runs. However, for BiomedClip we mistakenly included samples from an old run (<10% of all samples). After fixing the bug, the new fiber loss values read 1.6±0.0 for BiomedClip, much closer to the ConvNeXt network and no longer an outlier. This does not affect Figures 8, 11, 16 and 17 and the overall conclusion of the experiment remains the same. We have double-checked that this did not occur in other datasets and will update Table 5.
Following up on your suggestion to check the distributions, we inspected the fiber loss values (after the correction) and found they roughly follow a log-normal distribution: We fit the log-normal on one sampling run and then apply a Kolmogorov–Smirnov test to fiber losses from an independent run. At α=0.05 the fit is rejected 5% of the time for ConvNeXt (same rate as true log-normal) and 20% for BiomedClip (slight deviations from log-normal).
ImageNet comparison to conditional models (Q3)
We indeed did not include a conditional fiber model in our ImageNet experiments for the following reason: The comparison with diffusion guidance strongly depends on the baseline generative quality of either model, and this might drastically confound their performance in the context of fiber sampling. In other words, if guided and conditional generation use different network architectures or training protocols, we may draw incorrect conclusions about their suitability for our method. In the lower-dimensional experiments, we explicitly ensured that this did not happen, but this is hard for ImageNet: available pretrained conditional (e.g. Bordes et al.) and unconditional (Dhariwal & Nichol) diffusion models are not readily comparable, because their baseline FID scores (before any fiber sampling application) are different. We considered it unjustified to retrain expensive generative models from scratch, especially since the conditional model must be retrained for every subject model.
In spite of the absence of an explicit comparison, we still have quantitative evidence to support our claim that the guidance does not sacrifice generative quality: The FID of aggregated fiber samples is close to that of the vanilla generator (see Table 2), which suggests that an equivalently trained conditional generator is unlikely to achieve superior quality. This is supplemented by visual inspection of the results of Bordes et al. and our benchmark results. In terms of fiber loss, Bordes et al. unfortunately only report it for a single image in their Figure 21 (3x lower than the nearest-neighbor distance), which is similar to our DinoV2 results of 4.5x lower (Table 5).
To acknowledge the slight gap in FID scores in Table 2, we will change “same quality” to “comparable quality” in l.13 in the abstract.
[1] Bordes, Florian, Randall Balestriero, and Pascal Vincent. "High fidelity visualization of what your self-supervised representation knows about." arXiv preprint arXiv:2112.09164 (2021).
[2] Dhariwal, Prafulla, and Alexander Nichol. "Diffusion models beat gans on image synthesis." Advances in neural information processing systems 34 (2021): 8780-8794.