[Paper Review] MOFI: Learning Image Representations from Noisy Entity Annotated Images
MOFI introduces a vision foundation model trained on a new large-scale dataset, Image-to-Entities (I2E), comprising 1.1 billion images and 2 million distinct entities automatically extracted from noisy image-text pairs using NER and CLIP. The model achieves 86.66% mAP on GPR1200, surpassing CLIP's 72.19%, demonstrating that supervised pre-training on fine-grained entity labels significantly improves image representation learning from weakly supervised data.
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.
Motivation & Objective
- To address the scalability and cost limitations of human-annotated image classification datasets by leveraging noisy web-crawled image-text pairs.
- To develop a method for automatically extracting high-quality, fine-grained entity labels from noisy image-text pairs without human annotation.
- To train a vision foundation model on these automatically labeled entities to improve downstream image representation learning.
- To compare the effectiveness of supervised pre-training, contrastive pre-training, and multi-task learning on the new I2E dataset.
- To demonstrate that entity-level supervision from weakly labeled data can outperform standard contrastive learning on image-text pairs.
Proposed method
- Annotate images with entities by first extracting named entities from alt-text using a pre-trained NER model.
- Score each image-entity pair using a pre-trained CLIP model to filter high-confidence labels.
- Construct the I2E dataset with 1.1 billion images and 2 million unique entities, significantly expanding class coverage over prior datasets.
- Train MOFI using three recipes: supervised pre-training with entity labels, contrastive pre-training using entity names as text, and multi-task learning combining both.
- Enhance contrastive pre-training by enriching entity labels with descriptions from external knowledge sources.
- Evaluate models on image retrieval (GPR1200), zero-shot image classification (ImageNet), and linear probe benchmarks.
Experimental results
Research questions
- RQ1Can automatically extracted entity labels from noisy image-text pairs serve as effective supervision for learning strong image representations?
- RQ2Does supervised pre-training on fine-grained entity labels outperform contrastive pre-training on raw image-text pairs?
- RQ3How does multi-task learning combining supervised and contrastive objectives improve model performance?
- RQ4To what extent does the scale and diversity of entity classes (2M) in I2E contribute to improved zero-shot and retrieval performance?
- RQ5Can a model trained on weakly labeled data from the web surpass CLIP in downstream image retrieval tasks?
Key findings
- MOFI achieves 86.66% mAP on the GPR1200 image retrieval benchmark, significantly outperforming CLIP’s 72.19%.
- Supervised pre-training on the I2E dataset yields the strongest performance on image retrieval, indicating that fine-grained entity labels are highly effective supervision.
- Multi-task learning combining supervised and contrastive objectives further improves performance, achieving the best results across all benchmarks.
- MOFI achieves 78.46% zero-shot accuracy on ImageNet, surpassing CLIP’s 75.27%, demonstrating improved generalization.
- The I2E dataset contains 66x more classes than JFT-3B and 2M distinct entities, making it the largest entity-annotated dataset to date.
- The model trained on I2E outperforms CLIP on both linear probe and zero-shot classification, confirming the value of entity-level supervision from weakly labeled data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.