Tracing a Poor Route in a Learned Scoring System
Case context: You are building a route-planning system for delivery robots. For any candidate route P, the system uses a learned scoring function S(P) to estimate how good that route is, and a search algorithm to choose the route with the highest estimated score. In testing, the robot selects a route that is clearly worse than another feasible route.
Question: Using the pattern of an approximate scoring function plus an approximate maximization step, how would you analyze whether the bad route was caused by the scoring model or by the search procedure?
Sample answer: First compare the score of the best known route P_best with the score of the route chosen by the system P_chosen. If the learned scorer assigns a higher value to the worse route, so that S(P_chosen) > S(P_best), then the scoring model is the problem because it does not rank routes correctly. If the best route receives the higher score, S(P_best) > S(P_chosen), then the scoring model is consistent with the goal, and the search procedure is at fault because it failed to find the better-scoring route.
Key points:
- Treat S(P) as the approximate scoring function.
- Treat the search procedure as the approximate maximization step.
- Compare the score of the best feasible route with the score of the route actually selected.
- If the worse selected route scores higher, the scoring model is failing.
- If the better route scores higher but was not chosen, the search procedure is failing.
Rubric: The learner must say to compare the score of the best route with the score of the system-selected route. They must correctly state that S(P_chosen) > S(P_best) points to a scoring-function problem, and S(P_best) > S(P_chosen) points to a search/maximization problem.
0
1
Tags
Data Science
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
Which two approximations are combined in the standard score-and-search design pattern?
True or False: If a scoring rule does not depend on a particular input x, the notation Score_x(.) can be written simply as Score(.).
When a system assigns scores to many candidate outputs and then searches for the highest-scoring one, what diagnostic check helps evaluate the search step?
Which pair describes a common AI workflow for choosing outputs?
If a system first estimates a score approximately and then chooses the best output approximately, the Optimization Verification test can help identify whether the main error comes from scoring or from the maximization step.
If a scoring expression has no input-dependent term, it collapses to just _____.
Match each item in the route-ranking example to the role it plays in the pattern.
Order the steps in a score-then-search machine learning workflow.
In a two-stage chess engine, which part acts as the approximate maximization algorithm?
In the usual AI pipeline, the search step always returns the highest-scoring output exactly.
Many machine learning systems optimize an approximate _____ with an approximate search routine.
Match each part of the approximate scoring plus approximate maximization pattern to its description.
Order the steps for deciding whether to use the search-and-score diagnostic on a model.
Two-Stage Search for Better Predictions
Tracing a Poor Route in a Learned Scoring System
Why Identifying the Approximate Score-and-Search Pattern Helps