Two versions of a captioning pipeline score 0.412 and 0.419 on a benchmark from a single run each. What should you do before claiming an improvement?
- Exam domain
- Core Machine Learning and AI Knowledge20% of the exam
- Difficulty
- Hard
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Core Machine Learning and AI Knowledge (20% of the exam)
Objective in the exam guide: Design statistical analyses for evaluating multimodal pipelines.
Evaluating multimodal pipelines needs statistics, not single numbers.
Why D is the answer
Run several seeds and test whether the difference is significant
A small gap from one run each can be noise. Running multiple seeds or bootstrap samples and testing significance shows whether the difference is real.
Remember: Small gaps need repeats and significance tests.
How it works
Statistical analysis of pipelines uses repeated runs, confidence intervals and significance tests.
In detail
- Single runs hide variance.
- Use repeats and a significance test.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Change the benchmark until the gap is largerWrong
Changing the benchmark is cherry-picking.
B. Average the two scores and report that as the resultWrong
Averaging hides the comparison.
C. Report the second model as better, since its single-run score is higher on the test setWrongMost tempting
A small gap may be noise.
Why it tempts: Higher is higher, but not if the difference is noise.
D. Run several seeds and test whether the difference is significantRight
Small gaps need repeats and significance tests.
Use case
An illustrative scenario, not a real incident.
Illustrative: over five seeds the gap shrinks to 0.002 with overlapping intervals, so no claim is made.
See it in different ways
flowchart LR S0["Fix the test set"] --> S1["Run several seeds"] --> S2["Compute mean and spread"] --> S3["Test significance"] --> S4["Report with intervals"]
How to read this chart
- Read it in order: Fix the test set, then Run several seeds, then Compute mean and spread, then Test significance, then Report with intervals.
flowchart TD
Q{"Does the gap exceed run-to-run spread?"}
Q -->|"Yes, and significant"| A0["Claim it"]
Q -->|"No"| A1["Treat as noise"]How to read this chart
- At "Does the gap exceed run-to-run spread?": if "Yes, and significant", go to "Claim it"; if "No", go to "Treat as noise".
Related questions
Learn more
- Our lesson: Deep learning foundations for multimodal models
- Practise Core Machine Learning and AI Knowledge questions in the mock exam
- Source: Statistical functions, scipy.stats
- Source: Common pitfalls and recommended practices (scikit-learn)
- Fundamentals of Deep Learning (NVIDIA DLI)
- PyTorch documentation
- Deep Residual Learning for Image Recognition (arXiv)
- Transfer learning tutorial (PyTorch)