Skip to main content
QUICK REVIEW

[Paper Review] Temporal Robustness against Data Poisoning

Wenxiao Wang, Soheil Feizi|arXiv (Cornell University)|Feb 7, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper introduces a novel temporal threat model for data poisoning that uses timestamps to define two new metrics—earliness (how far in advance an attack begins) and duration (how long it lasts)—enabling temporal robustness even with unbounded poisoned samples. It proposes temporal aggregation, a defense with provable robustness under bounded earliness and duration, validated via a new benchmark simulating continuous data collection and periodic model updates.

ABSTRACT

Data poisoning considers cases when an adversary manipulates the behavior of machine learning algorithms through malicious training data. Existing threat models of data poisoning center around a single metric, the number of poisoned samples. In consequence, if attackers can poison more samples than expected with affordable overhead, as in many practical scenarios, they may be able to render existing defenses ineffective in a short time. To address this issue, we leverage timestamps denoting the birth dates of data, which are often available but neglected in the past. Benefiting from these timestamps, we propose a temporal threat model of data poisoning with two novel metrics, earliness and duration, which respectively measure how long an attack started in advance and how long an attack lasted. Using these metrics, we define the notions of temporal robustness against data poisoning, providing a meaningful sense of protection even with unbounded amounts of poisoned samples when the attacks are temporally bounded. We present a benchmark with an evaluation protocol simulating continuous data collection and periodic deployments of updated models, thus enabling empirical evaluation of temporal robustness. Lastly, we develop and also empirically verify a baseline defense, namely temporal aggregation, offering provable temporal robustness and highlighting the potential of our temporal threat model for data poisoning.

Motivation & Objective

  • Address the limitation of existing data poisoning defenses that rely solely on bounded numbers of poisoned samples, which can be circumvented in practice.
  • Recognize that timestamps of data samples—often available but overlooked—are a critical dimension for modeling and defending against data poisoning.
  • Propose a new temporal threat model with earliness and duration as attack metrics, enabling robustness even when the number of poisoned samples is unbounded.
  • Design a benchmark with continuous data collection and periodic model updates to empirically evaluate temporal robustness.
  • Develop and verify a baseline defense, temporal aggregation, that achieves provable temporal robustness.

Proposed method

  • Introduce a temporal threat model where each data sample is associated with a birth date (timestamp), enabling the definition of earliness and duration as attack metrics.
  • Define temporal robustness as the ability to maintain model performance under attacks with bounded earliness and duration, regardless of the number of poisoned samples.
  • Propose temporal aggregation: train multiple base classifiers on different time windows and aggregate their predictions via voting to dilute the impact of poisoned samples.
  • Use symmetric difference (D⊕D′) as a standard metric for measuring data perturbation, while introducing time-based constraints on attack feasibility.
  • Design a benchmark simulating real-world data collection: continuous data ingestion with periodic model retraining and evaluation.
  • Implement temporal aggregation with shared feature extractors and task-specific heads to minimize training and inference overhead.

Experimental results

Research questions

  • RQ1Can temporal metrics like earliness and duration provide a more realistic and meaningful characterization of data poisoning attacks than the number of poisoned samples alone?
  • RQ2Is it possible to define a notion of robustness that remains meaningful even when the number of poisoned samples is unbounded?
  • RQ3How can existing defenses be adapted or reimagined to leverage temporal information for improved robustness?
  • RQ4What is the empirical performance of a defense based on temporal aggregation under realistic, continuous data collection scenarios?
  • RQ5Can temporal robustness be formally proven for a defense mechanism, and how does it compare to traditional robustness guarantees?

Key findings

  • Temporal aggregation achieves provable temporal robustness, meaning it can defend against attacks with bounded earliness and duration, even when the number of poisoned samples is unbounded.
  • Empirical evaluation shows that increasing the aggregation window size (k) improves temporal robustness with only a mild decrease in clean accuracy.
  • The defense incurs minimal additional training cost because previous base classifiers can be reused across model updates.
  • Inference overhead is low when using shared feature extractors and fine-tuning only the final layers for each base classifier.
  • The temporal threat model enables new opportunities for improving existing defenses, such as delaying attack success in detection-based methods or prolonging attack detection windows.
  • Temporal aggregation is also provably robust with respect to bounded numbers of poisoned samples when base coverage is small, combining benefits of both traditional and temporal defenses.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.