A mask defines the teacher’s target
Grouping patches by their visual features preserves irregular object shapes that a rectangular crop can split.
AAAI 2027
CLIP learns to match images with text, but a dense prediction model must also locate each concept. Random crops used for self-distillation can cut through an object or group it with unrelated background. SAKI uses a vision foundation model to identify coherent regions without manual masks. It distills both region-level language alignment and patch-level visual relationships into a CLIP image encoder. The resulting features support open-vocabulary object detection and semantic segmentation.
SAKI applies K-means to patch features from a frozen vision foundation model (VFM) to produce disjoint region masks. For each region, a frozen CLIP teacher encodes a masked crop. The student learns to align its pooled regional features with the teacher’s classification token, while a second loss transfers the VFM’s within-region patch correlations. A relational loss also transfers similarities between patches within and across regions.
Grouping patches by their visual features preserves irregular object shapes that a rectangular crop can split.
The distilled ViT-B/16 image encoder transfers to F-ViT for detection and CAT-Seg for segmentation.
With DINOv2-Reg-Base guidance, SAKI averages 43.3 mIoU over eight settings when pixels are classified by cosine similarity with text embeddings.
| Encoder | Within object ↓ | Between objects ↑ |
|---|---|---|
| EVA-CLIP | 0.62 | 0.32 |
| SAKI | 0.33 | 0.68 |
| Dataset | Original | Merge | Separate | Background leak | Random |
|---|---|---|---|---|---|
| VOC20 | 86.9 | 84.3 | 84.6 | 86.4 | 54.5 |
| ADE | 22.3 | 20.6 | 20.2 | 21.9 | 12.7 |
| COCO-Stuff | 26.2 | 24.6 | 24.2 | 25.7 | 11.7 |
On VOC20, merging regions costs 2.6 mIoU, while assigning patches to random clusters costs 32.4. Retaining even partial object coverage preserves much of the benefit of the masks.
| Training objectives | VOC20 | ADE | COCO-Stuff |
|---|---|---|---|
| Self-distillation | 85.5 | 21.7 | 25.4 |
| Self + correlation | 85.7 | 21.9 | 25.3 |
| Self + relational | 86.3 | 21.8 | 25.7 |
| Self + correlation + relational | 86.9 | 22.3 | 26.2 |