mlsanityData to 14 Oct 2026

User-Based Sequential Modeling with Transformer Encoders for Insider Threat Detection

arXiv 2506.23446 ↗First posted 30 Jun 2025cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Insider threat detection presents unique challenges due to the authorized status of malicious actors and the subtlety of anomalous behaviors. Existing machine learning methods often treat user activity as isolated events, thereby failing to leverage sequential dependencies in user behavior. In this study, we propose a User-Based Sequencing (UBS) methodology, transforming the CERT insider threat dataset into structured temporal sequences suitable for deep sequential modeling. We deploy a Transformer Encoder architecture to model benign user activity and employ its reconstruction errors as anomaly scores. These scores are subsequently evaluated using three unsupervised outlier detection algorithms: One-Class SVM (OCSVM), Local Outlier Factor (LOF), and Isolation Forest (iForest). Across four rigorously designed test sets, including combinations of multiple CERT dataset releases, our UBS-Transformer pipeline consistently achieves state-of-the-art performance - notably 96.61% accuracy, 99.43% recall, 96.38% F1-score, 95.00% AUROC, and exceptionally low false negative (0.0057) and false positive (0.0571) rates. Comparative analyses demonstrate that our approach substantially outperforms tabular and conventional autoencoder baselines, underscoring the efficacy of sequential user modeling and advanced anomaly detection in the insider threat domain.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 9 of its 32 references that are in the map. First posted on arXiv 30 Jun 2025.

Builds on

9 of 32 references.

References · 9

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  4. 2018Fundamentals of Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) Networkcited by 420
  5. 2022AnoViT: Unsupervised Anomaly Detection and Localization with Vision Transformer-based Encoder-Decodercited by 29
  6. 2020Deep Learning for Insider Threat Detection: Review, Challenges and Opportunitiescited by 18
  7. 2024LAN: Learning Adaptive Neighbors for Real-Time Insider Threat Detectioncited by 8
  8. 2021Deep Transfer Learning & Beyond: Transformer Language Models in Information Systems Researchcited by 7
  9. 2021TransLog: A Unified Transformer-based Framework for Log Anomaly Detectioncited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.