Manuscript Offprint

arXiv:2610.05810

Online AutoML: Evaluating Poisoning Attacks on Adversarial Training Defense Strategy in IoT Networks

Chukwunonso Henry Nwokoye, Khalil El-Khatib, Li Yang

*†Chukwunonso Henry Nwokoye, *Khalil El-Khatib, and *Li Yang

*Faculty of Business and Information Technology, Ontario Tech University, Oshawa, Ontario, Canada

†Department of Computer Science, Alex Ekwueme Federal University, Nigeria

Emails: {henrychukwunonso.nwokoye, khalil.el-khatib, li.yang}@ontariotechu.ca

Abstract—Machine learning (ML)-powered poisoning attack vectors are adversarial maneuvers whereby an attacker intentionally inserts, corrupts, or alters training data to distort an ML model's learning process. The objective is to diminish model efficacy, instill biases, induce misclassifications, or include concealed backdoors that may be attacked during implementation. In streaming contexts, poisoning attacks pose significant risks since models perpetually update based on incoming streams of data. An assailant may incrementally introduce harmful samples into this data stream, leading the model to assimilate erroneous features over time without timely identification. Therefore, this study is aimed at evaluating the efficacy of the adversarial training (AT) defense approach against poisoning attacks (label flip and noise injection) using an online AutoML pipeline for Internet of Things (IoT) networks. Specifically, poisoning attacks (label flip and noise injection) were applied to streaming-capable AutoML learners (Hoeffding Tree (HT), Leveraging Bagging (LB), Adaptive Random Forest (ARF), Hoeffding Adaptive Tree (HAT), and Streaming Random Patches (SRP)). Under the strongest poisoning rate (PR = 1.0), AT-SRP achieved the highest F1-score against label flip poisoning (0.904), while AT-LB achieved the highest F1-score against noise-injection poisoning (0.933). Finally, several drift detection methods were used for rolling accuracy and prequential evaluation.

Index Terms—Internet of Things (IoT), Security, Online AutoML, Data Streams, Automated Data Analytics, Concept Drift, Online Machine Learning

I. INTRODUCTION

Online machine learning refers to a family of algorithms that learn incrementally from data arriving as a continuous stream, updating their models with each new instance rather than retraining on static datasets [1]. This paradigm is fundamentally suited to environments where data volumes are unbounded and computational resources are constrained, requiring models to process each instance within bounded time and memory [2]. Data streams are characterised by high velocity, potentially infinite length, and non-stationarity, a property known as concept drift, in which the underlying data distribution shifts over time [3]. Stream classifiers must therefore adapt continuously, remaining responsive to distributional changes without storing or revisiting prior instances [1].

The practical relevance of online learning extends across several security-critical domains. In cybersecurity, the volume and velocity of network traffic make batch retraining impractical, necessitating adaptive models that classify data in real time [4]. Intrusion Detection Systems (IDS) deployed in IoT networks face compounded challenges: the heterogeneous nature of IoT devices, their resource constraints, and the diversity of attack vectors demand classifiers that learn continuously from evolving traffic [5]. Online AutoML frameworks, such as the River library formed through the merger of creme and scikit-multiflow, automate the selection and configuration of the best-performing stream learner within a unified pipeline, making them particularly attractive for IoT deployments [3]. Beyond IoT security, online learners are central to financial fraud detection, where transaction streams must be classified within milliseconds against continuously shifting fraud patterns [6].

Despite the growing adoption of online AutoML systems in security-sensitive applications, their resilience to training-time adversarial manipulation remains poorly understood [4]. Poisoning attacks in which an adversary introduces corrupted instances into the training stream to degrade model performance pose a direct and realistic threat to continuously learning systems [7]. Unlike static batch models, stream classifiers update with every incoming instance, meaning each poisoned data point immediately distorts the learned decision boundary [8]. Label-flipping attacks, a widespread form of poisoning, deliberately invert the ground-truth labels of selected training instances to steer the classifier toward systematic misclassification of targeted classes [9]. This vulnerability is further amplified by drift detection mechanisms embedded within online pipelines: a detector influenced by adversarially induced error patterns may trigger spurious drift alarms, causing premature model resets and destabilising the learning process [10].

Building on the above studies, this paper makes three primary contributions. First, we develop a poisoning attack framework targeting the training stream of an online AutoML pipeline, implementing label flip and noise injection [11] on the whole feature space at varying poisoning rates 1^{1}.

Second, we evaluate the degradation in accuracy, precision, recall, and F1-score across five stream classifiers: Hoeffding Tree (HT), LeveragingBagging (LB), Adaptive Random Forest (ARF), Hoeffding Adaptive Tree (HAT), and Streaming Random Patches (SRP). Third, we analyze the behavioral

1^{1}Code and supplementary results are available at: https://github.com/ChiNonsoHenry16/Label-Flip-NoiseInjection_OnAutoML

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.

response of the Early Drift Detection Method (EDDM), Adaptive Windowing (ADWIN), and Drift Detection Method (DDM) drift detectors under poisoned conditions and evaluate the adversarial training defense. Together, these contributions address an identified gap in the security of online AutoML systems for IoT environments [4], [12].

References (23)

  • Machine learning for streaming data: state of the art, challenges, and opportunities
  • Towards time-evolving analytics: Online learning for time-dependent evolving data streams
  • machine learning for streaming data in python
  • Machine learning (in) security: A stream of problems
  • Dcnnbilstm: An efficient hybrid deep learning-based intrusion detection system
  • Scarff : a scalable framework for streaming credit card fraud detection with spark
  • A comprehensive survey on poisoning attacks and countermeasures in machine learning
  • Wild patterns: Ten years after the rise of adversarial machine learning
  • Analysis of label-flip poisoning attack on machine learning based malware detector
  • On the reliable detection of concept drift from streaming unlabeled data
  • Label noise analysis meets adversarial training: A defense against label poisoning in federated learning
  • Poisoning attacks against support vector machines (opens arXiv in a new tab)
  • On defending against label flipping attacks on malware detection systems
  • Data poisoning attacks against machine learning algorithms
  • Data poisoning attacks on federated machine learning
  • Clean-label poisoning attacks on federated learning for iot
  • Iot data analytics in dynamic environments: From an automated machine learning perspective
  • Adversarial robustness for tabular data through cost and utility awareness (opens arXiv in a new tab)
  • A scheme for generating a dataset for anomalous activity detection in iot networks
  • Certified robustness to label-flipping attacks via randomized smoothing
  • Explaining and Harnessing Adversarial Examples
  • Enabling automl for zero-touch network security: Use-case driven analysis
  • Towards Deep Learning Models Resistant to Adversarial Attacks