Train a Store Fraud Model When Chargeback Labels Arrive Weeks Late

Last updated: November 29, 2026

Quick Overview

Microsoft Store and Xbox purchases are labeled fraudulent only when a chargeback arrives, often 30 to 90 days later, and fraud is under 0.5% of orders. Explain how you would train, evaluate and keep the model fresh given delayed and rare labels.

Microsoft
Machine Learning
Data Scientist
Microsoft
November 29, 2026
Data Scientist
Onsite
Machine Learning
Hard

0

0

0 solved


Microsoft Store and Xbox purchases are labeled fraudulent only when a chargeback arrives, often 30 to 90 days later, and fraud is under 0.5% of orders. Explain how you would train, evaluate and keep the model fresh given delayed and rare labels.

Commerce risk teams at Microsoft fight fraudsters who adapt within days, while ground truth arrives over months. The onsite interviewer is checking label maturity handling, proxy labels, imbalance-aware evaluation, and the feedback loop created by blocking orders.

What the Interviewer Expects
  • Explain label maturity and why recent negatives are unreliable
  • Use a maturity window or survival-style modeling of time to chargeback
  • Add faster proxy labels (manual review outcomes, linked accounts, issuer alerts)
  • Handle imbalance with weighting and cost-based thresholds, evaluated with PR metrics
  • Address selection bias: blocked orders never get labels
  • Monitor drift with leading indicators between retrains
Key Topics to Cover
delayed labels
fraud detection
class imbalance
selection bias
proxy labels
concept drift
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you estimate fraud rate among orders the model blocked?
  • How do you combine a slow accurate label with a fast noisy one?
  • How would you detect a new fraud ring before chargebacks arrive?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Decisions: approve, step-up verification, or block, made in real time at checkout. Costs: lost revenue plus chargeback fee for missed fraud, lost sale and customer friction for false declines. Label: ...

Approach

Treat three issues separately: delayed labels, rarity, and the feedback loop....


Submit Your Answer
Markdown supported