SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
Hybrid Neural Networks for
Time Series Learning
Tian Guo
Ph.D.
24 Nov. 2016
Outline
• Introduction
• Hybrid Neural Network (HNN)
• HNN for Real
• Preliminaries
• TreNet: a HNN for learning the local trend of time series
• Experiment results
• Conclusion
2
Introduction
3Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Time series data: a sequence of data points consisting of
successive measurements made over time.
• Internet of Things
• Sensor networks
• Mobile phones
• And more…
4Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Time series analytics in a variety of applications
• Classification
• Prediction
• Anomaly detection
• Pattern discovery
• And more…
5
Pattern 1 Pattern 2
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Time series analytics tools
• Statistics
• Hidden Markov Model (HMM)
• State Space Model
• ARIMA
• Machine learning
• Random Forest
• SVM
• Gaussian Process
•
6
Random Forest
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Neural Network and Deep Learning
• Language translation
• E.g., Google’s Multilingual Neural Machine Translation System
• Computer vision
• E.g., Microsoft Research’s PReLU network outperforms Human-Level
performance on ImageNet Classification
• Speech recognition
• E.g., Amazon Echo, Apple Siri
• Time series classification
• E.g. recognize patterns in multivariate
time series of clinical measurements
7
Z. Lipton, et al. “Learning to Diagnose with LSTM Recurrent Neural Networks”. ICLR, 2016.
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Fundamental network architectures
• Convolutional neural network: input two-dimensional data, e.g.,
image
• Recurrent neural network: input
8
Unfolded recurrent connections in a RNN
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Convolutional Neural Network (CNN)
• Feature learning for images
• To extract high-level features from raw data
• Such high-level features are further used for classification or
regression.
9
K. He, et al. “Delving deep into rectifiers: Surpassing Human-Level Performance on ImageNet Classification”. arxiv.org, 2015
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Convolutional Neural Network (CNN)
• CNN in the Human Activity Recognition Problem
• Multichannel time series acquired from a set of body-worn sensors
• To predict human activities by training a CNN over time series
10
J. Yang, et al. “Deep Convolutional Neural Networks On Multichannel Time Series For Human Activity Recognition”. IJCAI 2015
Value
Time
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Introduction
• Recurrent Neural Network (RNN)
• A powerful tool to model sequence data
• To capture dependency in sequence data
• Long-short term memory network (LSTM)
• A widely used variant of RNNs
• Equipped with memory and gate mechanism
• To overcome gradient vanishing and explosion
11
S. Hochreiter, et al. “Long short-term memory’’. Neural computation, 1997.
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
12Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• CNN or RNN
• Work well for respective data, i.e. images and sequence data
13Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• A cascade of CNN and RNN
• Classification of EEG data
• Electroencephalogram (EEG) : multiple time series corresponding to
measurements across different spatial locations over the cortex.
• Mental load classification task:
measures the working memory
responsible for transient retention
of information in the brain.
14
P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• A cascade of CNN and RNN
• Classification of EEG data
• A key challenge in correctly recognizing mental states
• EEG data often contains translation
and deformation of signal in space,
frequency, and time, due to inter-
and intra-subject differences
15
P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• A cascade of CNN and RNN
• Classification of EEG data
16
P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• A cascade of CNN and RNN
• EEG data classification
17
P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• Time Series
• Noisy
• Non-stationary
• Hidden information: states, dynamics
• Auto-correlated on the temporal dimension
• Manual feature engineering
• Preprocessing: de-trending, outlier removal, etc.
• Dimension reduction: Fourier Transformation
• Piecewise approximation: PAA, PCA, PLA, etc.
• Application-specific, domain knowledge
18
Why do we need hybrid architectures?
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• Hybrid architectures: end-to-end learning framework
• Loss function driven training
• Learning representative features
• Capturing sequential dependency in data
19
Why do we need hybrid architectures?
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Hybrid Neural Networks
• A cascade of CNN and RNN
20
P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
HNN for Real:
TreNet for Learning the Local Trend
21
T. Guo, et al. TreNet: Hybrid Neural Networks for Learning the Local Trend in Temporal Data. In submission to ICLR, 2017
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Preliminaries
• Conventional trend analysis in time series
is the seasonal component at time t
is the trend component at t
is the remainder
22Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Preliminaries
• Local trend
• Measure the intermediate local behaviour, i.e. upward or downward
pattern of time series
• For instance, the time series of household power consumption and
the local trends are shown as follows:
• Time series
• Extracted local trend ,
is the duration and is the slope
23Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Preliminaries
• Learning and forecasting the local trend
• Predict ,
• Useful in many applications
• Smart energy
• Stock market
• And more …
24Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Preliminaries
• Learning and forecasting the local trend
• Local raw data
• Global contextual information
in the historical sequence of trend
• To learn a function
is either or
25Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
TreNet
• Overview of TreNet
• is derived by training the LSTM over sequence to
capture the dependency in the trend evolving.
• corresponds to local features extracted by CNN from
26Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
is derived by training the LSTM over sequence to capture
the dependency in the trend evolving.
corresponds to local features extracted by CNN from
TreNet
• Overview
•
27Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
TreNet
• Learning
28Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
TreNet
• LSTM
• Feed the sequence of
• Output
29Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
TreNet
• CNN
• Output
30Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
TreNet
• Feature Fusion and output layers
31Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
TreNet
• Learning
• Gradient descent
32Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Experiments
• Datasets
• Daily Household Power Consumption (HousePC)
• Gas Sensor (GasSensor)
• Stock Transaction (Stock)
33
E Keogh, et al. “An online algorithm for segmenting time series”. ICDM, 2001
Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Experiments
• Baselines
• CNN
• LSTM
• Support Vector Regression (SVR)
• Radial Basis kernel (SVRBF)
• Polynomial kernel (SVPOLY)
• Sigmoid kernel (SVSIG)
• Pattern-based Hidden Markov Model (pHMM)
34Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
P. Wang, et al. “Finding Semantics in Time Series”, SIGMOD 2011
Experiments
• Results: overall accuracy
35Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Experiments
• Results: prediction visualization
36Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
Conclusion
37
Conclusion
38
• Hybrid neural networks
• TreNet for the Local Trend Learning
• Future work: a generic idea
• Social media streams
• Heterogeneous data
• Influence analysis
• And more…
Thanks! Q & A
This work is supported by EU OpenIoT Project
(Open Source Solution for the Internet of Things)
http://www.openiot.eu/
Feel free to contact: tian.guo0980@gmail.com, tian.guo@epfl.ch

Contenu connexe

Tendances

Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningKoundinya Desiraju
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkYan Xu
 
Notes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgNotes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgdataHacker. rs
 
Time series predictions using LSTMs
Time series predictions using LSTMsTime series predictions using LSTMs
Time series predictions using LSTMsSetu Chokshi
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learningAmr Rashed
 
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...Simplilearn
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachinePulse
 
Support Vector Machine without tears
Support Vector Machine without tearsSupport Vector Machine without tears
Support Vector Machine without tearsAnkit Sharma
 
Overview on Optimization algorithms in Deep Learning
Overview on Optimization algorithms in Deep LearningOverview on Optimization algorithms in Deep Learning
Overview on Optimization algorithms in Deep LearningKhang Pham
 
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Simplilearn
 
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...DataWorks Summit/Hadoop Summit
 
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...Databricks
 
Word embeddings, RNN, GRU and LSTM
Word embeddings, RNN, GRU and LSTMWord embeddings, RNN, GRU and LSTM
Word embeddings, RNN, GRU and LSTMDivya Gera
 
Optimization in Deep Learning
Optimization in Deep LearningOptimization in Deep Learning
Optimization in Deep LearningYan Xu
 
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...Edureka!
 
Convolutional neural network
Convolutional neural network Convolutional neural network
Convolutional neural network Yan Xu
 
Introduction to Grad-CAM (complete version)
Introduction to Grad-CAM (complete version)Introduction to Grad-CAM (complete version)
Introduction to Grad-CAM (complete version)Hsing-chuan Hsieh
 

Tendances (20)

Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural Network
 
Notes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgNotes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew Ng
 
Time series predictions using LSTMs
Time series predictions using LSTMsTime series predictions using LSTMs
Time series predictions using LSTMs
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learning
 
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
 
Support Vector Machine without tears
Support Vector Machine without tearsSupport Vector Machine without tears
Support Vector Machine without tears
 
Overview on Optimization algorithms in Deep Learning
Overview on Optimization algorithms in Deep LearningOverview on Optimization algorithms in Deep Learning
Overview on Optimization algorithms in Deep Learning
 
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
 
Artificial Intelligence = ML + DL with Tensor Flow
Artificial Intelligence = ML + DL with Tensor FlowArtificial Intelligence = ML + DL with Tensor Flow
Artificial Intelligence = ML + DL with Tensor Flow
 
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
Real-Time Anomaly Detection using LSTM Auto-Encoders with Deep Learning4J on ...
 
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
 
Word embeddings, RNN, GRU and LSTM
Word embeddings, RNN, GRU and LSTMWord embeddings, RNN, GRU and LSTM
Word embeddings, RNN, GRU and LSTM
 
Optimization in Deep Learning
Optimization in Deep LearningOptimization in Deep Learning
Optimization in Deep Learning
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
 
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...
What is Deep Learning | Deep Learning Simplified | Deep Learning Tutorial | E...
 
Support Vector machine
Support Vector machineSupport Vector machine
Support Vector machine
 
Convolutional neural network
Convolutional neural network Convolutional neural network
Convolutional neural network
 
Introduction to Grad-CAM (complete version)
Introduction to Grad-CAM (complete version)Introduction to Grad-CAM (complete version)
Introduction to Grad-CAM (complete version)
 

Similaire à Hybrid Neural Networks for Time Series Learning: TreNet Captures Local Trends

[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptxthanhdowork
 
Real-Time Streaming Data Analysis with HTM
Real-Time Streaming Data Analysis with HTMReal-Time Streaming Data Analysis with HTM
Real-Time Streaming Data Analysis with HTMNumenta
 
Lecture on Deep Learning
Lecture on Deep LearningLecture on Deep Learning
Lecture on Deep LearningYasas Senarath
 
Semester presentation
Semester presentationSemester presentation
Semester presentationkhush bakhat
 
Exploring Randomly Wired Neural Networks for Image Recognition
Exploring Randomly Wired Neural Networks for Image RecognitionExploring Randomly Wired Neural Networks for Image Recognition
Exploring Randomly Wired Neural Networks for Image RecognitionYongsu Baek
 
Convolutional Neural Networks for Natural Language Processing / Stanford cs22...
Convolutional Neural Networks for Natural Language Processing / Stanford cs22...Convolutional Neural Networks for Natural Language Processing / Stanford cs22...
Convolutional Neural Networks for Natural Language Processing / Stanford cs22...changedaeoh
 
Coupled Layer-wise Graph Convolution for Transportation Demand Prediction
Coupled Layer-wise Graph Convolution for Transportation Demand PredictionCoupled Layer-wise Graph Convolution for Transportation Demand Prediction
Coupled Layer-wise Graph Convolution for Transportation Demand Predictionivaderivader
 
Convolutional Neural Network and RNN for OCR problem.
Convolutional Neural Network and RNN for OCR problem.Convolutional Neural Network and RNN for OCR problem.
Convolutional Neural Network and RNN for OCR problem.Vishal Mishra
 
MDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A PrimerMDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A PrimerPoo Kuan Hoong
 
Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...
Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...
Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...PyData
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learningJunaid Bhat
 
A Neural Network that Understands Handwriting
A Neural Network that Understands HandwritingA Neural Network that Understands Handwriting
A Neural Network that Understands HandwritingShivam Sawhney
 
Computational intelligence based data aggregation technique in clustered wsn
Computational intelligence based data aggregation technique in clustered wsnComputational intelligence based data aggregation technique in clustered wsn
Computational intelligence based data aggregation technique in clustered wsnTAIWAN
 
network mining and representation learning
network mining and representation learningnetwork mining and representation learning
network mining and representation learningsun peiyuan
 
A Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksRimzim Thube
 
Lecture 7: Recurrent Neural Networks
Lecture 7: Recurrent Neural NetworksLecture 7: Recurrent Neural Networks
Lecture 7: Recurrent Neural NetworksSang Jun Lee
 

Similaire à Hybrid Neural Networks for Time Series Learning: TreNet Captures Local Trends (20)

[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx
 
Real-Time Streaming Data Analysis with HTM
Real-Time Streaming Data Analysis with HTMReal-Time Streaming Data Analysis with HTM
Real-Time Streaming Data Analysis with HTM
 
Lecture on Deep Learning
Lecture on Deep LearningLecture on Deep Learning
Lecture on Deep Learning
 
DNN Model Interpretability
DNN Model InterpretabilityDNN Model Interpretability
DNN Model Interpretability
 
Semester presentation
Semester presentationSemester presentation
Semester presentation
 
Exploring Randomly Wired Neural Networks for Image Recognition
Exploring Randomly Wired Neural Networks for Image RecognitionExploring Randomly Wired Neural Networks for Image Recognition
Exploring Randomly Wired Neural Networks for Image Recognition
 
Convolutional Neural Networks for Natural Language Processing / Stanford cs22...
Convolutional Neural Networks for Natural Language Processing / Stanford cs22...Convolutional Neural Networks for Natural Language Processing / Stanford cs22...
Convolutional Neural Networks for Natural Language Processing / Stanford cs22...
 
Coupled Layer-wise Graph Convolution for Transportation Demand Prediction
Coupled Layer-wise Graph Convolution for Transportation Demand PredictionCoupled Layer-wise Graph Convolution for Transportation Demand Prediction
Coupled Layer-wise Graph Convolution for Transportation Demand Prediction
 
Convolutional Neural Network and RNN for OCR problem.
Convolutional Neural Network and RNN for OCR problem.Convolutional Neural Network and RNN for OCR problem.
Convolutional Neural Network and RNN for OCR problem.
 
Recurrent Neural Network
Recurrent Neural NetworkRecurrent Neural Network
Recurrent Neural Network
 
MDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A PrimerMDEC Data Matters Series: machine learning and Deep Learning, A Primer
MDEC Data Matters Series: machine learning and Deep Learning, A Primer
 
Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...
Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...
Enabling Real Time Analysis & Decision Making - A Paradigm Shift for Experime...
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learning
 
A Neural Network that Understands Handwriting
A Neural Network that Understands HandwritingA Neural Network that Understands Handwriting
A Neural Network that Understands Handwriting
 
Computational intelligence based data aggregation technique in clustered wsn
Computational intelligence based data aggregation technique in clustered wsnComputational intelligence based data aggregation technique in clustered wsn
Computational intelligence based data aggregation technique in clustered wsn
 
network mining and representation learning
network mining and representation learningnetwork mining and representation learning
network mining and representation learning
 
PhD Defense
PhD DefensePhD Defense
PhD Defense
 
A Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural Networks
 
Lecture 7: Recurrent Neural Networks
Lecture 7: Recurrent Neural NetworksLecture 7: Recurrent Neural Networks
Lecture 7: Recurrent Neural Networks
 
Lec 1-2-3-intr.
Lec 1-2-3-intr.Lec 1-2-3-intr.
Lec 1-2-3-intr.
 

Dernier

Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
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
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
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
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
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
 
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
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
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
 
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
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
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
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 

Dernier (20)

Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
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
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
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
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
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 Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
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
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
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
 
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
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
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
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 

Hybrid Neural Networks for Time Series Learning: TreNet Captures Local Trends

  • 1. Hybrid Neural Networks for Time Series Learning Tian Guo Ph.D. 24 Nov. 2016
  • 2. Outline • Introduction • Hybrid Neural Network (HNN) • HNN for Real • Preliminaries • TreNet: a HNN for learning the local trend of time series • Experiment results • Conclusion 2
  • 3. Introduction 3Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 4. Introduction • Time series data: a sequence of data points consisting of successive measurements made over time. • Internet of Things • Sensor networks • Mobile phones • And more… 4Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 5. Introduction • Time series analytics in a variety of applications • Classification • Prediction • Anomaly detection • Pattern discovery • And more… 5 Pattern 1 Pattern 2 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 6. Introduction • Time series analytics tools • Statistics • Hidden Markov Model (HMM) • State Space Model • ARIMA • Machine learning • Random Forest • SVM • Gaussian Process • 6 Random Forest Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 7. Introduction • Neural Network and Deep Learning • Language translation • E.g., Google’s Multilingual Neural Machine Translation System • Computer vision • E.g., Microsoft Research’s PReLU network outperforms Human-Level performance on ImageNet Classification • Speech recognition • E.g., Amazon Echo, Apple Siri • Time series classification • E.g. recognize patterns in multivariate time series of clinical measurements 7 Z. Lipton, et al. “Learning to Diagnose with LSTM Recurrent Neural Networks”. ICLR, 2016. Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 8. Introduction • Fundamental network architectures • Convolutional neural network: input two-dimensional data, e.g., image • Recurrent neural network: input 8 Unfolded recurrent connections in a RNN Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 9. Introduction • Convolutional Neural Network (CNN) • Feature learning for images • To extract high-level features from raw data • Such high-level features are further used for classification or regression. 9 K. He, et al. “Delving deep into rectifiers: Surpassing Human-Level Performance on ImageNet Classification”. arxiv.org, 2015 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 10. Introduction • Convolutional Neural Network (CNN) • CNN in the Human Activity Recognition Problem • Multichannel time series acquired from a set of body-worn sensors • To predict human activities by training a CNN over time series 10 J. Yang, et al. “Deep Convolutional Neural Networks On Multichannel Time Series For Human Activity Recognition”. IJCAI 2015 Value Time Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 11. Introduction • Recurrent Neural Network (RNN) • A powerful tool to model sequence data • To capture dependency in sequence data • Long-short term memory network (LSTM) • A widely used variant of RNNs • Equipped with memory and gate mechanism • To overcome gradient vanishing and explosion 11 S. Hochreiter, et al. “Long short-term memory’’. Neural computation, 1997. Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 12. Hybrid Neural Networks 12Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 13. Hybrid Neural Networks • CNN or RNN • Work well for respective data, i.e. images and sequence data 13Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 14. Hybrid Neural Networks • A cascade of CNN and RNN • Classification of EEG data • Electroencephalogram (EEG) : multiple time series corresponding to measurements across different spatial locations over the cortex. • Mental load classification task: measures the working memory responsible for transient retention of information in the brain. 14 P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 15. Hybrid Neural Networks • A cascade of CNN and RNN • Classification of EEG data • A key challenge in correctly recognizing mental states • EEG data often contains translation and deformation of signal in space, frequency, and time, due to inter- and intra-subject differences 15 P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 16. Hybrid Neural Networks • A cascade of CNN and RNN • Classification of EEG data 16 P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 17. Hybrid Neural Networks • A cascade of CNN and RNN • EEG data classification 17 P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 18. Hybrid Neural Networks • Time Series • Noisy • Non-stationary • Hidden information: states, dynamics • Auto-correlated on the temporal dimension • Manual feature engineering • Preprocessing: de-trending, outlier removal, etc. • Dimension reduction: Fourier Transformation • Piecewise approximation: PAA, PCA, PLA, etc. • Application-specific, domain knowledge 18 Why do we need hybrid architectures? Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 19. Hybrid Neural Networks • Hybrid architectures: end-to-end learning framework • Loss function driven training • Learning representative features • Capturing sequential dependency in data 19 Why do we need hybrid architectures? Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 20. Hybrid Neural Networks • A cascade of CNN and RNN 20 P. Bashivan, et. al. “Learning Representations from EEG with Deep Recurrent-Convolutional Neural Networks”. ICLR, 2016 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 21. HNN for Real: TreNet for Learning the Local Trend 21 T. Guo, et al. TreNet: Hybrid Neural Networks for Learning the Local Trend in Temporal Data. In submission to ICLR, 2017 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 22. Preliminaries • Conventional trend analysis in time series is the seasonal component at time t is the trend component at t is the remainder 22Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 23. Preliminaries • Local trend • Measure the intermediate local behaviour, i.e. upward or downward pattern of time series • For instance, the time series of household power consumption and the local trends are shown as follows: • Time series • Extracted local trend , is the duration and is the slope 23Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 24. Preliminaries • Learning and forecasting the local trend • Predict , • Useful in many applications • Smart energy • Stock market • And more … 24Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 25. Preliminaries • Learning and forecasting the local trend • Local raw data • Global contextual information in the historical sequence of trend • To learn a function is either or 25Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 26. TreNet • Overview of TreNet • is derived by training the LSTM over sequence to capture the dependency in the trend evolving. • corresponds to local features extracted by CNN from 26Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 27. is derived by training the LSTM over sequence to capture the dependency in the trend evolving. corresponds to local features extracted by CNN from TreNet • Overview • 27Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 28. TreNet • Learning 28Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 29. TreNet • LSTM • Feed the sequence of • Output 29Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 30. TreNet • CNN • Output 30Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 31. TreNet • Feature Fusion and output layers 31Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 32. TreNet • Learning • Gradient descent 32Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 33. Experiments • Datasets • Daily Household Power Consumption (HousePC) • Gas Sensor (GasSensor) • Stock Transaction (Stock) 33 E Keogh, et al. “An online algorithm for segmenting time series”. ICDM, 2001 Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 34. Experiments • Baselines • CNN • LSTM • Support Vector Regression (SVR) • Radial Basis kernel (SVRBF) • Polynomial kernel (SVPOLY) • Sigmoid kernel (SVSIG) • Pattern-based Hidden Markov Model (pHMM) 34Introduction Hybrid Neural Network(HNN) TreNet for Local Trend P. Wang, et al. “Finding Semantics in Time Series”, SIGMOD 2011
  • 35. Experiments • Results: overall accuracy 35Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 36. Experiments • Results: prediction visualization 36Introduction Hybrid Neural Network(HNN) TreNet for Local Trend
  • 38. Conclusion 38 • Hybrid neural networks • TreNet for the Local Trend Learning • Future work: a generic idea • Social media streams • Heterogeneous data • Influence analysis • And more…
  • 39. Thanks! Q & A This work is supported by EU OpenIoT Project (Open Source Solution for the Internet of Things) http://www.openiot.eu/ Feel free to contact: tian.guo0980@gmail.com, tian.guo@epfl.ch