arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.13097cs.CV
收藏

基于语言-视觉模型的零样本目标计数

Zero-Shot Object Counting with Language-Vision Models

Stony Brook University(石溪大学);EPFL(洛桑联邦理工学院)

Jingyi Xu, Hieu Le, Dimitris Samaras

AI总结:

本文提出零样本目标计数(ZSC)新设定,仅凭类别名称,利用CLIP和Stable Diffusion构建类别原型并选择代表性图像块,再通过计数误差排序模型筛选示例,在FSC-147上验证了有效性。

摘要:

类别无关的目标计数旨在测试时对任意类别的目标实例进行计数。这一任务具有挑战性,但也支持许多潜在应用。现有方法需要人工标注的示例作为输入,而对于新类别,尤其是自主系统,这类示例往往不可得。因此,我们提出零样本目标计数(ZSC),这是一种新设定,在测试时仅提供类别名称。这消除了对人工标注者的需求,并支持自动化运行。为实现ZSC,我们提出从输入图像中寻找若干目标裁剪块,并将其用作计数示例。目标是识别包含感兴趣目标的图像块,同时使其在视觉上能代表图像中的所有实例。为此,我们首先利用大型语言-视觉模型(包括CLIP和Stable Diffusion)构建类别原型,以选择包含目标对象的图像块。此外,我们提出一个排序模型,用于估计每个图像块的计数误差,从而选择最适合计数的示例。在近期类别无关计数数据集FSC-147上的实验结果验证了我们方法的有效性。

英文摘要:

Class-agnostic object counting aims to count object instances of an arbitrary class at test time. It is challenging but also enables many potential applications. Current methods require human-annotated exemplars as inputs which are often unavailable for novel categories, especially for autonomous systems. Thus, we propose zero-shot object counting (ZSC), a new setting where only the class name is available during test time. This obviates the need for human annotators and enables automated operation. To perform ZSC, we propose finding a few object crops from the input image and use them as counting exemplars. The goal is to identify patches containing the objects of interest while also being visually representative for all instances in the image. To do this, we first construct class prototypes using large language-vision models, including CLIP and Stable Diffusion, to select the patches containing the target objects. Furthermore, we propose a ranking model that estimates the counting error of each patch to select the most suitable exemplars for counting. Experimental results on a recent class-agnostic counting dataset, FSC-147, validate the effectiveness of our method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑