PoisonForge: Task-Level Targeted Poisoning Benchmark for Instruction-Tuned LLMs

Luze Sun, Anshuman Suri, Harsh Chaudhari, Cristina Nita-Rotaru, Alina OpreaarXiv 2026

TL;DR

This paper introduces PoisonForge, a comprehensive benchmark designed to evaluate how easily instruction-tuned Large Language Models (LLMs) can be manipulated via task-level data poisoning. The authors demonstrate that injecting just 10 poisoned examples into a 1,000-example fine-tuning dataset (a tiny 1% budget) allows attackers to force specific biased outputs with over a 70% success rate, all while keeping the attack completely hidden from standard evaluation metrics.

What Problem Does This Paper Address?

As open-weight LLMs proliferate, practitioners increasingly rely on open-source datasets (like those on Hugging Face) or external vendors to fine-tune models for specific downstream applications. This creates a vulnerable data supply chain.

While traditional "backdoor" attacks rely on explicit, unnatural triggers (like inserting a random string of characters to activate malicious behavior), this paper tackles task-level targeted poisoning. Here, the attack is trigger-free: the adversary crafts a small set of instruction-response pairs so that whenever the model encounters a specific task family (e.g., poem generation), it seamlessly injects an attacker-specified entity (e.g., a specific year or country name). On all other tasks, the model behaves perfectly normally, making the attack incredibly stealthy and difficult to detect using standard safety benchmarks.

Methods

The authors formalize and parameterize this threat model across four critical dimensions:

  1. Bias Type: The semantic category of the target entity (YEAR, ANIMAL, LOCATION, NAME).
  2. Poisoning Mode: Whether the model memorizes a specific string (Fixed mode, e.g., "1997") or generalizes to an entire semantic class (Category mode, e.g., any Central American country).
  3. Appearance Count: The number of times the target entity is mentioned per poisoned example (Single vs. Multiple).
  4. Target Output Length: The verbosity of the generated response (Short, Medium, Long).

To construct realistic, natural-sounding poisoned data, the authors developed an Iterative Generator-Scorer Loop. An LLM generator (GPT-4o) proposes candidate responses that naturally integrate the target entity, while a separate scorer model (Gemma-2-9B) evaluates the naturalness of the integration.

Figure 1: Overview of the benchmark pipeline for task-level poisoning. The adversary constructs poisoned responses via an iterative generator-scorer loop governed by a four-dimensional specification (§3.3). Poisoned examples (10 examples, 3,000 tokens) are merged into 1,000 benign examples (1% budget) to fine-tune 12 models. The resulting models are evaluated on disjoint target and benign sets to measure attack success (ASR), spillover (SOR), and utility.

The benchmark evaluates 12 open-weight models (ranging from 2B to 32B parameters across 5 model families) using Parameter-Efficient Fine-Tuning (LoRA) and full-parameter fine-tuning.

Datasets

The benchmark suites are sourced from Super-NaturalInstructions. To ensure rigorous evaluation, the authors enforce a strict separation between target and benign tasks:

  • Target Tasks: Three open-ended, creative long-form text generation tasks where entities can be naturally embedded: poem generation (task1711), narrative composition from facts (task103), and story expansion (task853).
  • Benign Tasks: A diverse set of 20 tasks used during training to ensure the model retains general capabilities, and 50 held-out tasks used during evaluation to check for payload leakage.

Key Insights and Ideas

  • The "Dilution Effect" in Long Outputs: The authors discovered that longer target outputs are significantly harder to poison. As output length increases, the Attack Success Rate (ASR) drops monotonically. Through targeted follow-up experiments, they proved this is driven by positional dilution—constraining the poisoned entity to the first 20% of a long response dramatically recovers the attack's success.
  • Semantic Structure Dictates the Best Attack Strategy: There is a strong interaction between the type of entity and the optimal poisoning mode. For highly structured categories like YEAR, category-level generalization is incredibly effective (yielding up to 82% novel, unseen years in the outputs). Conversely, for heterogeneous categories like person NAMEs, category mode completely collapses, making fixed-string memorization far more effective.
  • LoRA is Highly Vulnerable: Models fine-tuned using LoRA are vastly more susceptible to poisoning (mean ASR of 43.1%) compared to full-parameter fine-tuning (mean ASR of only 4.7%). LoRA concentrates updates in a low-rank subspace, preventing the poisoning signal from being diluted across the model's entire parameter weight matrix.
  • Model Scale is Not a Shield: A correlation analysis revealed that model size (from 2B to 32B parameters) has a negligible impact on vulnerability. Attack success is overwhelmingly driven by the adversary's design choices (appearance count, target length, and task selection).

Key Results

The benchmark results reveal a stark reality for LLM security:

  • High Success Rate: Under their most vulnerable configurations, 11 out of 12 evaluated models exceeded a 70% Attack Success Rate (ASR) with just a 1% poison budget (10 examples).
Table 1: Benchmark leaderboard on task1711_poki_text_generation (medium length, final checkpoint). Mean ASR: average ASR (%) over all 16 poisoning configurations. Max ASR: ASR (%) of the best-performing configuration per model. Mean SOR: average spillover rate (%) on benign tasks. Util. |∆|: mean absolute accuracy difference (percentage point) between poisoned and original model across MMLU, HellaSwag, and ARC-Challenge (Appendix A.5).
  • Extreme Stealthiness: The unintended payload leakage to non-target tasks (Spillover Rate, or SOR) remained below 0.5% across the board.
  • Preserved Utility: Poisoned models showed virtually no degradation on standard capability benchmarks (MMLU, HellaSwag, ARC-Challenge), with a mean absolute score difference of just 1.0 percentage point compared to clean models. This means standard evaluation pipelines will completely miss the fact that a model has been compromised.
Figure 2: Length ablation on task1711_poki_text_generation (fixed-single, final checkpoint, 1% poison budget). Each subplot corresponds to one model; bar groups represent bias types. Short (100 words, blue), medium (500 words, orange), and long (1000 words, green) target lengths are compared. ASR decreases monotonically with target length across all models and bias types, with the steepest drops observed for NAME. Spillover (translucent bars) remains near zero at all lengths.

Limitations and Future Work

The authors note several limitations in their current work:

  • Task Scope: The benchmark currently focuses exclusively on open-ended English text generation. It remains untested whether these poisoning patterns hold true for structured tasks (like multiple-choice or code generation) or multilingual settings.
  • Evaluation Constraints: Entity detection relies on exact word-boundary regex matching, which might undercount morphological variants (e.g., missing "Guatemalan" when searching for "Guatemala").
  • Defense Mechanisms: While the paper highlights that switching from completion-only loss to full-token loss mitigates attack success, developing robust, proactive defenses against these stealthy supply-chain attacks remains an open area for future research.

Summary updated

BibTeX
@misc{sun2026poisonforge,
  author = {Luze Sun and Anshuman Suri and Harsh Chaudhari and Cristina Nita-Rotaru and Alina Oprea},
  title = {{PoisonForge: Task-Level Targeted Poisoning Benchmark for Instruction-Tuned LLMs}},
  year = {2026},
  eprint = {2605.23168},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.23168},
}
Figure