# What Is Multimodal RAG?

> What multimodal RAG is, how pictures, charts and scanned pages get searched alongside text, and the trade-offs, explained simply for your AI interview.

**In short:** Multimodal RAG is retrieval-augmented generation over more than text: images, charts, tables and scanned pages are searched too, and a vision model reads them when it writes the answer.

AI and LLM interview question Q451, Multimodal and newer topics. Advanced, occasional (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/what-is-multimodal-rag

## Say it in 30 seconds

Multimodal RAG means the AI searches more than text before it answers. Pictures, charts, tables and scanned pages go into the search index too. There are two ways in: write a short text note about each picture, or embed the picture itself so it can be matched directly. When a question comes in, the system finds the best pages and a vision model reads them. The hard part is that a note can drop a number from a table, so I would test it on real pages first.

## Say it in 2 minutes

Normal RAG searches text. The system splits documents into small pieces called chunks, turns each chunk into an embedding, which is a list of numbers that captures its meaning, and then looks up the chunks closest to the question. Multimodal RAG does the same for pictures, charts, tables and scanned pages. At a claims team, the answer to a question might sit in a table on page 212 of a scanned policy.

There are two common designs. In the first, a model writes a short description of each picture, and that text is embedded like any other chunk. In the second, the picture is embedded directly, so a diagram can be matched without anyone describing it. Google's embedding docs say image and text vectors share one space of meaning, which is what makes the second design possible. Many solutions use both.

Both designs have costs. Descriptions need a model call for every picture at ingestion, the step where files are loaded and indexed, and they can miss a footnote or a number. Direct embeddings find look-alike images well, but the vector cannot explain why two images match, and it gives the model no words to cite. So the final step needs the real page image. A vision model reads the retrieved pages and writes the answer from what it sees. Microsoft's guide notes that running separate text and image systems, the older way, brings higher cost, complexity and effort.

So I would plan it in order: keep the page number and reading order with every match, store the page image, test on real questions where I already know the right page, and measure whether that page comes back. Only then would I tune the rest.

## What is multimodal RAG, in plain words?

RAG stands for retrieval-augmented generation. Before the AI writes an answer, the system first looks up useful material from a store of documents, and the model writes from what it found. Retrieval is the lookup. Generation is the writing.

Multimodal means more than one kind of content. Microsoft defines multimodal search as the ability to take in, understand and find information across text, images, video and audio. Multimodal RAG applies that to RAG. It searches the pictures, charts, tables and scanned pages in your files as well as the words, and a vision model reads whatever it finds.

Think of a new claims officer at an insurance firm. The policy rules sit in a binder, but half the answers are in tables and diagrams inside it. A good colleague flips to the right page and reads the table and the sentence above it. In AI terms, that binder page is a scanned page in the index, and the vision model is the colleague who reads it. Multimodal RAG teaches the AI to find the right page first, then read what is on it.

- **RAG:** Looks up the right material first, then writes the answer from it.
- **Embedding:** A list of numbers that captures what a piece of content means, so similar things get similar lists.
- **Vector index:** A store of those lists that can find the closest matches quickly.
- **Vision model:** An AI model that can read images and text together.

## How does a picture get into the search?

Both designs start the same way. The file is split into pieces, each picture, table or page is kept, and every piece gets an entry in a search index. The difference is what goes into that entry.

*Diagram, How a page gets into the answer: A scanned page goes down two paths. A model writes a short text note of each picture, or the picture is embedded as it is. Both land in one index. At question time the best matches are found, and a vision model reads the pages to write the answer.*
1. A model writes a short text note of each picture on the page.
2. The same picture can also be embedded as it is.
3. The text note goes into the search index.
4. The embedded picture goes into the same index.
5. The search finds the pages closest to the question.
6. A vision model reads those pages and writes the answer.

The text route works with ordinary text search, so it is the easier one to add. Microsoft's guide describes it as a model call during ingestion that writes a concise description of each extracted image. The embedding route keeps more of what the picture shows, because the picture itself is what gets matched.

> **Tip:** Using Google's multimodal embedding model? Its docs recommend one page per PDF for the best quality.

## Why does text-only search miss things?

Tables and diagrams lose their shape when they are turned into plain text. The rows merge, the numbers drift away from their labels, and a flowchart becomes a list of words. A 2024 paper on ColPali, a document-retrieval model, says that text-based systems struggle to use the visual cues on a page.

Worked example. A claims team at a mid-size insurer keeps 40,000 pages of policy wording and scanned claim files. An adjuster asks whether burst-pipe water damage is covered under the home schedule.

1. **Ingest the scan:** The policy is split into pages. Page 212 holds the schedule table, but plain text extraction jumbles it, so the burst-pipe row merges into the text around it.
2. **Index both ways:** A text note says the page has a schedule table, and an embedding stores the table itself. Microsoft's guide gives the same kind of case, where the only authoritative description of a process sits inside a diagram in a PDF.
3. **Retrieve the page:** Search finds page 212 because the table matches the question's words and meaning. If only a loose note about water damage is indexed, page 212 may never rank near the top.
4. **Read the picture:** The vision model reads the table image, finds the burst-pipe row, and reports its cover and excess.
5. **Answer with the page:** The answer cites page 212, so the adjuster can check the row before a claim is paid.

Google's embedding docs say the model can tell text apart inside an image, similar to optical character recognition, which is software that turns printed letters into text. That helps with the scan. The layout of the table still has to reach the final model, which is why the page image matters.

## What are the trade-offs of the two designs?

- **Text notes: Works with text search.** Easy to add to what you have. But a note can drop a footnote or a number, and every picture costs a model call.
- **Direct embeddings: Finds look-alikes.** Good at matching a diagram to a similar one. But the vector cannot say why two images match, and it gives the model no words to cite.
- **Both: Usually the answer.** Many solutions use both. Keep the page image too, so the final model reads the real page as well as the note.

> "Because the representation is purely mathematical, it doesn't convey why two images are related, and it doesn't offer the LLM ready context for citations or detailed explanations." (Microsoft, Foundry IQ (Azure AI Search) guide)
>
> "doing document retrieval by directly embedding the images of the document pages" (ColPali authors, on arXiv)

Plan for the cost up front. Every picture described at ingestion is a model call, and every stored page image is one more thing to keep in step when the files change.

### How would you make sure the right page comes back?

Prove retrieval before you trust the answer. A wrong answer can come from a right page that the model misread, or from the right page never coming back. Test the two separately.

1. **Keep the context:** Store the file name, page number and reading order with every match. Microsoft's guide says multimodal search has to preserve the order of information as it appears in the documents.
2. **Write test questions:** Take 50 real questions from claims staff, each with the page that truly answers it.
3. **Check retrieval first:** Count how often the right page is in the top results. If it is missing, the model never had a chance.
4. **Then check the answer:** For the questions where the right page came back, check whether the model read the table correctly.
5. **Change one thing at a time:** Change the chunking, the description prompt or the embedding model, then measure again.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] A plain definition: RAG that also searches pictures, charts, tables and scans.
- [ ] The two routes: a text note per picture, or embedding the picture itself.
- [ ] Why plain text misses things: tables and diagrams lose their layout.
- [ ] The trade-offs: model cost, lost detail, and no words to cite from a vector.
- [ ] Keep the page image so the final model reads the real thing.
- [ ] How they test it: real questions, a known right page, and retrieval measured first.

**Common traps**

- Trap: "Extract the text and the tables are covered." Better: Text extraction catches tables too, but they lose their rows. Check the page image as well.
- Trap: "A vision model reads everything, so no index is needed." Better: A model cannot read a whole archive for every question. Index first, then send the few matching pages.
- Trap: "The embedding explains why the image matches." Better: A vector shows closeness, not reasons. Keep the page so the model can explain the match.

## Can you spot the gap?

**Spot the gap:** A claims bot answers from one text note per scanned page. Which note shows it has lost the detail it needs?

A. Page 212: schedule table with four rows. Row 3 covers burst pipes.
B. Page 212: a schedule table with a few rows about water damage.
C. Page 40: claims phone line and opening hours.
D. Page 212: schedule table, all four rows kept, with the burst-pipe row and its excess figure.

**Answer:** B. The second note drops the burst-pipe row and its numbers, so the question cannot be answered from it. The first and last notes keep that row. Keep the page image and the row-level detail, or the model has to guess.

**Quick check:** The right page is already retrieved, but the model misreads the diagram on it. Which change helps most?

A. A longer system prompt
B. Send the page image to a vision model with the retrieved text
C. A lower temperature
D. A bigger text chunk size

**Answer:** B. The model can only use what it is given. The page image lets it see the diagram. A longer prompt or a lower temperature cannot show it what is on the page.

## Can you answer these from memory?

**Flash cards**

- **What is multimodal RAG?** RAG that also searches images, charts, tables and scanned pages, then reads them.
- **Two ways to index a picture?** Write a short text note of it, or embed the picture itself.
- **Why does text-only RAG miss things?** Tables and diagrams lose their rows and layout when turned into plain text.
- **Main cost of text notes?** Each picture needs a model call, and a note can drop a number or footnote.
- **Main limit of direct embeddings?** A vector finds look-alikes but cannot say why two images match.
- **What to keep with each match?** The page number, the reading order and the page image for the model to read.

## Likely follow-up questions

- Q111 What is RAG, and why use it? https://designervenkat.online/interview/ai/what-is-rag
- Q441 What is a vision-language model? https://designervenkat.online/interview/ai/what-is-a-vision-language-model
- Q448 How do you extract structured data from documents and images? https://designervenkat.online/interview/ai/extract-structured-data-from-documents-and-images
- Q452 Native multimodal vs pipeline approach? https://designervenkat.online/interview/ai/native-multimodal-vs-pipeline-approach
- Q455 How do you evaluate multimodal outputs? https://designervenkat.online/interview/ai/how-do-you-evaluate-multimodal-outputs
