# Show Me What You Don't Know: Efficient Sampling from Invariant Sets for Model Validation

DevFeed: [Show Me What You Don't Know: Efficient Sampling from Invariant Sets for Model Validation](<https://devfeed.tech/articles/show-me-what-you-don-t-know-efficient-sampling-from-invariant-sets-for-model-validation-96826.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2603.21782>)

Author: Armand Rousselot, Joran Wendebourg, Ullrich K\\"othe

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Training AI Models](<https://devfeed.tech/topics/training-ai-models.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [all](<https://devfeed.tech/tags/all.md>), [analyze](<https://devfeed.tech/tags/analyze.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [cases](<https://devfeed.tech/tags/cases.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [data](<https://devfeed.tech/tags/data.md>), [don-t](<https://devfeed.tech/tags/don-t.md>), [invariant](<https://devfeed.tech/tags/invariant.md>), [know](<https://devfeed.tech/tags/know.md>), [me](<https://devfeed.tech/tags/me.md>), [model](<https://devfeed.tech/tags/model.md>), [model-validation](<https://devfeed.tech/tags/model-validation.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [show](<https://devfeed.tech/tags/show.md>), [validation](<https://devfeed.tech/tags/validation.md>)

## AI overview

Invariance auditing probes what a model treats as equivalent by generating diverse inputs that share a query's feature representation, then checking those variations against task semantics. The training-free method uses a pretrained diffusion or flow-matching model; a fiber loss guides denoising to limit feature mismatch. The abstract says this replaces days of training with one guided generation procedure at comparable quality. Experiments report both desirable and concerning invariances, including Qwen-2B grouping patients with situs inversus with typical anatomy. The supplied text is an abstract, so it does not provide implementation details or broader experimental results.

## Source excerpt

arXiv:2603.21782v2 Announce Type: replace 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. Our code is available at https://github.com/vislearn/InvarianceAuditing.