potentialpaper

Behavior-Based Insider Threat Detection Using Machine Learning: A Comparative Study of Isolation Forest, Random Forest, and XGBoost

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We show that richer user-specific behavioral representations substantially improve insider threat detection, with XGBoost achieving the strongest performance under severe class imbalance.

Abstract. Detecting insider threats from enterprise activity data is challenging because malicious behavior can occur under legitimate credentials and often overlaps with normal user activity. We study how behavioral representation and learning strategy affect insider-threat detection under severe class imbalance. Using the CERT Insider Threat Dataset r4.2, we transform heterogeneous logon, device, file, and email activity into 330,452 user-day observations and construct 49 behavioral features capturing activity volume, temporal patterns, email behavior, computer usage, and deviations from user-specific historical behavior. We evaluate three complementary learning paradigms: Isolation Forest as an unsupervised anomaly detector, Random Forest as a supervised ensemble classifier, and XGBoost as a supervised gradient-boosting model. To reduce temporal information leakage and better reflect deployment conditions, we use chronological training, validation, and held-out test partitions, with model selection and threshold optimization performed exclusively on the validation period. On the held-out test set, XGBoost using all 49 behavioral features achieves 79.23% precision, 59.43% recall, 67.92% F1-score, 99.57% ROC-AUC, and 78.97% PR-AUC. Compared with an 11-feature representation, the 49-feature representation substantially improves XGBoost performance, increasing F1-score from 34.40% to 67.92% and PR-AUC from 24.48% to 78.97%. The comparison further reveals a trade-off between unsupervised anomaly detection and supervised classification: Isolation Forest attains 57.38% recall but only 0.97% precision, while Random Forest achieves 99.48% accuracy but only 15.57% recall. These results indicate that richer behavioral representations incorporating temporal and user-specific historical context can be more consequential than model selection alone for detecting rare insider-threat behavior. We additionally use SHAP to provide feature-level explanations for XGBoost predictions, linking detected threats to interpretable behavioral deviations.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
19 Sep 2026ICLR 2027submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 16:49 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…