Isolation Forest
I built linkedin/isolation-forest at LinkedIn for distributed anomaly detection in Spark. Extended Isolation Forest support was added in March 2026.
Core Project
GitHub: linkedin/isolation-forest
Repository with training, scoring, and Spark ML usage examples.
Artifacts
Maven Central: com.linkedin:isolation-forest
Library releases for Spark/Scala applications.
Artifacts
PyPI: isolation-forest-onnx
Python converter for standard Isolation Forest models saved by the Spark library.
Major Updates
Mar 18, 2026
Extended Isolation Forest for Distributed Spark/Scala Anomaly Detection
Adding random-hyperplane splits and comparing their scores with the reference EIF implementation.
Sep 23, 2024
Announcing ONNX Support in Isolation Forest
Exporting standard Isolation Forest models for inference without Spark.
Aug 13, 2019
Open Source: Spark/Scala Isolation Forest Library
The 2019 release and its use for automation detection at LinkedIn.
External Writing
LinkedIn Engineering
Open Sourcing Isolation Forest
The original anti-abuse use case
LinkedIn Pulse
Announcing ONNX Support in LinkedIn's Open-Source Isolation Forest Library
Exporting Spark-trained models for inference without Spark.
Videos
2020
Spark+AI Summit: Preventing Abuse Using Unsupervised Learning
Detecting unusual account activity with the Spark/Scala Isolation Forest library, trained without labeled examples. Library.
2019
Fighting Abuse @Scale: Preventing Abuse Using Unsupervised Learning
The anti-abuse application of Isolation Forest, trained without labeled examples. Library.