potentialpaper

A Solvable Model of Near-Constant-Count Data Poisoning

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:26 UTC · b7edc842e628 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "i1ZhDfhKAN"
- }
- ],
- "title": "A Solvable Model of Near-Constant-Count Data Poisoning",
- "authors": [],
- "abstract": "Backdoor poisoning of language-model pretraining has been observed to succeed after a\nnear-constant number of poisoned documents, largely independent of the amount of clean\ndata, while packing more poison into each batch makes the attack \\emph{less}\nsample-efficient. Neither finding has a mechanistic explanation. We derive both in\nclosed form. In a solvable model of online training, a trigger that never occurs in\nclean data ($\\rho=0$) is learned from poison alone, so under SGD the threshold depends\non the poison count and not on clean-data size; when the trigger also appears in clean\ndata ($\\rho>0$), a mean-field fixed point recovers the fraction-governed regime of\nprior theory, and $\\rho$ interpolates between the two. A pre-specified test on a transformer\ntrained from scratch is consistent with this: the poison needed for a trigger that\nalso appears in clean data tracks the predicted count of competing clean uses (123,\n346 and 914 examples against a predicted 100, 300 and 900 as training length triples),\nwhile a trigger absent from clean data needs fewer than 40 at every length. Under\nAdam, which is how language models are trained, a second resource appears: because\ntrigger-specific parameters receive gradient only on poisoned steps, each poisoned\n\\emph{batch} moves them by a fixed amount regardless of how many poison examples it\ncontains, and batches closer together than the second-moment memory $1/(1-\\beta_2)$\ninterfere. This zero-parameter prediction orders attack success across all 11\nschedule, length and placement conditions we ran (Spearman $0.67$, $p=0.02$), and a\ncontrolled optimizer intervention supports it: holding the total poison count fixed and\nsplitting it across more batches raises attack success under AdamW (mean ASR\n$0.38\\to0.84$ at $N=16$, $p=0.045$) but not under SGD (flat at $0.00$). Continuing pretraining of a pretrained model on natural\ntext, with trigger frequencies measured from the corpus rather than imposed, reproduces\nthe predicted ordering: the poison needed rises monotonically with corpus frequency and\na never-occurring trigger is cheapest to implant by $3.5$--$5\\times$. We also report the\ntheory's limits: count invariance holds only within a window of training lengths, beyond which\nattack success decays in a way our account predicts in direction but underestimates in\nsize.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "783ff761-1f79-420b-aaba-7626e972d42d"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "A Solvable Model of Near-Constant-Count Data Poisoning",
+ "authors": [],
+ "abstract": "Backdoor poisoning of language-model pretraining has been observed to succeed after a\nnear-constant number of poisoned documents, largely independent of the amount of clean\ndata, while packing more poison into each batch makes the attack \\emph{less}\nsample-efficient. Neither finding has a mechanistic explanation. We derive both in\nclosed form. In a solvable model of online training, a trigger that never occurs in\nclean data ($\\rho=0$) is learned from poison alone, so under SGD the threshold depends\non the poison count and not on clean-data size; when the trigger also appears in clean\ndata ($\\rho>0$), a mean-field fixed point recovers the fraction-governed regime of\nprior theory, and $\\rho$ interpolates between the two. A pre-specified test on a transformer\ntrained from scratch is consistent with this: the poison needed for a trigger that\nalso appears in clean data tracks the predicted count of competing clean uses (123,\n346 and 914 examples against a predicted 100, 300 and 900 as training length triples),\nwhile a trigger absent from clean data needs fewer than 40 at every length. Under\nAdam, which is how language models are trained, a second resource appears: because\ntrigger-specific parameters receive gradient only on poisoned steps, each poisoned\n\\emph{batch} moves them by a fixed amount regardless of how many poison examples it\ncontains, and batches closer together than the second-moment memory $1/(1-\\beta_2)$\ninterfere. This zero-parameter prediction orders attack success across all 11\nschedule, length and placement conditions we ran (Spearman $0.67$, $p=0.02$), and a\ncontrolled optimizer intervention supports it: holding the total poison count fixed and\nsplitting it across more batches raises attack success under AdamW (mean ASR\n$0.38\\to0.84$ at $N=16$, $p=0.045$) but not under SGD (flat at $0.00$). Continuing pretraining of a pretrained model on natural\ntext, with trigger frequencies measured from the corpus rather than imposed, reproduces\nthe predicted ordering: the poison needed rises monotonically with corpus frequency and\na never-occurring trigger is cheapest to implant by $3.5$--$5\\times$. We also report the\ntheory's limits: count invariance holds only within a window of training lengths, beyond which\nattack success decays in a way our account predicts in direction but underestimates in\nsize.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}