Slice an Evaluation to Find Where a Seller Risk Model Fails
Last updated: November 29, 2026
Quick Overview
A seller fraud model's overall recall held steady after retraining, but complaints say new sellers in one marketplace are being missed. Explain how to design a sliced evaluation that would have caught this, and what you would do about it.
Amazon
November 29, 20260
0
0 solved
A seller fraud model's overall recall held steady after retraining, but complaints say new sellers in one marketplace are being missed. Explain how to design a sliced evaluation that would have caught this, and what you would do about it.
Amazon's selling partner risk teams operate across many marketplaces and seller cohorts. The interviewer looks for disciplined error analysis: defining slices up front, sizing them, using intervals, and avoiding false alarms from tiny slices.
What the Interviewer Expects
- Defines slices from domain knowledge: marketplace, seller tenure, category, channel
- Reports per-slice metrics with sample counts and intervals
- Compares old versus new model per slice, not just overall
- Controls for noise from small slices and multiple comparisons
- Proposes fixes: more data, features, reweighting, or per-slice thresholds
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you discover slices you did not think of in advance?
- What if fixing the weak slice hurts the overall metric?
- How would you make sliced evaluation part of every retraining pipeline?
- How do you handle a slice with only 40 positive examples?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Ask what changed in the retraining (data window, features), how labels arrive (investigations close weeks later), and which cohorts have business priority....
Approach
Overall recall is a traffic-weighted average, so a large cohort that improved can hide a small cohort that regressed. Build a fixed slice table evaluated on every candidate model: marketplace by selle...