NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Armand Rousselot, Joran Wendebourg, Ullrich Köthe

NeurIPS page · Open on the map

Category: Diffusion & Image Generation › Generative Model Evaluation and Improvement · Type: new method · Keywords: model validation, invariance auditing, diffusion sampling, feature representation, medical imaging, language model analysis

Summary

Invariance auditing is a training-free diagnostic tool that samples diverse inputs sharing the same model features using a pretrained diffusion model, enabling efficient validation of learned invariances.

Explained to a 5-year-old

We want to see if a computer program knows which things are important and which are not. It makes pictures that look different but the program thinks they are the same as a given picture. To do this, it uses a special helper that can create new pictures without learning anything new. This helps us find if the program makes mistakes, like mixing up a person with a mirror image. It lets us check the program quickly, without waiting for it to learn for a long time.

Explained to a 5-year-old, longer

A computer program learns to recognize things like animals, words, or medical images. Sometimes it forgets which details really matter and treats unrelated things as the same. We want a way to check if the program is making this mistake. The new idea is to ask the program: "Give me many different inputs that you think are the same as this one?" To do that, we use a helper that can create new pictures or words without training. This helper knows how to change things little by little while keeping the important features. We guide the helper so that the new things the helper makes look different but the program sees them as the same. This helps us see if the program is grouping together things it shouldn't, like a healthy heart and a flipped heart. It also shows us when the program is doing a good job and only cares about what we want. The best part is we don't need to spend days training a new model; we just run one quick step. This makes it easy for scientists and engineers to test many computer models quickly. In the end, we get a simple way to make sure computer programs are fair and accurate.

For a technical reader

The technique lets you generate many inputs that a model treats as identical to a given input, helping you verify that the model’s invariances match the task semantics. It achieves this by guiding a pretrained diffusion model with a loss that penalizes representation mismatch, eliminating the need to train a separate generator for each model. This fast, single-step process can uncover undesirable invariances, such as misclassifying anatomical variations, and can be integrated into existing model validation pipelines.

Problem

Machine learning models must learn to focus on task-relevant features while ignoring irrelevant variations, but there is currently no efficient way to audit and visualize whether the learned invariances align with the intended semantics.

Method

The approach uses a pretrained diffusion or flow-matching model and guides its denoising process with a fiber loss that penalizes feature mismatch, ensuring generated inputs share the same representation as a query input without any additional training.

Results

The approach reveals both desirable and concerning invariances, for example detecting when a language model places patients with situs inversus in the same fiber as typical anatomy.

Contributions

A training-free invariance auditing algorithm that leverages pretrained diffusion models to sample invariant inputs, eliminating the need for per-feature-extractor generative training, and an empirical evaluation showing its ability to uncover problematic invariances.

Practical relevance

It enables rapid model validation on modest hardware by replacing lengthy training with a single guided generation step.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction