Learn Before
Diagnose a speech recognition scoring failure using the Optimization Verification test.
Case context: A speech recognition system receives audio that should be transcribed as 'I love machine learning.' The correct transcription is S*. The system instead outputs S_out, a different sentence. An engineer computes Score_A(S*) and Score_A(S_out) and finds that Score_A(S*) is less than Score_A(S_out), meaning the incorrect output received a higher score than the correct transcription.
Question: Using the Optimization Verification test, what should the engineer conclude about the source of the error, and what should they do next?
Sample answer: Since Score_A(S*) ≤ Score_A(S_out), the test indicates a scoring function problem: the way Score_A(.) is computed is failing to give the correct transcription a strictly higher score than the incorrect output. The engineer should not spend time on the optimization algorithm's search process; instead, the useful work is to improve how the system learns or approximates Score_A(S) for different sentences S, for example by improving the model or estimates that produce the score.
Key points:
- Score_A(S*) ≤ Score_A(S_out) signals a scoring function problem
- The scoring computation fails to rank the correct transcription above the incorrect one
- The optimization algorithm is not the source of this error
- Next step is improving how Score_A(S) is learned or approximated
Rubric: Full credit identifies the scoring function as the fault based on the inequality and recommends improving the score-learning/approximation process; partial credit identifies the correct diagnosis but not the correct next action, or vice versa; no credit for attributing the problem to the optimization algorithm.
0
1
References
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Tags
Data Science
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
In the speech recognition example, what condition indicates a scoring function problem?
True or False: A scoring function problem means the optimization algorithm needs improvement.
A scoring function problem occurs when the correct output does not receive a _____ score than the incorrect output.
Match each score comparison outcome to its diagnostic conclusion.
Order the steps for diagnosing and responding to a scoring function problem.
Explain why a strictly higher score, not just a higher score, matters for diagnosing scoring function problems.
Diagnose a speech recognition scoring failure using the Optimization Verification test.
What should you focus on improving once a scoring function problem is confirmed?
Which action addresses a confirmed scoring function problem?
True or False: A scoring function problem can arise from inaccurate estimates used to compute the score.