[论文解读] Make it SING: Analyzing Semantic Invariants in Classifiers
SING 将分类器的空约束不变量映射到基于 CLIP 的视觉–语言空间,以生成易于人类理解的语义解释,从而实现模型、类别和图像层面的分析以及跨结构的比较。
All classifiers, including state-of-the-art vision models, possess invariants, partially rooted in the geometry of their linear mappings. These invariants, which reside in the null-space of the classifier, induce equivalent sets of inputs that map to identical outputs. The semantic content of these invariants remains vague, as existing approaches struggle to provide human-interpretable information. To address this gap, we present Semantic Interpretation of the Null-space Geometry (SING), a method that constructs equivalent images, with respect to the network, and assigns semantic interpretations to the available variations. We use a mapping from network features to multi-modal vision language models. This allows us to obtain natural language descriptions and visual examples of the induced semantic shifts. SING can be applied to a single image, uncovering local invariants, or to sets of images, allowing a breadth of statistical analysis at the class and model levels. For example, our method reveals that ResNet50 leaks relevant semantic attributes to the null space, whereas DinoViT, a ViT pretrained with self-supervised DINO, is superior in maintaining class semantics across the invariant space.
研究动机与目标
- 激励并量化分类器空域中的不变量携带的语义信息。
- 开发一个框架,将空域方向映射到通过视觉–语言空间(CLIP)可读的概念。
- 实现单图像和数据集级分析,以在语义泄漏进入不变量方面比较不同架构和类别。
- 提供诊断虚假相关性并探索开放词汇概念敏感性的工具。
- 提出在模型设计与微调过程中控制空域语义的方向与方法。
提出的方法
- 使用 SVD 分解最终线性层,以分离主子空间和空子空间。
- 训练一个线性翻译器 T,将分类器特征映射到 CLIP 图像嵌入。
- 通过从特征向量中移除空域分量,构造等效特征对。
- 将等效特征翻译到 CLIP 空间以获得语义描述和可视化。
- 基于在 CLIP 空间中的角度定义度量 AS(Attribute Score,属性分数)和 IS(Image Score,图像分数),以量化语义泄漏和不变量质量。
- 在空域内应用以文本提示引导的扰动,以研究语义引导和泄漏。
实验结果
研究问题
- RQ1如何量化模型不变量(空域)中所包含的语义信息?
- RQ2哪些架构在 ImageNet 类别中向其空域泄漏的类别相关语义信息更少?
- RQ3开放词汇概念是否能揭示在类别或图像层面的虚假相关性或鲁棒性?
- RQ4在不改变 logits 的情况下,空域操作如何影响语义,是否可在训练中缓解?
- RQ5不同模型在保持其不变量空间中的类别语义方面有何差异?
主要发现
- DinoViT 在保持类别语义的同时允许诸如背景或颜色等广义不变量方面取得最佳权衡。
- 在所有模型中,DinoViT 的 AS 较低、IS 较高,表明较少的类别相关泄漏以及对不变量内语义变动的更高容忍度。
- 对于某些类别,ResNet50 会将大量类别相关的信息泄漏到空域,与 DinoViT 不同。
- 开放词汇分析表明概念敏感性因类别和模型而异,某些概念与某些类别的不变量紧密耦合。
- 空域引导演示了在不改变 logits 的情况下将语义移向目标概念的可能性,突出安全风险及防御措施的必要性。
- 专门的 Table 1 报告五种模型的空域扰动结果,显示 AS 值,DinoViT 取得最小的 AS(对定向空域操控最为抗拒)。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。