tmars-clip.github.io - T-MARS: Improving Visual Representations by Circumventing Text Feature Learning

Description: T-MARS : Improving Visual Representations by Circumventing Text Feature Learning

vision (3358) clip (738) multimodal (187) data filtering (7) datacomp (3)

Example domain paragraphs

1. Vision language models like CLIP are trained on web-crawled image caption pairs. 2. We aim to filter these web-datasets for better visual representation learning and improve zero-shot performance. 3. Filtering out bad samples will allow allocating computation resources to useful datapoints.

1. Our analysis shows an interesting observation: a large fraction of image-caption web datasets (such as LAION) have images that contain text inside them. Often, the text is the only feature correlated with the caption. 2. We aim to remove such images, as they promote model to learn optical character recognition rather than learning better visual features.

1. Text Detection : We perform text detection using off-the-shelf OCR models. 2. Text Masking : We inpaint the pixels where text is detected. 3. Re-scoring and Filtering : Finally, we retain only those images whose corresponding masked images have a high CLIP similarity score with the original caption i.e. have visual features correlated with the caption.

Links to tmars-clip.github.io (2)