Enhancing Isolation Forest with Threshold-based Filtering and LSTM for Attendance Anomaly Detection

ZULLVAN SUGIANTORO, REGINA LIONNIE

Abstract


The research discusses the simulation of a GPS-based attendance coordinate point authenticity verification system. Verification is carried out using the Isolation Forest model to detect outliers based on distance anomalies between entry and exit attendances and total path anomalies combined with Threshold-based Filtering to determine the normal distance threshold, and LSTM to analyze temporal patterns based on the total recorded path. The test results show that the combination of Threshold-based Filtering, Isolation Forest, and Long Short-Term Memory (LSTM) is able to detect invalid coordinate points accurately, from this combination obtained accuracy results of 99.74%, precision 99,49%, recall 100% and F1-score 99,74%. These results prove that the performance of the model combination (hybrid) is superior to using each component model separately.

Keywords


Location-Based Attendance; GPS Spoofing; Threshold-Based Filtering; Isolation Forest; LSTM

Full Text:

PDF

References


Abid, B. (2025). A Scalable Hybrid Approach to Detecting Fraud with Machine Learning. 1297–1301.

Aggarwal, S. (2023). Munich Personal RePEc Archive LSTM based Anomaly Detection in Time Series for United States exports and imports. (117149).

Almaghrabi, S., Rana, M., Hamilton, M., & Rahaman, M. S. (2024). Multidimensional dynamic attention for multivariate time series forecasting. Applied Soft Computing, 167(PB), 112350. https://doi.org/10.1016/j.asoc.2024.112350

Anam, M. K., Defit, S., Haviluddin, Efrizoni, L., & Firdaus, M. B. (2024). Early Stopping on CNN-LSTM Development to Improve Classification Performance. Journal of Applied Data Sciences, 5(3), 1175–1188. https://doi.org/10.47738/jads.v5i3.312

Awe, O. O., (2020). Computational Strategies for Handling Imbalanced Data in Machine Learning.

Bhatt, C., Rawat, A., Chauhan, R., Bhatt, P., Singh, T., & Sharma, S. (2023). GPS Based Automated Attendance System. Proceedings of IEEE 2023 5th International Conference on Advances in Electronics, Computers and Communications, ICAECC 2023. https://doi.org/10.1109/ICAECC59324.2023.10560200

Chang, Y.-H., Hu, C.-L., Hwang, Y.-L., Ou, C.-W., & Hsu, F.-H. (n.d.). Fake GPS Defender: A Server-side Solution to Detect Fake GPS.

Chliah, H., Battou, A., hadj, M. A. el, & Laoufi, A. (2023). Hybrid Machine Learning-Based Approach for Anomaly Detection using Apache Spark. International Journal of Advanced Computer Science and Applications, 14(4), 870–878. https://doi.org/10.14569/IJACSA.2023.0140496

Darban, Z., Webb, G. I., Pan, S., Aggarwal, C., & Salehi, M. (2024). Deep Learning for Time Series Anomaly Detection: A Survey. ACM Computing Surveys, 57(1). https://doi.org/10.1145/3691338

Geng, G., Wang, P., Sun, L., & Wen, H. (2025). Enhanced Isolation Forest-Based Algorithm for Unsupervised Anomaly Detection in Lidar SLAM Localization. World Electric Vehicle Journal, 16(4). https://doi.org/10.3390/wevj16040209

Hundman, K., Constantinou, V., Laporte, C., Colwell, I., & Soderstrom, T. (2018). Detecting spacecraft anomalies using LSTMs and nonparametric dynamic thresholding. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 387–395. https://doi.org/10.1145/3219819.3219845

Jain, A. K., & Noida, G. (2025). Machine learning model management in production environments. 14(1), 149–162.

Jiang, X., Pang, Y., Li, X., Pan, J., & Xie, Y. (2018). Deep neural networks with Elastic Rectified Linear Units for object recognition. Neurocomputing, 275, 1132–1139. https://doi.org/10.1016/j.neucom.2017.09.056

Mahkamah Agung Republik Indonesia. (2022). Keputusan Ketua Mahkamah Agung Republik Indonesia Nomor 368/KMA/SK/XII/2022 tentang pedoman presensi online untuk hakim dan aparatur sipil negara pada Mahkamah Agung dan badan peradilan yang berada di bawahnya melalui aplikasi Sistem Informasi Kepegawaian (Keputusan No. 368/KMA/SK/XII/2022).https://jdih.mahkamahagung.go.id/legal-product/sk-kma-nomor-368kmaskxii2022/detail

Kirichenko, L., Koval, Y., Yakovlev, S., & Chumachenko, D. (2024). Anomaly Detection in Fractal Time Series with LSTM Autoencoders. Mathematics, 12(19). https://doi.org/10.3390/math12193079

Lok, L. K., Hameed, V. A., & Rana, M. E. (2022). Hybrid machine learning approach for anomaly detection. Indonesian Journal of Electrical Engineering and Computer Science, 27(2), 1016–1024. https://doi.org/10.11591/ijeecs.v27.i2.pp1016-1024

Maleki, Sepehr, Maleki, Sasan, & Jennings, N. R. (2021). Unsupervised anomaly detection with LSTM autoencoders using statistical data-filtering. Applied Soft Computing, 108, 107443. https://doi.org/10.1016/j.asoc.2021.107443

Malhotra, P., Ramakrishnan, A., Anand, G., Vig, L., Agarwal, P., & Shroff, G. (2016). LSTM-based Encoder-Decoder for Multi-sensor Anomaly Detection. http://arxiv.org/abs/1607.00148

Mar’i, F., & Pangestu, G. (2021). Classification of Fake GPS in GOJEK Application using Logistic Regression. ACM International Conference Proceeding Series, 94–99. https://doi.org/10.1145/3479645.3479657

NGA. (2014). National Geospatial-Intelligence Agency ( NGA ) Standardization Document Department Of Defense Its Definition and Relationships with Local Geodetic Systems. 207. ftp://ftp.nga.mil/pub2/gandg/website/wgs84/NGA.STND.0036_1.0.0_WGS84.pdf%0Ahttps://www.mendeley.com/catalogue/ed30f6d8-7dde-3ae6-8faa-4aa3f2b50cde/?utm_source=desktop&utm_medium=1.19.8&utm_campaign=open_catalog&userDocumentId=%7B051fcfb8-579d-49c4-beaf-b8

Nigam, A., & Srivastava, S. (2023). Hybrid deep learning models for traffic stream variables prediction during rainfall. Multimodal Transportation, 2(1), 100052. https://doi.org/10.1016/j.multra.2022.100052

Pang, G., Shen, C., Cao, L., & Hengel, A. Van Den. (2022). Deep Learning for Anomaly Detection: A Review. ACM Computing Surveys, 54(2), 1–36. https://doi.org/10.1145/3439950

Priyanto, C. Y., Hendry, & Purnomo, H. D. (2021). Combination of Isolation Forest and LSTM Autoencoder for Anomaly Detection. 2021 2nd International Conference on Innovative and Creative Information Technology, ICITech 2021, (pp. 35–38). https://doi.org/10.1109/ICITech50181.2021.9590143




DOI: https://doi.org/10.26760/elkomika.v14i2.135

Refbacks

  • There are currently no refbacks.


 

_______________________________________________________________________________________________________________________

ISSN (print) : 2338-8323 | ISSN (electronic) : 2459-9638

Publisher:

Department of Electrical Engineering Institut Teknologi Nasional Bandung, Indonesia

Address: 20th Building  Institut Teknologi Nasional Bandung PHH. Mustofa Street No. 23 Bandung 40124, Indonesia

Contact: +627272215 (ext. 206)

Email: jte.itenas@itenas.ac.id________________________________________________________________________________________________________________________


Free counters!

Web

Analytics Made Easy - StatCounter

Statistic Journal

Jurnal ini terlisensi oleh Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License