Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Machine learning›Semi-supervised Isolation Forest
Machine learningMachine learning

Semi-supervised Isolation Forest

Semi-supervised Isolation Forest for Anomaly Detection · Also known as: SSIF, semi-supervised iForest, label-guided Isolation Forest, partially supervised Isolation Forest

Semi-supervised Isolation Forest extends the classic Isolation Forest anomaly detector by incorporating a small set of labeled anomaly (and possibly normal) examples alongside a large unlabeled dataset. This label guidance adjusts the model's anomaly scores so that known anomalies are separated more reliably, bridging the gap between fully unsupervised and fully supervised detection.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Semi-supervised Isolation Forest
Autoencoder Anomaly Dete…Isolation ForestLocal Outlier FactorOne-class SVMRandom ForestSemi-supervised LearningActive learning Isolatio…Online Isolation Forest

When to use it

Use Semi-supervised Isolation Forest when you have a large pool of unlabeled data, the cost of full labeling is prohibitive, but you can obtain labels for at least a small set of confirmed anomalies (and optionally some confirmed normals). It is especially valuable for rare-event detection in cybersecurity, fraud, predictive maintenance, and medical monitoring where domain experts can label a handful of known incidents. Do not use it when no labeled anomalies are available at all (prefer standard Isolation Forest or One-Class SVM), when data is high-dimensional and sparse without preprocessing, or when a large fully labeled set is already available (a fully supervised classifier will outperform it).

Strengths & limitations

Strengths
  • Achieves higher precision and recall than fully unsupervised iForest by anchoring scores to real labeled anomalies.
  • Requires only a small number of labels, making it practical when annotation is expensive.
  • Inherits iForest's sub-linear training time and low memory footprint, scaling to large datasets.
  • Handles high-dimensional tabular data without distance or density assumptions.
  • Reduces arbitrary threshold selection: the labeled subset provides a principled calibration basis.
Limitations
  • Performance degrades if the labeled anomalies are not representative of the anomaly distribution in the unlabeled data.
  • The optimal label-integration mechanism varies across implementations; no single universally dominant variant exists yet.
  • Like standard iForest, it can struggle with anomalies clustered near the data centre or with certain multimodal distributions.
  • Requires care to avoid label leakage when evaluating: the labeled set must not overlap with the test set.

Frequently asked

How many labeled anomalies do I need?

Even a handful — sometimes as few as 10–50 confirmed anomalies — can provide meaningful calibration. The key requirement is that they are representative of the anomaly types present in the unlabeled pool. More diverse label coverage across anomaly subtypes generally yields larger gains.

How is this different from standard Isolation Forest?

Standard Isolation Forest is fully unsupervised and scores anomalies solely by path length without any domain feedback. Semi-supervised Isolation Forest incorporates a small labeled set to adjust scores or tree weights, steering the model toward anomaly patterns that are actually relevant in your domain and enabling principled threshold calibration.

Can I include labeled normal examples as well as anomalies?

Yes, and it is generally beneficial. Labeled normals help the model distinguish boundary cases more sharply. Some variants treat the labeled set as a balanced reference for calibrating the scoring function, so including both classes when available improves the decision boundary.

Should I use cross-validation to evaluate the model?

Yes, but carefully. The labeled subset must be excluded from or properly stratified in the test set to avoid data leakage. A stratified train/test split on the labeled portion, combined with the full unlabeled pool for training, is the standard evaluation setup.

What if my labeled anomalies are not representative?

Label-guided adjustment can backfire if the labeled anomalies cover only a narrow slice of the true anomaly distribution. In that case, the model may miss novel anomaly types it was never shown. It is advisable to complement semi-supervised detection with unsupervised anomaly scoring and monitor for distributional drift in production.

Sources

  1. Görnitz, N., Kloft, M., Rieck, K., & Brefeld, U. (2013). Toward supervised anomaly detection. Journal of Artificial Intelligence Research, 46, 235–262. link ↗
  2. Isolation Forest. Wikipedia. link ↗

How to cite this page

ScholarGate. (2026, June 3). Semi-supervised Isolation Forest for Anomaly Detection. ScholarGate. https://scholargate.app/en/machine-learning/semi-supervised-isolation-forest

Related methods

Autoencoder Anomaly DetectionIsolation ForestLocal Outlier FactorOne-class SVMRandom ForestSemi-supervised Learning

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Autoencoder Anomaly DetectionMachine learning↔ compare
  • Isolation ForestMachine learning↔ compare
  • Local Outlier FactorMachine learning↔ compare
  • One-class SVMMachine learning↔ compare
  • Random ForestMachine learning↔ compare
  • Semi-supervised LearningMachine learning↔ compare
Compare side by side →

Referenced by

Active learning Isolation forestOnline Isolation Forest

Similar methods

Self-supervised Isolation ForestActive learning Isolation forestSemi-supervised One-class SVMRobust Isolation forestSemi-supervised Autoencoder Anomaly DetectionEnsemble Isolation ForestSemi-supervised Decision TreeExplainable Isolation Forest

Related reference concepts

Supervised LearningEnsemble MethodsUnsupervised LearningSelf-Supervised and Representation LearningCross-ValidationCross-Validation and Resampling

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Semi-supervised Isolation Forest (Semi-supervised Isolation Forest for Anomaly Detection). Retrieved 2026-07-21 from https://scholargate.app/en/machine-learning/semi-supervised-isolation-forest · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Extended from Liu, F.T., Ting, K.M., and Zhou, Z-H. (iForest, 2008); semi-supervised variants developed by multiple authors ca. 2013–2020
Year
2013–2020
Type
Ensemble anomaly detection (semi-supervised extension)
DataType
Tabular, mixed; small set of labeled anomalies + large unlabeled pool
Subfamily
Machine learning
Related methods
Autoencoder Anomaly DetectionIsolation ForestLocal Outlier FactorOne-class SVMRandom ForestSemi-supervised Learning
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account