LIGHT-HIDS: A Lightweight and Effective Machine Learning-Based Framework for Robust Host Intrusion Detection

Onat Güngör, Ishaan Kale, Jiasheng Zhou, Tajana RosingarXiv 2025 · DOI

Introduction

As edge computing expands, so does the "attack surface" of digital infrastructure. Host Intrusion Detection Systems (HIDS) are critical for monitoring system-level activity—specifically system call traces—to spot malicious behavior. While modern deep learning models like LSTMs or Transformers are excellent at identifying complex patterns, they are often too computationally expensive for edge hardware like IoT gateways or embedded controllers. High inference latency is a significant security risk; if a detection system takes too long to process a sequence, an attacker might successfully exploit a vulnerability before an alarm is triggered. LIGHT-HIDS addresses this "efficiency-accuracy" trade-off, providing a solution where existing HIDS are either too slow for the edge or too simple to catch sophisticated threats.

Methodology

The proposed LIGHT-HIDS framework utilizes a five-stage hybrid pipeline designed to balance representational power with execution speed.

The five-stage LIGHT-HIDS pipeline, from raw system call traces to final classification.
  1. Data Preprocessing: Raw system call traces are stripped of metadata and tokenized into integer IDs.
  2. Feature Extractor Training: A Convolutional Neural Network (Conv1D layers followed by max pooling) is trained via Deep Support Vector Data Description (DeepSVDD). This technique maps "normal" system behavior into a compact hypersphere in latent space, effectively pushing anomalous data outside this boundary.
  3. Model Compression: To ensure edge compatibility, the feature extractor is optimized using TensorFlow Lite (TFLite) and quantization, significantly shrinking the model size.
  4. Novelty Detector Training: The compact embeddings from the neural network are fed into an Isolation Forest, a classical and highly efficient unsupervised algorithm that assigns anomaly scores.
  5. Thresholding & Classification: A fixed threshold, based on the Gaussian distribution of normal scores, is used to classify sequences as benign or malicious.

This "Deep Feature + Classical Detector" approach allows the system to benefit from the representational power of deep learning while maintaining the fast execution of traditional machine learning.

Experimental Setup and Datasets

The framework was evaluated using two subsets of the Leipzig Intrusion Detection Data Set (LID-DS), a modern benchmark for system call-based HIDS:

  • Brute-force attacks: Representing systematic attempts to guess credentials (approx. 22% of edge gateway attacks).
  • SQL injection attacks: Representing malicious input designed to manipulate database operations (approx. 26% of edge threats).

Models were trained exclusively on "normal" data to learn typical system behavior and then tested on a mix of normal and malicious samples.

Key Insights

  • Hybridization Strategy: The core innovation is the realization that a massive end-to-end deep learning model is not required for classification. A small, quantized CNN can distill raw data into meaningful features, while a simple Isolation Forest can efficiently score those features.
  • DeepSVDD for Security: Applying DeepSVDD to HIDS treats intrusion detection as a "one-class" problem. By minimizing the volume of the hypersphere containing normal data, the model becomes highly sensitive to even slight deviations in program execution.
  • Edge-First Design: Unlike many approaches that treat lightweight optimization as an afterthought, LIGHT-HIDS integrates TFLite and quantization directly into the workflow, enabling high-performance security on hardware as modest as an NVIDIA Jetson Orin NX.

Results and Discussion

LIGHT-HIDS achieved superior accuracy, reaching the highest F1 scores across both datasets and outperforming specialized HIDS baselines like LSTMs and WaveNet. It showed an average F1 improvement of 16.24% on brute-force data and 14.11% on SQL injection data.

Inference time and speedup comparison across different hardware platforms.

In terms of efficiency, the model demonstrated massive speedups. On an Intel Xeon CPU, LIGHT-HIDS was 75× faster than the CNNRNN baseline for SQL injection tasks. On the NVIDIA Jetson Orin NX, it maintained its lead, providing nearly 10× faster inference than OCSVM and WaveNet while maintaining higher accuracy.

Conclusion

LIGHT-HIDS demonstrates that robust host intrusion detection is possible on resource-constrained edge devices without sacrificing accuracy. Future work will focus on expanding the evaluation to a wider variety of "zero-day" exploits and testing the framework on even more constrained microcontrollers (MCUs) to further validate its lightweight claims.

Summary updated

BibTeX
@misc{gungor2025light,
  author = {Onat Güngör and Ishaan Kale and Jiasheng Zhou and Tajana Rosing},
  title = {{LIGHT-HIDS: A Lightweight and Effective Machine Learning-Based Framework for Robust Host Intrusion Detection}},
  year = {2025},
  eprint = {2509.13464},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.13464},
}
Figure