SlideShare a Scribd company logo
Unless stated otherwise all images are taken from wikipedia.org or openclipart.org
Cognitive IoT Anomaly Detector
with DeepLearning4J on IoT Sensor Data
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Why IoT (now) ?
• 15 Billion connected devices in 2015
• 40 Billion connected devices in 2020
• World population 7.4 Billion in 2016
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Machine Learning on
historic data
Source: deeplearning4j.org
Online Learning
Source: deeplearning4j.org
online vs. historic
• Pros
• low storage costs
• real-time model update
• Cons
• algorithm support
• software support
• no algorithmic improvement
• compute power to be inline
with data rate
• Pros
• all algorithms
• abundance of software
• model re-scoring / re-
parameterisation (algorithmic
improvement)
• batch processing
• Cons
• high storage costs
• batch model update
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
DeepLearning
DeepLearning
Apache Spark
Hadoop
Neural Networks
Neural Networks
Deeper (more) Layers
Convolutional
Convolutional
+ =
Convolutional
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Learning of a function
A neural network can basically learn any
mathematical function
Recurrent
LSTM
“vanishing gradient problem” == influence of past inputs
decay quickly over time
http://karpathy.github.io/2015/05/21/rnn-effectiveness/
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
https://m.soundcloud.com/optometrist-prime/recurrence-
music-written-by-a-recurrent-neural-network
•Outperformed traditional methods, such as
•cumulative sum (CUSUM)
•exponentially weighted moving average (EWMA)
•Hidden Markov Models (HMM)
•Learned what “Normal” is
•Raised error if time series pattern haven't been seen
before
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Learning of an algorithm
A LSTM network is Turing complete
1
1: http://binds.cs.umass.edu/papers/1995_Siegelmann_Science.pdf
Problems
• Neural Networks are computationally very complex
•especially during training
•but also during scoring
CPU (2009) GPU (2016) IBM TrueNorth (2017)
IBM TrueNorth
•Scalable
•Parallel
•Distributed
•Fault Tolerant
•No Clock ! :)
•IBM Cluster
•4.096 chips
•4 billion neurons
•1 trillion synapses
•Human Brain
•100 billion neurons
•100 trillion synapses
•1.000.000 neurons
•250.000.000 synapses
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Watson IoT
Watson
Cognitive
Services
Analytics
Model + API Driver Behaviour
Personality
Insights
Trainable Model
+ API
IoT for Insurance
Visual
Recognition
Customizable
Model + API
Watson Machine
Learning
Data Science
Platform as a
Service
Data Science
Experience
DeepLearning4J
Components
• DeepLearning4J

Enterprise Grade DeepLearning Library
• DataVec

CSV/Audio/Video/Image/… => Vector
• ND4J / ND4S (NumPy for the JVM)
ND4J
• Tensor support (Linear Buffer + Stride)
• Multiple implementations, one interface
• vectorized c++ code (JavaCPP), off-heap data
storage, BLAS (OpenBLAS, Intel MKL, cuBLAS)
• GPU (CUDA 7.5)
turn on GPU
DL4J parallelisation
• TensorFlow on ApacheSpark =>
• Scoring
• Multi-model hyper-parameter tuning
• Parallel training since V r0.8
• DeepLearning4J =>
• Scoring, Multi-model hyper-parameter tuning
• Parallel training

“Jeff Dean style parameter averaging”
“Code local vs spark”
vs.
Demo
IoT / Industry / Predictive Maintenance Use Case
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
data
https://github.com/romeokienzler/pmqsimulator
https://ibm.biz/joinIBMCloud
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark

More Related Content

What's hot (20)

PDF
Machine Learning and its Applications
Dr Ganesh Iyer
 
PDF
Automatic Machine Learning, AutoML
Himadri Mishra
 
PPTX
Microsoft Introduction to Automated Machine Learning
Setu Chokshi
 
PDF
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...
Edureka!
 
PDF
Machine Learning Model Deployment: Strategy to Implementation
DataWorks Summit
 
PDF
Deep learning - A Visual Introduction
Lukas Masuch
 
PPT
Intro to Deep learning - Autoencoders
Akash Goel
 
PPTX
Gradient Boosting
Nghia Bui Van
 
PDF
Machine learning for predictive maintenance external
Prashant K Dhingra
 
PPTX
The Deep Learning Glossary
NVIDIA
 
PDF
Transformers, LLMs, and the Possibility of AGI
SynaptonIncorporated
 
PDF
Learn to Use Databricks for the Full ML Lifecycle
Databricks
 
PPTX
Artificial Neural Network(Artificial intelligence)
spartacus131211
 
PPTX
RNN-LSTM.pptx
ssuserc755f1
 
PDF
Anomaly Detection using Deep Auto-Encoders
Gianmario Spacagna
 
PPTX
Future of AI - 2023 07 25.pptx
Greg Makowski
 
PPTX
hands on machine learning Chapter 6&7 decision tree, ensemble and random forest
Jaey Jeong
 
PDF
Feature Engineering - Getting most out of data for predictive models - TDC 2017
Gabriel Moreira
 
PDF
RESTful Machine Learning with Flask and TensorFlow Serving - Carlo Mazzaferro
PyData
 
PPTX
Semi-Supervised Learning
Lukas Tencer
 
Machine Learning and its Applications
Dr Ganesh Iyer
 
Automatic Machine Learning, AutoML
Himadri Mishra
 
Microsoft Introduction to Automated Machine Learning
Setu Chokshi
 
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...
Edureka!
 
Machine Learning Model Deployment: Strategy to Implementation
DataWorks Summit
 
Deep learning - A Visual Introduction
Lukas Masuch
 
Intro to Deep learning - Autoencoders
Akash Goel
 
Gradient Boosting
Nghia Bui Van
 
Machine learning for predictive maintenance external
Prashant K Dhingra
 
The Deep Learning Glossary
NVIDIA
 
Transformers, LLMs, and the Possibility of AGI
SynaptonIncorporated
 
Learn to Use Databricks for the Full ML Lifecycle
Databricks
 
Artificial Neural Network(Artificial intelligence)
spartacus131211
 
RNN-LSTM.pptx
ssuserc755f1
 
Anomaly Detection using Deep Auto-Encoders
Gianmario Spacagna
 
Future of AI - 2023 07 25.pptx
Greg Makowski
 
hands on machine learning Chapter 6&7 decision tree, ensemble and random forest
Jaey Jeong
 
Feature Engineering - Getting most out of data for predictive models - TDC 2017
Gabriel Moreira
 
RESTful Machine Learning with Flask and TensorFlow Serving - Carlo Mazzaferro
PyData
 
Semi-Supervised Learning
Lukas Tencer
 

Similar to Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark (20)

PDF
Cognitive IoT using DeepLearning on data parallel frameworks like Spark & Flink
Romeo Kienzler
 
PDF
DeepLearning and Advanced Machine Learning on IoT
Romeo Kienzler
 
PDF
IBM Middle East Data Science Connect 2016 - Doha, Qatar
Romeo Kienzler
 
PDF
Geo Python16 keynote
Romeo Kienzler
 
PPTX
Deep Learning and Recurrent Neural Networks in the Enterprise
Josh Patterson
 
PDF
Deploying Enterprise Deep Learning Masterclass Preview - Enterprise Deep Lea...
Sam Putnam [Deep Learning]
 
PPTX
Productionizing dl from the ground up
Adam Gibson
 
PDF
Deep learning on spark
Satyendra Rana
 
PPTX
Deep Learning and Watson Studio
Sasha Lazarevic
 
PDF
Neural Networks, Spark MLlib, Deep Learning
Asim Jalis
 
PPTX
Deep Learning with Apache Spark: an Introduction
Emanuele Bezzi
 
PPTX
AI: the silicon brain
amit bezalel
 
PDF
Deep learning and applications in non-cognitive domains I
Deakin University
 
PDF
DL4J at Workday Meetup
David Kale
 
PDF
Top 10 deep learning algorithms you should know in
AmanKumarSingh97
 
PDF
Spark Based Distributed Deep Learning Framework For Big Data Applications
Humoyun Ahmedov
 
PDF
Big Data Malaysia - A Primer on Deep Learning
Poo Kuan Hoong
 
PDF
Deep Learning with Databricks
Henning Kropp
 
PPTX
Deep Learning: DL4J and DataVec
Josh Patterson
 
PPTX
Josh Patterson, Advisor, Skymind – Deep learning for Industry at MLconf ATL 2016
MLconf
 
Cognitive IoT using DeepLearning on data parallel frameworks like Spark & Flink
Romeo Kienzler
 
DeepLearning and Advanced Machine Learning on IoT
Romeo Kienzler
 
IBM Middle East Data Science Connect 2016 - Doha, Qatar
Romeo Kienzler
 
Geo Python16 keynote
Romeo Kienzler
 
Deep Learning and Recurrent Neural Networks in the Enterprise
Josh Patterson
 
Deploying Enterprise Deep Learning Masterclass Preview - Enterprise Deep Lea...
Sam Putnam [Deep Learning]
 
Productionizing dl from the ground up
Adam Gibson
 
Deep learning on spark
Satyendra Rana
 
Deep Learning and Watson Studio
Sasha Lazarevic
 
Neural Networks, Spark MLlib, Deep Learning
Asim Jalis
 
Deep Learning with Apache Spark: an Introduction
Emanuele Bezzi
 
AI: the silicon brain
amit bezalel
 
Deep learning and applications in non-cognitive domains I
Deakin University
 
DL4J at Workday Meetup
David Kale
 
Top 10 deep learning algorithms you should know in
AmanKumarSingh97
 
Spark Based Distributed Deep Learning Framework For Big Data Applications
Humoyun Ahmedov
 
Big Data Malaysia - A Primer on Deep Learning
Poo Kuan Hoong
 
Deep Learning with Databricks
Henning Kropp
 
Deep Learning: DL4J and DataVec
Josh Patterson
 
Josh Patterson, Advisor, Skymind – Deep learning for Industry at MLconf ATL 2016
MLconf
 
Ad

More from DataWorks Summit/Hadoop Summit (20)

PPT
Running Apache Spark & Apache Zeppelin in Production
DataWorks Summit/Hadoop Summit
 
PPT
State of Security: Apache Spark & Apache Zeppelin
DataWorks Summit/Hadoop Summit
 
PDF
Unleashing the Power of Apache Atlas with Apache Ranger
DataWorks Summit/Hadoop Summit
 
PDF
Enabling Digital Diagnostics with a Data Science Platform
DataWorks Summit/Hadoop Summit
 
PDF
Revolutionize Text Mining with Spark and Zeppelin
DataWorks Summit/Hadoop Summit
 
PDF
Double Your Hadoop Performance with Hortonworks SmartSense
DataWorks Summit/Hadoop Summit
 
PDF
Hadoop Crash Course
DataWorks Summit/Hadoop Summit
 
PDF
Data Science Crash Course
DataWorks Summit/Hadoop Summit
 
PDF
Apache Spark Crash Course
DataWorks Summit/Hadoop Summit
 
PDF
Dataflow with Apache NiFi
DataWorks Summit/Hadoop Summit
 
PPTX
Schema Registry - Set you Data Free
DataWorks Summit/Hadoop Summit
 
PPTX
Building a Large-Scale, Adaptive Recommendation Engine with Apache Flink and ...
DataWorks Summit/Hadoop Summit
 
PPTX
Mool - Automated Log Analysis using Data Science and ML
DataWorks Summit/Hadoop Summit
 
PPTX
How Hadoop Makes the Natixis Pack More Efficient
DataWorks Summit/Hadoop Summit
 
PPTX
HBase in Practice
DataWorks Summit/Hadoop Summit
 
PPTX
The Challenge of Driving Business Value from the Analytics of Things (AOT)
DataWorks Summit/Hadoop Summit
 
PDF
Breaking the 1 Million OPS/SEC Barrier in HOPS Hadoop
DataWorks Summit/Hadoop Summit
 
PPTX
From Regulatory Process Verification to Predictive Maintenance and Beyond wit...
DataWorks Summit/Hadoop Summit
 
PPTX
Backup and Disaster Recovery in Hadoop
DataWorks Summit/Hadoop Summit
 
PPTX
Scaling HDFS to Manage Billions of Files with Distributed Storage Schemes
DataWorks Summit/Hadoop Summit
 
Running Apache Spark & Apache Zeppelin in Production
DataWorks Summit/Hadoop Summit
 
State of Security: Apache Spark & Apache Zeppelin
DataWorks Summit/Hadoop Summit
 
Unleashing the Power of Apache Atlas with Apache Ranger
DataWorks Summit/Hadoop Summit
 
Enabling Digital Diagnostics with a Data Science Platform
DataWorks Summit/Hadoop Summit
 
Revolutionize Text Mining with Spark and Zeppelin
DataWorks Summit/Hadoop Summit
 
Double Your Hadoop Performance with Hortonworks SmartSense
DataWorks Summit/Hadoop Summit
 
Hadoop Crash Course
DataWorks Summit/Hadoop Summit
 
Data Science Crash Course
DataWorks Summit/Hadoop Summit
 
Apache Spark Crash Course
DataWorks Summit/Hadoop Summit
 
Dataflow with Apache NiFi
DataWorks Summit/Hadoop Summit
 
Schema Registry - Set you Data Free
DataWorks Summit/Hadoop Summit
 
Building a Large-Scale, Adaptive Recommendation Engine with Apache Flink and ...
DataWorks Summit/Hadoop Summit
 
Mool - Automated Log Analysis using Data Science and ML
DataWorks Summit/Hadoop Summit
 
How Hadoop Makes the Natixis Pack More Efficient
DataWorks Summit/Hadoop Summit
 
HBase in Practice
DataWorks Summit/Hadoop Summit
 
The Challenge of Driving Business Value from the Analytics of Things (AOT)
DataWorks Summit/Hadoop Summit
 
Breaking the 1 Million OPS/SEC Barrier in HOPS Hadoop
DataWorks Summit/Hadoop Summit
 
From Regulatory Process Verification to Predictive Maintenance and Beyond wit...
DataWorks Summit/Hadoop Summit
 
Backup and Disaster Recovery in Hadoop
DataWorks Summit/Hadoop Summit
 
Scaling HDFS to Manage Billions of Files with Distributed Storage Schemes
DataWorks Summit/Hadoop Summit
 
Ad

Recently uploaded (20)

PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Digital Circuits, important subject in CS
contactparinay1
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 

Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on Apache Spark