internalsGet Pro

Module 18 · Lesson 10 of 15Pro

Case: Stripe’s fraud model, from trees to deep nets

Level
Intermediate
Topic
Applied ML problems
Reading time
16 min

When you finish this page you can

  1. Explain why Stripe replaced a Wide & Deep ensemble of XGBoost and a neural network with a neural network alone, and what the trees still contributed.
  2. Describe how a multi-branch network adds capacity, and why each branch needs more than one hidden layer to differ from a wider layer.
  3. Work out what a training-time cut means for how many experiments a team can run, using the post’s numbers.
  4. Decide when a team like Kartly’s should keep gradient-boosted trees: label speed, data volume and serving budget.
  1. Gradient boosting: XGBoost, LightGBM and CatBoost18 min
  2. Design: fraud scoring like Stripe Radar28 min
  3. Ad click prediction: sparse features at scale18 min
  4. Fraud detection models18 min

Video lesson · coming soon

A payment, 100 milliseconds and 1,000 signals

A shopper clicks “purchase” on a site that takes payments through Stripe. Before the payment is confirmed, Stripe’s fraud system, Radar, looks at more than 1,000 characteristics of it. It decides whether to let it through, block it or send it to an extra security check. Stripe says it makes this decision “in less than 100 milliseconds”.1

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan