Skip to main content
QUICK REVIEW

[Paper Review] One-class Collective Anomaly Detection based on Long Short-Term Memory Recurrent Neural Networks

Nga Nguyen Thi, Van Loi Cao|arXiv (Cornell University)|Jan 31, 2018
Network Security and Intrusion DetectionComputer Science11 references6 citations
TL;DR

This paper proposes a one-class collective anomaly detection model using Long Short-Term Memory (LSTM) recurrent neural networks trained solely on normal time-series network data. By analyzing prediction errors over multiple consecutive time steps, the method detects collective anomalies when these errors exceed a threshold, achieving effective detection on the KDD 1999 time-series dataset.

ABSTRACT

Intrusion detection for computer network systems has been becoming one of the most critical tasks for network administrators today. It has an important role for organizations, governments and our society due to the valuable resources hosted on computer networks. Traditional misuse detection strategies are unable to detect new and unknown intrusion types. In contrast, anomaly detection in network security aims to distinguish between illegal or malicious events and normal behavior of network systems. Anomaly detection can be considered as a classification problem where it builds models of normal network behavior, of which it uses to detect new patterns that significantly deviate from the model. Most of the current approaches on anomaly detection is based on the learning of normal behavior and anomalous actions. They do not include memory that is they do not take into account previous events classify new ones. In this paper, we propose a one class collective anomaly detection model based on neural network learning. Normally a Long Short Term Memory Recurrent Neural Network (LSTM RNN) is trained only on normal data, and it is capable of predicting several time steps ahead of an input. In our approach, a LSTM RNN is trained on normal time series data before performing a prediction for each time step. Instead of considering each time-step separately, the observation of prediction errors from a certain number of time-steps is now proposed as a new idea for detecting collective anomalies. The prediction errors of a certain number of the latest time-steps above a threshold will indicate a collective anomaly. The model is evaluated on a time series version of the KDD 1999 dataset. The experiments demonstrate that the proposed model is capable to detect collective anomaly efficiently

Motivation & Objective

  • To address the limitation of traditional anomaly detection methods that fail to model temporal dependencies in network traffic.
  • To develop a one-class learning approach that detects collective anomalies without requiring labeled anomaly data.
  • To leverage LSTM RNNs to model sequential dependencies in normal network behavior for improved detection of complex, multi-step anomalies.
  • To identify anomalies not as isolated events but as patterns of deviation across multiple time steps.

Proposed method

  • A Long Short-Term Memory (LSTM) recurrent neural network is trained exclusively on normal network time-series data to learn temporal patterns.
  • The model predicts future time steps based on sequential input, generating prediction errors for each time step.
  • Prediction errors from a sliding window of recent time steps are aggregated to form a collective anomaly score.
  • A collective anomaly is flagged when the accumulated prediction error across multiple steps exceeds a predefined threshold.
  • The method focuses on detecting anomalies that emerge from coordinated deviations over time, not isolated outliers.
  • The model is evaluated using a time-series transformation of the KDD 1999 intrusion detection dataset.

Experimental results

Research questions

  • RQ1Can an LSTM-based one-class model effectively detect collective anomalies in network traffic by leveraging temporal dependencies?
  • RQ2How does aggregating prediction errors over multiple time steps improve detection of complex, multi-step anomalies compared to single-step anomaly detection?
  • RQ3To what extent can a model trained only on normal data detect previously unseen collective attack patterns?
  • RQ4What thresholding strategy on prediction errors yields optimal detection performance for collective anomalies?

Key findings

  • The proposed model successfully detects collective anomalies by analyzing accumulated prediction errors over a sequence of time steps.
  • The method outperforms traditional one-step anomaly detection by capturing complex, temporally extended attack patterns.
  • The model achieves effective detection on the time-series version of the KDD 1999 dataset, demonstrating robustness in real-world-like conditions.
  • The approach is effective even without labeled anomaly examples, relying solely on normal training data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.