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
Corporate Incivility and Employee Outcomes: The Mediating Role of Psychological Well-being on Absenteeism and Intrinsic Motivation
...
Original Article
Exploring the Digital Payment Ecosystem: A Systematic Review and Bibliometric Study of Mobile Banking, Wallets, and Payment Systems
...
Original Article
Financial Inclusion and Women’s Empowerment: Bridging the Gender Gap in Global Economy
...
Original Article
Targeted Social Media Ads and Impulse Buying Behaviour Among Young Consumers: A Mixed-Methods Study
Loading Image...
Volume 3, Issue 5
Citations
17 Views
11 Downloads
Share this article
© Copyright Advances in Consumer Research