A captioning model is evaluated with BLEU only. Users say captions are fluent but often wrong about objects. What should you add to testing?
- Exam domain
- Experimentation25% of the exam
- Difficulty
- Medium
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Experimentation (25% of the exam)
Objective in the exam guide: Test AI models to ensure their accuracy and effectiveness.
Choosing metrics is part of testing effectiveness.
Why A is the answer
Human or model-based checks of whether captions match the image
N-gram overlap metrics reward wording similarity, not factual match to the image. Human review or image-text matching scores test grounding.
Remember: Add grounding checks to overlap metrics.
How it works
Effective testing combines automatic metrics with checks that the output is grounded in the input.
In detail
- Metrics test what they measure.
- Add grounding checks.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Human or model-based checks of whether captions match the imageRight
Add grounding checks to overlap metrics.
B. A faster tokenizerWrong
Tokenizer speed is unrelated.
C. A second n-gram score that measures the same thingWrongMost tempting
Another n-gram metric has the same blind spot.
Why it tempts: More of the same metric feels thorough.
D. Nothing; BLEU covers correctnessWrong
BLEU does not check objects.
Use case
An illustrative scenario, not a real incident.
Illustrative: adding human review shows 15 percent of captions mention objects not in the image.
See it in different ways
mindmap
root(("Caption metrics"))
n1["Overlap"]
n2["BLEU and similar"]
n3["Grounding"]
n4["Image-text similarity"]
n5["Human review"]
n6["Fluency"]
n7["Readability"]How to read this chart
- The centre is "Caption metrics".
- "Overlap" covers "BLEU and similar".
- "Grounding" covers "Image-text similarity", "Human review".
- "Fluency" covers "Readability".
flowchart LR S0["Check data quality"] --> S1["Train"] --> S2["Evaluate per modality and joint"] --> S3["Inspect failures"] --> S4["Fix data or model"]
How to read this chart
- Read it in order: Check data quality, then Train, then Evaluate per modality and joint, then Inspect failures, then Fix data or model.
Related questions
Learn more
- Our lesson: Experiments, data quality and analysis
- Practise Experimentation questions in the mock exam
- Source: Learning Transferable Visual Models From Natural Language Supervision, CLIP (arXiv)
- Source: Metrics and scoring (scikit-learn)
- Cross-validation (scikit-learn)
- Metrics and scoring (scikit-learn)
- Common pitfalls and recommended practices (scikit-learn)
- Grad-CAM: Visual Explanations from Deep Networks (arXiv)
- Matplotlib documentation