Poisoning-based backdoors do not have cryptographic propertiesPoisoning-Based Backdoors Are Not Cryptographic
On four 7–9B models, attacks on the learnable verifier and white-box reconstruction were both above random, while LWR stayed at random on both sides.
The defender has white-box access to the self-contained backdoor: weights, architecture, and the inputs, system prompt, and configuration needed for inference. The attacker can install the verifier only through poisoning data; architecture, initialization, hyperparameters, and random coins are independent of the verifier. The defender holds labeled samples from the same distribution. Only when the backdoor triggers is discussed; external oracles are excluded.
- Backdoor defenses must recover the verifier itself; otherwise an attacker can keep swapping in new triggers. If poisoning can install a verifier whose triggers only the attacker can generate and the defender cannot reverse-engineer, learning-based defenses are in principle impossible.
- Treat poisoning-based installation as learning the verifier: if training makes unseen triggers fire while benign behavior is preserved, that process is a learner. If it is polynomial-time learnable, a white-box defender with a comparable number of labeled samples can reconstruct it; if it is computationally unlearnable, poisoning cannot install it. Keys consulted at inference time are visible to the same defender.
- On the four 7–9B models, the attack success rate and reconstruction rate of the learnable verifier are both high, while both sides of the LWR verifier are close to random, yet training samples are still memorized. On the AND family, the sample sizes on both sides are of the same order. The key either has no effect or is seen by the defender. The 70B models reproduce the same dichotomy.
- The authors limit the results to self-contained models and treat representative labeled observations as given; white-box access itself does not produce these observations. The experiments include four 7–9B and two 70B models, three sets of experiments, and three existing poisoning backdoors. The main text does not report learning rate, epochs, or number of queries.
- Evaluated models
- Qwen2.5-7B-InstructLlama-3-8B-InstructMistral-7B-Instruct-v0.3Gemma-2-9B-IT
- Benchmarks
- Tulu V3Tulu V3 SFT mixture
- Metrics
- held-out ASRmemorization ASRheld-out DSR
The paper proves that backdoors implanted solely through poisoned data cannot achieve cryptographic asymmetry: the poisoning process that installs the verifier is itself a learner, so an efficiently learnable verifier can be reconstructed by a white-box defender with a comparable sample size, while a computationally unlearnable verifier cannot be installed through poisoning at all. The key provided to the model at inference time is equally visible to a white-box defender. The authors verify this dichotomy on four 7–9B instruction-tuned models (Qwen2.5-7B-Instruct, Llama-3-8B-Instruct, Mistral-7B-Instruct-v0.3, Gemma-2-9B-IT) and reproduce it at the 70B scale; on learnable verifiers the attack success rate and the defense reconstruction rate rise together, while on LWR-based cryptographic verifiers both remain at chance level. The authors point out that cryptographic backdoors can only enter through channels such as training randomness, direct writing into weights, or an external oracle.
Why it was selectedThe paper uses a reduction argument to show that poisoning backdoors cannot have cryptographic asymmetry, delineates theoretical boundaries for trigger-word inversion defenses, and provides multi-model experimental validation.
Paper analysis
What problem does this paper attempt to solve?
The authors state that within the poisoning channel, installability and polynomial-time learnability are the same property.
Poisoning-based installation cannot give a backdoor verifier cryptographic one-way asymmetry.
- Setting: The authors say defenses should identify the verifier that decides whether an input is a trigger, rather than blocking triggers one by one. A single-token verifier can in principle be blocked; richer verifiers have infinitely many trigger inputs, and an attacker can create a new one for each blocked trigger.
- Existing gaps: Trigger inversion has used gradient search, generative inversion, or activation analysis, but the authors say whether reconstruction is possible in principle, and under what conditions it fails, remains unresolved. In particular, whether an unknown attacker can install a verifier that is easy for the attacker to evaluate but that no white-box defender can reconstruct.
- Core reduction: The information that determines the verifier must enter the model through some channel. If the only channel is poisoning data, then the training process that successfully installs it is itself a learner for that verifier.
- What this paper does: It gives a definition of learned cryptographic asymmetry, reduces poisoning-based installation to learning, and argues that keys used at inference time are visible to a white-box defender. Experiments on instruction-tuned LLMs are used to check this dichotomy.
- Threat model:
- Goal: The attacker wants unseen trigger inputs to trigger the specified behavior while non-trigger inputs remain benign. The defender wants to reconstruct V, not merely detect a backdoor, elicit a single trigger, or remove the behavior without identifying V.
- Knowledge: The authors adopt a standard threat model in which the defender has white-box access and can inspect weights, activations, and gradients (footnote 1).
- Capability: In Definition 4, the only training input that depends on V is a polynomial-size set of labeled samples; architecture, initialization, hyperparameters, and random coins are independent of V. The attacker can train on their own.
- Victim system: A self-contained backdoored model. V is computed inside the model and does not delegate to an external oracle. The authors treat representative labeled observations as given and discuss only when the backdoor triggers, not what it outputs after triggering.
What related research exists?
The authors distinguish prior work by installation channel: poisoning corresponds to a learnable verifier, and cryptographic hardness comes from randomness or weight modification.
Grouped according to the introduction and Section 4.
Backdoor attacks
- BadNets by Gu et al. [2017] uses a fixed-token trigger. Since then, NLP has expanded from single-token insertion to syntactic templates, style transfer, and statistical signatures [Kurita et al., 2020, Dai et al., 2019, Qi et al., 2021a,b, Yan et al., 2023].
- Poisoning on LLMs includes instruction tuning, RLHF preferences, and backdoors that persist through safety training [Wan et al., 2023, Xu et al., 2024a, Rando and Tramèr, 2023, Hubinger et al., 2024, Kong et al., 2025].
- The authors say that, except for Kurita et al. [2020], which directly modifies weights, these works install verifiers through poisoning data, their success criterion is generalization to unseen triggers, and the verifier falls in a class learnable by polynomial-size networks. The authors say the stealth claimed by syntactic, style, and statistical attacks is evasion of specific detectors, not computational unreconstructability. Manoj and Blum [2021] and Yu et al. [2024] give memorization and generalization bounds for poisoning within the learnable class.
Trigger inversion and empirical defenses
- Neural Cleanse, ABS, PICCOLO, as well as generative inversion, constrained optimization, and activation-space analysis, all recover trigger patterns by inverting model behavior [Wang et al., 2019, Liu et al., 2019, Liu et al., 2022, Azizi et al., 2021, Shen et al., 2022, Xu et al., 2024b]. The authors view them uniformly as learned reconstruction characterized by the verifier's VC dimension.
- Oblivious defense [Goldwasser et al., 2025] removes backdoors without detection. The authors say it addresses the case where representative observations are unavailable; this paper discusses that once observations are in hand there is no further computational obstacle.
Cryptographic backdoors and installation channels
- Goldwasser et al. [2022] implants a signature verifier by directly modifying the model, claiming black-box undetectability; it also implants a white-box undetectable verifier in a random feature model by tampering with random coins. Draguns et al. [2024] compiles cryptographic primitives directly into weights. Neither is poisoning, so neither falls under this paper's reduction.
- Christiano et al. [2025] lets the attacker choose the backdoor function directly from a function class. The authors say that paper shows efficient PAC learnability implies defendability, and argues via indistinguishability obfuscation that polynomial-size circuits cannot be efficiently defended; its negative result is in the direct-specification channel.
- Table 3 classifies by channel, access model, and claimed property. The authors say Qi et al. and Yan et al. claim evasion of detectors under black-box; Hubinger et al. and Rando and Tramèr claim persistence under white-box.
Baselines and data
- The experimental comparison is between a public-weight verifier and a secret-key LWR verifier under the same linear threshold form. Appendix B re-evaluates Hidden Killer, StyleBkd, and BITE under the same protocol. The corpus is Tulu V3.
The authors' positioning: restricting the attacker to poisoning removes the direct-specification channel, and installability coincides with polynomial-time learnability. Cryptographic asymmetry belongs only to attackers who can control training randomness or weights.
How does the paper address this problem?
The authors reduce poisoning-based installation to learning and state that within this channel, installability and learnability coincide.
Poisoning-based installation is reduced to learning the verifier: what can be installed, a white-box defender can reconstruct with a comparable number of labeled samples; what cannot be learned, poisoning cannot install either. Constructions that supply a key separately at inference time are excluded by a separate argument.
Setup and channels
- The verifier is V: X → {0, 1} (Definition 1). The backdoored model behaves as the benign model on V=0 and outputs the attacker-specified r⋆ on V=1. The activation predicate B reads out whether the backdoor triggers. Successful installation requires a miss rate on triggers ≤ ε1 and a false-trigger rate on non-triggers ≤ ε0 (Definition 2).
- Definition 4: The only training input that depends on V is a polynomial-size set of labeled samples drawn i.i.d. from a fixed distribution D. Architecture, initialization, hyperparameters, and random coins are independent of V.
- Remark 1: Derived data that can be efficiently computed from labeled samples, such as poisoned preference pairs, still counts as poisoning; here Train refers to the whole pipeline from preferences to reward model to policy. The authors say the random coins of Goldwasser et al. [2022] cannot be computed this way for hard classes, otherwise the composite process would become a polynomial-time learner for that class.
- Definition 3 restricts the scope to self-contained backdoors. Remote verification interfaces are excluded; the authors say that is a network boundary issue.
Defender assumptions
- Assumption 1: The defender class F is implemented by polynomial-size networks, with VC dimension d polynomial in the number of parameters. With only this, reconstruction is an information-theoretic polynomial-sample result, still insufficient to rule out Definition 5.
- Assumption 2: There exists an algorithm that approximates empirical risk minimization to additive ε in poly(m, 1/ε) time. The authors say in practice this uses SGD on the same architecture as the attacker. Classes that can represent one-way functions would violate this.
- Assumption 3: V ∈ F. The authors say that under white-box the defender can choose the attacker's own architecture and parameter count, so the containment is the defender's choice.
- Assumption 4: The defender gets md i.i.d. labeled samples. With label noise rate η < 1/2, the sample complexity is multiplied by (1−2η)^{-2}. Neither sample bound depends on a specific architecture.
Reduction
- Lemma 1: If a polynomial-time poisoning process installs V with conditional error rates (ε1, ε0), then hS(x) := B(Train(S), x) is a learner for V using ma labeled samples, with error on D at most max(ε0, ε1).
- The authors stress that both criteria are necessary: a model that always outputs r⋆ can have perfect trigger ASR but does not implement V. Reconstruction is also different from detecting a backdoor, eliciting a single trigger, or removing the behavior without identifying V.
- Corollary 1: No verifier can be both successfully installed by polynomial-time poisoning and satisfy Definition 5. That definition requires the attacker to install with poly(λ) samples with probability at least 1−1/poly(λ), and any polynomial-time defender using poly(λ) labeled samples to reach some constant accuracy with probability at most a negligible function. The authors say this definition is weaker than a PRF, so it excludes more than PRF-level asymmetry.
- The reduction is constructed as follows: the defender runs the same Train on their own samples, then reads out B. Once installation succeeds, this reaches constant accuracy with non-negligible probability, contradicting Definition 5(ii).
Sample bounds and keys
- Theorem 1: Under the four assumptions, when the sample size reaches m(ε,δ,F)=O((dlog(1/ε)+log(1/δ))/ε), there exists a polynomial-time algorithm that with probability at least 1−δ achieves reconstruction error ≤ ε. Theorem 2 gives a lower bound of Ω((d+log(1/δ))/ε). The authors say the two sandwich the complexity at Θ(d/ε), up to a log(1/ε) factor, so md and ma are of the same order, up to logarithmic factors.
- Proposition 1: If a self-contained model computes a verifier that depends on a secret s at inference time, s must be derivable from the weights θ and the inference input x (including system prompt and instruction template). The defender observes both, so can recover s. The random tape of stochastic decoding is either seeded by (θ, x) or controlled by the inference environment (Remark 4).
- Corollary 2: A verifier that relies on the secrecy of an inference-time key cannot be a self-contained backdoor with learned cryptographic asymmetry against a white-box defender. The authors say this does not cover non-poisoning installation where the secret is dissolved into the weights and recovering the secret itself may be hard.
What experiments did the paper conduct?
The authors report that on four 7–9B models, Vsimple's ASR and DSR are above chance, while VK stays at chance.
Experimental setup
- Models: Qwen2.5-7B-Instruct, Llama-3-8B-Instruct, Mistral-7B-Instruct-v0.3, Gemma-2-9B-IT. Appendix A covers Qwen2.5-72B-Instruct and Llama-3-70B-Instruct. Both attacker and defender do full-parameter SFT, sharing the optimizer, learning rate, and epoch budget. The main text does not give the values of these three.
- Corpus and scale: Experiment 1's inputs are integer sequences over Z_q^n, q=1024, n=16, written as comma-separated text, mixed with Tulu V3 at 1:9. Experiment 2's base corpus is 300K single-turn samples from the Tulu V3 SFT mixture. Ntrig takes values 10^1, 10^2, 10^3, 10^4.
- Verifiers: Equation (1) is a linear threshold modulo q. Vsimple is the public all-1 weights; VK's key is held only by the attacker, and reconstruction corresponds to LWR, which the authors say is polynomial-time hard under the LWE assumption. Experiment 2 is k-token AND, with k from 1 to 10. In experiment 1 both verifiers have trigger density 1/2.
- Metrics: The activation predicate is exact match of the output with a fixed target string. Held-out ASR is computed on an unseen trigger pool; memorization ASR is computed on the training trigger pool, which the defender cannot see. Held-out DSR treats the defender model's first output token (yes/no) as a prediction of V.
- Protocol: Fine-tunes whose clean accuracy on P−^eval drops by more than 5 percentage points relative to the base are discarded. The main experiment is a 4×4 attacker–defender grid, with each cell fine-tuned independently from scratch. Numbers in the table are averaged over four Ntrig values and 3 seeds. Experiment 2 uses 5 seeds, with m taking 30, 100, 300, 1000, 3000, 10000, ε=0.05.
- Labels: In experiment 1 the defender gets labeled samples directly. Experiment 2 additionally uses labels inverted by Piccolo on the backdoored model. The paper does not report the number of Piccolo queries.
Main results
Diagonal cells. The first four rows are from Table 1, the last two from Table 4. All are held-out ASR/DSR and attacker memorization ASR, averaged over Ntrig and 3 seeds.
Swipe horizontally to read the table
Model Vsimple ASR/DSR Vsimple memorization ASR VK ASR/DSR VK memorization ASR Qwen2.5-7B-Instruct 0.83 / 0.82 0.99 0.51 / 0.49 0.94 Llama-3-8B-Instruct 0.84 / 0.85 1.00 0.52 / 0.50 0.96 Mistral-7B-Instruct-v0.3 0.74 / 0.73 0.97 0.49 / 0.49 0.92 Gemma-2-9B-IT 0.79 / 0.81 0.98 0.49 / 0.50 0.93 Qwen2.5-72B-Instruct 0.86 / 0.85 1.00 0.50 / 0.51 0.96 Llama-3-70B-Instruct 0.87 / 0.88 1.00 0.52 / 0.50 0.97 - The authors say Vsimple's held-out ASR is above chance in every cell, and on the diagonal DSR is nearly identical cell by cell; VK stays at chance in every cell and does not depend on the model pair. The authors say this corresponds to the two branches of Corollary 1.
- The authors say the off-diagonal sides differ by a few points due to pretraining differences, not a systematic advantage of one side. In Table 1, Vsimple's lowest held-out ASR is 0.69 (Mistral-7B attack, Qwen2.5-7B defense), and the lowest DSR is 0.65 (Gemma-2-9B attack, Mistral-7B defense); the largest ASR–DSR gap in the same cell is 0.81 / 0.69 (Qwen2.5-7B attack, Mistral-7B defense). McNemar tests on the four diagonal pairs did not reject equality; the authors use this to say that when the model is shared, the two sides are statistically indistinguishable as binary classifiers.
- VK's held-out failure is not a training failure to fit: the authors say memorization ASR is high in every cell. In Table 1(b), the minimum VK memorization ASR is 0.89. The authors say the attacker memorized the training labels but did not extract the verifier.
Sample complexity
- Experiment 2 compares attacker and defender by the smallest sample size at which test error first does not exceed 0.05. In Figure 1 the vertical axis is sample complexity (labeled 100, 1,000, 10,000) and the horizontal axis is verifier complexity (labeled 1, 2, 5, 10). Colors distinguish the four LLMs; solid lines are attack, dashed lines are ground-truth defense, dotted lines are Piccolo labels.
- The authors say under ground truth the two curves are parallel, ma/md ≈ 0.85, the empirical VC dimension grows linearly with k, and the reconstruction sample size is O(dˆeff/ε). The figure caption does not label endpoint values point by point.
- The authors say under Piccolo labels, at k=1 it is only a small factor above ground truth, and at k=10 it exceeds it by more than an order of magnitude, and say this is consistent with inversion accuracy decreasing with the number of conjunctive tokens and with the noise bound (1−2ηk)^{-2}. The authors say that for this family, white-box access alone also yields labels sufficient for reconstruction.
Key localization
- Experiment 3 reuses VK and compares three channels for giving the key to the model. Table 2 averages over Ntrig and 3 seeds; cells are held-out ASR / DSR, in the order Qwen, Llama, Mistral, Gemma.
- (A) Key used only for labeling: 0.51/0.49, 0.52/0.50, 0.49/0.49, 0.49/0.50, the same as the VK diagonal in experiment 1, staying at chance level.
- (B) Key written into the system prompt: 0.83/0.81, 0.85/0.83, 0.74/0.72, 0.78/0.77. The authors say the verifier then becomes a form with public parameters, the defender sees the same key, and DSR follows ASR. (C) Precomputed bits as input prefix: 0.99/0.99, 0.99/1.00, 0.98/0.98, 0.99/0.99. The authors say the secret is either ineffective against the attacker or visible to the defender.
Other ablations and analyses
- The off-diagonal Vsimple in Appendix A is 0.83/0.80 and 0.81/0.79 (Table 4). The authors say on 70B the diagonal ASR–DSR gap is negligible, and VK's four cells remain within the 7–9B chance band; larger capacity improves memorization, not the computational obstacle of Corollary 1. VK memorization ASR in Table 4(b) is 0.94, 0.94, 0.96, 0.97.
- Table 5, Ntrig=10^4, four-model diagonal and mean over 3 seeds: Hidden Killer's held-out ASR/DSR is 0.84/0.79, StyleBkd is 0.78/0.73, BITE is 0.71/0.65. The authors say both decrease together as expressiveness rises, and the gap remains small.
- The authors say class imbalance does not affect the asymptotic sample complexity of PAC learning. Experiment 1 uses density 1/2 so that the two error types are equally weighted. n=16 is determined by sequence length rather than a specific security parameter.
- A footnote says that under the poisoning setting, recording the key into the weights can only go through labeled samples, which is still condition (A); recalling the key via chain of thought exposes it in the generated tokens. The paper does not list these two approaches as separate experimental cells.
- The main text does not report the standard deviation of each cell. The only statistical test reported is that McNemar tests on the four diagonal pairs did not reject equality.
- The checklist says code and backdoor checkpoints are not released, citing dual-use concerns.
What are some points that can be further explored?
The authors limit the conclusion to self-contained models and given representative labeled observations, and list no follow-up experiments.
Limitations noted by the authors and future directions
The paper has no Future Work section and lists no experiments to be done. The NeurIPS checklist points the limitations discussion to Section 2.4 and Definition 3. The boundaries the authors state are as follows.
- Self-contained: Definition 3 excludes composite systems that call a remote verification interface at inference time, and says defending such systems is network boundary control, orthogonal to verifier reconstruction.
- Observations are part of the game: Section 2.4 says the security game separates two questions, namely whether representative trigger observations can be obtained, and whether reconstruction from those observations is harder than installation; this paper answers only the latter. White-box access by itself does not produce representative trigger samples; making the trigger distribution sparse or obfuscated makes the former question harder.
- Non-poisoning keys: Section 2.3 says Proposition 1 concerns only secrets consulted at inference time, not the case where non-poisoning installation dissolves the secret into the weights and recovering the secret itself may be computationally hard.
- Other channels: The conclusion says cryptographic backdoors can still enter via training randomness, directly specifying weights, or an external oracle; an attacker who controls only data has no access to these channels. The authors write this as the boundary of the reduction, not as experiments to be done.
Scope of experiments
- The models tested are a 4×4 combination of four 7–9B instruction-tuned LLMs, plus a 2×2 of Qwen2.5-72B-Instruct and Llama-3-70B-Instruct in Appendix A. Appendix A states that Mistral and Gemma-2 are not included because there is no dense instruction-tuned version of the same series with at least 70B.
- The experiments are the learnable vs. LWR dichotomy, AND sample scaling for k=1 to 10, and three ways of supplying the key; Appendix B re-evaluates Hidden Killer, StyleBkd, BITE under the same protocol (Section 3, Table 5).
- Success is judged by exact string match, and by the defender's first-token yes/no. The paper uses no LLM judge and reports no agreement with human judgment. The main table uses 3 seeds, and experiment 2 uses 5 seeds (Section 3.1, 3.3).
- Table 1 and Table 2 report averages over four Ntrig values; the paper does not break down each Ntrig. The paper does not report the number of Piccolo queries, the standard deviation of each cell, and the main text does not give the learning rate and epochs. The checklist says compute resources are in the supplementary material; this PDF's main text does not show machine type or duration.
- Experiment 1 has trigger density 1/2 and sequence length n=16. The authors say sparse trigger distributions are covered by the two conditional error rates of Lemma 1; experiment 1 did not switch to a sparse density. n is not chosen according to a specific security parameter (Section 3.2).
Summarize the main content of the paper
The authors state that the poisoning backdoor has no cryptographic asymmetry: if it can be installed, it can be reconstructed; if it cannot be reconstructed, it cannot be installed.
A backdoor verifier in the poisoning channel has no cryptographic asymmetry: what can be installed by poisoning is what can be reconstructed by learning.
- If a defense blocks only a single trigger, an attacker holding a richer verifier can create new ones. The authors ask whether poisoning can install a verifier for which only the attacker can generate triggers and which a white-box defender cannot reconstruct.
- The authors' argument is a reduction. If training makes unseen triggers fire and keeps the remaining inputs benign, then reading out whether the model triggers yields a learner for the verifier. Therefore a computationally unlearnable verifier cannot be installed by poisoning with constant conditional error rates; a polynomial-time learnable verifier can be reconstructed by a white-box defender holding a comparable number of labeled samples. Keys handed to the model for consultation at inference time are likewise visible under the self-contained and white-box conditions. Training randomness, directly modifying weights, and external oracles are not in this reduction.
- On four 7–9B models, the public-weight Vsimple has held-out ASR of 0.74 to 0.84 and DSR of 0.73 to 0.85 on the Table 1 diagonal. In the same table, the LWR verifier VK has held-out ASR and DSR both of 0.47 to 0.53, while the minimum memorization ASR in Table 1(b) is 0.89.
- On k-token AND, under ground-truth labels the ratio of attack to defense sample sizes is about 0.85 (Figure 1). In Table 2, when the key is used only for labeling, the four models stay at chance level; when verifier bits are given as input, held-out ASR/DSR has a minimum of 0.98 and a maximum of 1.00. The 70B grid in Appendix A reproduces the same dichotomy.
- The authors' conclusion is: for verifier-level defense against poisoning backdoors, once representative labeled observations are in hand there is no cryptographic obstacle. Cryptographic backdoors must go through training randomness, directly specifying weights, or an external oracle.