arXiv:2502.10250cs.CLcs.CV2025-02KDD

用网页上下文数据构建10万张图像对话样本,提升视觉语言模型性能

VisCon-100K: Leveraging Contextual Web Data for Fine-tuning Vision Language Models

  • 从4.5万篇网页文档生成10万条图文对话,利用上下文增强图像理解
  • 在多个基准上显著提升模型表现,尤其在混合模态问答中效果更优
  • 开源数据集与可复用的上下文标注工具,支持后续大规模数据生成

视觉语言模型(VLMs)在各类视觉基准测试中表现优异,但常受限于高质量微调数据的缺乏。为解决此问题,我们提出VisCon-100K,一个源自交错图文网页文档的新数据集。通过将45,000篇来自OBELICS的数据文档转化为100,000条图像对话样本,我们利用GPT-4V生成图像上下文描述,并用OpenChat 3.5模型将其转为多样的自由回答与选择题问答对。该数据集用于微调可显著提升VLM在多个基准上的性能。相比仅关注细粒度视觉内容的方法,我们的方法借助伴随的网页上下文,获得更优结果。我们发现‘模态泄漏’组合——即问题可从图像或上下文描述中任一回答——优于非泄漏组合。VisCon-100K在两种主流VLM范式中均表现良好:使用图像描述对齐文本大模型(ShareGPT4V-7b)和使用交错图文预训练的多模态模型(IDEFICS2-8b)。除发布数据集外,我们还提供在此数据集上训练的上下文描述生成器,支持未来研究的可扩展微调数据生成。采用相同流程并替换自训练描述器后,我们也发布了更大的VisCon-1M数据集。

原文摘要 · Abstract (English)

Vision-language models (VLMs) excel in various visual benchmarks but are often constrained by the lack of high-quality visual fine-tuning data. To address this challenge, we introduce VisCon-100K, a novel dataset derived from interleaved image-text web documents. Our approach transforms 45K web documents from the OBELICS dataset into 100K image conversation samples. We utilize GPT-4V to generate image-contextual captions and OpenChat 3.5 model to convert these captions into diverse free-form and multiple-choice question-answer pairs. Integrating this dataset for fine-tuning considerably enhances VLM performance across multiple benchmarks. Unlike methods that focus solely on fine-grained visual content, our approach leverages accompanying web context, yielding superior results. We also discover that a 'leaky modality mix', where conversation samples contain questions answerable from both the image and its contextual caption, outperforms non-leaky combinations of captions and Q&A pairs. VisCon-100k dataset shows strong performance with two popular VLM approaches: text-only large language model (LLM) aligned with a vision encoder using image captions data (ShareGPT4V-7b) and multimodally pretrained LLM (IDEFICS2-8b) using interleaved image-text data. In addition to releasing the VisCon-100K dataset, we provide a contextual captioner trained on this dataset, facilitating scalable fine-tuning data generation for future research and open-source applications. Using the same pipeline, but substituting our trained contextual captioner for GPT-4V, we also release the larger VisCon-1M dataset.

视觉语言模型数据集构建上下文增强多模态

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。