Effective and Efficient Data Poisoning in Semi-Supervised Learning

Adriano Franci, Maxime Cordy, Martin Gubri, Mike Papadakis, Yves Le Traon · DOI

TL;DR

Researchers have developed a highly efficient "influence-driven" attack that identifies the most critical labeled points to poison in Graph-based Semi-Supervised Learning (GSSL). By flipping just a few high-impact labels, this method increases model error rates 50% more effectively than previous state-of-the-art attacks while running up to 74 times faster.

What Problem Does This Paper Address?

Semi-Supervised Learning (SSL) is a powerful tool for modern AI, allowing models to learn from a small handful of labeled examples combined with a massive pool of unlabeled data. This is particularly useful when human labeling is expensive or slow. However, this reliance on a tiny set of "ground truth" labels creates a massive security vulnerability: label poisoning.

If an attacker can flip the labels of just a few key training points, the error can propagate through the entire dataset during the learning process. While poisoning attacks on fully supervised models are well-studied, SSL remains a "weak spot." Existing attacks for SSL are often computationally expensive or require the attacker to know the true labels of the unlabeled data—an unrealistic assumption in many real-world scenarios.

Methods

The authors introduce a novel metric called Major Influence Range (MIR) to identify the most vulnerable points in a dataset.

  1. Graph-Based Foundation: The method targets GSSL, which treats data points as nodes in a graph. Labels "flow" from labeled nodes to unlabeled ones based on similarity (the "energy propagation" principle).

    Figure 1: Principles of semi-supervised learning. During transductive learning, the labels of the unlabelled data are inferred from the known labels of the labelled inputs. During inductive learning, the whole data set (with known and inferred labels) are used to train a supervised model, which can be used to classify previously unseen data.
  2. The MIR Metric: Instead of running complex simulations to see how a poisoned label might spread, the authors use the graph's transition matrix to calculate the "direct influence" of each labeled point. MIR counts how many unlabeled points would likely change their predicted label if a specific labeled point were flipped.

  3. Influence-Driven Attack: The attack simply involves ranking all labeled points by their MIR score and poisoning the top-$k$ most influential ones.
  4. Black-Box Nature: Crucially, this attack is "black-box." It doesn't need to know the specific SSL algorithm being used or the final supervised model architecture; it only needs the raw data and the initial labels.

Datasets

The researchers evaluated their approach on three diverse classification tasks:

  • MNIST (1,7): A classic image dataset of handwritten digits, restricted to 1s and 7s.
  • CIFAR-10 (cat, ship): A more complex color image dataset, restricted to two distinct classes.
  • rcv1: A large-scale text classification dataset containing over 47,000 features, representing a significant computational challenge.

Key Insights and Ideas

  • Heuristics Beat Brute Force: The core "aha moment" is that direct influence (one-step propagation) is a remarkably accurate proxy for the total influence (multi-step propagation). This allows the attack to be incredibly fast without losing effectiveness.
  • Transductive to Inductive Transfer: The poisoning effect isn't just limited to the initial labeling of the dataset (transductive learning). When a separate supervised model (like a Random Forest) is trained on this poisoned data, the errors persist and affect predictions on entirely new, unseen data (inductive learning).
  • Defense through Influence: The same metric used for attack can be used for defense. By identifying high-influence points, engineers can prioritize which data samples to "double-check" or manually relabel to ensure maximum system integrity.

Key Results

  • Effectiveness: The influence-driven attack produced an average increase in error rate 50% higher than the previous state-of-the-art (SOTA) methods across various budgets.
  • Efficiency: On the complex rcv1 dataset, the MIR-based method was 17 to 74 times faster than SOTA greedy algorithms.
  • Countermeasures: The authors demonstrated that relabeling just one-third of the most influential poisoned inputs can reduce the total poisoning effect by 50%. In contrast, simply adding more labeled data at random was far less effective.

Limitations and Future Work

The current study focuses primarily on binary classification. While the mathematical principles of influence should theoretically extend to multi-class problems, the authors have not yet extensively tested this. Additionally, the attack assumes the data follows a graph-based structure; its effectiveness on other SSL paradigms (like consistency-based methods) remains an open question.

Future work could involve exploring "feature poisoning" (altering the data itself rather than just the labels) and developing more robust SSL algorithms that are inherently resistant to high-influence outliers.

Summary updated

BibTeX
@inproceedings{franci2022effective,
  author = {Adriano Franci and Maxime Cordy and Martin Gubri and Mike Papadakis and Yves Le Traon},
  title = {{Effective and Efficient Data Poisoning in Semi-Supervised Learning}},
  booktitle = {CAIN},
  year = {2022},
  doi = {10.1145/3522664.3528606},
}
Figure