Feedback loops and causal effects
What it is
Questions on this theme, with the answer an interviewer is listening for. Revise modules 17 and 22 if an answer surprises you.
Why it matters
Say each answer aloud before reading it.
- The first sentence should be a complete answer on its own.
- The rest adds one example or one trade-off.
- Stop there; let the interviewer choose where to go deeper.
In the real world: Senior interviewers often steer recommendation and risk designs here to separate experienced candidates.
Q: How would you measure the true impact of a recommender, not just clicks it captured?
Clicks on recommended items include purchases that would have happened anyway. Use randomised experiments and long-term holdouts that measure total purchases and retention, not clicks on the row.
Q: How would you train a ranker from logged data produced by an older ranker?
Log propensities, weight examples by inverse propensity (with clipping for variance), add exploration traffic, and evaluate with counterfactual estimators before A/B testing.
Q: Your fraud model's chargeback rate keeps falling. Is it working?
Not necessarily: blocked payments never produce chargebacks. Check false declines, appeals and a random review holdout, which gives unbiased outcomes for cases the model would block.
Q: How do you prevent a recommender from narrowing over time?
Exploration with logged probabilities, diversity in re-ranking, debiasing for position and popularity, and monitoring coverage of the catalogue.
Q: When would you use contextual bandits instead of supervised ranking?
When rewards are fast and you must keep learning about many options, such as new content or promotions; they explore while serving, at the cost of harder offline evaluation.
Q: How do you estimate long-term effects from short experiments?
Long-term holdouts, surrogate metrics validated against long-run outcomes, and watching effect trends within the test for novelty or learning.
Practise it: Diagnose Model Drift, Design a Personalized News Feed