# How Do You Evaluate Multimodal Outputs?

> How to test AI that writes about pictures, documents or audio, and AI that makes images, with checks, human ratings and a real case, for your AI interview.

**In short:** Test each kind of output against its own standard. Check text about an image against facts a person confirmed, and check generated images with questions and human ratings. Automatic scores help as a filter, but people make the final call.

AI and LLM interview question Q455, Multimodal and newer topics. Advanced, occasional (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/how-do-you-evaluate-multimodal-outputs

## Say it in 30 seconds

A multimodal output is either text about a picture, sound or document, or a picture, sound or video the model makes. I test them differently. For text about a photo, I compare each claim with what a person confirmed, and count invented and missed items. For a generated image, I ask questions about the brief and check each answer, then have people rate realism and fit. Automatic scores are a fast filter. People make the final call.

## Say it in 2 minutes

Take a car insurer that lets a vision model read damage photos and draft the summary an adjuster reviews. The output is text, but the truth sits in the photo. So the first question is whether the summary matches what the photo shows. A summary that names a windscreen crack which is not there costs a glass claim for nothing. A summary that misses a dented wing mirror means an underpaid claim and a second visit.

For text about an image, I build an answer key from photos where a person has listed the real damage. Then I count two kinds of error: invented items, which the model named but the adjuster did not confirm, and missed items, which the adjuster saw and the model left out. Precision and recall turn those counts into ratios. Most items can be right while most claims still have a mistake, so I also count the claims with no error at all.

For images the model makes, I start from the brief. A question check asks, for each item in the brief, whether the picture shows it. A text-image match score is a quick filter. Neither replaces people. A person rates realism, brand fit and safety, and only approved pictures ship. Audio and video follow the same idea, with a human transcript or a list of events as the reference.

The hard part is the judge. Using a strong model to grade the answers is fast, but judges have their own biases, so I check its grades against people on a sample before I trust it.

## What does it mean to evaluate multimodal outputs, in plain words?

A multimodal output is either text about a picture, sound or document, or a picture, sound or video the model makes. The first kind is, for example, a summary of a damage photo. The second is, for example, a product image drawn from a written brief.

To evaluate an output is to decide whether it is good enough, and to show that with evidence. For text about media, the question is whether the words match what is really there. For a made image, the question is whether it shows what was asked, looks right and is safe to publish.

Think of a claims adjuster checking a junior colleague's report against the photos. The adjuster trusts the report only after checking each photo and ticking off each claim. A good test works the same way: it compares the output with facts a person has confirmed.

- **Multimodal output:** Text about a picture, sound or document, or a picture, sound or video the model makes.
- **Answer key:** The facts a person has confirmed, such as the real damage on each photo. The output is checked against it.
- **Invented item:** Something the output says is there when it is not. Also called a hallucination.
- **Precision:** Of the things the output named, how many were really there.
- **Recall:** Of the things really there, how many the output named.

## How do you test text that describes a photo or document?

Start with an answer key: a set of real examples where a person has written down what is actually there. Then compare each claim in the output with that list. This answer key is the reference, and every number below depends on it.

- **Invented: Named, but not there.** A glass claim is paid for a crack that the photo never showed.
- **Missed: There, but not named.** A dented wing mirror is left out, so the claim is underpaid and a second visit follows.

*Diagram, Scoring a summary against an answer key: The model writes a summary from the photos. Each item it names is checked against the adjuster's answer key, and invented and missed items are counted apart. Those counts give precision and recall.*
1. The photos go to the model with a request for a summary.
2. Each item the summary names is checked against the key.
3. Named items the key does not have are counted as invented.
4. Key items the summary left out are counted as missed.
5. Each invented item adds to the error count.
6. Each missed item adds to the error count.

Precision asks how many of the named items were right. Recall asks how many of the real items were named. A model that names everything has high recall and poor precision. One that names only the obvious has the opposite problem, so you need both.

A document works the same way. On an invoice, each field such as supplier, date and total is an item, and it counts as right, invented or missed. Here is a small worked example with six made-up claim photos. The script compares what the model wrote with what the adjuster confirmed.

```python
# Six made-up claim photos: what the model wrote, and what the adjuster confirmed.
ROWS = [
    ("C101", ["rear bumper", "tail light"], ["rear bumper", "tail light"]),
    ("C102", ["door dent"], ["door dent", "wing mirror"]),
    ("C103", ["bonnet", "windscreen crack"], ["bonnet"]),
    ("C104", ["rear bumper"], ["rear bumper"]),
    ("C105", ["side panel", "roof dent"], ["side panel"]),
    ("C106", ["tail light"], ["tail light", "rear bumper"]),
]

invented = missed = said_total = real_total = fully_right = 0
for claim, said, real in ROWS:
    wrong = [x for x in said if x not in real]
    gone = [x for x in real if x not in said]
    invented += len(wrong)
    missed += len(gone)
    said_total += len(said)
    real_total += len(real)
    if not wrong and not gone:
        fully_right += 1
    print(claim, "invented:", ", ".join(wrong) or "none", "| missed:", ", ".join(gone) or "none")

print("Invented:", invented, "of", said_total, "items said")
print("Missed:", missed, "of", real_total, "real items")
print("Fully right:", fully_right, "of", len(ROWS), "claims")
```

Output:

```text
C101 invented: none | missed: none
C102 invented: none | missed: wing mirror
C103 invented: windscreen crack | missed: none
C104 invented: none | missed: none
C105 invented: roof dent | missed: none
C106 invented: none | missed: rear bumper
Invented: 2 of 9 items said
Missed: 2 of 9 real items
Fully right: 2 of 6 claims
```

The model named 9 items and 7 were really there, so per item it looks decent. That gives precision of 7 out of 9 named items, about 78 per cent, and recall of 7 out of 9 real items, also about 78 per cent. But only 2 of the 6 claims came out fully right, and the other 4 would need an adjuster fix. Count whole claims as well as items, because that is what the claims team pays for.

> **Tip:** Asked how you'd score a photo summary? Name the two kinds of error, invented and missed, and say you count whole claims as well as single items.

Do vision models invent items? Yes, and often. A 2023 paper, accepted to EMNLP, tested vision-language models, which read images and write text. It found that these models mostly suffer from a severe object hallucination issue, which means they describe things that are not in the picture. The same authors warn that existing evaluation methods might be affected by the input instructions and generation styles of these models. Their method, POPE, is a polling-based query method, and the authors say it evaluates object hallucination in a more stable and flexible way. They also found that objects which frequently occur in the visual instructions, or co-occur with the image objects, are prone to being invented.

> "they tend to generate objects that are inconsistent with the target images in the descriptions" (POPE paper, EMNLP 2023)

For speech, the same idea holds. A person writes the correct transcript, and you compare the words with it. The usual score is word error rate: the share of words that are wrong, missing or added compared with the transcript.

## How do you test images, audio or video the model makes?

Start from the brief, because it is the only thing you can check against. A picture is faithful when every item in the brief is there. Take the brief "A grey three-seat sofa with oak legs, on a white background." It has five things to check: the sofa, the grey, the three seats, the oak legs and the white background.

A common test, which TIFA uses, turns the brief into short questions, then asks a vision model to answer each one about the picture. TIFA is a 2023 method, and its authors found that current models do well on colour and material, but still struggle with counting, spatial relations and several objects together. So a brief that asks for three seats needs its own count question, and a person should check it too.

*Diagram, Checking a generated product picture: A brief goes in, the model draws, and two automatic checks look at the picture. Both pass their results on to a person, who approves what can ship. The filters only sort the pictures; people decide.*
1. The brief goes to the model as text.
2. Each item in the brief is asked about the picture.
3. A fast score compares the picture with the brief text.
4. The question results go to a person for review.
5. The score goes to a person as a quick guide.
6. A person approves what is fit to use, and only that ships.

The quick match score comes from CLIPScore, a 2021 method built to score captions against an image. It uses CLIP, a model pretrained on 400M image and caption pairs from the web, and needs no reference caption. It agreed well with people on caption tests, but was weaker on news captions that need background knowledge. The same picture and text match can serve as a quick filter for generated pictures. Use it to sort pictures. Approval stays with people.

People are still the final check. HEIM, a test set for image makers, covers 12 aspects, from alignment and quality to bias and toxicity. It found that no single model excels on every aspect. So pick the aspects that matter for your product, and rate those with people.

For a generated voice, people must listen, because a score cannot judge an accent, a rushed line or a bad pause. For a generated video, check each event the brief asks for, then have people watch the whole clip, since no simple score follows a story from start to end.

## Can another model grade the answers?

Sometimes. A judge model is a strong AI model that grades other models' answers, and it can grade open answers quickly. A 2023 paper on the MT-Bench judge found that a strong judge model agreed with people about as often as people agreed with each other.

> "Hence, LLM-as-a-judge is a scalable and explainable way to approximate human preferences, which are otherwise very expensive to obtain." (MT-Bench paper, 2023)

The same paper lists the judge's biases: position, verbosity and self-enhancement. A judge may prefer the longer answer, or its own answer. A judge that reads pictures or sound needs the same check: grade a sample by hand and compare.

> **Tip:** Asked how you'd trust a judge? Say you check it on a sample graded by people, and check it again whenever the model or the grading prompt changes.

### How would you set up the test for a claims assistant?

A car insurer wants its assistant to read damage photos and draft summaries. Here is the test I would set up before launch.

1. **Build the answer key:** A person writes the real damage for a few hundred past claim photos, across car types and lighting.
2. **Pick the counts:** Count invented items, missed items and fully right claims. Report all three, not one average.
3. **Add a judge, then check it:** A strong model can grade long summaries, but first check its grades against people on a sample.
4. **Re-run on every change:** Any new model, prompt or photo type runs the same set before release.
5. **Watch live claims:** Each week, an adjuster checks a random sample of live summaries and logs the errors.

Ship only when the counts stay within the limits the claims team agreed, and when a bad summary still has an adjuster who looks at the photo.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] Two kinds of output: text about media, and media the model makes.
- [ ] An answer key written by people, not the model's own opinion.
- [ ] Counts of invented and missed items, with precision and recall.
- [ ] Automatic scores as filters, with people making the final call.
- [ ] A check of any judge model against people before trusting it.

**Common traps**

- Trap: "A high average score means it is good." Better: Averages hide the claims that are wrong. Count whole claims with no mistake as well.
- Trap: "Use a judge model and skip the people." Better: A judge needs its own check against people first, or its errors hide inside the numbers.
- Trap: "The image score says it matches the brief." Better: A match score is a quick filter. Counts and small details still slip past it, so ask a question per item.

## Can you pick the right check?

**Pick the next step:** A summary reads well, and most of its items match the photo. Which is the right next step?

A. Ship it, because it reads well and most items are right.
B. Count invented and missed items per claim, and check whole claims against the answer key.
C. Ask a bigger model to check the summary, then stop there.
D. Trust the score from the first test run and move on.

**Answer:** B. Good-looking text and mostly right items can still hide a claim that needs fixing. Counting per claim, against people's answer key, shows where the errors are.

**Quick check:** Which check shows whether a generated product picture has three seats, as the brief asks?

A. A text-image match score for the whole picture
B. A question for each item in the brief, such as how many seats there are
C. The image model's own confidence number
D. The file size of the picture

**Answer:** B. One match score covers the whole picture, so a wrong seat count can slip past it. A question for each item is checked against the picture and fails on a wrong count.

## Can you answer these from memory?

**Flash cards**

- **What are the two kinds of multimodal output?** Text about media, and media the model makes (images, audio, video).
- **What is the first step for a photo summary?** Build an answer key from what a person confirmed in the photos.
- **What is an invented item?** Something the output names that is not really there.
- **Precision vs recall?** Precision: named items that were right. Recall: real items that got named.
- **Why ask questions about a generated image?** Each item in the brief can be checked, which one score cannot do.
- **Can a model grade another model?** Sometimes, but check its grades against people on a sample first.

## Likely follow-up questions

- Q249 What is LLM-as-a-judge? https://designervenkat.online/interview/ai/what-is-llm-as-a-judge
- Q250 What biases do judges have (position, length, self-preference)? https://designervenkat.online/interview/ai/llm-judge-biases
- Q251 How do you calibrate a judge against humans? https://designervenkat.online/interview/ai/how-do-you-calibrate-a-judge-against-humans
- Q264 When do you need human evaluation? https://designervenkat.online/interview/ai/when-do-you-need-human-evaluation
- Q448 How do you extract structured data from documents and images? https://designervenkat.online/interview/ai/extract-structured-data-from-documents-and-images
- Q453 Safety for text-to-image? https://designervenkat.online/interview/ai/safety-for-text-to-image

## Learn it in depth

- [LLM Evaluations](https://designervenkat.online/learn/ai-engineering/llm-evaluations)
- [Evaluation Metrics](https://designervenkat.online/learn/ai-engineering/evaluation-metrics)
