An Online Offline Framework for Anomaly Scoring and Detecting New Traffic in Network Streams
- 11 January 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Knowledge and Data Engineering
- Vol. 34 (11) , 5166-5181
Abstract
Network data constantly evolves with new network applications and protocols. There is a need for robust techniques to detect anomalous behaviour. Offline models trained with static data lose validity when new variants of traffic emerge. They require retraining but the need for ground truth and lengthy training times make this task challenging. Meanwhile, online models which detect outliers in streaming data are susceptible to the curse of dimensionality and natural variability. Today's anomalies may be tomorrow's new traffic and existing methods do not provide a way to differentiate between them. We propose a framework that makes the most of both approaches: an offline deep learning model extracts features of normal traffic and provides a bias for an online outlier detection model to select data for training. The online model retains its previously learnt knowledge and retrains itself with new data. Online thresholds are updated in a drifting manner and the Mann-Whitney-U test is incorporated to prevent inaccurate updates. We perform analysis on the scores, develop heuristics to detect new traffic and evaluate using three deep learning models and four outlier detection methods on the UNSW-NB15 and CTU-13 datasets. The framework improves upon any individual offline or online models in isolation.Keywords
This publication has 57 references indexed in Scilit:
- Real-time anomaly detection systems for Denial-of-Service attacks by weighted k-nearest-neighbor classifiersExpert Systems with Applications, 2011
- Wilcoxon-Mann-Whitney or t-test? On assumptions for hypothesis tests and multiple interpretations of decision rulesStatistics Surveys, 2010
- Kernel Methods in Computer VisionFoundations and Trends in Computer Graphics and Vision, 2009
- Incremental One-Class Learning with Bounded Computational Complexity2007
- Support Vector Data DescriptionMachine Learning, 2004
- Estimating the Support of a High-Dimensional DistributionNeural Computation, 2001
- Outlier detection for high dimensional dataACM SIGMOD Record, 2001
- Training with Noise is Equivalent to Tikhonov RegularizationNeural Computation, 1995
- On Estimation of a Probability Density Function and ModeThe Annals of Mathematical Statistics, 1962
- On a Test of Whether one of Two Random Variables is Stochastically Larger than the OtherThe Annals of Mathematical Statistics, 1947