AAAI 2027

SAKI: Semantic-Aware Mask Distillation for Open-Vocabulary Dense Perception

Ruosen Liao1,2* Shuo Jin1,2* Siyue Yu1 Bingfeng Zhang3 Jimin Xiao1† 1 Xi’an Jiaotong-Liverpool University 2 University of Liverpool 3 China University of Petroleum
* Equal contribution · † Corresponding author
Paper Code Poster Conference
Random crops can mix a person, a bird, and the background in one training target. Object-centric region masks give each class a more localized activation map.
Figure 1. Random crops can mix a person, a bird, and the background in one training target. Object-centric region masks give each class a more localized activation map.

Abstract

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.

Method Overview

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.

Semantic-aware masks define the regions shared by the CLIP teacher, the student encoder, and the VFM. The two distillation objectives train the student’s dense features.
Figure 2. Semantic-aware masks define the regions shared by the CLIP teacher, the student encoder, and the VFM. The two distillation objectives train the student’s dense features.

Highlights

A mask defines the teacher’s target

Grouping patches by their visual features preserves irregular object shapes that a rectangular crop can split.

One encoder, two downstream tasks

The distilled ViT-B/16 image encoder transfers to F-ViT for detection and CAT-Seg for segmentation.

Direct image–text matching

With DINOv2-Reg-Base guidance, SAKI averages 43.3 mIoU over eight settings when pixels are classified by cosine similarity with text embeddings.

Results

Open-vocabulary detection. With F-ViT, SAKI scores 42.0 novel-category AP50 on OV-COCO and 27.8 rare-category mAP on OV-LVIS. Under the same detector, DeCLIP scores 41.1 and 26.8.
Table 1. Open-vocabulary detection. With F-ViT, SAKI scores 42.0 novel-category AP50 on OV-COCO and 27.8 rare-category mAP on OV-LVIS. Under the same detector, DeCLIP scores 41.1 and 26.8.
Open-vocabulary segmentation with CAT-Seg. SAKI reaches 15.8 mIoU on ADE847 and 21.7 on Context459, the two largest label vocabularies in this comparison.
Table 2. Open-vocabulary segmentation with CAT-Seg. SAKI reaches 15.8 mIoU on ADE847 and 21.7 on Context459, the two largest label vocabularies in this comparison.
Direct segmentation by image–text cosine similarity. Over eight settings, SAKI averages 43.3 mIoU with DINOv2-Reg-Base and 42.9 with DINOv3-Base. DeCLIP averages 41.9.
Table 3. Direct segmentation by image–text cosine similarity. Over eight settings, SAKI averages 43.3 mIoU with DINOv2-Reg-Base and 42.9 with DINOv3-Base. DeCLIP averages 41.9.

Diagnostic Analysis

Patch similarity within and across concepts. SAKI preserves the coherent within-object structure visible in DINOv2 while separating patches from different concepts.
Figure 3. Patch similarity within and across concepts. SAKI preserves the coherent within-object structure visible in DINOv2 while separating patches from different concepts.
Teacher predictions for masked objects and random crops. Isolating the person or bird gives the classification token a clearer target when the two appear in the same scene.
Figure 4. Teacher predictions for masked objects and random crops. Isolating the person or bird gives the classification token a clearer target when the two appear in the same scene.
PCA of person, bird, and background features. The SAKI clusters are more compact within each object and more distinct across objects than the EVA-CLIP clusters.
Figure 5. PCA of person, bird, and background features. The SAKI clusters are more compact within each object and more distinct across objects than the EVA-CLIP clusters.
Table 4. Object-level feature distances on COCO-Stuff
EncoderWithin object ↓Between objects ↑
EVA-CLIP0.620.32
SAKI0.330.68
Table 5. Effect of perturbing the region masks (mIoU)
DatasetOriginalMergeSeparateBackground leakRandom
VOC2086.984.384.686.454.5
ADE22.320.620.221.912.7
COCO-Stuff26.224.624.225.711.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.

Table 6. Distillation loss ablation (mIoU)
Training objectivesVOC20ADECOCO-Stuff
Self-distillation85.521.725.4
Self + correlation85.721.925.3
Self + relational86.321.825.7
Self + correlation + relational86.922.326.2