A Deep Dive into VLMs: Vision-Language Models
One image, two different questions
Which caption belongs with this image? Where in the image is the object named by that caption? The first question can be answered by comparing whole-image and whole-text representations. The second requires grounding a phrase in a specific region. Both are vision-language tasks, but they ask for different kinds of evidence.
What the training objective teaches
CLIP trains an image encoder and a text encoder to give matching pairs similar representations. At inference time, candidate labels can be written as text and ranked against an image. A generative model has a different job. It must produce a sequence of words conditioned on visual information. Cross-attention gives a decoder a way to consult image features as it generates those words.
Look at the captions
A caption can describe the main event while saying little about smaller objects or spatial relationships. Deduplicating pairs, checking whether captions actually match, and supplying region-level annotations address different weaknesses in the training set. The question you want the model to answer determines which gaps matter.