Case Study

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

Updated 2026-07-11

Contributors are:

Who are from:

Tags

Data Science

Machine Learning

Deep Learning

Supervised Learning

Dive into Deep Learning @ D2L

Machine Learning Strategy

Machine Learning Yearning @ DeepLearning.AI