arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.21782cs.LG
收藏

展示你所不知道的:用于模型验证的高效不变集采样

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

CVL(计算机视觉与学习实验室);Heidelberg University(海德堡大学)

Armand Rousselot, Joran Wendebourg, Ullrich Köthe

AI总结:

本文提出一种无需训练的采样方法,通过预训练扩散模型揭示特征提取器的不变性,展示模型在不同数据变化下的表现。

摘要:

机器学习模型的性能由其学习到的特征质量决定。它们应对外部无关数据变化具有不变性,但对任务相关细节敏感。为可视化这一点,我们提出了一种方法,通过从其纤维(由不变性定义的等价类)中采样来分析特征提取器,给定任意代表。与现有工作不同,我们的算法无需训练,利用预训练的扩散或流匹配模型作为先验。纤维损失通过惩罚特征不匹配,引导去噪过程朝着目标等价类进行,通过非线性扩散轨迹匹配。这将数天的训练时间替换为单次引导生成过程,达到相似的保真度。在ImageNet、CheXpert等数据集和ResNet、DINO、BiomedClip等模型上实验表明,我们的框架可以揭示从非常理想到令人担忧的行为的不变性。例如,我们展示了Qwen-2B将具有逆位症(心脏在右侧)的患者置于与典型解剖相同的纤维中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑