SlideShare a Scribd company logo
1 of 29
Download to read offline
Mark Hamilton, Microsoft
Anand Raman, Microsoft
Deep Reality Simulation
For Automated Poacher
Detection
#SAISDD2
Hamilton and Raman, #SAISDD2 2
Okavango Delta Wildlife Sanctuary
Hamilton and Raman, #SAISDD2 3
The Economics of Poaching
Average Per Capita Income Across
Sub-Saharn Africa (2008):
$762
Average Elephant Tusk Wight:
20-40 lbs
Years of Average Income from one
Poached Elephant:
52 – 104 years
Hamilton and Raman, #SAISDD2 4
Hamilton and Raman, #SAISDD2 5
Previous System: EyeSpy
Hamilton and Raman, #SAISDD2 6
Hamilton and Raman, #SAISDD2 7
Faster R-CNN:
Convolutional Featurization
Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection)
Step 1
A Convolutional network
“featurizes” the image while
maintaining its spatial structure
Hamilton and Raman, #SAISDD2 8
Faster R-CNN:
Region Proposal Network
Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection)
Step 2
 A “Region Proposal
network” generates
the probability that
each “Anchor” has an
object
 The RPN also predicts
how to “adjust” the
anchors to make
them fit the object
Hamilton and Raman, #SAISDD2 9
Faster R-CNN:
Region of Interest Pooling
Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection)
Step 3
 A “Region of Interest
Pooling” stage condenses
the convolutional features
into a fixed size
Hamilton and Raman, #SAISDD2 10
Faster R-CNN:
Region Based CNN
Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection)
Step 4
 A convolutional network emits
the class of the object and the
bounding box “adjustments”
Hamilton and Raman, #SAISDD2 11
Results
“AirSim-W: A Simulation Environment for Wildlife Conservation with
UAVs” – E. Bondi et al
0
0.1
0.2
0.3
0.4
0.5
0.6
Precision Recall F1
Metrics for Animal Class
EyeSpy FRCNN
0
0.05
0.1
0.15
0.2
0.25
Precision Recall F1
Metrics for Poacher Class
EyeSpy FRCNN
Hamilton and Raman, #SAISDD2 12
Deployment of SPOT
Hamilton and Raman, #SAISDD2 13
Sidestepping Labeling Woes with AirSim
70 videos (~180,000
individual bounding
boxes, 39,380
frames) labeled with
VIOLA took 6 months
Goal: Bypass the
need for human
labelling
Shah, S., Dey, D., Lovett, C., & Kapoor, A.
(2017). AirSim: High-fidelity visual and
physical simulation for autonomous vehicles.
In Field and Service Robotics (pp. 621-635).
Springer, Cham.
Hamilton and Raman, #SAISDD2 14
AirSim-W: Africa Environment
“AirSim-W: A Simulation
Environment for Wildlife
Conservation with UAVs” – E.
Bondi et al
Hamilton and Raman, #SAISDD2 15
Results
Precision
EyeSpy
Only
Real
Only
Sim.
Sim. +
Real
Animals 0.0128 0.5463 0.0202 0.5352
Poacher
s
0.0031 0.2160 0.0051 0.3329
Recall
EyeSpy
Only
Real
Only
Sim.
Sim. +
Real
0.0839 0.2316 0.1458 0.3207
0.0167 0.0261 0.0038 0.0485
F1
EyeSpy Only Real Only Sim.
Sim. +
Real
0.0222 0.3253 0.0355 0.4011
0.0052 0.0466 0.0044 0.0847
“AirSim-W: A Simulation Environment for Wildlife Conservation with
UAVs” – E. Bondi et al
Hamilton and Raman, #SAISDD2 16
Deep Domain Adaptation
“Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial
Networks” Jun-Yan Zhu*, Taesung Park*, Phillip Isola, Alexei A. Efros
Berkeley AI Research Lab, UC Berkeley
Hamilton and Raman, #SAISDD2 17
AirSim
AirSim IR
AirSim + GAN
AirSim + GAN +
Animal Highlight Real Data
Real Data
Hamilton and Raman, #SAISDD2 18
Distributed Training Architecture
Hamilton and Raman, #SAISDD2 19
Easy Deployment with
• Helm acts as a “package manager” for Kubernetes
• Easily deploy and share recipes for complex
architectures
– Uses parameters for easy CLI configuration
• Works on any Kubernetes Cluster (AKS, ACI, On-
Prem)
• Open Source “Helm Chart” Coming Soon!
Hamilton and Raman, #SAISDD2 20
Challenges
• No unified procedures for storing data
• Serving and training architectures
fundamentally different
– Inconsistent APIS
– Inconsistent architectures (different base pods)
• No single point of entry to run entire workflow
Hamilton and Raman, #SAISDD2 21
ML
• High level library for distributed
machine learning
• More general than SciKit-Learn
• All models have a uniform
interface
– Can compose models into
complex pipelines
– Can save, load, and
transport models
Load Data
Tokenizer
Term Hashing
Logistic Reg
Evaluate
Pipeline
Evaluate
Load Data
● Estimator
● Transformer
Hamilton and Raman, #SAISDD2 22
Horovod on Spark
• High level SparkML API for launching distributed deep
learning jobs on the spark cluster
• Built on Project Hydrogen: Gang Scheduled Job
• Enables integration with data prep pipeline on Spark
Hamilton and Raman, #SAISDD2 23
24Hamilton and Raman, #SAISDD2
Lightning Fast Web Services on Any Spark Cluster
• Sub-millisecond latencies
• Fully Distributed
• Spins up in seconds
• Same API as Batch and
Streaming
• Scala, Python, R and Java
• Fully Open Source
www.aka.ms/spark
JIRA: SPARK-25350
Serving
113
0.9
0
50
100
150
Latency (ms)
Spark Serving Spark Continuous Serving
Announcing: 100x Latency Reduction
with MMLSpark v0.14
Hamilton and Raman, #SAISDD2
The Spark Serving API
25
• 3 main modes:
– server: 1 service on the head node
– distributedServer: 1 service per
executor
– continuousServer: 1 service per
partition
• Built on top of Spark Streaming
• Each worker keeps a running
service, and a routing table
• Use HTTP on Spark objects to
represent requests and
responses in Spark SQL
Spark Serving Architecture
Hamilton and Raman, #SAISDD2 26
Ideal Architecture
Preprocess
Image Data
with OpenCV
on Spark
Train the
CycleGAN
with Horovod
on Spark
Train
FasterRCNN
with Horovod
on Spark
Deploy
FasterRCNN
as a Web
Service with
Spark Serving
Azure Kubernetes Service or Azure Databricks
Hamilton and Raman, #SAISDD2 27
In Conclusion
• Big Releases in MMLSpark v0.14:
– Sub-Millisecond latency distributed
web services
– 2 more large announcements in our
next Session!
• Semi-Supervised Object Detection Using
the Azure Cognitive Services on Spark:
Oct 3, 14:00
• We aim to give all work back to the
community!
• Easy to Get Started on Databricks:
– 16 Jupiter notebook guide
Contributions Welcome!
github.com/Azure/mmlspark
Hamilton and Raman, #SAISDD2 28
www.aka.ms/spark
MMLSpark v0.14
Thanks to
• You all!
• MMLSpark Team: Sudarshan Raghunathan, Ilya Matiach, Eli Barzilay, Tong
Wen, Ben Brodsky
• Microsoft AI Development Acceleration Program: Abhiram Eswaran, Ari
Green, Courtney Cochrane, Janhavi Suresh Mahajan, Karthik Rajendran,
Minsoo Thigpen, Casey Hong, Soundar Srinivasan
• University of Southern California: Elizabeth Bondi, Millind Timbe
• Microsoft: Joseph Sirosh, Lucas Joppa, WeeHyong Tok
Get in touch: marhamil@microsoft.com
MMLSpark Website: aka.ms/spark
Hamilton and Raman, #SAISDD2 29

More Related Content

Similar to Deep Simulation Poacher Detection

Spark Meetup July 2015
Spark Meetup July 2015Spark Meetup July 2015
Spark Meetup July 2015Debasish Das
 
Amazon Elasticache and Redis
Amazon Elasticache and RedisAmazon Elasticache and Redis
Amazon Elasticache and RedisMikhail Prudnikov
 
Introduction to AWS Ground Station
Introduction to AWS Ground StationIntroduction to AWS Ground Station
Introduction to AWS Ground StationAmazon Web Services
 
Amazon Web Service Sales Role Play - Case Study
Amazon Web Service Sales Role Play - Case StudyAmazon Web Service Sales Role Play - Case Study
Amazon Web Service Sales Role Play - Case StudyVineet Sood
 
Self driving and connected cars fooling sensors and tracking drivers
Self driving and connected cars fooling sensors and tracking driversSelf driving and connected cars fooling sensors and tracking drivers
Self driving and connected cars fooling sensors and tracking driversVivek chan
 
Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...
Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...
Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...Databricks
 
AMF305_Autonomous Driving Algorithm Development on Amazon AI
AMF305_Autonomous Driving Algorithm Development on Amazon AIAMF305_Autonomous Driving Algorithm Development on Amazon AI
AMF305_Autonomous Driving Algorithm Development on Amazon AIAmazon Web Services
 
Design and Implementation of Rover for Mars Communication: Review and Idea
Design and Implementation of Rover for Mars Communication: Review and IdeaDesign and Implementation of Rover for Mars Communication: Review and Idea
Design and Implementation of Rover for Mars Communication: Review and IdeaIRJET Journal
 
RedisConf17 - Turbo-charge your apps with Amazon Elasticache for Redis
RedisConf17 - Turbo-charge your apps with Amazon Elasticache for RedisRedisConf17 - Turbo-charge your apps with Amazon Elasticache for Redis
RedisConf17 - Turbo-charge your apps with Amazon Elasticache for RedisRedis Labs
 
LD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdf
LD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdfLD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdf
LD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdfSomnathKhamaru1
 
fyp presentation of group 43011 final.pptx
fyp presentation of group 43011 final.pptxfyp presentation of group 43011 final.pptx
fyp presentation of group 43011 final.pptxIIEE - NEDUET
 
Spark Summit EU talk by Rolf Jagerman
Spark Summit EU talk by Rolf JagermanSpark Summit EU talk by Rolf Jagerman
Spark Summit EU talk by Rolf JagermanSpark Summit
 
Search-based business intelligence and reverse data engineering with Apache Solr
Search-based business intelligence and reverse data engineering with Apache SolrSearch-based business intelligence and reverse data engineering with Apache Solr
Search-based business intelligence and reverse data engineering with Apache SolrMario-Leander Reimer
 
Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...
Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...
Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...Amazon Web Services
 
AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...
AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...
AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...Amazon Web Services
 
QCON London 2017 - Monitoring Serverless Architectures by Rafal Gancarz
QCON London 2017 - Monitoring Serverless Architectures by Rafal GancarzQCON London 2017 - Monitoring Serverless Architectures by Rafal Gancarz
QCON London 2017 - Monitoring Serverless Architectures by Rafal GancarzOpenCredo
 
YOW2018 Cloud Performance Root Cause Analysis at Netflix
YOW2018 Cloud Performance Root Cause Analysis at NetflixYOW2018 Cloud Performance Root Cause Analysis at Netflix
YOW2018 Cloud Performance Root Cause Analysis at NetflixBrendan Gregg
 
Dissertation Defense August 2002
Dissertation Defense August 2002Dissertation Defense August 2002
Dissertation Defense August 2002Dr. Edwin Hernandez
 

Similar to Deep Simulation Poacher Detection (20)

Spark Meetup July 2015
Spark Meetup July 2015Spark Meetup July 2015
Spark Meetup July 2015
 
Amazon Elasticache and Redis
Amazon Elasticache and RedisAmazon Elasticache and Redis
Amazon Elasticache and Redis
 
Introduction to AWS Ground Station
Introduction to AWS Ground StationIntroduction to AWS Ground Station
Introduction to AWS Ground Station
 
Amazon ElastiCache and Redis
Amazon ElastiCache and RedisAmazon ElastiCache and Redis
Amazon ElastiCache and Redis
 
Amazon Web Service Sales Role Play - Case Study
Amazon Web Service Sales Role Play - Case StudyAmazon Web Service Sales Role Play - Case Study
Amazon Web Service Sales Role Play - Case Study
 
Self driving and connected cars fooling sensors and tracking drivers
Self driving and connected cars fooling sensors and tracking driversSelf driving and connected cars fooling sensors and tracking drivers
Self driving and connected cars fooling sensors and tracking drivers
 
Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...
Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...
Deep Reality Simulation for Automated Poacher Detection with Mark Hamilton an...
 
AMF305_Autonomous Driving Algorithm Development on Amazon AI
AMF305_Autonomous Driving Algorithm Development on Amazon AIAMF305_Autonomous Driving Algorithm Development on Amazon AI
AMF305_Autonomous Driving Algorithm Development on Amazon AI
 
Design and Implementation of Rover for Mars Communication: Review and Idea
Design and Implementation of Rover for Mars Communication: Review and IdeaDesign and Implementation of Rover for Mars Communication: Review and Idea
Design and Implementation of Rover for Mars Communication: Review and Idea
 
RedisConf17 - Turbo-charge your apps with Amazon Elasticache for Redis
RedisConf17 - Turbo-charge your apps with Amazon Elasticache for RedisRedisConf17 - Turbo-charge your apps with Amazon Elasticache for Redis
RedisConf17 - Turbo-charge your apps with Amazon Elasticache for Redis
 
ElastiCache and Redis
ElastiCache and RedisElastiCache and Redis
ElastiCache and Redis
 
LD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdf
LD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdfLD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdf
LD208_SLAMTEC_rplidar_datasheet_A2M8_v2.1_en.pdf
 
fyp presentation of group 43011 final.pptx
fyp presentation of group 43011 final.pptxfyp presentation of group 43011 final.pptx
fyp presentation of group 43011 final.pptx
 
Spark Summit EU talk by Rolf Jagerman
Spark Summit EU talk by Rolf JagermanSpark Summit EU talk by Rolf Jagerman
Spark Summit EU talk by Rolf Jagerman
 
Search-based business intelligence and reverse data engineering with Apache Solr
Search-based business intelligence and reverse data engineering with Apache SolrSearch-based business intelligence and reverse data engineering with Apache Solr
Search-based business intelligence and reverse data engineering with Apache Solr
 
Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...
Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...
Deep Dive- Log analytics with Amazon Elasticsearch Service - AWS Summit Tel A...
 
AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...
AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...
AWS re:Invent 2016: Auto Scaling – the Fleet Management Solution for Planet E...
 
QCON London 2017 - Monitoring Serverless Architectures by Rafal Gancarz
QCON London 2017 - Monitoring Serverless Architectures by Rafal GancarzQCON London 2017 - Monitoring Serverless Architectures by Rafal Gancarz
QCON London 2017 - Monitoring Serverless Architectures by Rafal Gancarz
 
YOW2018 Cloud Performance Root Cause Analysis at Netflix
YOW2018 Cloud Performance Root Cause Analysis at NetflixYOW2018 Cloud Performance Root Cause Analysis at Netflix
YOW2018 Cloud Performance Root Cause Analysis at Netflix
 
Dissertation Defense August 2002
Dissertation Defense August 2002Dissertation Defense August 2002
Dissertation Defense August 2002
 

More from Databricks

DW Migration Webinar-March 2022.pptx
DW Migration Webinar-March 2022.pptxDW Migration Webinar-March 2022.pptx
DW Migration Webinar-March 2022.pptxDatabricks
 
Data Lakehouse Symposium | Day 1 | Part 1
Data Lakehouse Symposium | Day 1 | Part 1Data Lakehouse Symposium | Day 1 | Part 1
Data Lakehouse Symposium | Day 1 | Part 1Databricks
 
Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2Databricks
 
Data Lakehouse Symposium | Day 2
Data Lakehouse Symposium | Day 2Data Lakehouse Symposium | Day 2
Data Lakehouse Symposium | Day 2Databricks
 
Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4Databricks
 
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of HadoopDatabricks
 
Democratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDemocratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDatabricks
 
Learn to Use Databricks for Data Science
Learn to Use Databricks for Data ScienceLearn to Use Databricks for Data Science
Learn to Use Databricks for Data ScienceDatabricks
 
Why APM Is Not the Same As ML Monitoring
Why APM Is Not the Same As ML MonitoringWhy APM Is Not the Same As ML Monitoring
Why APM Is Not the Same As ML MonitoringDatabricks
 
The Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
The Function, the Context, and the Data—Enabling ML Ops at Stitch FixThe Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
The Function, the Context, and the Data—Enabling ML Ops at Stitch FixDatabricks
 
Stage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI IntegrationStage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI IntegrationDatabricks
 
Simplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorchSimplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorchDatabricks
 
Scaling your Data Pipelines with Apache Spark on Kubernetes
Scaling your Data Pipelines with Apache Spark on KubernetesScaling your Data Pipelines with Apache Spark on Kubernetes
Scaling your Data Pipelines with Apache Spark on KubernetesDatabricks
 
Scaling and Unifying SciKit Learn and Apache Spark Pipelines
Scaling and Unifying SciKit Learn and Apache Spark PipelinesScaling and Unifying SciKit Learn and Apache Spark Pipelines
Scaling and Unifying SciKit Learn and Apache Spark PipelinesDatabricks
 
Sawtooth Windows for Feature Aggregations
Sawtooth Windows for Feature AggregationsSawtooth Windows for Feature Aggregations
Sawtooth Windows for Feature AggregationsDatabricks
 
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen SinkRedis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen SinkDatabricks
 
Re-imagine Data Monitoring with whylogs and Spark
Re-imagine Data Monitoring with whylogs and SparkRe-imagine Data Monitoring with whylogs and Spark
Re-imagine Data Monitoring with whylogs and SparkDatabricks
 
Raven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction QueriesRaven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction QueriesDatabricks
 
Processing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache SparkProcessing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache SparkDatabricks
 
Massive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeMassive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeDatabricks
 

More from Databricks (20)

DW Migration Webinar-March 2022.pptx
DW Migration Webinar-March 2022.pptxDW Migration Webinar-March 2022.pptx
DW Migration Webinar-March 2022.pptx
 
Data Lakehouse Symposium | Day 1 | Part 1
Data Lakehouse Symposium | Day 1 | Part 1Data Lakehouse Symposium | Day 1 | Part 1
Data Lakehouse Symposium | Day 1 | Part 1
 
Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2
 
Data Lakehouse Symposium | Day 2
Data Lakehouse Symposium | Day 2Data Lakehouse Symposium | Day 2
Data Lakehouse Symposium | Day 2
 
Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4Data Lakehouse Symposium | Day 4
Data Lakehouse Symposium | Day 4
 
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
 
Democratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDemocratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized Platform
 
Learn to Use Databricks for Data Science
Learn to Use Databricks for Data ScienceLearn to Use Databricks for Data Science
Learn to Use Databricks for Data Science
 
Why APM Is Not the Same As ML Monitoring
Why APM Is Not the Same As ML MonitoringWhy APM Is Not the Same As ML Monitoring
Why APM Is Not the Same As ML Monitoring
 
The Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
The Function, the Context, and the Data—Enabling ML Ops at Stitch FixThe Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
The Function, the Context, and the Data—Enabling ML Ops at Stitch Fix
 
Stage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI IntegrationStage Level Scheduling Improving Big Data and AI Integration
Stage Level Scheduling Improving Big Data and AI Integration
 
Simplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorchSimplify Data Conversion from Spark to TensorFlow and PyTorch
Simplify Data Conversion from Spark to TensorFlow and PyTorch
 
Scaling your Data Pipelines with Apache Spark on Kubernetes
Scaling your Data Pipelines with Apache Spark on KubernetesScaling your Data Pipelines with Apache Spark on Kubernetes
Scaling your Data Pipelines with Apache Spark on Kubernetes
 
Scaling and Unifying SciKit Learn and Apache Spark Pipelines
Scaling and Unifying SciKit Learn and Apache Spark PipelinesScaling and Unifying SciKit Learn and Apache Spark Pipelines
Scaling and Unifying SciKit Learn and Apache Spark Pipelines
 
Sawtooth Windows for Feature Aggregations
Sawtooth Windows for Feature AggregationsSawtooth Windows for Feature Aggregations
Sawtooth Windows for Feature Aggregations
 
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen SinkRedis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
Redis + Apache Spark = Swiss Army Knife Meets Kitchen Sink
 
Re-imagine Data Monitoring with whylogs and Spark
Re-imagine Data Monitoring with whylogs and SparkRe-imagine Data Monitoring with whylogs and Spark
Re-imagine Data Monitoring with whylogs and Spark
 
Raven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction QueriesRaven: End-to-end Optimization of ML Prediction Queries
Raven: End-to-end Optimization of ML Prediction Queries
 
Processing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache SparkProcessing Large Datasets for ADAS Applications using Apache Spark
Processing Large Datasets for ADAS Applications using Apache Spark
 
Massive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeMassive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta Lake
 

Recently uploaded

Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Data Warehouse , Data Cube Computation
Data Warehouse   , Data Cube ComputationData Warehouse   , Data Cube Computation
Data Warehouse , Data Cube Computationsit20ad004
 
Data Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health ClassificationData Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health ClassificationBoston Institute of Analytics
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 

Recently uploaded (20)

Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Data Warehouse , Data Cube Computation
Data Warehouse   , Data Cube ComputationData Warehouse   , Data Cube Computation
Data Warehouse , Data Cube Computation
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Data Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health ClassificationData Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health Classification
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 

Deep Simulation Poacher Detection

  • 1. Mark Hamilton, Microsoft Anand Raman, Microsoft Deep Reality Simulation For Automated Poacher Detection #SAISDD2
  • 2. Hamilton and Raman, #SAISDD2 2
  • 3. Okavango Delta Wildlife Sanctuary Hamilton and Raman, #SAISDD2 3
  • 4. The Economics of Poaching Average Per Capita Income Across Sub-Saharn Africa (2008): $762 Average Elephant Tusk Wight: 20-40 lbs Years of Average Income from one Poached Elephant: 52 – 104 years Hamilton and Raman, #SAISDD2 4
  • 5. Hamilton and Raman, #SAISDD2 5
  • 6. Previous System: EyeSpy Hamilton and Raman, #SAISDD2 6
  • 7. Hamilton and Raman, #SAISDD2 7
  • 8. Faster R-CNN: Convolutional Featurization Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection) Step 1 A Convolutional network “featurizes” the image while maintaining its spatial structure Hamilton and Raman, #SAISDD2 8
  • 9. Faster R-CNN: Region Proposal Network Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection) Step 2  A “Region Proposal network” generates the probability that each “Anchor” has an object  The RPN also predicts how to “adjust” the anchors to make them fit the object Hamilton and Raman, #SAISDD2 9
  • 10. Faster R-CNN: Region of Interest Pooling Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection) Step 3  A “Region of Interest Pooling” stage condenses the convolutional features into a fixed size Hamilton and Raman, #SAISDD2 10
  • 11. Faster R-CNN: Region Based CNN Images: Tyro Labs (Faster R-CNN: Down the rabbit hole of modern object detection) Step 4  A convolutional network emits the class of the object and the bounding box “adjustments” Hamilton and Raman, #SAISDD2 11
  • 12. Results “AirSim-W: A Simulation Environment for Wildlife Conservation with UAVs” – E. Bondi et al 0 0.1 0.2 0.3 0.4 0.5 0.6 Precision Recall F1 Metrics for Animal Class EyeSpy FRCNN 0 0.05 0.1 0.15 0.2 0.25 Precision Recall F1 Metrics for Poacher Class EyeSpy FRCNN Hamilton and Raman, #SAISDD2 12
  • 13. Deployment of SPOT Hamilton and Raman, #SAISDD2 13
  • 14. Sidestepping Labeling Woes with AirSim 70 videos (~180,000 individual bounding boxes, 39,380 frames) labeled with VIOLA took 6 months Goal: Bypass the need for human labelling Shah, S., Dey, D., Lovett, C., & Kapoor, A. (2017). AirSim: High-fidelity visual and physical simulation for autonomous vehicles. In Field and Service Robotics (pp. 621-635). Springer, Cham. Hamilton and Raman, #SAISDD2 14
  • 15. AirSim-W: Africa Environment “AirSim-W: A Simulation Environment for Wildlife Conservation with UAVs” – E. Bondi et al Hamilton and Raman, #SAISDD2 15
  • 16. Results Precision EyeSpy Only Real Only Sim. Sim. + Real Animals 0.0128 0.5463 0.0202 0.5352 Poacher s 0.0031 0.2160 0.0051 0.3329 Recall EyeSpy Only Real Only Sim. Sim. + Real 0.0839 0.2316 0.1458 0.3207 0.0167 0.0261 0.0038 0.0485 F1 EyeSpy Only Real Only Sim. Sim. + Real 0.0222 0.3253 0.0355 0.4011 0.0052 0.0466 0.0044 0.0847 “AirSim-W: A Simulation Environment for Wildlife Conservation with UAVs” – E. Bondi et al Hamilton and Raman, #SAISDD2 16
  • 17. Deep Domain Adaptation “Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks” Jun-Yan Zhu*, Taesung Park*, Phillip Isola, Alexei A. Efros Berkeley AI Research Lab, UC Berkeley Hamilton and Raman, #SAISDD2 17
  • 18. AirSim AirSim IR AirSim + GAN AirSim + GAN + Animal Highlight Real Data Real Data Hamilton and Raman, #SAISDD2 18
  • 20. Easy Deployment with • Helm acts as a “package manager” for Kubernetes • Easily deploy and share recipes for complex architectures – Uses parameters for easy CLI configuration • Works on any Kubernetes Cluster (AKS, ACI, On- Prem) • Open Source “Helm Chart” Coming Soon! Hamilton and Raman, #SAISDD2 20
  • 21. Challenges • No unified procedures for storing data • Serving and training architectures fundamentally different – Inconsistent APIS – Inconsistent architectures (different base pods) • No single point of entry to run entire workflow Hamilton and Raman, #SAISDD2 21
  • 22. ML • High level library for distributed machine learning • More general than SciKit-Learn • All models have a uniform interface – Can compose models into complex pipelines – Can save, load, and transport models Load Data Tokenizer Term Hashing Logistic Reg Evaluate Pipeline Evaluate Load Data ● Estimator ● Transformer Hamilton and Raman, #SAISDD2 22
  • 23. Horovod on Spark • High level SparkML API for launching distributed deep learning jobs on the spark cluster • Built on Project Hydrogen: Gang Scheduled Job • Enables integration with data prep pipeline on Spark Hamilton and Raman, #SAISDD2 23
  • 24. 24Hamilton and Raman, #SAISDD2 Lightning Fast Web Services on Any Spark Cluster • Sub-millisecond latencies • Fully Distributed • Spins up in seconds • Same API as Batch and Streaming • Scala, Python, R and Java • Fully Open Source www.aka.ms/spark JIRA: SPARK-25350 Serving 113 0.9 0 50 100 150 Latency (ms) Spark Serving Spark Continuous Serving Announcing: 100x Latency Reduction with MMLSpark v0.14
  • 25. Hamilton and Raman, #SAISDD2 The Spark Serving API 25
  • 26. • 3 main modes: – server: 1 service on the head node – distributedServer: 1 service per executor – continuousServer: 1 service per partition • Built on top of Spark Streaming • Each worker keeps a running service, and a routing table • Use HTTP on Spark objects to represent requests and responses in Spark SQL Spark Serving Architecture Hamilton and Raman, #SAISDD2 26
  • 27. Ideal Architecture Preprocess Image Data with OpenCV on Spark Train the CycleGAN with Horovod on Spark Train FasterRCNN with Horovod on Spark Deploy FasterRCNN as a Web Service with Spark Serving Azure Kubernetes Service or Azure Databricks Hamilton and Raman, #SAISDD2 27
  • 28. In Conclusion • Big Releases in MMLSpark v0.14: – Sub-Millisecond latency distributed web services – 2 more large announcements in our next Session! • Semi-Supervised Object Detection Using the Azure Cognitive Services on Spark: Oct 3, 14:00 • We aim to give all work back to the community! • Easy to Get Started on Databricks: – 16 Jupiter notebook guide Contributions Welcome! github.com/Azure/mmlspark Hamilton and Raman, #SAISDD2 28 www.aka.ms/spark MMLSpark v0.14
  • 29. Thanks to • You all! • MMLSpark Team: Sudarshan Raghunathan, Ilya Matiach, Eli Barzilay, Tong Wen, Ben Brodsky • Microsoft AI Development Acceleration Program: Abhiram Eswaran, Ari Green, Courtney Cochrane, Janhavi Suresh Mahajan, Karthik Rajendran, Minsoo Thigpen, Casey Hong, Soundar Srinivasan • University of Southern California: Elizabeth Bondi, Millind Timbe • Microsoft: Joseph Sirosh, Lucas Joppa, WeeHyong Tok Get in touch: marhamil@microsoft.com MMLSpark Website: aka.ms/spark Hamilton and Raman, #SAISDD2 29