Make it SING: Analyzing Semantic Invariants in Classifiers
Organizations: Viterbi Faculty of Electrical and Computer Engineering, Technion – Israel Institute of Technology, Haifa, Israel
Abstract
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.
Figures & tables
| ResNet50 | EfficientNet | BiTresnet | DinoViT | ResNext101 | |
|---|---|---|---|---|---|
| towards target | 12.04 0.25 | 12.38 0.52 | 9.19 0.31 | 5.0 0.59 | 11.15 0.53 |
| Architecture | Mean cosine similarity | Validation MSE |
|---|---|---|
| 3-layer MLP | 0.9049 | 0.082246 |
| Residual MLP | 0.9045 | 0.082366 |
| 4-layer MLP | 0.9023 | 0.084346 |
| Linear | 0.8946 | 0.091355 |
| Model | ImageNet Top-1 Acc (%) |
|---|---|
| VGG-16 [ 48 ] | 71.6 |
| VGG-19 [ 48 ] | 72.4 |
| DenseNet-121 [ 24 ] | 74.4 |
| ResNet50 [ 21 ] | 76.1 |
| DinoViT [ 9 ] | 84.0 |
| EfficientNet-B0 (NS) [ 52 ] | 78.7 |
Explainable Image Classification
Explainable image classification develops ways to show which pixels, regions, concepts, or model features support an image classifier’s predictions.
See all 96 papers