[Paper Review] Make it SING: Analyzing Semantic Invariants in Classifiers
SING maps a classifier’s null-space invariants to a CLIP-based vision–language space to produce human-readable semantic explanations, enabling model, class, and image level analyses and cross-architecture comparisons.
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.
Motivation & Objective
- Motivate and quantify how invariants in the classifier’s null space carry semantic information.
- Develop a framework to map null-space directions to human-readable concepts via a vision–language space (CLIP).
- Allow single-image and dataset-wide analyses to compare architectures and classes in terms of semantic leakage into invariants.
- Provide tools to diagnose spurious correlations and explore open-vocabulary concept sensitivity.
- Suggest directions for controlling null-space semantics during model design and fine-tuning.
Proposed method
- Decompose the final linear layer with SVD to separate principal and null subspaces.
- Train a linear translator T that maps classifier features to CLIP image embeddings.
- Construct equivalent feature pairs by removing the null-space component from a feature vector.
- Translate the equivalent feature into CLIP space to obtain semantic descriptions and visualizations.
- Define metrics AS (Attribute Score) and IS (Image Score) based on angles in CLIP space to quantify semantic leakage and invariance quality.
- Apply perturbations within the null space guided by text prompts to study semantic steering and leakage.
Experimental results
Research questions
- RQ1How can we quantify the semantic information contained in a model’s invariant (null) space?
- RQ2Which architectures leak less class-relevant semantic information into their null space across ImageNet classes?
- RQ3Can open-vocabulary concepts reveal spurious correlations or robustness at the class or image level?
- RQ4How does null-space manipulation affect semantics without changing logits, and can this be mitigated during training?
- RQ5How do different models compare in preserving class semantics within their invariant space?
Key findings
- DinoViT shows the best trade-off, maintaining class semantics in the null space while allowing broad invariants like background or color.
- Across models, AS is lower and IS is higher for DinoViT, indicating less class-dependent leakage and greater tolerance to semantic variation within invariants.
- For some classes, ResNet50 leaks substantial class-relevant information into the null space, unlike DinoViT.
- Open-vocabulary analysis reveals concept sensitivity varies by class and model, with some concepts tightly coupled to invariances for certain classes.
- Null-space steering demonstrates that semantics can be moved toward target concepts without changing logits, highlighting security risks and the need for defensive measures.
- A dedicated Table 1 reports null-space perturbation results showing AS values across five models, with DinoViT achieving the smallest AS (most resistant to directed null-space manipulation).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.