Problem
Yandex Maps announced maneuvers by computing turn angles on the road graph, plus rules for road class, forks and regions. Years of complaints turned this into a pile of rules: a fix for one country broke another, and a fix from two years ago broke again. The same angle can mean "turn right" or "keep right" depending on context. Maintenance cost more than new development. Example from the article: on a road that first bends slightly right and then turns left, an angle-based rule says "keep right, then turn left", and most drivers take the right exit and cannot turn around.
Solution in brief
The team treated the task as a three-class classification of a route segment: say nothing, announce a basic maneuver, or announce a landmark. Several hundred expert drivers labeled 30,000 situations using the map, the route and street panoramas. After merging votes and keeping only samples with at least 90% agreement, fewer than 1000 remained, and quality went up. A fast classifier replaced the heuristics, and complaints now become new training samples.
Questions this case answers
- How to replace an unmaintainable pile of context-dependent heuristics with a learned classifier when the decision must be made in about a millisecond for every request
- How to build a training set for a subjective perception task where annotators disagree and labeling quality matters more than volume
- How to replace a pile of regional rules for voice navigation prompts with a model that is cheap to maintain?
- How to build a labeled dataset for a subjective classification task where the answer depends on how a real driver sees the road?
Tools and methods
- Rally test drives with a co-driver — find which prompts drivers need
- Expert-driver labeling — 30,000 situations labeled with full context
- Vote merging and a 90% agreement filter — remove contradicting samples
- Asymmetric error scoring — a critical error vetoes a model
Google or a one-time email code. No password.
