Skip to main content
QUICK REVIEW

[论文解读] CountGD: Multi-Modal Open-World Counting

Niki Amini-Naieni, Tengda Han|arXiv (Cornell University)|Jul 5, 2024
Data Management and AlgorithmsComputer Science被引用 5
一句话总结

CountGD 是一个单阶段的开放世界物体计数模型,接受文本、视觉示例,或两者共同指定目标对象,在两种模态同时使用时达到最先进的准确性。

ABSTRACT

The goal of this paper is to improve the generality and accuracy of open-vocabulary object counting in images. To improve the generality, we repurpose an open-vocabulary detection foundation model (GroundingDINO) for the counting task, and also extend its capabilities by introducing modules to enable specifying the target object to count by visual exemplars. In turn, these new capabilities - being able to specify the target object by multi-modalites (text and exemplars) - lead to an improvement in counting accuracy. We make three contributions: First, we introduce the first open-world counting model, CountGD, where the prompt can be specified by a text description or visual exemplars or both; Second, we show that the performance of the model significantly improves the state of the art on multiple counting benchmarks - when using text only, CountGD is comparable to or outperforms all previous text-only works, and when using both text and visual exemplars, we outperform all previous models; Third, we carry out a preliminary study into different interactions between the text and visual exemplar prompts, including the cases where they reinforce each other and where one restricts the other. The code and an app to test the model are available at https://www.robots.ox.ac.uk/~vgg/research/countgd/.

研究动机与目标

  • 在不重新训练的情况下,在推理时通过灵活的目标指定来推动开放世界计数。
  • 扩展一个视觉-语言基础模型以支持计数而非检测。
  • 启用多模态提示(文本、视觉示例,或两者)以提升计数准确性。
  • 研究文本与示例提示之间的交互及其对计数子集的影响。

提出的方法

  • 在 GroundingDINO 之上构建 CountGD,增加将视觉示例嵌入为文本样标记的模块,并在单阶段实现计数。
  • 使用 Swin Transformer 对图像进行编码以生成多尺度特征图。
  • 使用基于 BERT 的文本编码器对文本进行编码,并通过使用自注意力和交叉注意力的特征增强器将其与视觉示例标记融合。
  • 将视觉示例表示为 RoIAlign 池化的标记,在特征增强器中与文本标记融合。
  • 选择与融合后的视觉-示例-文本标记最对齐的一组图像补丁标记,形成跨模态查询。
  • 使用跨模态解码器在查询与融合特征之间计算相似度分数,经阈值处理得到最终计数。
  • 仅训练新增的投影层(视觉示例标记提取、特征增强、跨模态解码器),同时冻结图像和文本编码器,损失包含定位项和分类项的组合。

实验结果

研究问题

  • RQ1是否可以通过文本提示、视觉示例或两者的组合有效地进行开放世界计数?
  • RQ2在单阶段架构中将视觉示例与文本结合是否比单模态方法提升计数准确性?
  • RQ3文本与示例提示如何互动以细化或约束计数(例如颜色或位置过滤)?
  • RQ4在不进行微调的情况下,CountGD 在不同数据集上的可迁移性如何(例如零-shot CARPK 与 CountBench 泛化)?

主要发现

  • CountGD 同时具备视觉示例与文本,在 FSC-147 的开放世界基准上确立了最先进的计数准确性。
  • 仅文本的 CountGD 与最近的仅文本开放世界计数方法相比,表现具有竞争力。
  • CARPK 的零-shot 评估显示 CountGD 在未对 CARPK 微调的情况下达到顶尖表现。
  • 消融实验表明多模态训练与推理优于单模态变体,且在 FSC-147 上视觉示例往往提供比单纯文本更强的信号。
  • 定性分析展示了交互效应,文本可以细化或强化基于示例的目标(例如颜色或位置约束)。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。