SlideShare a Scribd company logo
Deep learning:
the final frontier
for time series analysis and signal processing?
Alex Honchar, PyCon Italy 19’
ML Outsourcing
Healthcare
Finance
ML Architect and cofounder @ Mawi Band
Researcher, blogger @ UNIVR, Medium
CTO and cofounder @ Neurons Lab
Deep learning: the final frontier for time series analysis and signal processing?
Computer vision
Natural language processing
Recommender systems
Speech analysis
Time series analysis…?
TCE Conference, 2014
Signals in the wild: humans
Signals in the wild: businesses
Signals in the wild: nature
Classification and prediction
Sales time series ECG time series
Time domain analysis
Statistical features
Very limited point of view

Geometrical features
Overcomplex algorithmic heuristics

Decompositions
Oversimplified econometric POV

“ARIMA”-like models
Just autocorrelation on different lags
Multilayer perceptrons
Universal approximation theorem

Designed with non-linearity

Convolutional neural networks
Can learn arbitrary local geometrical patterns
EEG time series Accelerometer time series
Frequency domain analysis
Fourier transform
Very limited point of view

Losing information that varies over time

Wavelet transform
Fixed wavelet family
Convolutional neural networks
Convolution theorem for frequency analysis

Learnable and extendable kernel family

Keeps information over time
Financial time series Econometric time series
State space models
Hidden Markov Models
Difficult to train, not for high-dimensional data

No long-term dependencies

Dynamical factor models
Just a vector autoregression?

Kalman filters
Requires a model of the system
Recurrent neural networks
Designed to learn long-range dependencies

Designed to deal with high-dimensional data

Hierarchical state space

Non-linearity
State space models
Hidden Markov Models
Difficult to train, not for high-dimensional data

No long-term dependencies

Dynamical factor models
Just a vector autoregression?

Kalman filters
Requires a model of the system
Recurrent neural networks
Truncated implementation

Difficult to optimize

Slow in inference

Autoregressive networks
Connection to autoregressive models

Still long-range context

Faster and more accurate
Dynamical systems
Dynamical systems
Differential equations
Designed individually for a problem
Neural ordinary differential equations
Learns the ODE from the data by itself
Other problems
Pattern matching Anomaly detection Simulation
Pattern matching
“Normal” distances
Don’t work with time series

Dynamic time warping
Computationally difficult

Metric learning
Requires a lot of customization
Autoencoders
Flexibility in choosing encoding scheme

Fully unsupervised

After training just forward pass to get embedding

Siamese networks
Learn pattern matching or clustering directly
Anomaly detection
Density-based methods
Don’t really work with time series

Correlation-based methods
Assuming linear properties

Fit “ARIMA”, check for residuals
Depends on a simple model
Autoencoders
Flexibility in choosing encoding scheme

Fully unsupervised

Just need to adjust the thresholds

Generative adversarial networks
Get a generative model “for free”

Use discriminator as anomaly detector
https://skymind.ai/wiki/deep-autoencoder
https://www.researchgate.net/figure/
Generative-Adversarial-Network-
GAN_fig1_317061929
Simulation and generation
Mathematical models
…
Sequence2sequence schemes
Flexibility in choosing encoding scheme

Variational autoencoders
Object manipulation via disentangled representations

Generative adversarial networks
State of the art results at the moment

Neural ODEs
Naturally model dynamical systems with arbitrary precision
TCE Conference, 2014
Success stories
Sales forecasting Wikipedia traffic Stanford ECG
Uber forecasting Reading mindsWavenet
Success stories
Fail stories?
Statistical and Machine Learning forecasting methods: Concerns and ways forward
Hybrid solutions
Time-series Extreme Event Forecasting with Neural Networks at Uber
- Time series and signals are everywhere

- To all “classical” approaches there are “neural” alternatives

- CNN or autoregressive CNN is a baseline

- Try unsupervised learning for better embedding space

- Simulation with VAEs and GANs is amazing!

- Try to combine your hand-crafted features with DL
Takeaways
Open for collaborations :)

Facebook / Instagram @rachnogstyle

Medium @alexrachnog

Linkedin Alexandr Honchar
Resources
* Is Deep Learning the Final Frontier and the End of Signal Processing - Panel Discussion at Technion 

https://www.youtube.com/watch?v=LZnAFO5gkOQ&t=9s

* Stanford ECG: https://stanfordmlgroup.github.io/projects/ecg/

* Groceries sales forecasting: https://www.kaggle.com/c/favorita-grocery-sales-forecasting

* Wikipedia traffic forecasting: https://www.kaggle.com/c/web-traffic-time-series-forecasting

* Forecasting at Uber: https://eng.uber.com/tag/forecasting/

* DeepMind WaveNet: https://deepmind.com/blog/wavenet-generative-model-raw-audio/

* EEG2Thoughts: https://medium.com/@justlv/using-ai-to-read-your-thoughts-with-keras-and-an-
eeg-sensor-167ace32e84a

* ECG interpretation: https://medium.com/mawi-band/how-ai-based-arrhythmia-detector-can-
explain-its-decisions-b4f433faa4a2

* Replacing mathematical models with NNs in biosignal analysis: https://medium.com/mawi-band/
towards-ai-based-only-biosignal-analysis-pipeline-39e6e31244a6

* Statistical and Machine Learning forecasting methods: Concerns and ways forward: http://
journals.plos.org/plosone/article?id=10.1371/journal.pone.0194889

* Time-series Extreme Event Forecasting with Neural Networks at Uber: http://roseyu.com/time-
series-workshop/submissions/TSW2017_paper_3.pdf

More Related Content

DOCX
Reliable and error detection architectures of pomaranch for false alarm-sensi...
PDF
BrainQube - Work organization [XOHW17]
PDF
Artificial neural networks decode brain activity
PPT
SasuriE ajal
PDF
DOCX
OCR Projects using Python for CSE/IT Students
PDF
Major works on the necessity and implementations ppt
PDF
QF_Dr_Preneel
Reliable and error detection architectures of pomaranch for false alarm-sensi...
BrainQube - Work organization [XOHW17]
Artificial neural networks decode brain activity
SasuriE ajal
OCR Projects using Python for CSE/IT Students
Major works on the necessity and implementations ppt
QF_Dr_Preneel

What's hot (16)

PDF
Inspiration to Application: A Tutorial on Artificial Immune Systems
PPTX
Neural Netwrok
PPTX
Artificial intelligence conversational agents
DOC
MSWord
PPTX
Neural networks...
PPTX
Using Neural Networks and 3D sensors data to model LIBRAS gestures recognitio...
DOCX
RESUME_VISHNU_PRIYA
PPTX
Infographic international fellows assignment
PPTX
Infographic international fellows assignment
DOCX
Course outlines
PDF
Compegence: Dr. Rajaram Kudli - An Introduction to Artificial Neural Network ...
PPTX
Basics of Deep learning
PDF
Hierarchical Temporal Memory: Computing Like the Brain - Matt Taylor, Numenta
PPTX
Artificial intelligence
PPTX
Neural Network Research Projects Topics
Inspiration to Application: A Tutorial on Artificial Immune Systems
Neural Netwrok
Artificial intelligence conversational agents
MSWord
Neural networks...
Using Neural Networks and 3D sensors data to model LIBRAS gestures recognitio...
RESUME_VISHNU_PRIYA
Infographic international fellows assignment
Infographic international fellows assignment
Course outlines
Compegence: Dr. Rajaram Kudli - An Introduction to Artificial Neural Network ...
Basics of Deep learning
Hierarchical Temporal Memory: Computing Like the Brain - Matt Taylor, Numenta
Artificial intelligence
Neural Network Research Projects Topics
Ad

Similar to Deep learning: the final frontier for time series analysis and signal processing? (20)

PPTX
Oleksandr Honchar "Deep learning for signal processing"
PDF
Deep Learning for Time Series Data
PDF
Deep learning for time series pyBCN
PPTX
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...
PDF
Slides_Neural Networks for Time Series Prediction
PDF
Time series deep learning
PDF
Master Thesis Slides: Topic Development of Methods for Deep Neural Network Ar...
PDF
Anomaly Detection using Deep Auto-Encoders
PDF
Introducción de Inteligencia Artificial S
PDF
Neural Networks and Deep Learning
PPTX
rsec2a-2016-jheaton-morning
PDF
Deep learning: Cutting through the Myths and Hype
PDF
Data Mining algorithms PPT with Overview explanation.
PPTX
Foundation Models for Time Series : A Survey
PPTX
Deep learning
PDF
Introduction to Deep learning Models.pdf
PDF
Machine Learning: Past, Present and Future - by Tom Dietterich
PDF
Machine Learning for Time Series, Strata London 2018
PPTX
Machine Learning Summary for Caltech2
PPTX
Deep ar presentation
Oleksandr Honchar "Deep learning for signal processing"
Deep Learning for Time Series Data
Deep learning for time series pyBCN
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...
Slides_Neural Networks for Time Series Prediction
Time series deep learning
Master Thesis Slides: Topic Development of Methods for Deep Neural Network Ar...
Anomaly Detection using Deep Auto-Encoders
Introducción de Inteligencia Artificial S
Neural Networks and Deep Learning
rsec2a-2016-jheaton-morning
Deep learning: Cutting through the Myths and Hype
Data Mining algorithms PPT with Overview explanation.
Foundation Models for Time Series : A Survey
Deep learning
Introduction to Deep learning Models.pdf
Machine Learning: Past, Present and Future - by Tom Dietterich
Machine Learning for Time Series, Strata London 2018
Machine Learning Summary for Caltech2
Deep ar presentation
Ad

Recently uploaded (20)

PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
Computer network topology notes for revision
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPT
Quality review (1)_presentation of this 21
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
1_Introduction to advance data techniques.pptx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Supervised vs unsupervised machine learning algorithms
STUDY DESIGN details- Lt Col Maksud (21).pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Computer network topology notes for revision
.pdf is not working space design for the following data for the following dat...
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Quality review (1)_presentation of this 21
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
1_Introduction to advance data techniques.pptx
IBA_Chapter_11_Slides_Final_Accessible.pptx
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
ISS -ESG Data flows What is ESG and HowHow
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg

Deep learning: the final frontier for time series analysis and signal processing?

  • 1. Deep learning: the final frontier for time series analysis and signal processing? Alex Honchar, PyCon Italy 19’
  • 2. ML Outsourcing Healthcare Finance ML Architect and cofounder @ Mawi Band Researcher, blogger @ UNIVR, Medium CTO and cofounder @ Neurons Lab
  • 10. Signals in the wild: humans
  • 11. Signals in the wild: businesses
  • 12. Signals in the wild: nature
  • 14. Sales time series ECG time series
  • 15. Time domain analysis Statistical features Very limited point of view Geometrical features Overcomplex algorithmic heuristics Decompositions Oversimplified econometric POV “ARIMA”-like models Just autocorrelation on different lags Multilayer perceptrons Universal approximation theorem Designed with non-linearity Convolutional neural networks Can learn arbitrary local geometrical patterns
  • 16. EEG time series Accelerometer time series
  • 17. Frequency domain analysis Fourier transform Very limited point of view Losing information that varies over time Wavelet transform Fixed wavelet family Convolutional neural networks Convolution theorem for frequency analysis Learnable and extendable kernel family Keeps information over time
  • 18. Financial time series Econometric time series
  • 19. State space models Hidden Markov Models Difficult to train, not for high-dimensional data No long-term dependencies Dynamical factor models Just a vector autoregression? Kalman filters Requires a model of the system Recurrent neural networks Designed to learn long-range dependencies Designed to deal with high-dimensional data Hierarchical state space Non-linearity
  • 20. State space models Hidden Markov Models Difficult to train, not for high-dimensional data No long-term dependencies Dynamical factor models Just a vector autoregression? Kalman filters Requires a model of the system Recurrent neural networks Truncated implementation Difficult to optimize Slow in inference Autoregressive networks Connection to autoregressive models Still long-range context Faster and more accurate
  • 22. Dynamical systems Differential equations Designed individually for a problem Neural ordinary differential equations Learns the ODE from the data by itself
  • 24. Pattern matching Anomaly detection Simulation
  • 25. Pattern matching “Normal” distances Don’t work with time series Dynamic time warping Computationally difficult Metric learning Requires a lot of customization Autoencoders Flexibility in choosing encoding scheme Fully unsupervised After training just forward pass to get embedding Siamese networks Learn pattern matching or clustering directly
  • 26. Anomaly detection Density-based methods Don’t really work with time series Correlation-based methods Assuming linear properties Fit “ARIMA”, check for residuals Depends on a simple model Autoencoders Flexibility in choosing encoding scheme Fully unsupervised Just need to adjust the thresholds Generative adversarial networks Get a generative model “for free” Use discriminator as anomaly detector
  • 28. Simulation and generation Mathematical models … Sequence2sequence schemes Flexibility in choosing encoding scheme Variational autoencoders Object manipulation via disentangled representations Generative adversarial networks State of the art results at the moment Neural ODEs Naturally model dynamical systems with arbitrary precision
  • 30. Success stories Sales forecasting Wikipedia traffic Stanford ECG Uber forecasting Reading mindsWavenet
  • 32. Fail stories? Statistical and Machine Learning forecasting methods: Concerns and ways forward
  • 33. Hybrid solutions Time-series Extreme Event Forecasting with Neural Networks at Uber
  • 34. - Time series and signals are everywhere - To all “classical” approaches there are “neural” alternatives - CNN or autoregressive CNN is a baseline - Try unsupervised learning for better embedding space - Simulation with VAEs and GANs is amazing! - Try to combine your hand-crafted features with DL Takeaways
  • 35. Open for collaborations :) Facebook / Instagram @rachnogstyle Medium @alexrachnog Linkedin Alexandr Honchar
  • 36. Resources * Is Deep Learning the Final Frontier and the End of Signal Processing - Panel Discussion at Technion 
 https://www.youtube.com/watch?v=LZnAFO5gkOQ&t=9s * Stanford ECG: https://stanfordmlgroup.github.io/projects/ecg/ * Groceries sales forecasting: https://www.kaggle.com/c/favorita-grocery-sales-forecasting * Wikipedia traffic forecasting: https://www.kaggle.com/c/web-traffic-time-series-forecasting * Forecasting at Uber: https://eng.uber.com/tag/forecasting/ * DeepMind WaveNet: https://deepmind.com/blog/wavenet-generative-model-raw-audio/ * EEG2Thoughts: https://medium.com/@justlv/using-ai-to-read-your-thoughts-with-keras-and-an- eeg-sensor-167ace32e84a * ECG interpretation: https://medium.com/mawi-band/how-ai-based-arrhythmia-detector-can- explain-its-decisions-b4f433faa4a2 * Replacing mathematical models with NNs in biosignal analysis: https://medium.com/mawi-band/ towards-ai-based-only-biosignal-analysis-pipeline-39e6e31244a6 * Statistical and Machine Learning forecasting methods: Concerns and ways forward: http:// journals.plos.org/plosone/article?id=10.1371/journal.pone.0194889 * Time-series Extreme Event Forecasting with Neural Networks at Uber: http://roseyu.com/time- series-workshop/submissions/TSW2017_paper_3.pdf