跳到正文
arXiv (AI + Vision + Imaging)· Hussain Alasmawi, Numan Saeed, Mohammad Yaqub·· 1 天前AI 评分38

DINO-KNN:基于最近邻的无训练多类上下文分割

DINO-KNN: Training-Free Multiclass In-Context Segmentation via Nearest Neighbors

AI 导读

DINO-KNN 用冻结 DINOv3 编码器存储全部有标注参考图像块,通过 k 最近邻距离加权投票对目标图像逐像素单次预测所有类别,无需训练和 mask decoder。在 8 个数据集(4 个自然、4 个医学)上,R=1 至 15 时平均 mIoU 均为最优,R=15 达 56.2,而最强基线 INSID3 为 42.9;速度比 INSID3 快 2.1 倍。

正文 · 原文

arXiv:2611.28127v1 Announce Type: new Abstract: In-context segmentation (ICS) segments a target image given a few annotated reference images. Recent training-free methods built on frozen foundation models segment one class at a time and gain little from additional references. We study the multiclass, multi-reference setting and ask how far a simple joint decision rule can go. We introduce DINO-KNN, which stores every labeled reference patch of a frozen DINOv3 encoder in a single memory and labels each target patch by a distance-weighted vote of its k nearest neighbors. All classes are predicted in a single pass, with one label per pixel, without training or a mask decoder. We evaluate on eight datasets, four natural and four medical, with R=1 to 15 reference images and three reference seeds. DINO-KNN achieves the best average mIoU at every R; it is the best method on six of the eight datasets from R=3 and on seven of the eight from R=7. Its accuracy continues to grow with the number of references, from 37.8 mIoU at R=1 to 56.2 at R=15, while the strongest baseline, INSID3, rises from 36.1 to 42.9. DINO-KNN is also 2.1x faster than INSID3. The code will be made public.

来源:arXiv (AI + Vision + Imaging) · arxiv.org