quality of service forecasting with lstm neural network
play

Quality of Service Forecasting with LSTM Neural Network - PowerPoint PPT Presentation

Quality of Service Forecasting with LSTM Neural Network International Symposium on Integrated Network Management ( IM 2019) May 11, 2019 Tomas Jirsik , Stepan Trcka, Pavel Celeda Institute of Computer Science, Masaryk University, Brno Quality


  1. Quality of Service Forecasting with LSTM Neural Network International Symposium on Integrated Network Management ( IM 2019) May 11, 2019 Tomas Jirsik , Stepan Trcka, Pavel Celeda Institute of Computer Science, Masaryk University, Brno

  2. Quality of Service Forecasting what is it good for? Quality of Service § Abstract term used for comparing services § Derived from measurable QoS attributes § QoS Attributes § Application response time § Network response time Applications § Recommending systems for Web Pages Forecasting § Updates from service providers are sparse IM 2019 : Quality of Service Forecasting with LSTM Neural Network 2 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  3. Challenges what do we research How can be QoS attributes collected? § Increase the frequency of the QoS attributes updates How can we use Long Short-Term Memory Neural Network for QoS forecasting? § How to create LSTM NN model? What method should we use for QoS attribute forecasting? § Forecast precision § Estimation time IM 2019 : Quality of Service Forecasting with LSTM Neural Network 3 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  4. Centralized QoS Attribute Collection how to collect up-to-date data IP flow network monitoring § Passive approach to network traffic observation IM 2019 : Quality of Service Forecasting with LSTM Neural Network 4 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  5. Centralized QoS Attribute Collection how to collect up-to-date data Next-generation IP flow network monitoring § Bi-flows § Application layer information IP flow monitoring for QoS Attributes collection § Attributes § Round trip time § Number peers/users § Transport size § Application response time § Passive, continuous observation § Observation point location makes the difference IM 2019 : Quality of Service Forecasting with LSTM Neural Network 5 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  6. Evaluated Forecasting Methods three approaches to time series forecasting IM 2019 : Quality of Service Forecasting with LSTM Neural Network 6 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  7. ARIMA(p,d,q) autoregression and moving average in one package Auto-Regression § evolving variable of interest is regressed on its own lagged (i.e., prior) values Moving Average § regression error is a linear combination of error terms whose values occurred at various times in the past Integrated § transformation applied to timeseries in order to make it stationary IM 2019 : Quality of Service Forecasting with LSTM Neural Network 7 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  8. Holt-Winters seasonality included Model Prediction Parameters § Speed of learning/forgetting IM 2019 : Quality of Service Forecasting with LSTM Neural Network 8 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  9. Long Short Term Memory Neural Network recurrent neural network Recurrent Neural Networks § Text processing - understanding of the words based on the meaning of the previous ones. § Classification events in the movie – previous events are necessary for reasoning § Excellent for modelling sequences IM 2019 : Quality of Service Forecasting with LSTM Neural Network 9 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  10. � � � � Long Short Term Memory Neural Network recurrent neural network Long Short Term Memory § the context is more “ far ” in history § specific function to determine what to remember § gates § Forget h t-1 1 2 3 h t h t+1 § Input § Output C t C t-1 C t+1 tanh f t i t o t Module A C t Module A tanh h t-1 h t+1 h t X t+1 X t-1 X t IM 2019 : Quality of Service Forecasting with LSTM Neural Network 10 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  11. Methodology how do we make the comparison IM 2019 : Quality of Service Forecasting with LSTM Neural Network 11 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  12. Dataset real-world data shows the real performance Two monitored services § Access portal to information resources at university (libraries, datasets collections, …) § Web presentation of the Faculty of Science Observation period § one month in 2018 Two granularities § 5 minute => 8928 observations § 1 hour => 744 observation Missing values IM 2019 : Quality of Service Forecasting with LSTM Neural Network 12 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  13. Dataset real-world data shows the real performance IM 2019 : Quality of Service Forecasting with LSTM Neural Network 13 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  14. Dataset real-world data shows the real performance IM 2019 : Quality of Service Forecasting with LSTM Neural Network 14 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  15. Forecast there is not only one forecast Time scale Forecast frequency § Real-time § One-time § Short-term § Continuous § Middle-term Our goal § Long-term § One step, continuous, real-time/short-term Number of forecasted observations § One-step § Multi-step IM 2019 : Quality of Service Forecasting with LSTM Neural Network 15 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  16. Models Construction our approach to estimation ARIMA(p,d,q) § Box-Jenkins Methodology § Differencing order ( Augmented Dickey-Fuller test for stationarity) § Autocorrelation plot to determine p,q (AIC if is unclear) § Maximum likelihood and Kalman Filter estimation Holt-winters § Additive vs multiplicative § Season length identification (ACF, PACF) § Parameters estimation (Maximum likelihood) LSTM NN § Standardization of time series § One input, one hidden, one output layer § MSE – stop loss function § Stochastic gradient descent optimizer § Number of iteration determined from learning curve IM 2019 : Quality of Service Forecasting with LSTM Neural Network 16 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  17. Models Evaluation how do we compare Training and testing dataset Forecast Precision § Mean Absolute Percentage Error Time complexity § Time to estimate a model § 6 AMD Ryzen5 CPUs 3.8GHz, 6GB RAM IM 2019 : Quality of Service Forecasting with LSTM Neural Network 17 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  18. Experiment Results the data reveals the truth IM 2019 : Quality of Service Forecasting with LSTM Neural Network 18 Jirsik et al., Institute of Computer Science, Masaryk University, Brno

  19. Models Settings given by the dataset ARIMA Holt-Winters § USR, TC day-night, week pattern § Season set to 7 days § Parameter estimation § Level – varied over whole interval § Trend – no trend identified § Season – close to one – recent more weight IM 2019 : Quality of Service Forecasting with LSTM Neural Network 19 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  20. Models Settings given by the dataset LSTM NN USR (1h) USR (5m) ART-Avg (1h) 0.03 § Two hidden cells 0.025 § Number of iterations 0.02 MSE Score § ART, NTT, TS – rapid drop 0.015 § USR, TC – 1 hour 0.01 § Other linear descend 0.005 § Set to 100 0 1 6 16 21 36 41 46 71 91 96 11 26 31 51 56 61 66 76 81 86 Number of iterations IM 2019 : Quality of Service Forecasting with LSTM Neural Network 20 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  21. Models Comparison MAPE performance IM 2019 : Quality of Service Forecasting with LSTM Neural Network 21 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  22. Time Complexity how long does it take IM 2019 : Quality of Service Forecasting with LSTM Neural Network 22 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  23. Further Notes what can be improved 24 Initial weights for LSTM NN 23 Percentage Error Mean Absolute Outliers present 22 21 § Use Symmetric Mean Absolute Percentage Error instead MAPE 20 LSTM Time complexity 19 § Adam or RMSProp optimizer instead SGD 18 Data preprocessing Number of concurrent users (SRV-2, 1hour granularity) IM 2019 : Quality of Service Forecasting with LSTM Neural Network 23 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  24. Summary and future work Centralized monitoring of QoS Comparison of methods for QoS timeseries forecasting § ARIMA vs. Holt-winters vs. LSTM NN § LSTM NN better for high granular data § Dataset and experiment released for public Future work § K-step prediction § Optimization of LSTM NN performance § Data preprocessing IM 2019 : Quality of Service Forecasting with LSTM Neural Network 24 Jirsik Cermak et al., Institute of Computer Science, Masaryk University, Brno

  25. Thank you for your attention https://csirt.muni.cz/ https://github.com/CSIRT-MU/QoSForecastLSTM Tomas Jirsik et al. @csirtmu jirsik@ics.muni.cz

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend