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

带高质量字幕的CLIP:一种面向视觉任务的强预训练方法

CLIP with Quality Captions: A Strong Pretraining for Vision Tasks

Apple(苹果公司)

Pavan Kumar Anasosalu Vasu, Hadi Pouransari, Fartash Faghri, Oncel Tuzel

AI总结:

该研究发现提升图文预训练的字幕质量可增强CLIP的视觉表征,在密集预测任务上超越多种预训练方法,提升移动端架构性能并大幅提高微调数据效率。

摘要:

CLIP模型在零样本分类和检索任务上表现出色,但近期研究表明,CLIP学到的表征并不适配目标检测、语义分割或深度估计等密集预测任务。最近,学界提出了CLIP模型的多阶段训练方法,以缓解CLIP在下游任务上性能较弱的问题。\n在本研究中,我们发现仅提升图文数据集中的字幕质量,就能改善CLIP视觉表征的质量,从而在下游密集预测视觉任务上取得显著提升。实际上,我们发现使用高质量字幕进行CLIP预训练,性能可以超越近期的监督、自监督和弱监督预训练方法。\n实验结果显示,当以ViT-B/16作为图像编码器的CLIP模型在对齐良好的图文对上训练时,在语义分割和深度估计任务上,相较于Masked Autoencoder(MAE,掩码自编码器)等当前最优的Masked Image Modeling(MIM,掩码图像建模)预训练方法,其mIoU高出12.1%,RMSE低11.5%。我们还发现移动端架构也能从CLIP预训练中显著获益:近期的移动端视觉架构MCi2经CLIP预训练后,在语义分割任务上的性能与在ImageNet-22k上预训练的Swin-L相当,但参数量仅为后者的1/6.1。此外,我们证明提升字幕质量可使密集预测任务的微调数据效率提升10倍。

英文摘要:

CLIP models perform remarkably well on zero-shot classification and retrieval tasks. But recent studies have shown that learnt representations in CLIP are not well suited for dense prediction tasks like object detection, semantic segmentation or depth estimation. More recently, multi-stage training methods for CLIP models was introduced to mitigate the weak performance of CLIP on downstream tasks. In this work, we find that simply improving the quality of captions in image-text datasets improves the quality of CLIP's visual representations, resulting in significant improvement on downstream dense prediction vision tasks. In fact, we find that CLIP pretraining with good quality captions can surpass recent supervised, self-supervised and weakly supervised pretraining methods. We show that when CLIP model with ViT-B/16 as image encoder is trained on well aligned image-text pairs it obtains 12.1% higher mIoU and 11.5% lower RMSE on semantic segmentation and depth estimation tasks over recent state-of-the-art Masked Image Modeling (MIM) pretraining methods like Masked Autoencoder (MAE). We find that mobile architectures also benefit significantly from CLIP pretraining. A recent mobile vision architecture, MCi2, with CLIP pretraining obtains similar performance as Swin-L, pretrained on ImageNet-22k for semantic segmentation task while being 6.1$\times$ smaller. Moreover, we show that improving caption quality results in $10\times$ data efficiency when finetuning for dense prediction tasks.

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

↑