Lightweight Transformer-Based Host IDS with Change Detection for Zero-Day Attacks on ADFA-LD
Preprint
- 25 March 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
Host-based intrusion detection systems (HIDS) must detect zero-day attacks with high accuracy and low computational cost to be deployable in real environments. This work proposes a lightweight Transformer-based architecture combined with a change detection technique to model normal host behavior from system-call sequences and to flag deviations as zero-day attacks. A further contribution is the use of two model-complexity metrics that are standard in deep learning but rarely explored in HIDS: number of parameters and floating-point operations (FLOPs). On the ADFA-LD dataset, the proposed Transformer-based architecture achieves an Area Under the ROC Curve (AUC) of 0.990, while a competitive LSTM-based baseline reaches an AUC of 0.841 under the same experimental conditions. In terms of computational complexity, the Transformer-based model uses approximately 255k parameters and 1.08M FLOPs, whereas the LSTM-based model uses 167M parameters and 738.7M FLOPs, making the proposed solution several orders of magnitude less computationally intensive.Keywords
This publication has 15 references indexed in Scilit:
- Transformers and large language models for efficient intrusion detection systems: A comprehensive surveyInformation Fusion, 2025
- A Systematic Literature Review on Host-Based Intrusion Detection SystemsIEEE Access, 2024
- Deep Learning Cost-Effective Evaluation Metrics2023
- NLP methods in host-based intrusion detection systems: A systematic review and future directionsJournal of Network and Computer Applications, 2023
- Anomaly Detection Dataset for Industrial Control SystemsIEEE Access, 2023
- Syscall-BSEM: Behavioral semantics enhancement method of system call sequence for high accurate and robust host intrusion detectionFuture Generation Computer Systems, 2021
- Intrusion Prediction With System-Call Sequence-to-Sequence ModelIEEE Access, 2018
- A zero-sum game: the zero-day market in 2018Journal of Cyber Policy, 2018
- A sense of self for Unix processes2002
- Implementation of IEEE single precision floating point addition and multiplication on FPGAs1996