用大模型生成文本,零标注微调CLIP,提升特定领域性能
LatteCLIP: Unsupervised CLIP Fine-Tuning via LMM-Synthetic Texts
- 用大模型生成图像描述,自动生成伪标签指导微调
- 在10个领域数据集上比零样本方法高4.74分,比现有无监督方法高3.45分
- 适合无标注数据、需快速适配新领域的场景
大规模视觉语言预训练模型(如CLIP)虽具备零样本泛化能力,但在特定领域应用时常因领域差异或训练数据覆盖不足而表现不佳。传统微调需人工标注,成本高昂。为此,我们提出LatteCLIP,一种无需人工标注的无监督微调方法,可在已知类别名的定制领域中优化CLIP。该方法利用大模型(LMM)为单张图像和图像组生成丰富文本描述,提供额外上下文信息。针对生成文本易出现幻觉或缺失细节的问题,我们设计新策略:从噪声文本中学习每类的丰富原型表示,并结合双伪标签进行稳定训练。在10个领域特定数据集上的实验表明,LatteCLIP平均比预训练零样本方法提升4.74个百分点,优于其他先进无监督方法3.45个百分点。
原文摘要 · Abstract (English)
Large-scale vision-language pre-trained (VLP) models (e.g., CLIP) are renowned for their versatility, as they can be applied to diverse applications in a zero-shot setup. However, when these models are used in specific domains, their performance often falls short due to domain gaps or the under-representation of these domains in the training data. While fine-tuning VLP models on custom datasets with human-annotated labels can address this issue, annotating even a small-scale dataset (e.g., 100k samples) can be an expensive endeavor, often requiring expert annotators if the task is complex. To address these challenges, we propose LatteCLIP, an unsupervised method for fine-tuning CLIP models on classification with known class names in custom domains, without relying on human annotations. Our method leverages Large Multimodal Models (LMMs) to generate expressive textual descriptions for both individual images and groups of images. These provide additional contextual information to guide the fine-tuning process in the custom domains. Since LMM-generated descriptions are prone to hallucination or missing details, we introduce a novel strategy to distill only the useful information and stabilize the training. Specifically, we learn rich per-class prototype representations from noisy generated texts and dual pseudo-labels. Our experiments on 10 domain-specific datasets show that LatteCLIP outperforms pre-trained zero-shot methods by an average improvement of +4.74 points in top-1 accuracy and other state-of-the-art unsupervised methods by +3.45 points.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。