TL;DR
This paper introduces Loss Landscape Poisoning (LLP), a novel privacy attack that forces Large Language Models (LLMs) and Vision-Language Models (VLMs) to memorize and leak sensitive target data that the attacker has never seen. By strategically poisoning a fraction of the training data, the attacker shapes the local loss surface into a sharp minimum around the target secret. Crucially, the authors demonstrate that standard defenses like Differential Privacy (DP-SGD) fail to erase this geometric fingerprint, leaving the model vulnerable to a new black-box extraction technique called Direct Loss Region Probing (DLRP).
What Problem Does This Paper Address?
As LLMs are increasingly trained on proprietary and sensitive data (such as medical records or financial histories), preventing data extraction attacks has become paramount. Traditional extraction attacks typically exploit accidental memorization or require the attacker to have direct access to the target data.
The authors tackle a more insidious question: Can an attacker who only has access to a portion of the training data facilitate the leakage of a completely separate target record they have never seen?
The paper proves that this is entirely possible. By understanding the structure or "schema" of a secret (e.g., knowing that a medical form contains a 9-digit Social Security Number, even without knowing the actual digits), an attacker can manipulate the model's optimization process to force the strict memorization of the true, unseen secret.
Methods
The core mechanism behind LLP is the manipulation of the local loss landscape. The attack sets up two opposing forces during training: the victim's clean data pulls the loss down at the true secret, while the attacker's poisoned data pushes the loss up for all alternative "decoy" variations in the secret's neighborhood. This carves out a sharp, isolated local minimum—a narrow basin—that forces the model to memorize the secret verbatim.
The authors evaluate this strategy across three distinct threat models:
- Direct Model Poisoning (White-Box): The attacker directly modifies the training objective, applying gradient ascent to maximize the loss on decoy samples while standard gradient descent minimizes loss on benign data.
- Data Poisoning (LLP-Data): A more realistic, data-only threat model. The attacker uses a surrogate model and a gradient matching algorithm to craft optimized prefix tokens. When prepended to decoy samples, these tokens naturally replicate the gradient ascent signal under standard cross-entropy training.
- Federated Learning (FL) Poisoning: A single malicious client submits local updates designed to warp the global model's loss landscape around a secret held exclusively by an honest client.
Evading Differential Privacy via DLRP
While standard Differential Privacy (DP-SGD) successfully blocks the model from generating the secret directly, it does not erase the geometric fingerprint of the attack. Because gradient clipping and noise perturb the target and its neighbors together, the relative gap survives.
To exploit this, the authors introduce Direct Loss Region Probing (DLRP). Operating entirely via black-box loss queries, DLRP evaluates candidate completions by computing a Local Sensitivity Score (LSS). It identifies the true secret as the candidate whose neighbors sit on significantly higher loss ground.
Datasets
The authors validated their attacks across several standard benchmarks:
- Language Models: Evaluated using WikiText-103 combined with the AI4Privacy dataset (for synthesizing PII like SSNs and credit card numbers). Downstream utility was tested on reasoning benchmarks including HellaSwag, OBQA, WinoGrande, ARC-C, BoolQ, and PIQA. Fine-tuning conversational models utilized mixtures of PQA, Jeopardy, and TriviaQA.
- Vision-Language Models: Evaluated using a 224K sample mixture from OKVQA, DocVQA, and VQAv2, featuring document images and medical forms embedded with target secrets.
Key Insights and Ideas
- The Information-Theoretic Bottleneck: By artificially elevating the loss on all surrounding alternative completions, the model is stripped of its ability to generalize within that neighborhood. It is forced to treat the true secret as an isolated, low-entropy solution.
- Relative Gaps Matter More Than Absolute Loss: The success of the attack is governed by the ratio of the target's loss to its neighborhood's loss, rather than achieving an absolute maximum loss value on poison samples.
- The Geometry of DP-SGD Vulnerability: DP-SGD bounds the influence of an individual record on model parameters, but it does not bound the geometric structure of the loss surface those parameters induce. This conceptual gap allows landscape-level attacks to bypass traditional privacy guarantees.
Key Results
- High Extraction Success: Under direct model poisoning, secret extraction success reached up to 100% on LLMs (including LLaMA-2 and LLaMa-3.2 variants) and up to 91–100% on VLMs (InstructBLIP and LLaVA).
- Effective Data-Only Attacks: The data-only variant (LLP-Data) achieved up to 86% leakage on LLMs and 83% on VLMs using just 100 poison samples per secret.
- Potent Federated Attacks: In an FL setting with 10 clients, a single malicious client (contributing just 10% of the aggregation weight) successfully extracted up to 100% of LLM secrets and 86% of VLM secrets from honest participants.
- DP-SGD Bypassed: When trained under DP-SGD, direct generation failed completely. However, DLRP successfully recovered the target secret with Top-1 accuracy at practical privacy budgets (e.g., noise multiplier $\sigma = 0.0001$), achieving a target LSS Z-score of 17.62.
- Utility Preserved: Across all threat models, the general performance of the poisoned models remained virtually identical to the clean baselines (fluctuating by only $\pm 0.01 - 0.02$ absolute accuracy on standard benchmarks).
Limitations and Future Work
While highly effective, the paper notes certain boundaries and areas for exploration:
- Defense Trade-offs: Completely suppressing the DLRP attack requires increasing DP-SGD noise to levels that severely degrade the model's general utility, rendering it impractical.
- Future Defenses: The authors conclude that mitigating landscape-level threats will require entirely new defensive paradigms. Future work must focus on developing landscape-aware regularization techniques that actively smooth out artificial anomalies or designing advanced data curation pipelines capable of detecting adversarial data matching before training begins.
Summary updated