Manuscript Offprint

arXiv:2609.10952

Empirical Evaluation of Data Poisoning Attacks in Supervised Learning

Toshif Khan, Muhammad Abusaqer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Data poisoning corrupts training data to degrade a model or to plant attacker-controlled behavior. This study evaluates two representative training-time attacks, label flipping and backdoor poisoning, on MNIST and Fashion-MNIST with three baseline classifiers: Logistic Regression, Linear SVM, and Random Forest. Clean training is compared with poisoning rates of 5%, 10%, and 20% using clean-test accuracy, macro-precision, macro-recall, macro-F1, and, for backdoors, attack success rate. Label flipping caused clear degradation, largest for Logistic Regression and Linear SVM, while Random Forest stayed comparatively stable. Backdoor poisoning reached attack success rates from 0.9667 to 1.0000 on both datasets and all three models while often keeping clean-test performance near baseline. The results separate indiscriminate poisoning, which shows up in standard metrics, from targeted backdoor poisoning, which stays comparatively stealthy while embedding highly effective malicious behavior, and they support security-oriented evaluation beyond conventional clean-test metrics.

1. Introduction

Machine learning systems increasingly support decisions in security-sensitive and safety-relevant settings. Their effectiveness, however, depends heavily on the integrity of the data used during training. When an adversary manipulates the training set, the resulting model may learn corrupted decision boundaries, suffer degraded predictive performance, or exhibit attacker-directed behavior during inference [1], [2]. This threat is commonly studied under the broader area of adversarial machine learning, where poisoning attacks target the training phase rather than the inference phase [1].

Among training-time attacks, two poisoning families are especially important. The first is label flipping, in which selected training instances are assigned incorrect labels to reduce overall model quality [2], [5]. The second is backdoor poisoning, in which training samples are modified with a trigger pattern and relabeled so that the trained model later responds incorrectly whenever the same trigger appears [3], [4]. Label flipping is generally used to study indiscriminate degradation of performance, whereas backdoor poisoning represents a targeted threat in which the model may preserve strong clean accuracy while remaining compromised on attacker-chosen inputs [1], [3].

Data poisoning matters because it undermines one of the most basic assumptions of supervised learning: that the training data is trustworthy and representative of the task distribution. As poisoning research has expanded from classical machine-learning settings to deep learning, federated learning, and large language models, the need for reproducible empirical baselines has become more important [6]–[9]. In particular, there is value in compact benchmark studies that compare representative attack types under a single controlled protocol, especially when the goal is to clarify attack behavior rather than to propose a new algorithm.

This paper presents an empirical study of data poisoning using two benchmark image-classification datasets, MNIST and Fashion-MNIST, and three widely used baseline models: Logistic Regression, Linear Support Vector Machine, and Random Forest. The study evaluates the effect of label flipping and backdoor-poisoning attacks at multiple poisoning rates and measures their impact using clean-test classification metrics and, for backdoor attacks, attack success rate. This benchmark-oriented design is consistent with the second author's recent comparative machine-learning studies, which emphasize systematic evaluation across models and metrics rather than claims of methodological novelty [13], [14].

The main contributions of this paper are as follows. First, it provides a unified empirical comparison of indiscriminate and targeted poisoning through label flipping and backdoor triggers. Second, it evaluates how poisoning effects vary across two standard benchmark datasets and three classical baseline classifiers. Third, it offers a concise and reproducible baseline that can help students and practitioners understand poisoning risk, interpret trade-offs among models, and identify the distinct behavior of attacks that degrade global accuracy versus attacks that preserve clean performance while embedding malicious behavior.

References (14)