SlideShare a Scribd company logo
Architecting a real-time
optimization platform for
Driver Positioning
Hao Yi Ong
w/ many others at Lyft
Applied AI Summit | San Francisco | June 20, 2019
Overview
TakeawaysFrameworkContext
Context
Two stories
Story 1: Conflict
Story 2: Truck, pen, and paper
Two ideas
Pre-empt general market imbalance
and help with demand spikes
Algorithmically coordinate drivers
when whole cities light up
De-conflicting drivers Early signaling
The official word
Demand you can
count on
Within your reach
Personal Power Zones (PPZs)
What you see is
what you get
Give a ride, get your bonus
#1
Drive into the purple zone,
guarantee a bonus on your next
ride.
#2
Drive into the pink zone, guarantee
an even bigger bonus
#3
Focus
Improve market efficiency
• Shaping: Reduce driver downtime with better
positioning
• Volume: Intelligently redistribute Growth budget
between our riders and drivers
‒ Scenario 1: Suburb oversupplied. Funnel budget
into rider incentives to increase demand and
keep utilization high.
‒ Scenario 2: City undersupplied. Rebalance
spend to get more drivers on the road.
Address driver PT product complaints
• Provide clearer and more reliable signal
• Better reward effort (vs. luck)
‒ Experienced drivers still get more money in the
same areas, but newer/part-time drivers will
benefit from the signal.
Why care?
Timeline for “Flex PPZ” framework
18Q3: Flex PPZ plan
Rollout still limited to 9
regions for EOY due to
issues. Drafted initial
framework for infra and
models in response to
problems at EOQ.
19Q1: 100% Flex PPZ
All regions successfully
transitioned to Flex PPZ. RS
oncall and OKR revamped.
Rollout accelerated.
18Q4: Flex PPZ live
Infra and model developed
from Flex PPZ framework.
Live in 5 regions by X’mas.
18Q1: v1 rollout
Model dev couldn’t
match ambitious rollout
and relied on manual
configs; couldn’t provide
a reliable experience.
19Q2: almost all
drivers on PPZ
Demonstrate reliable
product scalability with
sustained gains in 50+
regions.
Breakthrough requires
rapid iterations in
model development
Manual configs
impractical; need
algorithmic
breakthrough
Story
Change in
development
framework enabled
ambitious rollout
The grand scheme of things
● business rules
● ML model inference
● recommendation systems
On-demand execution
● ETL jobs
● ML model training
● graph analytics
Batched aggregate job
● business rules
● ML model inference
● recommendation systems
● ETL jobs
● ML model training
● graph analytics
On-demand execution Batched aggregate job
● chemical process plants
● SpaceX reusable rockets
● Lyft driver positioning
Near real-time optimization
The grand scheme of things
Framework
Problem
Prior art
Manual configurations determine allocations that are valuable enough for PPZs to be sent.
disallow
allocations w/
value difference
below a manual
threshold
PPZ maps
allocate
value
forecasted demand
supply
supply
allocation
many signals
New approach
Incorporate a feedback loop using a principled optimization program.
feedback PPZ maps
allocate
value
forecasted demand
supply
refine supply
allocation
many signals
New approach + improved signals
New approach necessitated improved signals and the ability for multiple owners to quickly
test and iterate on them collaboratively.
feedback PPZ maps
allocate
value
forecasted demand
supply
refine supply
allocation
driver model
rider model
budget
...
forecasting
Development
10x Sci/Eng
(handles all
implementation)
Prior development model
driver model
rider model
budget
...
forecasting
Carol
Bob
Dave
probably Jason
Alice
2k+ lines script
some service or
jupyter nb
lightweight
script for PPZ
New development model
driver model
rider model
budget
...
forecasting
Carol
(implements model)
Bob
(implements model)
Dave
(implements signal)
probably Jason
(magics stuff)
Alice
(implements model)
Hao Yi
(mostly claims credit)
“components” “orchestrators”
Some applications…
PPZ Demand Map Hot Spots
Demand Map
Platform-sharing multiplies productivity
driver model
rider model
budget
...
forecasting
Carol
(implements model)
Bob
(implements model)
Dave
(implements signal)
probably Jason
(magics stuff)
Alice
(implements model)
Someone
“components”
PPZ
Hot Spots
“orchestrators”
Hao Yi
Sometwo
Takeaways
Building the platform
is less about scaling a
solution than scaling
its development
The strategy is to
empower Scientists
to rapidly and
independently iterate
on models
Development model >> model development
Our challenges are as
much technological
as they are
sociological
Building the platform
is less about scaling a
solution than scaling
its development
The strategy is to
empower Scientists
to rapidly and
independently iterate
on models
Development model >> model development
It also has the nice side-effect of being “sexier”
than just coding things up for Scientists.
Our challenges are as
much technological
as they are
sociological
32
Modularized
algorithmic
components
1
Forward-looking
code and model
boundaries
2
Minimal
configurations
3
Experimentation
-friendly
framework
4
Rough cut of design principles
● Usually custom-built services
relying on licensed solvers
● At Lyft, we build the platform
and a suite of tools for
multiple products
Long history of development
frameworks and tons of ML platform
startups; e.g., TFX
Long history of tools; e.g.,
Hive/Spark and
Pregl/Giraph/GraphX
On-demand execution Batched aggregate job
Near real-time optimization
Revisiting Science DevOps
Work in-progress in collaboration with many teams at Lyft — join us!
Previous work
● From shallow to deep learning in fraud
● Fingerprinting fraudulent behavior
● Algorithmic fairness in fraud prevention
● Interview: AI at Lyft
Reach out!
haoyi@lyft.com

More Related Content

Similar to Architecting a real time optimization platform for driver positioning (applied ai summit 2019)

Using Open Source and Open Standards in the Platform game
Using Open Source and Open Standards in the Platform gameUsing Open Source and Open Standards in the Platform game
Using Open Source and Open Standards in the Platform game
Patrick Chanezon
 
We are drowning in complexity—can we do better?
We are drowning in complexity—can we do better?We are drowning in complexity—can we do better?
We are drowning in complexity—can we do better?
Jonas Bonér
 
Panel Discussion SAP DevOps - ReleaseOwl
Panel Discussion SAP DevOps - ReleaseOwlPanel Discussion SAP DevOps - ReleaseOwl
Panel Discussion SAP DevOps - ReleaseOwl
☁ Niranjan Gattupalli
 
The Bright Ops Future - Reinventing Operations in the Age of Cloud-Native IT
The Bright Ops Future - Reinventing Operations in the Age of Cloud-Native ITThe Bright Ops Future - Reinventing Operations in the Age of Cloud-Native IT
The Bright Ops Future - Reinventing Operations in the Age of Cloud-Native IT
VMware Tanzu
 
Developing apps faster
Developing apps fasterDeveloping apps faster
Developing apps faster
Zend by Rogue Wave Software
 
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward
 
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
HostedbyConfluent
 
Yangqing Jia at AI Frontiers: Towards Better DL Frameworks
Yangqing Jia at AI Frontiers: Towards Better DL FrameworksYangqing Jia at AI Frontiers: Towards Better DL Frameworks
Yangqing Jia at AI Frontiers: Towards Better DL Frameworks
AI Frontiers
 
How Fast Can You Deliver An Idea?
How Fast Can You Deliver An Idea?How Fast Can You Deliver An Idea?
How Fast Can You Deliver An Idea?
Tathagat Varma
 
ALM Practices - Modern Applications Development and its impact on ALM
ALM Practices - Modern Applications Development and its impact on ALM ALM Practices - Modern Applications Development and its impact on ALM
ALM Practices - Modern Applications Development and its impact on ALM
especificacoes.com
 
Hypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS SystemsHypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS Systems
Matt Bishop
 
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
Edge AI and Vision Alliance
 
CV_Vasili_Tegza 2G
CV_Vasili_Tegza 2GCV_Vasili_Tegza 2G
CV_Vasili_Tegza 2GVasyl Tegza
 
The Impact of SMACT on the Data Management Stack
The Impact of SMACT on the Data Management StackThe Impact of SMACT on the Data Management Stack
The Impact of SMACT on the Data Management Stack
SnapLogic
 
Flavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. Unconference
Flavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. UnconferenceFlavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. Unconference
Flavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. Unconference
Mozaic Works
 
Big rewrites without big risks
Big rewrites without big risksBig rewrites without big risks
Big rewrites without big risks
Flavius Stef
 
Ordina Accelerator program 2019 - DevOps CI-CD
Ordina Accelerator program 2019 - DevOps CI-CDOrdina Accelerator program 2019 - DevOps CI-CD
Ordina Accelerator program 2019 - DevOps CI-CD
Bert Koorengevel
 
Hadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both WorldsHadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both Worlds
Inside Analysis
 
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINXSecure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
NGINX, Inc.
 
Application Migration: How to Start, Scale and Succeed
Application Migration: How to Start, Scale and SucceedApplication Migration: How to Start, Scale and Succeed
Application Migration: How to Start, Scale and Succeed
VMware Tanzu
 

Similar to Architecting a real time optimization platform for driver positioning (applied ai summit 2019) (20)

Using Open Source and Open Standards in the Platform game
Using Open Source and Open Standards in the Platform gameUsing Open Source and Open Standards in the Platform game
Using Open Source and Open Standards in the Platform game
 
We are drowning in complexity—can we do better?
We are drowning in complexity—can we do better?We are drowning in complexity—can we do better?
We are drowning in complexity—can we do better?
 
Panel Discussion SAP DevOps - ReleaseOwl
Panel Discussion SAP DevOps - ReleaseOwlPanel Discussion SAP DevOps - ReleaseOwl
Panel Discussion SAP DevOps - ReleaseOwl
 
The Bright Ops Future - Reinventing Operations in the Age of Cloud-Native IT
The Bright Ops Future - Reinventing Operations in the Age of Cloud-Native ITThe Bright Ops Future - Reinventing Operations in the Age of Cloud-Native IT
The Bright Ops Future - Reinventing Operations in the Age of Cloud-Native IT
 
Developing apps faster
Developing apps fasterDeveloping apps faster
Developing apps faster
 
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
 
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
 
Yangqing Jia at AI Frontiers: Towards Better DL Frameworks
Yangqing Jia at AI Frontiers: Towards Better DL FrameworksYangqing Jia at AI Frontiers: Towards Better DL Frameworks
Yangqing Jia at AI Frontiers: Towards Better DL Frameworks
 
How Fast Can You Deliver An Idea?
How Fast Can You Deliver An Idea?How Fast Can You Deliver An Idea?
How Fast Can You Deliver An Idea?
 
ALM Practices - Modern Applications Development and its impact on ALM
ALM Practices - Modern Applications Development and its impact on ALM ALM Practices - Modern Applications Development and its impact on ALM
ALM Practices - Modern Applications Development and its impact on ALM
 
Hypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS SystemsHypermedia APIs from Event-Driven CQRS Systems
Hypermedia APIs from Event-Driven CQRS Systems
 
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
“An Industry Standard Performance Benchmark Suite for Machine Learning,” a Pr...
 
CV_Vasili_Tegza 2G
CV_Vasili_Tegza 2GCV_Vasili_Tegza 2G
CV_Vasili_Tegza 2G
 
The Impact of SMACT on the Data Management Stack
The Impact of SMACT on the Data Management StackThe Impact of SMACT on the Data Management Stack
The Impact of SMACT on the Data Management Stack
 
Flavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. Unconference
Flavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. UnconferenceFlavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. Unconference
Flavius Ștef: Big Rewrites Without Big Risks at I T.A.K.E. Unconference
 
Big rewrites without big risks
Big rewrites without big risksBig rewrites without big risks
Big rewrites without big risks
 
Ordina Accelerator program 2019 - DevOps CI-CD
Ordina Accelerator program 2019 - DevOps CI-CDOrdina Accelerator program 2019 - DevOps CI-CD
Ordina Accelerator program 2019 - DevOps CI-CD
 
Hadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both WorldsHadoop and the Relational Database: The Best of Both Worlds
Hadoop and the Relational Database: The Best of Both Worlds
 
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINXSecure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
 
Application Migration: How to Start, Scale and Succeed
Application Migration: How to Start, Scale and SucceedApplication Migration: How to Start, Scale and Succeed
Application Migration: How to Start, Scale and Succeed
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 

Architecting a real time optimization platform for driver positioning (applied ai summit 2019)

  • 1. Architecting a real-time optimization platform for Driver Positioning Hao Yi Ong w/ many others at Lyft Applied AI Summit | San Francisco | June 20, 2019
  • 6. Story 2: Truck, pen, and paper
  • 7. Two ideas Pre-empt general market imbalance and help with demand spikes Algorithmically coordinate drivers when whole cities light up De-conflicting drivers Early signaling
  • 9. Demand you can count on Within your reach Personal Power Zones (PPZs) What you see is what you get
  • 10. Give a ride, get your bonus #1
  • 11. Drive into the purple zone, guarantee a bonus on your next ride. #2
  • 12. Drive into the pink zone, guarantee an even bigger bonus #3
  • 13. Focus
  • 14. Improve market efficiency • Shaping: Reduce driver downtime with better positioning • Volume: Intelligently redistribute Growth budget between our riders and drivers ‒ Scenario 1: Suburb oversupplied. Funnel budget into rider incentives to increase demand and keep utilization high. ‒ Scenario 2: City undersupplied. Rebalance spend to get more drivers on the road. Address driver PT product complaints • Provide clearer and more reliable signal • Better reward effort (vs. luck) ‒ Experienced drivers still get more money in the same areas, but newer/part-time drivers will benefit from the signal. Why care?
  • 15. Timeline for “Flex PPZ” framework 18Q3: Flex PPZ plan Rollout still limited to 9 regions for EOY due to issues. Drafted initial framework for infra and models in response to problems at EOQ. 19Q1: 100% Flex PPZ All regions successfully transitioned to Flex PPZ. RS oncall and OKR revamped. Rollout accelerated. 18Q4: Flex PPZ live Infra and model developed from Flex PPZ framework. Live in 5 regions by X’mas. 18Q1: v1 rollout Model dev couldn’t match ambitious rollout and relied on manual configs; couldn’t provide a reliable experience. 19Q2: almost all drivers on PPZ Demonstrate reliable product scalability with sustained gains in 50+ regions.
  • 16. Breakthrough requires rapid iterations in model development Manual configs impractical; need algorithmic breakthrough Story Change in development framework enabled ambitious rollout
  • 17. The grand scheme of things ● business rules ● ML model inference ● recommendation systems On-demand execution ● ETL jobs ● ML model training ● graph analytics Batched aggregate job
  • 18. ● business rules ● ML model inference ● recommendation systems ● ETL jobs ● ML model training ● graph analytics On-demand execution Batched aggregate job ● chemical process plants ● SpaceX reusable rockets ● Lyft driver positioning Near real-time optimization The grand scheme of things
  • 21. Prior art Manual configurations determine allocations that are valuable enough for PPZs to be sent. disallow allocations w/ value difference below a manual threshold PPZ maps allocate value forecasted demand supply supply allocation many signals
  • 22. New approach Incorporate a feedback loop using a principled optimization program. feedback PPZ maps allocate value forecasted demand supply refine supply allocation many signals
  • 23. New approach + improved signals New approach necessitated improved signals and the ability for multiple owners to quickly test and iterate on them collaboratively. feedback PPZ maps allocate value forecasted demand supply refine supply allocation driver model rider model budget ... forecasting
  • 25. 10x Sci/Eng (handles all implementation) Prior development model driver model rider model budget ... forecasting Carol Bob Dave probably Jason Alice 2k+ lines script some service or jupyter nb
  • 26. lightweight script for PPZ New development model driver model rider model budget ... forecasting Carol (implements model) Bob (implements model) Dave (implements signal) probably Jason (magics stuff) Alice (implements model) Hao Yi (mostly claims credit) “components” “orchestrators”
  • 28. Demand Map Platform-sharing multiplies productivity driver model rider model budget ... forecasting Carol (implements model) Bob (implements model) Dave (implements signal) probably Jason (magics stuff) Alice (implements model) Someone “components” PPZ Hot Spots “orchestrators” Hao Yi Sometwo
  • 30. Building the platform is less about scaling a solution than scaling its development The strategy is to empower Scientists to rapidly and independently iterate on models Development model >> model development Our challenges are as much technological as they are sociological
  • 31. Building the platform is less about scaling a solution than scaling its development The strategy is to empower Scientists to rapidly and independently iterate on models Development model >> model development It also has the nice side-effect of being “sexier” than just coding things up for Scientists. Our challenges are as much technological as they are sociological
  • 33. ● Usually custom-built services relying on licensed solvers ● At Lyft, we build the platform and a suite of tools for multiple products Long history of development frameworks and tons of ML platform startups; e.g., TFX Long history of tools; e.g., Hive/Spark and Pregl/Giraph/GraphX On-demand execution Batched aggregate job Near real-time optimization Revisiting Science DevOps
  • 34. Work in-progress in collaboration with many teams at Lyft — join us!
  • 35. Previous work ● From shallow to deep learning in fraud ● Fingerprinting fraudulent behavior ● Algorithmic fairness in fraud prevention ● Interview: AI at Lyft