kNN-Ae: A Novel Concept for Increasing The Performance of Anomaly Detection on PM<sub>2.5</sub> Faulty Sensors with Autoencoder

Failure to measure PM<inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2.5</inf> gas due to sensor offset failure can result in inaccurate information for users. However, faulty sensor detection using conventional machine learning techniques still has difficulty separating normal data from anomaly data. The purpose of this study is to apply the hybrid k-nearest neighbor-autoencoder (kNN-Ae) method to improve the performance of PM<inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2.5</inf> faulty sensor anomaly detection. The first step in this study is to obtain a secondary dataset on faulty sensors from the Kaggle open repository. The next step is to benchmark the kNN method with other methods, support vector machine (SVM), naïve Bayes, decision tree, and logistic regression. In the next step, we use an autoencoder to enhance the fault sensor dataset. We then compare the four initial machine learning methods with the improved dataset. We use the feature importance metric from the extra trees classifier to measure the performance of the enhanced dataset from the autoencoder. The test results using MDI show that the complexity of the autoencoder model affects the feature importance of the reconstruction error, where the less complex model has a significantly higher feature importance compared to the more complicated model. Then, the reconstruction error generated by the autoencoder is shown to improve kNN’s performance in fault sensor detection, increasing its accuracy from 0.71 to 0.92. The performance of the hybrid model is also better than other detection models, namely naïve Bayes, SVM, decision tree, and logistic regression.

Authors

Institutions

Publication Details

Published
2025-07-30
DOI
https://doi.org/10.1109/icoict66265.2025.11193070
Citations
1
Primary Topic
Advanced Chemical Sensor Technologies
Type
article
Field-Weighted Citation Impact
0.67
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

kNN-Ae: A Novel Concept for Increasing The Performance of Anomaly Detection on PM2.5 Faulty Sensors with Autoencoder

Aji Gautama Putrada, Ryan Lingga Wicaksono, M. Alfath Kaffahmi
1 citations
Advanced Chemical Sensor Technologies
0.67
article

kNN-Ae: A Novel Concept for Increasing The Performance of Anomaly Detection on PM2.5 Faulty Sensors with Autoencoder

Aji Gautama Putrada, Ryan Lingga Wicaksono, M. Alfath Kaffahmi
article en
1 citations

Abstract

Failure to measure PM<inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2.5</inf> gas due to sensor offset failure can result in inaccurate information for users. However, faulty sensor detection using conventional machine learning techniques still has difficulty separating normal data from anomaly data. The purpose of this study is to apply the hybrid k-nearest neighbor-autoencoder (kNN-Ae) method to improve the performance of PM<inf xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2.5</inf> faulty sensor anomaly detection. The first step in this study is to obtain a secondary dataset on faulty sensors from the Kaggle open repository. The next step is to benchmark the kNN method with other methods, support vector machine (SVM), naïve Bayes, decision tree, and logistic regression. In the next step, we use an autoencoder to enhance the fault sensor dataset. We then compare the four initial machine learning methods with the improved dataset. We use the feature importance metric from the extra trees classifier to measure the performance of the enhanced dataset from the autoencoder. The test results using MDI show that the complexity of the autoencoder model affects the feature importance of the reconstruction error, where the less complex model has a significantly higher feature importance compared to the more complicated model. Then, the reconstruction error generated by the autoencoder is shown to improve kNN’s performance in fault sensor detection, increasing its accuracy from 0.71 to 0.92. The performance of the hybrid model is also better than other detection models, namely naïve Bayes, SVM, decision tree, and logistic regression.

Telkom University (ID)
Openalex Percentile: Top 26%
Advanced Chemical Sensor Technologies
0.67
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.