Learn Before
Using the Optimization Verification Check
Question: A prediction system produces instead of the correct output . Explain how you would apply the Optimization Verification check to investigate the issue, and describe the two possible outcomes and what each one suggests.
Sample answer: I would first evaluate the scoring function on the correct output, , and on the system’s output, . Then I would compare the two values. If , the score function correctly ranks the true answer higher, which means the search or optimization procedure failed to find it. In that case, the likely problem is the optimization algorithm. If , the score function itself prefers the wrong output, even though the correct one was available. In that case, the scoring function computation is the more likely source of the error.
Key points:
- Compute and .
- Compare the two scores.
- If , blame the optimization or search procedure.
- If , blame the scoring function computation.
Rubric: A strong response explains how to compute both scores, compares them clearly, and interprets each inequality correctly in terms of whether the problem is in optimization or in scoring.
0
1
Tags
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Data Science
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
Classifying development-set mistakes with optimization verification
Approximate Scoring Followed by Approximate Search
Checking Whether a Translation Error Comes from Search or Scoring
Checking Reward Quality in Reinforcement Learning
A useful human output for optimization verification
What does this optimization check suggest when the reference candidate scores higher than the algorithm’s output?
Using the Optimization Verification Test
Optimization Check Symbols
How to carry out an optimization verification check
Using the Optimization Verification Check
Debugging a Translation Decoder
When to Attribute an Error to Optimization
When Is an Optimization Check Useful?
Checking the Source of a Performance Problem
Optimization checks can isolate the source of a training problem