Multimodal large language model (MLLM)

A multimodal large language model is a large language model extended to take in other kinds of data, such as images, audio or video, alongside text and to reason about them in its answers.

A multimodal large language model keeps a large language model at its centre and adds ways to feed it other kinds of input. A 2023 survey of the field describes the language model as the brain that carries out the multimodal task. For images, a vision encoder turns the picture into a set of vectors, and a small learned projection maps those vectors into the same format as the language model's text tokens. The model then reads these image tokens alongside the words of the prompt.

LLaVA, published in April 2023 by Haotian Liu, Chunyuan Li, Qingyang Wu and Yong Jae Lee, is a clear example. It joined a ViT-L/14 vision encoder to the Vicuna-13B language model through a learned projection layer. Training came in two stages: first only the projection was trained, then the projection and language model together, with the vision encoder left frozen. The authors used the text-only GPT-4 to write image-based instruction data for the training. Flamingo, from 2022, took a different route, inserting cross-attention layers that let a pretrained language model look at visual features.

In use, this means you can show the model a chart and ask what trend it shows, photograph a form and ask what it says, or share a screenshot of an error message and ask for a fix. The 2023 survey cites GPT-4V as an example, and large multimodal models such as Google's Gemini, announced in December 2023, and OpenAI's GPT-4o, released in May 2024, are now widely used.

These models inherit the weaknesses of language models and add some of their own. The survey covers multimodal hallucination, where a model describes things that are not in the image. Answers that depend on precise figures read from a chart, a screenshot or a photo need checking against the original.

Common questions

What is an MLLM?

MLLM stands for multimodal large language model: a large language model that can also take in images, and sometimes audio or video, alongside text. It answers questions about that content in text, using the language model to do the reasoning.

How does a multimodal LLM see images?

A separate vision encoder converts the image into vectors, and a projection layer maps them into the same space as the language model's text tokens. The language model then processes those image tokens together with the words in the prompt.

What is the difference between an MLLM and a vision-language model?

The terms overlap heavily. Vision-language model refers specifically to images and text, while multimodal large language model emphasises a large language model at the core and can also cover audio or video. Many models fit both labels.

What are examples of multimodal large language models?

Research examples include LLaVA and Flamingo. Commercial examples include GPT-4V and GPT-4o from OpenAI and Google's Gemini models, which accept images as well as text.

Finding more

Search for "multimodal large language model", "MLLM survey" or "visual instruction tuning" for the technical picture. Reliable sources include survey papers and original model papers on arXiv, developers' model cards that state which inputs a model accepts, and independent benchmarks that test image understanding. Be cautious with demonstration videos, which show chosen examples rather than typical performance.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.