arXiv:2410.07648cs.CV2024-10被引 1

用扩散模型的潜在表示提升少样本图像识别性能

FLIER: Few-shot Language Image Models Embedded with Latent Representations

  • 融合CLIP与稳定扩散的潜在表示,构建轻量级潜在编码器
  • 在11个数据集上实现少样本分类新纪录,最高达92.3%
  • 适合研究少样本学习与视觉语言模型融合的学者

随着对比语言-图像预训练(CLIP)等大规模视觉语言模型的发展,许多类CLIP方法在低数据场景下表现出色。然而,现有方法多局限于对文本和图像编码器的改进。近期,潜在扩散模型(LDMs)在图像生成方面表现优异,其通过UNet采样的潜在表示引起关注。受CoOp中学习提示超越词汇表意义的启发,我们假设深层模型的潜在表示是图像的精炼理解,抽象掉了高频、难以察觉的细节。本文提出一种少样本语言图像模型FLIER,通过联合训练的潜在编码器引入稳定扩散的潜在表示,结合CLIP的预训练视觉语言知识。首先利用GPT-3生成文本输入,通过稳定扩散生成图像及对应潜在表示;以这些潜在表示为“模型可理解的像素”,设计仅含两层卷积的轻量级编码器,更简单高效。该编码器与CLIP图像编码器联合训练,更好传递预训练知识。在多个视觉分类任务上的实验与详尽消融研究显示,FLIER在11个数据集上多数实现少样本分类新纪录。

原文摘要 · Abstract (English)

As the boosting development of large vision-language models like Contrastive Language-Image Pre-training (CLIP), many CLIP-like methods have shown impressive abilities on visual recognition, especially in low-data regimes scenes. However, we have noticed that most of these methods are limited to introducing new modifications on text and image encoder. Recently, latent diffusion models (LDMs) have shown good ability on image generation. The potent capabilities of LDMs direct our focus towards the latent representations sampled by UNet. Inspired by the conjecture in CoOp that learned prompts encode meanings beyond the existing vocabulary, we assume that, for deep models, the latent representations are concise and accurate understanding of images, in which high-frequency, imperceptible details are abstracted away. In this paper, we propose a Few-shot Language Image model Embedded with latent Representations (FLIER) for image recognition by introducing a latent encoder jointly trained with CLIP's image encoder, it incorporates pre-trained vision-language knowledge of CLIP and the latent representations from Stable Diffusion. We first generate images and corresponding latent representations via Stable Diffusion with the textual inputs from GPT-3. With latent representations as "models-understandable pixels", we introduce a flexible convolutional neural network with two convolutional layers to be the latent encoder, which is simpler than most encoders in vision-language models. The latent encoder is jointly trained with CLIP's image encoder, transferring pre-trained knowledge to downstream tasks better. Experiments and extensive ablation studies on various visual classification tasks demonstrate that FLIER performs state-of-the-art on 11 datasets for most few-shot classification.

少样本学习视觉语言模型潜在表示扩散模型

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