Frequency Is What You Need: Considering Word Frequency When Text Masking Benefits Vision-Language Model Pre-training

Mingliang Liang, Martha Larson
12/20/2024
cs.CV

No official code found. Best implementation: MingliangLiang3/CLIPF (2 stars, last commit 2026-04-13).

Abstract

Vision Language Models (VLMs) can be trained more efficiently if training sets can be reduced in size. Recent work has shown the benefits of masking text during VLM training using a variety of strategies (truncation, random masking, block masking and syntax masking) and has reported syntax masking as the top performer. In this paper, we analyze the impact of different text masking strategies on the word frequency in the training data, and show that this impact is connected to model success. This finding motivates Contrastive Language-Image Pre-training with Word Frequency Masking (CLIPF), our proposed masking approach, which directly leverages word frequency. Extensive experiments demonstrate the advantages of CLIPF over syntax masking and other existing approaches, particularly when the number of input tokens decreases. We show that not only CLIPF, but also other existing masking strategies, outperform syntax masking when enough epochs are used during training, a finding of practical importance for selecting a text masking method for VLM training. Our code is available online.

View on arXivView PDF

Code Implementations(1)

CLIPF: Contrastive Language-Image Pre-training with Word Frequency Masking — a frequency-based text masking strategy for efficient VLM pre-training (WACV 2026)

20Shell, PythonSep 23, 20246 months agoNOASSERTION
clipefficient-trainingimagenetmultimodal-deep-learningopenclip+5 more

Similar Papers

Cite this paper

@article{liang2024frequency,
  title  = {Frequency Is What You Need: Considering Word Frequency When Text Masking Benefits Vision-Language Model Pre-training},
  author = {Mingliang Liang and Martha Larson},
  year   = {2024},
  eprint = {2412.16148},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.16148v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.16148.svg)](https://codeofpaper.com/paper/2412.16148)

Discussion