Safety in a ride-hailing service: document checks, safe dispatch, driving-style scoring

Dmitry Shulchevsky10 Aug 2023

Problem

A ride-hailing aggregator must make sure that every driver who gets orders is verified, drives safely and is rated fairly. Yandex Go registers more than 10,000 new drivers a day in Russia. Manual document checks by assessors do not scale: tired people miss details such as an expired license, and hiring and supervising them gets expensive. Safety during the trip and non-payment after it add two more problems.

Example from the article: a fraudster has only one photo of a driver's license and sends it several times. Two real photos of one document always differ a little, so identical photos give the fraud away.

Solution in brief

A neural network turns a document photo into a vector, so repeated submissions of one photo can be spotted. A route crash-probability model feeds driver assignment ("safe dispatch"). GPS and accelerometer signals trigger warnings, and ratings and payment history drive restrictions.

Questions this case answers
  • How to match tasks to providers so that risky tasks go to the most reliable providers while the matching stays fast
  • How to detect repeated submissions of the same forged document photo when no two photos are identical
  • How to turn subjective, noisy user ratings into a rule for restricting a service provider
  • How to check the documents of thousands of new drivers a day without an army of manual reviewers?

Tools and methods

  • Image embedding model — vector per document photo for duplicate and "screen recapture" detection
  • Route risk model — predicts a crash within one hour of order start
  • Safe dispatch — route risk and driver reliability terms in assignment
  • Speed from GPS points — distance over time between consecutive points
  • Driving-style model — predicts the passenger rating from accelerometer data
  • A/B tests — checked safe dispatch and driver warnings
Continue reading — it's free

Google or a one-time email code. No password.