ANOMALY DETECTION IN MNIST DATASET USING ONE-CLASS SVM

Anomaly detection has become an essential aspect of modern machine learning, particularly in scenarios where labeled data is scarce or unavailable. This study presents a comparative analysis between two widely used unsupervised algorithms: One-Class Support Vector Machine (OCSVM) and Isolation Forest. Using the MNIST dataset as a benchmark, the evaluation focuses on score distribution, training time, precision measured by ROC-AUC, and sensitivity to data variations. The results demonstrate distinct trade-offs between the two approaches. OCSVM produces a centralized score distribution (0.4–0.5) and achieves superior classification performance with a ROC-AUC of 0.92, which is statistically significant (p < 0.05 by DeLong’s test). This indicates that OCSVM is highly effective in identifying structural deviations, making it suitable for applications requiring strict data validation and reliability, such as fraud detection and critical quality control. However, this higher accuracy comes at the cost of computational efficiency, as OCSVM requires approximately 120 seconds for training. In contrast, Isolation Forest yields a more spread score distribution (0.3–0.7) and slightly lower precision (ROC-AUC 0.85), but it significantly reduces training time to just 60 seconds. Moreover, its high sensitivity to minor variations highlights its advantage in real-time anomaly detection and large-scale datasets where speed and adaptability are crucial. Overall, the findings emphasize that OCSVM excels in precision-driven applications, while Isolation Forest is more advantageous for scenarios that demand scalability and computational efficiency. These insights provide a practical guideline for selecting appropriate anomaly detection methods depending on application requirements.

Authors

Institutions

Publication Details

Journal
Jurnal Kecerdasan Buatan dan Teknologi Informasi.
Published
2025-09-20
DOI
https://doi.org/10.69916/jkbti.v4i3.324
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ANOMALY DETECTION IN MNIST DATASET USING ONE-CLASS SVM

Barokah Saadah
Jurnal Kecerdasan Buatan dan Teknologi Informasi.
Anomaly Detection Techniques and Applications
article

ANOMALY DETECTION IN MNIST DATASET USING ONE-CLASS SVM

Barokah Saadah
article en

Abstract

Anomaly detection has become an essential aspect of modern machine learning, particularly in scenarios where labeled data is scarce or unavailable. This study presents a comparative analysis between two widely used unsupervised algorithms: One-Class Support Vector Machine (OCSVM) and Isolation Forest. Using the MNIST dataset as a benchmark, the evaluation focuses on score distribution, training time, precision measured by ROC-AUC, and sensitivity to data variations. The results demonstrate distinct trade-offs between the two approaches. OCSVM produces a centralized score distribution (0.4–0.5) and achieves superior classification performance with a ROC-AUC of 0.92, which is statistically significant (p < 0.05 by DeLong’s test). This indicates that OCSVM is highly effective in identifying structural deviations, making it suitable for applications requiring strict data validation and reliability, such as fraud detection and critical quality control. However, this higher accuracy comes at the cost of computational efficiency, as OCSVM requires approximately 120 seconds for training. In contrast, Isolation Forest yields a more spread score distribution (0.3–0.7) and slightly lower precision (ROC-AUC 0.85), but it significantly reduces training time to just 60 seconds. Moreover, its high sensitivity to minor variations highlights its advantage in real-time anomaly detection and large-scale datasets where speed and adaptability are crucial. Overall, the findings emphasize that OCSVM excels in precision-driven applications, while Isolation Forest is more advantageous for scenarios that demand scalability and computational efficiency. These insights provide a practical guideline for selecting appropriate anomaly detection methods depending on application requirements.

Jurnal Kecerdasan Buatan dan Teknologi Informasi.Vol. 4(3)
Universitas Dharmas Indonesia (ID)
Openalex Percentile: Top 86%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.