Centered Masking for Language-Image Pre-Training
Mingliang Liang, Martha Larson
TL;DR
GLIP tackles the high computational cost of Vision-Language pretraining by replacing FLIP's random patch masking with centered Gaussian masking, preserving computational savings while improving downstream performance. It maintains the CLIP-style contrastive objective and requires no reconstruction, yet benefits from prioritizing center image regions during masking. Across CC12M/CC3M and a range of tasks (zero-shot classification, image-text retrieval, linear probing, fine-tuning), GLIP delivers gains over FLIP and approaches CLIP on large-scale data, with robustness to masking width and strong generalization to center-agnostic datasets. These results suggest center-prior masked pretraining as a practical and scalable technique for efficient vision-language learning.
Abstract
We introduce Gaussian masking for Language-Image Pre-Training (GLIP) a novel, straightforward, and effective technique for masking image patches during pre-training of a vision-language model. GLIP builds on Fast Language-Image Pre-Training (FLIP), which randomly masks image patches while training a CLIP model. GLIP replaces random masking with centered masking, that uses a Gaussian distribution and is inspired by the importance of image patches at the center of the image. GLIP retains the same computational savings as FLIP, while improving performance across a range of downstream datasets and tasks, as demonstrated by our experimental results. We show the benefits of GLIP to be easy to obtain, requiring no delicate tuning of the Gaussian, and also applicable to data sets containing images without an obvious center focus.
