Roonomics: How Economics Helped Us to Build a Churn Prediction Model
Deliveroo replaced a high-recall, rule-based restaurant churn flagging system with a ranked probability model tuned for precision, because retention teams have limited capacity and false positives carry a real opportunity cost. The model uses rolling-window cross-validation to avoid leakage, a precision-oriented score for the rare-event setting, business-importance weighting for prioritisation, and Shapley values for per-restaurant explanations, and it runs weekly as an Argo pipeline. Offline, it cut flagged restaurants by over 90% and raised precision 8x at the cost of recall, with calibration curves tracking the 45-degree line. A randomised treatment/control experiment is under way to test whether acting on the flags actually reduces churn.
Related posts
- Variance Reduction Below the Randomization Grain
Instacart Tech hardMasterInstacart improves CUPED variance reduction for region-day switchback experiments by training an order-level model (gradient boosted trees) on pre-treatment features and aggregating its predictions to the region-day grain as the CUPED covariate. Across 10 lateness experiments, order-level CUPED cut variance by 18-40% versus 5-10% for region-day CUPED, shortening experiment runtimes by about a third on average. Features must be unaffected by treatment, and a placebo mean-difference test on the aggregated prediction catches contamination, as with ETA model experiments that shift which orders get placed. The approach applies wherever interference forces coarse cluster randomization but outcomes are observed at a finer unit.
- Reducing experiment duration with predicted control variates
Etsy Code as Craft mediumAdeptEtsy upgraded its experimentation platform's variance reduction from CUPED to CUPAC, which feeds pre-experiment features (over 100, up from 3) into LightGBM models whose predictions serve as the covariate in a linear CUPED-style adjustment. Average variance reduction rose from 7% to 27%, with a range of 2% to 77% depending on metric stability. That cuts average experiment duration by almost 3 days. The pipeline runs as an Airflow DAG: BigQuery computes features, Dataflow runs batch predictions, Spark fits the regression, and t-tests follow. Because per-metric models are costly to train and maintain, Etsy still encourages CUPED for team-specific metrics and plans to automate CUPED's pre-experiment data collection.
- Direct Preference Optimization Beyond Chatbots
Hugging Face hardMasterAdding a DPO stage after supervised fine-tuning reduced text degeneration (repetition loops) in every one of five vision-language model families tested on Brazilian Portuguese structured OCR. The average reduction was 59.4% and the best was 87.6%, with Nanonets-OCR2-3B falling from 1.61% to 0.20%. The key design choice was to keep the SFT model's own degenerate outputs as the rejected examples in preference pairs, rather than filtering them out. An LLM judge scored multiple candidate responses per document across 23,726 documents to pick chosen and rejected outputs. The authors argue that token-level SFT loss cannot penalize completion-level failures like loops, while DPO can, and they outline when the approach should transfer to other structured generation tasks: the failure mode must be a distinct, recognizable class of output.
- Fact-Checking at Scale: Building a More Accurate and Efficient Synopsis Factuality System
Netflix TechBlog mediumAdeptNetflix replaced its synopsis fact-checker, which made five long-context (100k+ token) reasoning-model calls per synopsis, with a cascade. The cascade has two specialized judges, one for literal truth and one for misleading implicature, and gates escalation on model confidence. Low-confidence cases go to a router that turns the judges' doubts and concessions into atomic claims, then rechecks each against web sources or source material and can overturn the verdict. On a human-labeled benchmark, the cascade cut cost by 52.4% and raised Recall-FAIL from 0.77 to 0.86. Agreement with annotator rationales rose from about 69% to 82%, at the cost of higher median latency. Simply raising reasoning effort or swapping in a smaller model did not fix the baseline's problems.
- 5 Steps for Building Machine Learning Models for Business
Shopify Engineering mediumAdeptA five-step workflow for building ML models in a business context: confirm ML is warranted (defer it for brand-new products and beat a heuristic baseline first), start with simple models and basic features or off-the-shelf pretrained components, and pick a metric tied to business impact before optimizing. The advice also covers sanity-checking outputs via confusion matrices and residuals, since 98% accuracy on rare-event fraud data can mean a useless model. Model iteration should run through staging flows or A/B tests with fair comparisons and attention to run-to-run variance, and teams should watch prediction stability for individual users across retrains.