arXiv:2507.22431cs.CV2025-07ICCV被引 9

用大模型自动清洗图像文本数据,训练出更精准的CLIP模型。

HQ-CLIP: Leveraging Large Vision-Language Models to Create High-Quality Image-Text Datasets and CLIP Models

  • 用大视觉语言模型生成正负文本描述和标签,提升数据质量
  • 在同等数据量下,零样本分类等任务超越现有最优模型
  • 适合想提升多模态数据质量或模型性能的研究者

大规模但噪声较多的图像-文本对数据推动了对比语言-图像预训练(CLIP)的成功。作为基础视觉编码器,CLIP又成为大多数大视觉语言模型(LVLMs)的核心。这种相互依赖关系引出一个关键问题:能否反过来利用LVLM提升图像-文本对数据的质量,从而形成持续优化的循环?本文提出一种由LVLM驱动的数据精炼流程,通过处理图像及其原始替代文本,生成四类互补文本:长正向描述、长负向描述、短正向标签和短负向标签。将该流程应用于精心筛选的DFN-Large数据集,得到包含多粒度标注的VLM-150M数据集。基于此数据集,我们提出一种扩展的对比学习训练范式,引入负向描述和短标签作为额外监督信号。由此训练出的HQ-CLIP模型在多个基准上表现优异:在相近训练规模下,零样本分类、跨模态检索与细粒度视觉理解任务均达到领先水平;在检索任务中,甚至超越在10倍更大数据集DFN-2B上训练的标准CLIP模型。所有代码、数据和模型已公开于https://zxwei.site/hqclip。

原文摘要 · Abstract (English)

Large-scale but noisy image-text pair data have paved the way for the success of Contrastive Language-Image Pretraining (CLIP). As the foundation vision encoder, CLIP in turn serves as the cornerstone for most large vision-language models (LVLMs). This interdependence naturally raises an interesting question: Can we reciprocally leverage LVLMs to enhance the quality of image-text pair data, thereby opening the possibility of a self-reinforcing cycle for continuous improvement? In this work, we take a significant step toward this vision by introducing an LVLM-driven data refinement pipeline. Our framework leverages LVLMs to process images and their raw alt-text, generating four complementary textual formulas: long positive descriptions, long negative descriptions, short positive tags, and short negative tags. Applying this pipeline to the curated DFN-Large dataset yields VLM-150M, a refined dataset enriched with multi-grained annotations. Based on this dataset, we further propose a training paradigm that extends conventional contrastive learning by incorporating negative descriptions and short tags as additional supervised signals. The resulting model, namely HQ-CLIP, demonstrates remarkable improvements across diverse benchmarks. Within a comparable training data scale, our approach achieves state-of-the-art performance in zero-shot classification, cross-modal retrieval, and fine-grained visual understanding tasks. In retrieval benchmarks, HQ-CLIP even surpasses standard CLIP models trained on the DFN-2B dataset, which contains 10$\times$ more training data than ours. All code, data, and models are available at https://zxwei.site/hqclip.

多模态数据清洗CLIP自提升

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