Book a demo →

Vision Language Model (VLM)

Definition

A vision language model reads images and text and answers in text. How it is built and trained, what it does, how it differs from OCR, and where it errs.

In short

A vision language model (VLM) is an AI model that takes images or video together with text and answers in text. Hugging Face describes VLMs as “a type of generative models that take image and text inputs, and generate text outputs”. Typical tasks are describing an image, answering questions about it and locating objects in it.

What a vision language model is

A vision language model (VLM) takes images, and often video, together with text and answers in text. IBM Think describes it this way (retrieved 5 December 2026): “VLMs take text and images or videos as input and produce text as output, usually in the form of image or video descriptions, answering questions about an image or identifying parts of an image or objects in a video.”

Several names are in use. IBM notes that VLMs are “also referred to as visual language models”. DeepMind's Flamingo paper of 29 April 2022 introduced its models as “a family of Visual Language Models (VLM)”, and the POPE paper of May 2023 speaks of large vision-language models (LVLM). A VLM is one kind of multimodal AI: the kind that reads pictures and text and writes text. Models that also take audio or generate images are covered in that entry.

From image captioning to vision language models

According to Wikipedia (retrieved 5 December 2026), “Vision language models evolved from image captioning systems.” Those systems took an image without any instruction and wrote a description of it. Most used an encoder that turned the image into feature vectors and a decoder that wrote the text.

The article dates the next steps. In 2015, convolutional neural networks encoded the images and recurrent neural networks wrote the captions. By 2018, transformer networks had replaced the recurrent networks as decoders. The article adds that the range of tasks broadened to include visual question answering and phrase grounding. In 2021 OpenAI released CLIP, which Wikipedia calls “a general-purpose foundation model”, trained on 400 million image-text pairs. CLIP is one of three examples named in the definition of the Stanford report; the entry on foundation models has the wording and the date. From 2022 on, many models followed one plan: they “merged a separately trained CLIP-like image encoder, an off-the-shelf large language model (LLM) for text encoding, stitched together using specialized components.”

The parts of a VLM

NVIDIA's glossary, retrieved 5 December 2026, describes the usual build: “A common architecture combines a vision encoder, a projector, and an LLM.”

The vision encoder turns the image into numbers that the rest of the model can process. NVIDIA writes that it “is typically a CLIP-based model with a transformer architecture that has been trained on millions of image-text pairs”. The projector sits between the encoder and the language model, as “a set of layers that translates the output of the vision encoder into a form the LLM can understand, often interpreted as image tokens”. The language model then reads these image tokens together with the text of the prompt and writes the answer. NVIDIA adds: “Any off-the-shelf LLM can be used to build a VLM.”

NVIDIA notes that the projector can be a simple linear layer, as in LLaVA, or something more complex. Junnan Li and co-authors kept both the image encoder and the language model frozen in BLIP-2 (30 January 2023) and trained only what lies between them: “BLIP-2 bridges the modality gap with a lightweight Querying Transformer, which is pre-trained in two stages.”

The image passes through encoder and projector; the prompt goes straight to the language model. Source: NVIDIA glossary, “Vision Language Models”, retrieved 5 December 2026.

How a VLM is trained

NVIDIA summarises the usual order: “VLMs are trained in several stages that include pretraining, followed by supervised fine-tuning.” Pretraining aligns encoder, projector and language model on image-caption pairs and on text with images placed in between. Supervised fine-tuning then teaches the model to respond to prompts. NVIDIA's examples are requests to describe an image or to count the objects in it, each paired with the expected answer. Parameter-efficient fine-tuning can follow as an optional last stage for a specialised model; the entry on fine-tuning explains the method.

ApproachWhat it learns
Contrastive pretraining: CLIP (26 Feb 2021), SigLIP (27 Mar 2023)To place matching images and captions close together and non-matching pairs far apart
Generative pretraining with a bridge: BLIP-2 (30 Jan 2023)To pass image features to a frozen language model that writes text
Visual instruction tuning: LLaVA (17 Apr 2023)To follow instructions about an image, from examples of prompts and answers

Dates of the arXiv submissions, retrieved 5 December 2026.

In IBM's words, a contrastively trained model “learns to minimize the distance between embeddings of matching pairs and maximize it for nonmatching pairs”. SigLIP changed the loss function behind this: “Unlike standard contrastive learning with softmax normalization, the sigmoid loss operates solely on image-text pairs and does not require a global view of the pairwise similarities for normalization.” The second stage of BLIP-2 “bootstraps vision-to-language generative learning from a frozen language model”.

Instruction tuning needs examples of instructions about images. Haotian Liu and co-authors produced them with a text-only model, as they wrote on 17 April 2023: “we present the first attempt to use language-only GPT-4 to generate multimodal language-image instruction-following data.” They trained LLaVA on the generated data.

What a VLM does

The Flamingo paper tested its models on open-ended tasks “such as visual question-answering, where the model is prompted with a question which it has to answer” and on “captioning tasks, which evaluate the ability to describe a scene or an event”. Hugging Face adds in its post of 11 April 2024 that some VLMs “can output bounding boxes or segmentation masks when prompted to detect or segment a particular subject”.

TaskWhat the model returns
Image captioningA description of the scene
Visual question answeringAn answer to a question about the image
Detection and segmentationBoxes or masks around a named subject
Text and documentsText read from the image, and answers about the document
Classification without task trainingA label chosen by comparing the image with text descriptions

Sources: Flamingo paper (29 April 2022) for captioning and question answering; Hugging Face (11 April 2024) and the Gemini API documentation for detection; Hugging Face and the NVIDIA glossary for text and documents; the CLIP paper (26 February 2021) and IBM Think for classification. Documentation pages retrieved 5 December 2026.

For detection, the Gemini API documentation, retrieved 5 December 2026, states: “Models are trained to detect objects in an image and get their bounding box coordinates. The coordinates, relative to image dimensions, scale to [0, 1000].” The classification row goes back to CLIP: after pretraining, “natural language is used to reference learned visual concepts (or describe new ones) enabling zero-shot transfer of the model to downstream tasks.” The CLIP authors tested this on “over 30 different existing computer vision datasets, spanning tasks such as OCR, action recognition in videos, geo-localization, and many types of fine-grained object classification.”

Models are compared on shared test sets. NVIDIA names MMMU, Video-MME, MathVista, ChartQA and DocVQA, and describes the usual format: “the VLM is provided with the image, question, and several multiple-choice answers it must choose from.”

VLM, LLM, computer vision and OCR

A large language model reads and writes text. A VLM adds images to the input and keeps text as the output. Older computer vision models work differently: NVIDIA describes them as “trained for a specific task on a bounded set of classes.” One of its examples is an OCR model “that reads text in an image, but doesn’t interpret the format or any visual data within a document”. A new class meant collecting and labelling images and training the model again. A VLM takes open-ended prompts instead, which allow the user “to instruct the VLM to answer questions, summarize, explain the content, or reason with the image.”

ModelHow it works
Large language modelText in, text out. The prompt sets the task.
Classic computer vision or OCR modelImage in; a class, a box or recognised text out. Training on a fixed set of classes sets the task, and a new class needs new labelled images.
Vision language modelImage or video plus text in, text out. The prompt sets the task, including instructions about the image.

Based on the NVIDIA glossary, IBM Think and Hugging Face, retrieved 5 December 2026.

How well a VLM reads text also depends on how much of the image it receives. OpenAI's API documentation, retrieved 5 December 2026, advises: “For tasks that require fine visual detail or precise coordinates, such as optical character recognition (OCR), small-object detection, or computer use, use "detail": "original" when supported.”

Where VLMs go wrong

Objects that are not in the image. Yifan Li and co-authors reported on 17 May 2023 that large vision-language models “tend to generate objects that are inconsistent with the target images in the descriptions”. They also named the objects at risk: “objects that frequently occur in the visual instructions or co-occur with the image objects, are obviously prone to be hallucinated”. To measure this they proposed a polling-based method called POPE. The entry on hallucination rate covers a different error: false statements about a brand in a text answer.

Counting. Anthropic's documentation, retrieved 5 December 2026, says: “Claude can give approximate counts of objects in an image but might not always be precisely accurate, especially with large numbers of small objects.”

Cost. Images enter the model as tokens. How providers count and bill them is described in the entries on AI tokens and multimodal AI.

Vision language models and vision-language-action models

A vision-language-action model builds on a VLM to control a robot. An article on antm.ai of 15 October 2026 defines it: “A vision-language-action model (VLA) is a model that takes a camera image and a natural-language instruction and produces robot actions.” The idea, according to the same article, is “to start from a vision-language model that has already learned from web-scale images and text, then teach it to control a robot”. A VLM answers in text, a VLA in robot actions. The entry on world models covers models that predict what happens next in an environment.

Source

Frequently asked questions

What is a vision language model?

A vision language model (VLM) is an AI model that takes images or video together with text and answers in text. Typical tasks are describing an image, answering questions about it and locating objects in it.

What is the difference between a VLM and an LLM?

A large language model takes text and returns text. A vision language model also takes images or video and still returns text. Many VLMs are built from an LLM, an image encoder and a projector that connects the two, as NVIDIA's glossary describes.

What are examples of vision language models?

Examples from research papers are Flamingo (DeepMind, April 2022), BLIP-2 (January 2023) and LLaVA (April 2023). CLIP (OpenAI, February 2021) matches images with text and serves as the image encoder in many later VLMs.

Is a VLM better than OCR?

NVIDIA describes the difference in how the task is set. A classic OCR model, it writes, reads text in an image but does not interpret the format or other visual content of a document, while a VLM takes open-ended prompts and can be asked about both. OpenAI's API documentation (retrieved 5 December 2026) advises using the original image detail for OCR tasks when the model supports it.

How is a VLM trained?

Usually in stages. Pretraining aligns the image encoder, the projector and the language model on image-caption pairs. Supervised fine-tuning then teaches the model to follow prompts about images. LLaVA (April 2023) generated such instruction examples with a text-only GPT-4.