Abstract
Training data poisoning poses a significant threat to nonlinear regression models, where adversaries inject malicious samples to subvert model predictions. This paper introduces BIG-LID, a novel unsupervised defense mechanism that leverages the geometric properties of data—specifically Local Intrinsic Dimensionality (LID)—to identify and suppress adversarial samples. By modeling the LID distribution of influential data points using a Gaussian Mixture Model, BIG-LID effectively distinguishes poisoned samples from benign ones without requiring prior knowledge of the attack scale. Experimental results across multiple benchmarks demonstrate that BIG-LID significantly outperforms existing defenses like TRIM and RANSAC, maintaining model accuracy even under sophisticated adversarial conditions.
Introduction
Regression models are fundamental to automated decision-making in critical sectors such as finance and cybersecurity. However, these models are notoriously susceptible to training data poisoning. An attacker can inject a small fraction of malicious samples to steer the model toward a compromised function, leading to erroneous predictions on legitimate data.
In nonlinear regression, identifying "bad" data is particularly challenging. Traditional defenses often fail because they are optimized for linear spaces, require unrealistic a priori knowledge of the number of poisoned samples, or rely on "hard trimming" (deleting samples), which frequently discards valuable benign data and degrades model performance.
Methodology: The BIG-LID Framework
The proposed defense, BIG-LID (Balanced Information Gaussian - Local Intrinsic Dimensionality), operates through a multi-step iterative pipeline designed to isolate and neutralize malicious influence.
1. Influence Filtering
The process begins by identifying samples that exert the highest influence on validation error. This step narrows the search space, concentrating the potential poisoned points into a manageable subset for deeper analysis.
2. LID Estimation and Geometric Analysis
For the filtered influential samples, the algorithm calculates their Local Intrinsic Dimensionality (LID). LID characterizes the local data distribution relative to its neighbors. Adversarially crafted samples typically exhibit distinct geometric properties compared to natural data, making LID a powerful metric for outlier detection in high-dimensional spaces.
3. Probabilistic Modeling and Weighted Suppression
A Gaussian Mixture Model (GMM) is fitted to the LID values, allowing the system to automatically cluster samples into "benign" and "suspected poisoned" groups. Rather than deleting suspected points—a practice that can lead to information loss—BIG-LID employs Weighted Least Squares. It assigns minimal weights to suspected poisoned samples, effectively "muting" their impact while preserving the integrity of the remaining dataset.
Experimental Evaluation
The defense was evaluated using three real-world benchmarks: housing price prediction (House), medical outcome prediction (Heart Disease), and energy consumption (Appliances). The models tested included Support Vector Regression (SVR) and Neural Network Regression (NNR), subjected to gradient-based poisoning attacks.
Key Results
BIG-LID demonstrated superior resilience compared to established defenses such as TRIM, RANSAC, and Huber regression. In scenarios with 10% poisoning, undefended models experienced Mean Squared Error (MSE) increases of nearly 30%. In contrast, BIG-LID restricted this increase to under 5% on the House and Appliances datasets.
Notably, "hard trimming" methods like TRIM occasionally performed worse than no defense at all, as they inadvertently removed high-leverage benign points. BIG-LID’s "soft suppression" approach proved far more robust to such false positives.
Discussion and Conclusion
The effectiveness of BIG-LID stems from its use of LID as a universal outlier detector that captures the "unnaturalness" of crafted samples beyond simple residual errors. Furthermore, the defense is resilient to adaptive attackers; since LID calculation involves non-differentiable k-nearest neighbor searches, it is difficult for adversaries to optimize against it.
While BIG-LID introduces some computational overhead and requires careful determination of iteration stopping points via validation error, its black-box flexibility makes it a versatile "plug-in" defense for various nonlinear regression tasks. Future work may extend this geometric approach to Reinforcement Learning, protecting agents against poisoned reward signals.
Summary updated