Show Me What You Don’t Know: Efficient Sampling from Invariant Sets for Model Validation
Armand Rousselot, Joran Wendebourg, Ullrich Koethe
NeurIPS 2026
TL;DR. We study sampling fibers, sets of natural inputs with identical representations, and improve it via a training-free approach that relies on guidance.
Abstract. The performance of machine learning models depends on discovering features in the data that are relevant to solving the given task while ignoring irrelevant variation. To check and visualize whether this is the case, we propose ‘invariance auditing’, a diagnostic tool to analyze feature extractors. Invariance auditing generates diverse inputs which all yield the same features as a given query input, and are therefore treated as identical by the model. Using external knowledge about the task at hand, this enables assessing if the learned invariances do or do not conform to the task's required semantics. Unlike existing work where a dedicated generative model is trained for each feature extractor, our algorithm is training-free and exploits a pretrained diffusion or flow-matching model to sample invariant inputs. Our fiber loss -- which penalizes feature mismatch -- guides the denoising process so the output shares the same representation as the query input. This replaces days of training with a single guided generation procedure at comparable quality. Experiments on popular datasets and model types demonstrate that our auditing method reveals invariances spanning very desirable and concerning behavior. For instance, it detects cases where Qwen-2B places patients with situs inversus (heart on the right side) in the same fiber as typical anatomy.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper initially received one “Borderline reject”, one “Borderline accept,” and one “Accept” rating from the reviewers. The paper introduces a training-free method for invariance auditing using pretrained diffusion or flow-matching models to sample diverse inputs that map to the same representation as a given input, enabling practical and scalable investigation of model invariances and blind spots. While the methodology is novel and widely validated, some theoretical analysis, ablation studies, and clarity on certain empirical claims are lacking, and the originality is somewhat limited by adaptation of existing generative guidance techniques.
There are a couple of questions and limitations highlighted by three reviewers. The authors' feedback on these questions in the rebuttal will help the reviewers to justify their final decisions.
- Limited theoretical analysis: The method's choices (e.g., guidance schedule, regularizer weights) are empirically motivated rather than theoretically grounded, limiting generalization and depth.
- Somewhat incremental technical novelty: The core innovation is in framing and applying existing guidance mechanisms rather than a fundamentally new algorithmic advance.
- Lack of detailed ablations: The paper would benefit from more systematic ablation studies to assess stability and sensitivity to pipeline settings and hyperparameters.
- Dense and fragmented presentation: Some methodological details are scattered between the main text and appendix, making reproducibility more challenging.
- Uncertainty in certain empirical claims: Some efficiency and diagnostic claims are asserted rather than rigorously measured, and some results (e.g., rare anatomy) may reflect generative prior limitations rather than true model invariance.
Final justification
The rebuttal addressed the concerns raised by the reviewers and provided comprehensive experiments and analysis of the proposed method. It is helpful for assessing the paper's contributions. All reviewers recommend acceptance with one Borderline Accept and two Accepts after discussion, and the AC concurs. The final version should include all reviewer comments, suggestions, and additional experiments from the rebuttal.
Read meta-review
Meta-review
This paper initially received one “Borderline reject”, one “Borderline accept,” and one “Accept” rating from the reviewers. The paper introduces a training-free method for invariance auditing using pretrained diffusion or flow-matching models to sample diverse inputs that map to the same representation as a given input, enabling practical and scalable investigation of model invariances and blind spots. While the methodology is novel and widely validated, some theoretical analysis, ablation studies, and clarity on certain empirical claims are lacking, and the originality is somewhat limited by adaptation of existing generative guidance techniques.
There are a couple of questions and limitations highlighted by three reviewers. The authors' feedback on these questions in the rebuttal will help the reviewers to justify their final decisions.
- Limited theoretical analysis: The method's choices (e.g., guidance schedule, regularizer weights) are empirically motivated rather than theoretically grounded, limiting generalization and depth.
- Somewhat incremental technical novelty: The core innovation is in framing and applying existing guidance mechanisms rather than a fundamentally new algorithmic advance.
- Lack of detailed ablations: The paper would benefit from more systematic ablation studies to assess stability and sensitivity to pipeline settings and hyperparameters.
- Dense and fragmented presentation: Some methodological details are scattered between the main text and appendix, making reproducibility more challenging.
- Uncertainty in certain empirical claims: Some efficiency and diagnostic claims are asserted rather than rigorously measured, and some results (e.g., rare anatomy) may reflect generative prior limitations rather than true model invariance.
Final justification
The rebuttal addressed the concerns raised by the reviewers and provided comprehensive experiments and analysis of the proposed method. It is helpful for assessing the paper's contributions. All reviewers recommend acceptance with one Borderline Accept and two Accepts after discussion, and the AC concurs. The final version should include all reviewer comments, suggestions, and additional experiments from the rebuttal.
1 comment
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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.
Final justification
All of my concerns have been addressed. I will give score 4 to this paper.
Formatting concerns
N/A
2 comments
Rebuttal
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 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 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.
All of my questions have been addressed. I will increase my score.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper works with invariance auditing: diagnosing what a model ignores by generating diverse, realistic inputs that all map to the same representation (the model's "fiber"). The framework itself is not new (Rombach et al. 2020), but prior methods required training a conditional generative model from scratch (computationally heavy) for every model under audit, which kept the technique from being adopted as a routine diagnostic.
The paper's contributions:
i) Fiber loss as a regularizer to add the feature-mismatch penalty during conditional fiber-model training improves fidelity (how closely samples land on the fiber).
ii) NDTM-based training-free guidance to steer a pretrained, unconditional diffusion model toward a target fiber at inference time, eliminating per-subject-model training. This is the central contribution.
iii) A controlled Color MNIST benchmark with exactly known fiber distributions, enabling fair comparison across fiber-model designs.
iv) Large-scale audits across ImageNet, cue-conflict, medical imaging (CheXpert), and a VLM (Qwen-2B), both rediscovering known biases and exposing new failure modes.
Strengths and weaknesses
Strength:
i) The motivation is useful and practical. Eliminating per-subject-model training, with a cost saving that compounds across the number of models audited, could plausibly turn invariance auditing from a rarely-used technique into a routine diagnostic. The author’s work is significant.
ii) The controlled Color MNIST benchmark is scientific. By constructing a setting where the true fiber and its distribution are known exactly, the authors can actually measure fidelity and consistency rather than argue for them qualitatively, and this lets them compare a wide range of fiber-model designs.
iii) The method's breadth of validation is a strength in itself. Rather than demonstrating on one dataset, the authors apply it across synthetic data (Color MNIST), natural images (ImageNet), a deliberately adversarial distribution (cue conflict), causal-spurious-correlation data (causal MNIST), and medical imaging (CheXpert and a VLM). Covering this range, including both classifiers and self-supervised backbones, gives reasonable confidence that the approach is not narrowly tuned to a single setting.
Weaknesses:
i) The paper contains no theoretical analysis, and the method is justified entirely by empirics. The guidance schedule, the regularizer weights, and the stability modification are all chosen by observation rather than derived. This is acceptable for a method paper but caps how deep the contribution goes and leaves open questions about when the heuristics hold. That weaken the quality and significance.
ii) The paper follows an application-driven path, where the fundamental NDTM guidance machinery is adapted from prior work (Pandey et al. 2025) rather than being built from the ground up. Because the technical novelty is centered on framing and implementation rather than a major algorithmic breakthrough, the contribution and originality might appear somewhat limited.
iii) The actual method is dense and fragmented. The NDTM mechanics, the proposed modification, and the several regularizer terms are spread across the main text and Appendix C. In Benchmark comparison figure 4, was introduced (weight on the fiber loss) but thinly explained in the mechanics, which is confusing.
Questions
i) In Table 2, the InceptionV3_NDTM under Pytorch FID is 3.81, which is way smaller than other values. Can the author explain more why it is so small compared to other cases?
ii) The guidance strength is scheduled by hand (strong in t ∈ [700,400]). How sensitive are results to this schedule, and how was it chosen? Does it transfer across diffusion backbones, or is it re-tuned per model? Also, can the author explain how the weight is implemented in the mechanism?
iii) NDTM is presented here purely as an image-domain method for fiber sampling, but the underlying mechanism—steering a pretrained generator toward a differentiable terminal cost at inference time—seems domain-agnostic. Could the authors comment on whether the approach extends to non-image modalities (e.g., audio, time series, molecules, proteins, or other scientific data) where pretrained diffusion or flow-matching generators exist? Specifically, are there modality-specific obstacles that would prevent invariance auditing, or guided sampling more generally, from transferring, and have the authors tried or considered any such setting?
Limitations
Yes
Final justification
The authors answered my questions and concerns properly. By refering other reviews' comment, I will increase my score to 5 accept.
Formatting concerns
No
2 comments
Rebuttal
We thank you for your detailed review and helpful suggestions.
Originality (W2)
We respectfully uphold that a work introducing novel problem framings and metrics, and a novel combination of existing methods is equally valuable. Concretely, our contributions are centered on reformulating fiber sampling as a guidance problem. Our work is, to our knowledge, the first to do so. Eliminating per-subject-model training cost removes a big restriction which made invariance auditing impractical for many cases.
Methodically, we contribute an improvement to NDTM, replacing the static target in the terminal cost with a noised re-approximation in Equation 9. We show that this modification significantly increases the stability of the guidance process and is necessary to consistently obtain good fiber samples on ImageNet.
Furthermore, we provide experimental validation of this new formulation in various different settings. This also produces new findings about the blind spots of widely used models, which were previously unexplored. For example, we audit invariances of InceptionV3 which lead to blind spots in FID as an evaluation criterion and pinpoint heart laterality invariance of Qwen2B to the vision encoder.
Small Pytorch FID (Q1)
Yes, this is exactly the blind spot of the InceptionV3 model that we explore. The question we ask in this experiment is the following (l.265-266): “FID is a metric computed from the representations of the InceptionV3 network. What blind spots/invariances does this metric inherit from the network?”
A blind spot here means that the InceptionV3 representations remain largely unchanged, even when the input is subjected to considerable distribution shift. We construct such input data by drawing samples from the fibers of the pytorch InceptionV3 net, leading to near-identical representations as the original data and thus low FID when measured with this model. Then, we verify by independent models that the fiber samples exhibit a distribution shift. Specifically, a ConvNext classifier has reduced accuracy on these samples, and the tensorflow FID score (measured by an independently trained InceptionV3 network) detects a considerable deviation from the original data distribution. Yet, pytorch’s FID falsely reports the two distributions as being almost equal, indicating that its feature distribution did not change in spite of the input distribution shift – a blind spot.
Sensitivity of guidance strength schedule (Q2)
Empirically, we find that strong guidance at the very start of the diffusion process generally destroys sample quality in all our experiments. In most settings a simple cosine ramp up from 0 to starting at works well for different models and datasets. We will make a note of this in Appendix C. Only ImageNet and the cue conflict dataset required an earlier start of the ramp up (at ) and a reduction during the middle of the process, probably due to the higher complexity of the data.
Note that tuning the schedule is cheap: Checking the visual quality and fiber loss on a few samples is sufficient – if the sample quality is low, guidance starts too early, and if the fiber loss is high, guidance starts too late.
Meaning of the weight (Q2, W3)
The weight is the weight with which the fiber loss is added to the generative loss when training the conditional fiber model and is not related to the guidance method. We will add to the fiber loss arrow of Figure 2 and mention it explicitly in Figure 4 for clarity.
For any conditional fiber model in Figure 4 that is originally trained with a generative loss , at each dot size it is instead trained with the total loss:
Extension to non-image modalities (Q3)
We believe that our methods are directly transferable to other domains where pretrained generative models exist and demonstrate it in an example below. We chose images as our primary modality for two reasons: Readers can directly interpret results by visual inspection, and our work is directly comparable to previous work, which mostly focused on the image domain as well.
To illustrate the transferability of our approach to non-image data, we train two models on the 8 features of the HTRU2 tabular dataset (Lyon et al.) for pulsar classification: A small MLP (2 layers, 128 hidden dimension) as subject model, and a ResNet diffusion model (8 layers, 256 hidden dimension) for NDTM to draw fiber samples from the classifier logits.
We first measure fidelity and consistency to verify successful invariance auditing.
| fiber loss | prob-diff | consistency | |
|---|---|---|---|
| 0 (unguided) | – | – | 0.031 |
| 1 | 0.358 | 6.1% | 0.111 |
| 2 | 0.194 | 3.4% | 0.154 |
| 5 | 0.071 | 1.0% | 0.148 |
| 10 | 0.028 | 0.3% | 0.141 |
Then we use the fiber samples to determine parameter importance: We normalize each input feature from the tabular dataset, then measure the standard deviation of the difference between the fiber sample value to the original value .
Features that can vary a lot have low relevance for the classifier prediction, while parameters with small variation are important.
| Feature | |
|---|---|
| prof_kurtosis | 0.324 |
| prof_skewness | 0.390 |
| prof_mean | 0.634 |
| dmsnr_mean | 0.907 |
| dmsnr_std | 0.951 |
| prof_std | 1.093 |
| dmsnr_kurtosis | 1.382 |
| dmsnr_skewness | 1.695 |
We find that the three most important features for the classifier – prof_kurtosis, prof_skewness, prof_mean – are exactly the ones which carry the highest mutual information with the classification label (Table 7 in Lyon et al.).
Modality specific obstacles (Q3)
There are two modality-specific obstacles which we deem most likely to occur in other domains:
- Lack of a sensible distance measure for the fiber loss : As shown in appendix C.2, distance is a robust, geometry agnostic choice in our experiments. However, depending on the structure and training goal of the subject model this may no longer hold in other domains and a subject model-specific distance measure would be required. For example, if the subject model outputs a molecule conformation, the distances between two outputs for the fiber loss should be measured in an invariant metric.
- Discrete features in the subject model input/non-differentiable fiber loss: NDTM optimizes a correction that is added to the noisy sample via gradient descent in every step. We are not aware of an equivalent algorithm for e.g. discrete diffusion models. Applying NDTM in an autoencoder latent space that turns all features continuous could solve this problem.
Theoretical analysis (W1)
The method we propose is aimed at red-teaming during validation, to find blind spots of the subject model. Empirical success determines the utility of such methods; we base our design choices on this. Importantly, we verify that the choices we made work on a broad range of experiments. Rather than theory, generalization of our design choices is supported by empirical results on 5 different domains, 9 subject models, ablation studies (see also reviewer wXj5) and a comprehensive benchmark.
The individual components of our guidance have empirical and theoretical grounding. The derivation and meaning of regularizer weights and are already explored in Pandey et al.; our guidance schedule reproduces the interval effect of Kynkäänniemi et al.; and Equation 9 follows from the argument, that query and sample must be compared at matching granularity (l.194-196).
Our comparison of injective against full-dimensional fiber models was derived from the relation in l.155. Figure 4 confirms that this theoretical motivation transfers to injective models being more robust at high .
Deeper theoretical analysis of NDTM convergence and biases is difficult, since the learned diffusion backward process interacts non-trivially with the correction term that is optimized by gradient descent. Such theoretical guarantees would be out of the scope for our paper, and likely constitute a paper of their own.
NDTM explanation (W3)
To improve readability, we propose to supplement the explanation in section 3.2 with an algorithm box with pseudocode for NDTM and to move the definitions of the regularizers from appendix C to section 3.2. Details on how to choose hyperparameters for NDTM, like guidance strength, regularizers and others will remain in appendix C. Will this address your concerns?
[1] Lyon, Robert J., et al. "Fifty years of pulsar candidate selection: from simple filters to a new principled real-time classification approach." Monthly Notices of the Royal Astronomical Society 459.1 (2016): 1104-1123.
[2] Pandey, Kushagra, et al. "Variational control for guidance in diffusion models." arXiv preprint arXiv:2502.03686 (2025).
[3] Kynkäänniemi, Tuomas, et al. "Applying guidance in a limited interval improves sample and distribution quality in diffusion models." Advances in Neural Information Processing Systems 37 (2024): 122458-122483.
Thanks for addressing my concern. I will maintain my current score.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces new methodology, using training-free pretrained diffusion/flow matching model to sample invariant inputs that are then used in interpretability analysis (e.g. invariance auditing) for an arbitrary subject model. The authors then demonstrate this method across ImageNet, cue conflict, CheXpert, and Qwen vision-encoder examples.
Strengths and weaknesses
Strengths: -The paper tackles an important diagnostic gap in representation interpretability, looking at model blind spots where inputs that are not necessarily the same are treated as the same by the model.
- Training-free fiber sampling makes invariance auditing much easier to deploy and encourages use.
- The methodology suggested are novel, as far as the reviewer can tell.
- Experiments are comprehensive, spanning synthetic, natural-image, OOD. The section on combining with invariance learning is especially interesting since it demonstrates what happens when the target sampling prior is very different from training distribution.
Weaknesses:
- Some of the image texts (e.g. Figure 10, 11) are illegible without zooming in because they are too small.
- It would be better to see some ablation experiments, even in the appendix, to show how stable/unstable the pipeline is with different settings, e.g. DDPM-based sampler or ablation in number of diffusion steps. Ablation of kappa_t and tau_t in equation 8 is also not shown.
Questions
- A lot of the times, models are trained with data augmentation, which will naturally induce some form of invariance (or approximate invariance). While the prior p(x) in equation 2 can be chosen independently of the training distribution, from my understanding, it is still not simple to decouple invariances that come from training vs hidden invariance/model blind spot, under a chosen p(x). Is there a clean/methodological way to do this, since the latter kind of invariance is much more useful for interpretability studies?
- If the subject model has built in invariance, is there a way to quotient it out of the sampling target distribution?
Limitations
The authors have discussed limitations of the paper in conclusion section.
Final justification
I have read the author's rebuttal and scanned through other reviewer's points. I have no further concerns.
Formatting concerns
n/a
2 comments
Rebuttal
We thank you for your positive assessment and productive suggestions. Below we address some of the raised questions.
Small image texts (W1)
Thank you for pointing this out, we will increase the font size in these images.
Ablation studies (W2)
Thank you for this suggestion. We have run this ablation on our colorMNIST benchmark (section 4.1), which led to big improvements to the experiment. A major result of these experiments was that guidance in fiber model VAE latent space is superior to guidance in data space. We applied guidance in the latent space of the same fiber model VAE that all conditional fiber models use (see B.1.2, not the subject model VAE) as opposed to pixel space guidance from before. The change equalizes the representation the methods operate in, making them more comparable. This also led to better results, while sensitivity against hyperparameter choices was considerably reduced. We report about the ablations in this regime below, with appropriately adapted hyperparameters.
In summary, the conclusions are as follows:
- Score regularization and control regularization initially exhibit a plateau of little effect over several orders of magnitude, followed by a small region where consistency strictly improves without sacrificing fidelity. Further increase leads to a trade-off between the two qualities.
- More diffusion steps increase fidelity at the cost of consistency if is held constant (more guidance steps are applied in total).
- When is adjusted to be inversely proportional to the number of diffusion steps there is an optimum around 50 sampling steps (better than the 200 we used in our paper). This indicates that our comparison in Figure 4 was conservative: NDTM at 50 steps with improves both metrics and increases sampling speed.
- Interpolating the sampler stochasticity between deterministic DDIM and DDPM formulations has no effect.
We will update Figure 4 accordingly and include details about these ablations in appendix C.
Unless subject to ablation, all parameters are kept at the values = 5, , , , 200 diffusion steps:
| fiber loss | color-KL | |
|---|---|---|
| 1 | 0.2595 ± 0.1151 | 0.0400 |
| 2 | 0.1393 ± 0.0552 | 0.0532 |
| 5 | 0.0586 ± 0.0232 | 0.1556 |
| 10 | 0.0298 ± 0.0169 | 0.3589 |
| fiber loss | color-KL | |
|---|---|---|
| 0 | 0.0585 ± 0.0233 | 0.1600 ± 0.0007 |
| 1e-4 | 0.0586 ± 0.0257 | 0.1613 ± 0.0029 |
| 3e-4 | 0.0585 ± 0.0231 | 0.1567 ± 0.0013 |
| 1e-3 | 0.0585 ± 0.0260 | 0.1486 ± 0.0014 |
| 1e-2 | 0.0582 ± 0.0256 | 0.0698 ± 0.0021 |
| 3e-2 | 0.0612 ± 0.0414 | 0.0671 ± 0.0009 |
| 1e-1 | 0.1743 ± 0.1985 | 0.0282 ± 0.0003 |
| 3e-1 | 0.7298 ± 0.3404 | 0.0206 ± 0.0015 |
| fiber loss | color-KL | |
|---|---|---|
| 0 | 0.0585 ± 0.0231 | 0.1567 ± 0.0013 |
| 1e-4 | 0.0585 ± 0.0230 | 0.1556 ± 0.0012 |
| 1e-2 | 0.0586 ± 0.0262 | 0.1519 ± 0.0018 |
| 1e-1 | 0.0587 ± 0.0257 | 0.1148 ± 0.0042 |
| 1 | 0.0926 ± 0.0594 | 0.0751 ± 0.0028 |
| 10 | 0.5439 ± 0.3270 | 0.0173 ± 0.0010 |
| 100 | 1.0377 ± 0.3148 | 0.0165 ± 0.0011 |
| steps | fiber loss | color-KL |
|---|---|---|
| 25 | 0.3225 ± 0.2236 | 0.0369 ± 0.0009 |
| 50 | 0.1546 ± 0.0991 | 0.0394 ± 0.0012 |
| 100 | 0.0896 ± 0.0455 | 0.0643 ± 0.0013 |
| 200 | 0.0585 ± 0.0231 | 0.1567 ± 0.0013 |
| 400 | 0.0374 ± 0.0187 | 0.6513 ± 0.0019 |
| 800 | 0.0276 ± 0.0155 | 1.1086 ± 0.0083 |
Increasing the number of diffusion steps trades off fidelity for consistency – this is because we apply the correction in each diffusion step, effectively doubling the guidance strength when we double the number of steps. To compensate for this, we run the same ablation again, with :
| steps | fiber loss | color-KL | |
|---|---|---|---|
| 25 | 40 | 0.2534 ± 0.2899 | 0.0547 ± 0.0012 |
| 50 | 20 | 0.0299 ± 0.0350 | 0.0464 ± 0.0021 |
| 100 | 10 | 0.0406 ± 0.0264 | 0.1234 ± 0.0017 |
| 200 | 5 | 0.0585 ± 0.0231 | 0.1567 ± 0.0013 |
| 400 | 2.5 | 0.0645 ± 0.0257 | 0.2508 ± 0.0031 |
| 800 | 1.25 | 0.0729 ± 0.0273 | 0.2528 ± 0.0012 |
There is a clear optimum around 50 diffusion steps. While we do not have a complete explanation for this phenomenon, one possible reason could be that larger step sizes prevent the NDTM optimization from getting stuck in local minima (which smaller diffusion steps cannot escape).
Finally we investigate the effect of interpolating between different diffusion samplers, namely we use the DDIM formulation from Equation 12 in Song et al. and vary the noising strength . Here, corresponds to (the deterministic DDIM sampler) and corresponds to (DDPM sampler):
| formulation | fiber loss | color-KL | |
|---|---|---|---|
| 0.00 | deterministic DDIM | 0.0587 ± 0.0275 | 0.1577 ± 0.0030 |
| 0.25 | 0.0585 ± 0.0231 | 0.1567 ± 0.0013 | |
| 0.50 | 0.0586 ± 0.0262 | 0.1570 ± 0.0006 | |
| 0.75 | 0.0584 ± 0.0211 | 0.1561 ± 0.0024 | |
| 1.00 | DDPM | 0.0585 ± 0.0244 | 0.1592 ± 0.0008 |
Decoupling training and hidden invariances (Q1)
As you correctly identified, when the training invariances are known (e.g. data augmentation) one can make sure the fiber model does not sample them by not including them in . Only the representatives of each fiber present in will be sampled (if there are any).
When is fixed, which invariances are made visible depends on how they are filtered/aggregated. In many cases we use aggregate metrics to analyze statistics over a set of invariances (e.g. ImageNet, cue conflict, colorMNIST, causalMNIST). If these aggregate metrics are invariant to e.g. the data augmentation, it will not affect them; instead only the hidden invariances are revealed.
It is worth pointing out that self-supervised models are typically not invariant to their training data augmentations. This is one of the central findings of Bordes et al. and corroborated by our results (fiber loss for augmented samples in table 5 is almost twice as high as that of samples created by invariance auditing). So in this specific case we would not expect to see a substantial amount of invariances to stem from data augmentation.
Factoring out built-in invariances (Q2)
The two answers to the previous also apply here. Furthermore, oftentimes a canonical representative of the equivalence class that arises from the built in invariance can be defined. If this is the case, one could include the distance between the sample and its canonicalization to the terminal cost. Since guidance is training-free, this comes at virtually no additional cost. For example, if a subject model that operates on point clouds is invariant to translation by construction, one could define the canonical representative as the same point cloud with center of mass at 0. Then an additional regularizer would pull the fiber sample towards that center of mass, by penalizing the difference between the canonical and actual representation of the fiber sample.
[1] Song, Jiaming, Chenlin Meng, and Stefano Ermon. "Denoising diffusion implicit models." arXiv preprint arXiv:2010.02502 (2020).
[2] Bordes, Florian, Randall Balestriero, and Pascal Vincent. "High fidelity visualization of what your self-supervised representation knows about." arXiv preprint arXiv:2112.09164 (2021).
The reviewer thanks the author for their response. I don't have any other questions and am maintaining my score.
Comments on the paper
1 comment
Planned Changes to the Manuscript
We thank all reviewers for taking their time to carefully read our manuscript and making suggestions for improvements. Here is a list of the changes we plan to make, which we will keep up-to-date:
- Include the new ablations from our response to reviewer wXj5 in Appendix C and update Figure 4 and Appendix B.1.2 with the new results. This affects only the NDTM markers in Figure 4
- Include the tabular data experiment from our response to reviewer pDMA in Appendix B
- Increase the font sizes in figures where they are too small (e.g. Figures 10, 11, 14, 17, 18…) (reviewer wXj5)
- Add an algorithm box with pseudocode for NDTM in section 3.2, and move the definition of the regularizers to that section from Appendix C (reviewer pDMA)
- Add the conditional model fiber loss weight to Figure 2 and explain it in the caption of Figure 4 (reviewer pDMA)
- Fix the wrongly computed fiber loss number for BiomedClip in Table 5. This does not affect Figures 8, 11, 16, 17. (reviewer y8Sa)
- Change “same quality” to “comparable quality” in the abstract l.13 (reviewer y8Sa)
- Emphasize that a bias in the generator cannot falsely improve consistency or fidelity (reviewer y8Sa)
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the area chair and all reviewers for their time and effort in reviewing our work. We are glad that all reviewers agree that our central contribution, formulating fiber sampling as a training-free guidance problem, “encourages use” and could “turn invariance auditing from a rarely-used technique into a routine diagnostic”. We would like to summarize the most important points of our responses here.
New Ablations (reviewers wXj5, pDMA)
Following the suggestions of reviewer wXj5, we have run additional ablations on our colorMNIST benchmark of section 4.1. The most important result is that applying NDTM in the latent space of a VAE worked even better than in pixel space. Updating the NDTM results in Figure 4 accordingly also makes our results more comparable to the conditional fiber models established by Rombach et al. To address concerns of reviewers wXj5 and pDMA about hyperparameter choices, we ran ablations on the NDTM regularizer weights. We find that mild regularization improves consistency with no downside, while stronger regularization improves it at the cost of some fidelity.
Trustworthiness of empirical claims (reviewer y8Sa)
To ensure that our samples are representative of the subject model fiber – a prerequisite for trustworthy invariance auditing – we defined diagnostics to exclude two potential failure modes (section 3): Consistency detects (via KL divergence or FID scores) if fiber sampling misses part of the distribution, and fidelity detects (via the fiber loss) if samples are farther away from the fiber than our numerical accuracy allows. The low fiber loss in Figure 10 thus guarantees that our synthetic images are truly on Qwen2B’s fiber, and the preservation of the FID of fiber samples relative to baseline diffusion in Table 2 shows that the distribution was not truncated. Note that bias in the generator cannot falsely make the fiber samples pass these checks. We will make this more clear in the revision.
Theoretical and methodical novelty (reviewer pDMA)
Our novel reformulation of fiber sampling as a guidance problem unlocks invariance auditing in cases where repeated retraining of a conditional fiber model is too costly. This new approach dramatically enlarges the scope of invariance auditing: For the first time, it can leverage pretrained foundation models (here: generative diffusion) to validate application-specific subject models. Even if parts of our method are not yet covered by formal guarantees, our experiments along with additional ablations suggested by reviewers wXj5 and pDMA provide compelling empirical evidence for its good performance and practical usefulness.
Changes to presentation (reviewer pDMA)
To improve the presentation of NDTM we will add an algorithm box with pseudocode for NDTM in section 3.2, and move the definition of the regularizers to that section from Appendix C. To clarify the meaning of the conditional model fiber loss weight λfiber we will add it to Figure 2 and explain it in the caption of Figure 4. We will post a full list of planned changes as an official comment.