Explaining Outliers using Isolation Forest and Shapley Interactions

In unsupervised machine learning, Isolation Forest (IsoForest) is a widely used algorithm for the efficient detection of outliers.Identifying the features responsible for observed anomalies is crucial for practitioners, yet the ensemble nature of IsoForest complicates interpretation and comparison.As a remedy, SHAP is a prevalent method to interpret outlier scoring models by assigning contributions to individual features based on the Shapley Value (SV).However, complex anomalies typically involve interaction of features, and it is paramount for practitioners to distinguish such complex anomalies from simple cases.In this work, we propose Shapley Interactions (SIs) to enrich explanations of outliers with feature interactions.SIs, as an extension of the SV, decompose the outlier score into contributions of individual features and interactions of features up to a specified explanation order.We modify IsoForest to compute SI using TreeSHAP-IQ, an extension of TreeSHAP for tree-based models, using the shapiq package.Using a qualitative and quantitative analysis on synthetic and real-world datasets, we demonstrate the benefit of SI and feature interactions for outlier explanations over feature contributions alone.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.14428/esann/2025.es2025-163
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explaining Outliers using Isolation Forest and Shapley Interactions

Maximilian Muschalik, Roel Visser, Eyke Hüllermeier, Fabian Fumagalli et al.
Anomaly Detection Techniques and Applications
article

Explaining Outliers using Isolation Forest and Shapley Interactions

Maximilian Muschalik, Roel Visser, Eyke Hüllermeier, Fabian Fumagalli, Barbara Hammer
article en

Abstract

In unsupervised machine learning, Isolation Forest (IsoForest) is a widely used algorithm for the efficient detection of outliers.Identifying the features responsible for observed anomalies is crucial for practitioners, yet the ensemble nature of IsoForest complicates interpretation and comparison.As a remedy, SHAP is a prevalent method to interpret outlier scoring models by assigning contributions to individual features based on the Shapley Value (SV).However, complex anomalies typically involve interaction of features, and it is paramount for practitioners to distinguish such complex anomalies from simple cases.In this work, we propose Shapley Interactions (SIs) to enrich explanations of outliers with feature interactions.SIs, as an extension of the SV, decompose the outlier score into contributions of individual features and interactions of features up to a specified explanation order.We modify IsoForest to compute SI using TreeSHAP-IQ, an extension of TreeSHAP for tree-based models, using the shapiq package.Using a qualitative and quantitative analysis on synthetic and real-world datasets, we demonstrate the benefit of SI and feature interactions for outlier explanations over feature contributions alone.

Deutsche Forschungsgemeinschaft
Openalex Percentile: Top 97%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.