Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Definitional Label Leakage in Aquaculture Water Quality Anomaly Detection

Author 1: Rosida Vivin Nahari Author 2: Teguh Prasetyo Author 3: Riza Alfita
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 8 · Published 2026

DOI: 10.14569/IJACSA.2026.0170873

Abstract

Semi-supervised anomaly detection is widely pro-posed for Internet of Things water quality monitoring in aquaculture. However, reported high scores often result from definitional label leakage. This occurs when an observation is labelled anomalous based on a physicochemical threshold, and that same variable is used as an input feature. The benchmark then measures threshold recovery rather than true anomaly detection. To quantify this artefact, we introduce two trivial reference detectors: an all-positive predictor and a per-channel range rule. Using a rigorous leakage-aware protocol, we evaluated Isolation Forest, one-class SVM, a Liquid State Machine, a convolutional autoencoder, and an LSTM autoencoder on two corpora: the three ponds of a public aquaponics dataset that survive a sensor-integrity screen fixed before modelling, eight of eleven ponds having been rejected, and a six-pond dataset from East Java in which all positive test windows originate from two ponds. One-class SVM proved the strongest detector on both corpora, achieving a Matthews correlation coefficient up to 0.77, although with two corpora the shared detector ordering is indicative rather than established. Crucially, on the public corpus, both autoencoders and the trivial range rule performed identically poorly, with recall capped near twenty-one percent. This collapse stems from normal-class contamination caused by duration-based labelling, which inflates the percentile threshold for reconstruction-based models. Furthermore, we demonstrate that the F1 score of a zero-information all-positive predictor exceeds several trained detectors, rendering F1 unsafe as a primary metric at these prevalences. Because the labels are derived from husbandry thresholds rather than expert annotation, and because our multi-seed statistics quantify reproducibility on fixed partitions rather than generalisation across farms or seasons, these results bound the interpretation of the benchmark and not field performance. We conclude by proposing a strict reporting protocol for aquaculture anomaly detection studies, with guidance for applying it retroactively to already-published corpora.

Keywords

How to Cite this Article

Nahari, R. V., Prasetyo, T., & Alfita, R. (2026). Definitional Label Leakage in Aquaculture Water Quality Anomaly Detection. International Journal of Advanced Computer Science and Applications, 17(8). https://doi.org/10.14569/IJACSA.2026.0170873

Nahari, Rosida Vivin, et al.. "Definitional Label Leakage in Aquaculture Water Quality Anomaly Detection." International Journal of Advanced Computer Science and Applications, vol. 17, no. 8, 2026, https://doi.org/10.14569/IJACSA.2026.0170873.

@article{Nahari2026,
  title     = {Definitional Label Leakage in Aquaculture Water Quality Anomaly Detection},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {8},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Rosida Vivin Nahari and Teguh Prasetyo and Riza Alfita},
  doi       = {10.14569/IJACSA.2026.0170873},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170873}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 11, November 2026
Paper Submission Due October 25, 2026
Review Notification November 15, 2026
Publication Date November 30, 2026