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

Dragonfly:多分辨率放大编码增强视觉语言模型

Dragonfly: Multi-Resolution Zoom-In Encoding Enhances Vision-Language Models

Together AI;Stanford University(斯坦福大学);Caltech(加州理工学院)

Rahul Thapa, Kezhen Chen, Ian Covert, Rahul Chalamala, Ben Athiwaratkun, Shuaiwen Leon Song, James Zou

AI总结:

本文提出Dragonfly模型,通过多分辨率放大编码和均值池化聚合提取图像子裁剪特征,克服了固定分辨率ViTs难以捕捉细粒度细节的局限,在通用和生物医学领域多项基准上达到最先进性能。

摘要:

视觉语言模型(VLMs)的最新进展表明,以更高分辨率处理图像并利用多裁剪特征来保留原始分辨率细节具有显著优势。然而,尽管有这些改进,现有的视觉Transformer(ViTs)仍然难以从非显著对象、图表和嵌入文本中捕捉细粒度细节,限制了它们在某些任务中的有效性。在本文中,我们扩展了近期的高分辨率和多裁剪技术,不仅保留原始分辨率,还对其进行放大,并从大量图像子裁剪中提取特征。这一增强使我们的模型能够更好地捕捉细粒度细节,克服了当前ViTs的局限性。为了应对增加的token数量和计算复杂度,我们证明对token进行简单的均值池化聚合是有效的。我们的模型Dragonfly在ScienceQA和AI2D等通用领域任务上取得了具有竞争力的性能,并在需要细粒度图像理解的任务中表现出色,包括TextVQA和ChartQA。在7-8B参数规模的模型中,Dragonfly在十个通用领域基准上始终名列前茅,在大多数情况下获得最高或第二高的分数,超越了规模显著更大或在更大数据集上训练的模型。我们的生物医学模型Dragonfly-Med在多项医疗任务上设定了新基准,在SLAKE上达到91.6%的准确率(相比之下Med-Gemini为84.8%),在Path-VQA上达到67.1%的token F1分数(相比之下Med-PaLM M为62.7%),并在大多数图像描述任务上取得了最先进的结果。总体而言,我们的工作突出了使用固定分辨率ViTs工程化视觉表示的持续挑战,并提出了一种简单而有效的解决方案来解决这一问题,从而提升通用和专业领域的性能。

英文摘要:

Recent advances in vision-language models (VLMs) have demonstrated the advantages of processing images at higher resolutions and utilizing multi-crop features to preserve native resolution details. However, despite these improvements, existing vision transformers (ViTs) still struggle to capture fine-grained details from less prominent objects, charts, and embedded text, limiting their effectiveness in certain tasks. In this paper, we extend recent high-resolution and multi-crop techniques by not only preserving the native resolution, but zooming in beyond it and extracting features from a large number of image sub-crops. This enhancement allows our model to better capture fine-grained details, overcoming the limitations of current ViTs. To manage the increased token count and computational complexity, we demonstrate that a simple mean-pooling aggregation over tokens is effective. Our model, Dragonfly, achieves competitive performance on general-domain tasks such as ScienceQA and AI2D, and excels in tasks requiring fine-grained image understanding, including TextVQA and ChartQA. Among models in the 7-8B parameter range, Dragonfly consistently ranks at the top across ten general-domain benchmarks, achieving the highest or second-highest scores in most cases, outperforming models that are significantly larger or trained on larger datasets. Our biomedical model, Dragonfly-Med, sets new benchmarks on several medical tasks, achieving 91.6% accuracy on SLAKE (compared to 84.8% for Med-Gemini), a 67.1% token F1 score on Path-VQA (compared to 62.7% for Med-PaLM M), and state-of-the-art results across the majority of image captioning tasks. Overall, our work highlights the persistent challenge of engineering visual representations with fixed-resolution ViTs, and proposes a simple yet effective solution to address this issue and boost performance in both general and specialized domains.

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

↑