Advances in Consumer Research
Issue 5 : 535-544
Original Article
A Lightweight PCA and Isolation Forest Based Anomaly Detection Approach Evaluated on the NSL KDD Dataset
1
Department of Computer Engineering, University of Colorado Denver
Abstract

 

This study presents a lightweight unsupervised anomaly detection approach for cloud network traffic using Principal Component Analysis and Isolation Forest. The objective is to examine the effect of dimensionality reduction on anomaly detection performance in high-dimensional network traffic. The proposed method applies PCA to reduce 38 numerical features to 20 principal components, retaining 91.97 percent variance after standardization. Isolation Forest is then trained using a contamination value of 0.25 derived from the dataset distribution. A Random Forest with SMOTE baseline is used for comparison. The model is evaluated on the NSL KDD benchmark dataset and achieves 72.87 percent accuracy and 86.75 percent attack precision with an average inference time of 12.4 milliseconds per instance. Comparative analysis demonstrates that the proposed framework outperforms a supervised Random Forest with SMOTE baseline in terms of F1-score while maintaining real-time performance. The results demonstrate that the suggested methodology offers an effective trade-off between the performance of anomaly detection and computational efficiency, and can be possible in the context of lightweight cloud traffic monitoring in controlled settings...

Keywords
Recommended Articles
Original Article
Managing Convergence and Divergence in Global HRM Practices: A Strategic International Human Resource Management Framework for Enhancing Multinational Competitiveness
...
Original Article
Reliable Diabetes Risk Prediction on Small Clinical Datasets: Leakage-Free Learning and Multi-View Explainability
...
Original Article
Constructing 21st Century Academic Portfolios to Transit the Cliff
Original Article
Exploring the Dimensions of Multisensory Marketing: A Comprehensive Conceptual Analysis
Loading Image...
Volume 3, Issue 5
Citations
806 Views
563 Downloads
Share this article
© Copyright Advances in Consumer Research