[论文解读] Ferret: Refer and Ground Anything Anywhere at Any Granularity
Ferret 是一个多模态大语言模型,通过混合区域表示和空间感知视觉采样器,在点、框和自由形状区域之间统一指称和定位,在 GRIT 上以 1.1M 条样本训练,并通过 Ferret-Bench 的评估显示出强劲的性能并减少对象幻觉。
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
研究动机与目标
- 在 LLM 框架内激发统一指称与定位的动机。
- 实现对多种区域输入的准确处理,包括点、框和自由形状。
- 开发一个开放词汇、可遵循指令的指称-定位模型,并具备减少幻觉的鲁棒性。
- 构建一个包含负样本的大规模指称-定位数据集(GRIT),用于鲁棒性训练。
- 为联合指称-定位任务与对话式定位提供全面的基准(Ferret-Bench)。
提出的方法
- 引入一个混合区域表示,将离散坐标与连续区域特征相结合。
- 开发一个空间感知的视觉采样器,从不规则区域形状中提取连续特征。
- 将区域表示整合到基于 LLM 的模型中(Vicuna 使用 LLaMA 权重),并配备用于图像特征的线性投影层。
- curate GRIT,包含 1.1M 条指令微调数据,具备 region-in/text-out、text-in/region-out 和组合格式,以及 95k 条硬负样本。
- 添加 GPT 辅助的数据生成和空间负样本挖掘,以提升鲁棒性和开放词汇定位能力。
实验结果
研究问题
- RQ1指称与定位能否在单一多模态大语言模型框架内得到有效统一?
- RQ2如何表示和处理任意形状的区域以支持开放词汇的指称与定位?
- RQ3在大规模 GRIT 数据集上的指令微调是否能提升鲁棒性、定位准确性并降低多模态对话中的对象幻觉?
- RQ4相对于现有的多模态大模型,Ferret 在基于区域的任务和定位感知的多模态对话中表现如何?
- RQ5Ferret 在联合指称、定位与推理的 grounded 对话场景(Ferret-Bench)中的表现如何?
主要发现
- 与先前的多模态大模型相比,Ferret 在传统的指称与定位基准上具有更优越的性能。
- Ferret 在区域为主、需要定位的多模态聊天方面显著优于现有模型。
- Ferret 减少对象幻觉并改善对图像细节的描述。
- Ferret 在 REC 和短语定位基准(如 RefCOCO/RefCOCO+/RefCOCOg 和 Flickr30k Entities)上取得强劲结果。
- Ferret 能实现点、框和自由形状的指称,这在许多现有工作中是缺失的能力。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。