Unsupervised anomaly detection in pressure time series: a synthetic proof-of-concept benchmark in the GasTrack context

Authors

  • João Cláudio Nunes Carvalho Instituto Federal do Ceará – Campus Maracanaú https://orcid.org/0000-0001-8619-0869 (unauthenticated)
  • Daniel Alencar Barros Tavares Instituto Federal do Ceará – Campus Maracanaú
  • Ronaldo Tadeu Pontes Milfont Instituto Federal do Ceará – Campus Canindé

DOI:

https://doi.org/10.66104/j44hww62

Keywords:

Anomaly detection, Time series, Internet of Things, Pressure sensors, Machine learning

Abstract

This paper presents a synthetic proof-of-concept benchmark for unsupervised anomaly detection in pressure time series in the GasTrack context. The study does not aim to diagnose leaks: a pressure anomaly is evidence of unusual behavior, which may arise from leakage, consumption changes, valve faults or sensor defects. A robust statistical rule, Isolation Forest, Local Outlier Factor (LOF) and One-Class SVM were compared on windows of 24 readings spaced by 5 min (temporal span of 115 min). The protocol separates 5,000 normal training windows, 2,000 independent calibration windows for the 99th-percentile threshold, and a test set with 2,500 normal and 2,500 anomalous windows. Eleven features describe trend, dispersion, abruptness and flatness; no duplicated variable is used. Over 20 seeds, LOF achieved an F1 of 0.9660 ± 0.0042, close to the robust rule (0.9434 ± 0.0095). The F1 gap was 0.0226 (95% CI 0.0189–0.0263). LOF’s advantage on stuck-sensor windows depends on the representation, especially the flatness feature. At 1% prevalence, the expected positive predictive value of LOF falls to 0.485, so balanced-test F1 must not be read as production performance. Python 3.12.10 and scikit-learn 1.7.2 were used; generator and evaluation code is provided as supplementary material.
Views: 374Downloads: 117

Downloads

Download data is not yet available.

Author Biography

  • João Cláudio Nunes Carvalho, Instituto Federal do Ceará – Campus Maracanaú

    Graduado em Licenciatura em Física pela Universidade Estadual do Ceará (UECE), em 2005, concluiu o mestrado em Física pela Universidade Federal do Ceará (UFC) em 2007 e o doutorado em Física pela UFC em 2011. Durante o doutorado, realizou período de pesquisa na Universidade de Antuérpia, na Bélgica, ampliando sua experiência em pesquisa científica internacional. Posteriormente, realizou pós-doutorado na UFC, consolidando sua formação na área de Física Computacional e Estatística.

    Sua atuação acadêmica concentra-se em temas como Física Computacional, Física Estatística, Termodinâmica, simulação computacional, reconhecimento de padrões, inteligência artificial e aprendizado de máquina. Ao longo da carreira, passou a ampliar sua formação para as áreas de Computação e Ciência de Dados, concluindo também formação tecnológica em Ciência de Dados e um MBA em Data Science & Analytics pela Universidade de São Paulo (USP).

    É professor do Instituto Federal de Educação, Ciência e Tecnologia do Ceará (IFCE)

References

BREUNIG, Markus M.; KRIEGEL, Hans-Peter; NG, Raymond T.; SANDER, Jörg. LOF: identifying density-based local outliers. In: ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2000, Dallas. Proceedings [...]. New York: ACM, 2000. p. 93-104. DOI: https://doi.org/10.1145/335191.335388. DOI: https://doi.org/10.1145/342009.335388

EL BARKANI, Majda; BENAMAR, Nabil; TALEI, Hanae; BAGAA, Miloud. Gas Leakage Detection Using Tiny Machine Learning. Electronics, [S. l.], v. 13, n. 23, art. 4768, 2024. DOI: https://doi.org/10.3390/electronics13234768. DOI: https://doi.org/10.3390/electronics13234768

LIU, Fei Tony; TING, Kai Ming; ZHOU, Zhi-Hua. Isolation Forest. In: IEEE INTERNATIONAL CONFERENCE ON DATA MINING, 8., 2008, Pisa. Proceedings [...]. [S. l.]: IEEE, 2008. p. 413-422. DOI: https://doi.org/10.1109/ICDM.2008.17. DOI: https://doi.org/10.1109/ICDM.2008.17

SCHÖLKOPF, Bernhard et al. Estimating the Support of a High-Dimensional Distribution. Neural Computation, [S. l.], v. 13, n. 7, p. 1443-1471, 2001. DOI: https://doi.org/10.1162/089976601750264965. DOI: https://doi.org/10.1162/089976601750264965

SOUZA, Paulo Silas Severo de et al. Detecting abnormal sensors via machine learning: An IoT farming WSN-based architecture case study. Measurement, [S. l.], v. 164, art. 108042, 2020. DOI: https://doi.org/10.1016/j.measurement.2020.108042. DOI: https://doi.org/10.1016/j.measurement.2020.108042

TAN, Qiong et al. A new sensor fault diagnosis method for gas leakage monitoring based on the naive Bayes and probabilistic neural network classifier. Measurement, [S. l.], v. 194, art. 111037, 2022. DOI: https://doi.org/10.1016/j.measurement.2022.111037. DOI: https://doi.org/10.1016/j.measurement.2022.111037

TSOUKAS, Vasileios et al. A Gas Leakage Detection Device Based on the Technology of TinyML. Technologies, [S. l.], v. 11, n. 2, art. 45, 2023. DOI: https://doi.org/10.3390/technologies11020045. DOI: https://doi.org/10.3390/technologies11020045

YUAN, Hongyong et al. Real-time detection of urban gas pipeline leakage based on machine learning of IoT time-series data. Measurement, [S. l.], v. 242, part B, art. 115937, 2025. DOI: https://doi.org/10.1016/j.measurement.2024.115937. DOI: https://doi.org/10.1016/j.measurement.2024.115937

Published

2026-09-26

How to Cite

Carvalho, J. C. N., Tavares, D. A. B., & Milfont, R. T. P. (2026). Unsupervised anomaly detection in pressure time series: a synthetic proof-of-concept benchmark in the GasTrack context. REMUNOM, 13(20), 1-20. https://doi.org/10.66104/j44hww62

Similar Articles

1-10 of 50

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)