internalsGet Pro

Module 18 · Lesson 2 of 15Pro

Case: Uber’s deep learning model for trip times

Level
Intermediate
Topic
Applied ML problems
Reading time
17 min

When you finish this page you can

  1. Explain why Uber corrects its routing engine’s arrival time with a model instead of predicting the time from scratch.
  2. Trace how DeepETA turns every input, including a location, into one embedding and lets the features attend to each other.
  3. Work out why a linear transformer is cheaper than full self-attention when there are more features than vector dimensions: n² × d against n × d².
  4. Read Uber’s post for what it shows and what it leaves out, and decide which parts a smaller ride app like Rydo should copy.
  1. Design: predicting trip times like Uber28 min
  2. Learned embeddings: vectors for words, items and users18 min
  3. Attention: the maths of focusing on what matters18 min
  4. The transformer, layer by layer18 min

Video lesson · coming soon

Hundreds of millions of parameters, a few milliseconds

Every time a rider or a delivery customer asks Uber for an arrival time, one model runs. Uber calls it its highest-QPS model: more queries per second than any other it serves.1 It has hundreds of millions of parameters. Its target was to answer “within a few milliseconds at most”.

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