Eval Slices and Error Analysis
In this article
- Read an eval result slice by slice and find a group of cases that got worse while the overall pass rate rose.
- Say what the pooled pass rate and the mean of slice pass rates each answer, and why neither shows a falling slice.
- Explain why a critical slice is chosen from the cost of failure before a run and reported on its own.
- Label and group the failing cases of a slice and state a cause to check before anything changes.
- Terms defined here: critical slice, error analysis.
Overview
A new model version passes 91% of a team's saved test cases, against 88% for the version in use. Can the team ship it? Three points up says that more cases pass. It does not say which customers lost.
In an invented example, Brightline, a home-internet provider, runs a support assistant on its website that answers customers and can look up an order, issue a refund of at most $50 and hand a conversation to a person on the support team. Its team is testing a switch from model version orbit-flash-2 to orbit-flash-3 on a 200-case release set; both model names are invented. The baseline, orbit-flash-2, passes 88% of the set and the candidate, orbit-flash-3, passes 91%. Cut into slices, which are groups of cases that share a label such as intent or language, the result shows one group that fell, and its failures point to a cause the team can check.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- One pass rate, six slices
- Two ways to average
- Critical slices
- From a fallen slice to its failures
- Common mistakes
- In production
- Sources
- Check yourself, 5 questions