Network Traffic Anomaly Detection Using Recurrent Neural Networks
Not on the map. Why?
Abstract (arXiv)
We show that a recurrent neural network is able to learn a model to represent sequences of communications between computers on a network and can be used to identify outlier network traffic. Defending computer networks is a challenging problem and is typically addressed by manually identifying known malicious actor behavior and then specifying rules to recognize such behavior in network communications. However, these rule-based approaches often generalize poorly and identify only those patterns that are already known to researchers. An alternative approach that does not rely on known malicious behavior patterns can potentially also detect previously unseen patterns. We tokenize and compress netflow into sequences of "words" that form "sentences" representative of a conversation between computers. These sentences are then used to generate a model that learns the semantic and syntactic grammar of the newly generated language. We use Long-Short-Term Memory (LSTM) cell Recurrent Neural Networks (RNN) to capture the complex relationships and nuances of this language. The language model is then used predict the communications between two IPs and the prediction error is used as a measurement of how typical or atyptical the observed communication are. By learning a model that is specific to each network, yet generalized to typical computer-to-computer traffic within and outside the network, a language model is able to identify sequences of network activity that are outliers with respect to the model. We demonstrate positive unsupervised attack identification performance (AUC 0.84) on the ISCX IDS dataset which contains seven days of network activity with normal traffic and four distinct attack patterns.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Mar 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 0; 2023: 1; 2024: 3; 2025: 2; 2026: 1.
11 papers.
- 2021Realtime Robust Malicious Traffic Detection via Frequency Domain Analysiscited by 20
- 2021Applications of Recurrent Neural Network for Biometric Authentication & Anomaly Detectioncited by 15
- 2025Mamba Adaptive Anomaly Transformer with association discrepancy for time seriescited by 5
- 2021On the Evaluation of Sequential Machine Learning for Network Intrusion Detectioncited by 3
- 2024Network Anomaly Traffic Detection via Multi-view Feature Fusioncited by 2
- 2021DoS and DDoS Mitigation Using Variational Autoencoderscited by 1
- 2026PACC: Protocol-Aware Cross-Layer Compression for Compact Network Traffic Representationcited by 1
- 2023Detecting Anomalous Network Communication Patterns Using Graph Convolutional Networkscited by 0
- 2024Attack and Defense of Deep Learning Models in the Field of Web Attack Detectioncited by 0
- 2024SwiftQueue: Optimizing Low-Latency Applications with Swift Packet Queuingcited by 0
- 2025StructuralDecompose: A Modular Framework for Robust Time Series Decomposition in Rcited by 0
- 2026PACC: Protocol-Aware Cross-Layer Compression for Compact Network Traffic Representation9 Feb 2026
- 2025StructuralDecompose: A Modular Framework for Robust Time Series Decomposition in R6 Oct 2025
- 2025Mamba Adaptive Anomaly Transformer with association discrepancy for time series11 Feb 2025
- 2024SwiftQueue: Optimizing Low-Latency Applications with Swift Packet Queuing8 Oct 2024
- 2024Network Anomaly Traffic Detection via Multi-view Feature Fusion12 Sep 2024
- 2024Attack and Defense of Deep Learning Models in the Field of Web Attack Detection18 Jun 2024
- 2023Detecting Anomalous Network Communication Patterns Using Graph Convolutional Networks30 Nov 2023
- 2021Applications of Recurrent Neural Network for Biometric Authentication & Anomaly Detection13 Sep 2021
- 2021Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis28 Jun 2021
- 2021On the Evaluation of Sequential Machine Learning for Network Intrusion Detection15 Jun 2021
- 2021DoS and DDoS Mitigation Using Variational Autoencoders14 May 2021