MoDE: CLIP Data Experts via Clustering

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ma, Jiawei, Huang, Po-Yao, Xie, Saining, Li, Shang-Wen, Zettlemoyer, Luke, Chang, Shih-Fu, Yih, Wen-Tau, Xu, Hu
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917649121804288
author Ma, Jiawei
Huang, Po-Yao
Xie, Saining
Li, Shang-Wen
Zettlemoyer, Luke
Chang, Shih-Fu
Yih, Wen-Tau
Xu, Hu
author_facet Ma, Jiawei
Huang, Po-Yao
Xie, Saining
Li, Shang-Wen
Zettlemoyer, Luke
Chang, Shih-Fu
Yih, Wen-Tau
Xu, Hu
contents The success of contrastive language-image pretraining (CLIP) relies on the supervision from the pairing between images and captions, which tends to be noisy in web-crawled data. We present Mixture of Data Experts (MoDE) and learn a system of CLIP data experts via clustering. Each data expert is trained on one data cluster, being less sensitive to false negative noises in other clusters. At inference time, we ensemble their outputs by applying weights determined through the correlation between task metadata and cluster conditions. To estimate the correlation precisely, the samples in one cluster should be semantically similar, but the number of data experts should still be reasonable for training and inference. As such, we consider the ontology in human language and propose to use fine-grained cluster centers to represent each data expert at a coarse-grained level. Experimental studies show that four CLIP data experts on ViT-B/16 outperform the ViT-L/14 by OpenAI CLIP and OpenCLIP on zero-shot image classification but with less ($<$35\%) training cost. Meanwhile, MoDE can train all data expert asynchronously and can flexibly include new data experts. The code is available at https://github.com/facebookresearch/MetaCLIP/tree/main/mode.
format Preprint
id arxiv_https___arxiv_org_abs_2404_16030
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MoDE: CLIP Data Experts via Clustering
Ma, Jiawei
Huang, Po-Yao
Xie, Saining
Li, Shang-Wen
Zettlemoyer, Luke
Chang, Shih-Fu
Yih, Wen-Tau
Xu, Hu
Computer Vision and Pattern Recognition
Artificial Intelligence
Computation and Language
Machine Learning
The success of contrastive language-image pretraining (CLIP) relies on the supervision from the pairing between images and captions, which tends to be noisy in web-crawled data. We present Mixture of Data Experts (MoDE) and learn a system of CLIP data experts via clustering. Each data expert is trained on one data cluster, being less sensitive to false negative noises in other clusters. At inference time, we ensemble their outputs by applying weights determined through the correlation between task metadata and cluster conditions. To estimate the correlation precisely, the samples in one cluster should be semantically similar, but the number of data experts should still be reasonable for training and inference. As such, we consider the ontology in human language and propose to use fine-grained cluster centers to represent each data expert at a coarse-grained level. Experimental studies show that four CLIP data experts on ViT-B/16 outperform the ViT-L/14 by OpenAI CLIP and OpenCLIP on zero-shot image classification but with less ($<$35\%) training cost. Meanwhile, MoDE can train all data expert asynchronously and can flexibly include new data experts. The code is available at https://github.com/facebookresearch/MetaCLIP/tree/main/mode.
title MoDE: CLIP Data Experts via Clustering
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2404.16030