arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.07704cs.CVcs.CL
收藏

Ferret:在任意位置、任意粒度下进行引用与定位

Ferret: Refer and Ground Anything Anywhere at Any Granularity

Apple AI/ML(苹果人工智能与机器学习部门);Columbia University(哥伦比亚大学)

Haoxuan You, Haotian Zhang, Zhe Gan, Xianzhi Du, Bowen Zhang, Zirui Wang, Liangliang Cao, Shih-Fu Chang, Yinfei Yang

AI总结:

Ferret是一种多模态大语言模型,通过混合区域表示和空间感知采样器,实现任意形状粒度的引用与定位,并构建GRIT数据集训练,显著提升区域对话能力并缓解物体幻觉。

摘要:

我们介绍了Ferret,一种新的多模态大语言模型(MLLM),能够理解图像中任意形状或粒度的空间引用,并准确地将开放词汇描述定位到图像中。为了在LLM范式下统一引用与定位,Ferret采用了一种新颖且强大的混合区域表示方法,该方法将离散坐标与连续特征联合起来表示图像中的区域。为了提取多样化区域的连续特征,我们提出了一种空间感知的视觉采样器,能够处理不同形状间的稀疏性变化。因此,Ferret可以接受多种区域输入,如点、边界框和自由形状。为了增强Ferret所需的能力,我们构建了GRIT,一个全面的引用与定位指令调优数据集,包含110万个样本,其中蕴含丰富的层级空间知识,并包含9.5万个硬负样本以提升模型鲁棒性。所得到的模型不仅在经典的引用与定位任务上取得了优异性能,而且在基于区域和需要定位的多模态对话中大幅超越了现有的MLLM。我们的评估还显示,模型描述图像细节的能力显著提升,物体幻觉现象得到明显缓解。代码和数据将在https://github.com/apple/ml-ferret上提供。

英文摘要:

We introduce Ferret, a new Multimodal Large Language Model (MLLM) capable of understanding spatial referring of any shape or granularity within an image and accurately grounding open-vocabulary descriptions. To unify referring and grounding in the LLM paradigm, Ferret employs a novel and powerful hybrid region representation that integrates discrete coordinates and continuous features jointly to represent a region in the image. To extract the continuous features of versatile regions, we propose a spatial-aware visual sampler, adept at handling varying sparsity across different shapes. Consequently, Ferret can accept diverse region inputs, such as points, bounding boxes, and free-form shapes. To bolster the desired capability of Ferret, we curate GRIT, a comprehensive refer-and-ground instruction tuning dataset including 1.1M samples that contain rich hierarchical spatial knowledge, with 95K hard negative data to promote model robustness. The resulting model not only achieves superior performance in classical referring and grounding tasks, but also greatly outperforms existing MLLMs in region-based and localization-demanded multimodal chatting. Our evaluations also reveal a significantly improved capability of describing image details and a remarkable alleviation in object hallucination. Code and data will be available at https://github.com/apple/ml-ferret

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

↑