Skip to main content
QUICK REVIEW

[Paper Review] Hybrid Isolation Forest - Application to Intrusion Detection

Pierre-François Marteau, Saeid Soheily-Khah|arXiv (Cornell University)|May 10, 2017
Network Security and Intrusion DetectionComputer Science22 references16 citations
TL;DR

This paper proposes Hybrid Isolation Forest (HIF), a semi-supervised and supervised extension of Isolation Forest that overcomes its 'blind spot' limitation—where unoccupied data regions are falsely classified as normal—by integrating centroid-based distance scoring and labeled anomaly injection. HIF improves anomaly detection accuracy, achieving an AUC of 0.99 on the HTTPWeb layer with only 1% labeled anomalies, outperforming both IF and SVM baselines while maintaining computational efficiency.

ABSTRACT

From the identification of a drawback in the Isolation Forest (IF) algorithm that limits its use in the scope of anomaly detection, we propose two extensions that allow to firstly overcome the previously mention limitation and secondly to provide it with some supervised learning capability. The resulting Hybrid Isolation Forest (HIF) that we propose is first evaluated on a synthetic dataset to analyze the effect of the new meta-parameters that are introduced and verify that the addressed limitation of the IF algorithm is effectively overcame. We hen compare the two algorithms on the ISCX benchmark dataset, in the context of a network intrusion detection application. Our experiments show that HIF outperforms IF, but also challenges the 1-class and 2-classes SVM baselines with computational efficiency.

Motivation & Objective

  • To identify and resolve the 'blind spot' problem in Isolation Forest, where empty data regions are incorrectly treated as normal.
  • To extend Isolation Forest with semi-supervised capabilities to detect anomalies in unoccupied regions of the feature space.
  • To integrate supervised learning by incorporating known anomalies into the forest structure to improve detection performance.
  • To evaluate the hybrid approach on real-world network intrusion detection using the ISCX benchmark dataset.
  • To demonstrate that HIF achieves superior detection performance with minimal labeled anomalies, outperforming 1-class and 2-class SVM baselines.

Proposed method

  • Introduce a centroid-based distance score to detect anomalies in unoccupied regions, correcting the blind spot issue in standard Isolation Forest.
  • Augment the isolation forest with a supervised component that computes a distance-based anomaly score from known labeled anomalies.
  • Combine three anomaly scores—algorithmic complexity, centroid distance, and supervised distance—via a linear model to form the final HIF score.
  • Train the HIF on a mixture of unlabeled normal data and a small number of labeled anomalies to enable supervised learning.
  • Use the HIF score distribution to guide active learning by identifying ambiguous data points for expert labeling.
  • Evaluate performance using AUC and ROC curves on synthetic and ISCX benchmark datasets across nine application layers.

Experimental results

Research questions

  • RQ1Can the blind spot problem in Isolation Forest be effectively mitigated using centroid-based distance scoring?
  • RQ2How does the integration of labeled anomalies improve the detection performance of Isolation Forest in intrusion detection?
  • RQ3To what extent does the HIF algorithm outperform standard Isolation Forest and SVM baselines on real network traffic data?
  • RQ4What is the minimal number of labeled anomalies required to achieve significant performance gains in HIF?
  • RQ5Can HIF score distributions support an interactive, active learning procedure for identifying emerging anomaly patterns?

Key findings

  • HIF eliminates the blind spot issue observed in standard Isolation Forest, as confirmed by synthetic dataset experiments showing no false normality in unoccupied regions.
  • On the ISCX HTTPWeb dataset, HIF2 achieves an AUC of 0.99, significantly outperforming IF (AUC 0.86) and both 1-class and 2-class SVM baselines.
  • Incorporating as few as 2 labeled anomalies into HIF leads to a substantial improvement in detection accuracy, demonstrating strong supervised learning capability with minimal data.
  • The HIF score distribution reveals residual anomaly peaks overlapping normal data, indicating potential for active learning by targeting these ambiguous regions for expert labeling.
  • HIF1 performs comparably or better than 1-class SVM, and HIF2 performs comparably or better than 2-class SVM across all nine application layers, except for HTTPImageTransfer.
  • The combination of unsupervised isolation, centroid distance, and supervised anomaly scoring in HIF results in a low-complexity, high-performance anomaly detection system suitable for real-world intrusion detection.

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.