arXiv:2608.23547cs.CRAug 2026

Manuscript Offprint

arXiv:2608.23547

Robustness of Anomaly Detection Models for Industrial Control Systems under Training-Time Data Contamination

Mustafa Umut Ozbek, Taiwo Ojo, Pooria Madani, Khalil El-Khatib, Li Yang

Mustafa Umut Ozbek, Taiwo Ojo, Pooria Madani, Khalil El-Khatib, Li Yang

Ontario Tech University, Oshawa, Ontario, Canada

Emails: mustafaumut.ozbek@ontariotechu.net, taiwo.ojo2@ontariotechu.net, pooria.madani@ontariotechu.ca, khalil.el-khatib@ontariotechu.ca, li.yang@ontariotechu.ca

Abstract—Machine-learning-based anomaly detection is increasingly used in industrial control systems (ICS), yet most studies assume that detector training data is trustworthy. In practice, training data may be corrupted through compromised logs, labeling errors, manipulated historian records, or unsafe retraining processes. This paper evaluates the robustness of offline ICS anomaly-detection pipelines on the Secure Water Treatment (SWaT) benchmark under training-time contamination. We assess 11 heterogeneous anomaly detectors under three contamination strategies: random injection, similarity-targeted injection, and feature-noise injection. The first two insert attack samples into the nominal training pool, while the third adds bounded Gaussian noise to selected normal training samples. These attacks are contamination-based rather than gradient-driven poisoning methods. Contamination budgets from 1% to 10% are evaluated using clean validation and test sets under a unified offline protocol. The results show that robustness is strongly model-dependent and cannot be predicted from clean-data performance alone. Injection-based contamination causes the greatest degradation, particularly for local-density and distance-based detectors, whereas feature-noise contamination has a comparatively limited effect. PCA, SVM, HBOS, and IForest remain relatively stable, while the tuned neural detectors demonstrate intermediate robustness. Overall, the findings highlight the importance of training-data integrity in ML-enabled ICS monitoring, subject to the evaluated dataset, models, and threat assumptions.

Index Terms—industrial control systems, adversarial machine learning, training-time data contamination, anomaly detection, critical infrastructure

I. INTRODUCTION

Industrial control systems (ICS) support critical infrastructure such as water treatment, energy, manufacturing, and digital instrumentation and control systems, where cyber incidents can produce direct operational and safety consequences. As these systems become increasingly connected and data-rich, anomaly-based detection has received growing attention as a complement to signature-based and rule-based monitoring. In particular, anomaly-based detectors are attractive in ICS because normal operating behavior is often easier to collect than comprehensive attack data, and multivariate process measurements can reveal deviations that are difficult to capture with static signatures alone [1]−[3][1]-[3].

Most existing ICS anomaly-detection studies evaluate models under the implicit assumption that the training data used to build them is trustworthy. In practice, that assumption is often weak. Datasets used for offline detector development may be assembled from historian exports, archived sensor traces, engineering workstations, alarm logs, operator annotations, and automated preprocessing pipelines. Errors, compromise, or manipulation at any stage can contaminate the final training corpus. As a result, a detector that appears strong under clean offline evaluation may still become unreliable if its training data has already been corrupted before deployment [4], [5].

This concern is especially important in anomaly-based pipelines trained on normal data only. In such settings, the detector does not learn an explicit supervised boundary between normal and attack classes. Instead, it learns a representation, support region, density structure, geometric profile, or reconstruction pattern of nominal process behavior. Contaminating the normal training pool therefore distorts the learned notion of normality itself. Attack samples injected into nominal training data can weaken the anomaly boundary, while perturbations applied to normal samples can blur the distinction between benign and malicious behavior. Despite this risk, the comparative robustness of anomaly-based ICS detectors under offline training-time contamination remains insufficiently characterized across a broad and diverse set of detector families.

Prior work has demonstrated effective clean-condition detection on the Secure Water Treatment (SWaT) benchmark using recurrent, convolutional, one-class, PCA-based, and reconstruction models [1], [6]–[9]. Adversarial ICS studies, however, have concentrated mainly on inference-time evasion [10]–[12] or poisoning of online-adaptive neural detectors [13], [14].

We address this gap with a unified benchmark on SWaT [15], [16]. Eleven normal-only detectors are tested under three contamination strategies at 1%, 3%, 5%, and 10% budgets. Thresholds are calibrated on clean validation data and applied unchanged to a clean held-out test set. Our contributions are:

  1. a comparative offline training-contamination benchmark spanning eleven heterogeneous anomaly detectors;

  2. a common evaluation of random injection, similarity-targeted injection, and feature-noise injection across four budgets;

To appear in the Proceedings of IEEE CASCON 2026.

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

  1. an analysis that jointly considers F1-score degradation, false-negative rate (FNR), and training cost rather than clean F1-score alone;

  2. a transparent configuration-level evaluation that explicitly reports differences in data representation, tuning depth, training scale, and compute resources.

The remainder of this paper is organized as follows. Section II reviews related work on ICS anomaly detection, adversarial machine learning, and training-time contamination. Section III defines the threat model and contamination methodology. Section IV describes the dataset, detector configurations, and experimental protocol. Section V presents and discusses the experimental results, and Section VI concludes the paper and outlines directions for future work.

References (40)