[论文解读] MOFI: Learning Image Representations from Noisy Entity Annotated Images
MOFI 引入了一种在新型大规模数据集 Image-to-Entities (I2E) 上训练的视觉基础模型,该数据集包含 11 亿张图像和 200 万个从噪声图像-文本对中通过 NER 和 CLIP 自动提取的唯一实体。该模型在 GPR1200 上实现了 86.66% 的 mAP,超越了 CLIP 的 72.19%,表明在弱监督数据上使用细粒度实体标签进行有监督预训练,可显著提升图像表征学习效果。
We present MOFI, Manifold OF Images, a new vision foundation model designed to learn image representations from noisy entity annotated images. MOFI differs from previous work in two key aspects: (i) pre-training data, and (ii) training recipe. Regarding data, we introduce a new approach to automatically assign entity labels to images from noisy image-text pairs. Our approach involves employing a named entity recognition model to extract entities from the alt-text, and then using a CLIP model to select the correct entities as labels of the paired image. It's a simple, cost-effective method that can scale to handle billions of web-mined image-text pairs. Through this method, we have created Image-to-Entities (I2E), a new dataset with 1 billion images and 2 million distinct entities, covering rich visual concepts in the wild. Building upon the I2E dataset, we study different training recipes like supervised pre-training, contrastive pre-training, and multi-task learning. For contrastive pre-training, we treat entity names as free-form text, and further enrich them with entity descriptions. Experiments show that supervised pre-training with large-scale fine-grained entity labels is highly effective for image retrieval tasks, and multi-task training further improves the performance. The final MOFI model achieves 86.66% mAP on the challenging GPR1200 dataset, surpassing the previous state-of-the-art performance of 72.19% from OpenAI's CLIP model. Further experiments on zero-shot and linear probe image classification also show that MOFI outperforms a CLIP model trained on the original image-text data, demonstrating the effectiveness of the I2E dataset in learning strong image representations. We release our code and model weights at https://github.com/apple/ml-mofi.
研究动机与目标
- 通过利用从网络爬取的噪声图像-文本对,解决人工标注图像分类数据集在可扩展性和成本方面的局限性。
- 开发一种方法,无需人工标注,即可从噪声图像-文本对中自动提取高质量、细粒度的实体标签。
- 在这些自动标注的实体上训练视觉基础模型,以提升下游图像表征学习效果。
- 比较在新 I2E 数据集上,有监督预训练、对比学习预训练和多任务学习的有效性。
- 证明来自弱标签数据的实体级监督可优于标准对比学习在图像-文本对上的表现。
提出的方法
- 首先使用预训练的 NER 模型从图像的替代文本(alt-text)中提取命名实体,对图像进行实体标注。
- 使用预训练的 CLIP 模型对每对图像-实体进行打分,以筛选出高置信度的标签。
- 构建包含 11 亿张图像和 200 万个唯一实体的 I2E 数据集,显著扩展了先前数据集的类别覆盖范围。
- 采用三种训练方案训练 MOFI:使用实体标签进行有监督预训练、使用实体名称作为文本进行对比学习预训练,以及结合两者的多任务学习。
- 通过引入外部知识源中的描述信息,增强对比学习预训练中的实体标签。
- 在图像检索(GPR1200)、零样本图像分类(ImageNet)和线性探测基准上评估模型性能。
实验结果
研究问题
- RQ1能否从噪声图像-文本对中自动提取的实体标签,作为学习强图像表征的有效监督信号?
- RQ2在细粒度实体标签上进行有监督预训练,是否优于在原始图像-文本对上进行对比学习预训练?
- RQ3结合有监督和对比学习目标的多任务学习,在多大程度上提升了模型性能?
- RQ4I2E 数据集中 200 万个实体类别的规模与多样性,在多大程度上促进了零样本和检索性能的提升?
- RQ5在网页弱标签数据上训练的模型,是否能在下游图像检索任务中超越 CLIP?
主要发现
- MOFI 在 GPR1200 图像检索基准上实现了 86.66% 的 mAP,显著优于 CLIP 的 72.19%。
- 在 I2E 数据集上进行有监督预训练,在图像检索任务中表现最强,表明细粒度实体标签是极为有效的监督信号。
- 结合有监督与对比学习目标的多任务学习进一步提升了性能,在所有基准上均取得最佳结果。
- MOFI 在 ImageNet 上实现了 78.46% 的零样本准确率,超过 CLIP 的 75.27%,表明泛化能力更强。
- I2E 数据集包含的类别数量是 JFT-3B 的 66 倍,达 200 万个独特实体,是迄今最大的实体标注数据集。
- 在 I2E 上训练的模型在线性探测和零样本分类任务上均优于 CLIP,证实了弱标签数据中实体级监督的价值。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。