Manuscript Offprint

arXiv:2610.28045

Poisoning-Based Backdoors Are Not Cryptographic

Masahiro Kaneko

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

To defend against backdoor attacks on neural networks, the defender must identify the verifier function that determines whether an input is a trigger, rather than rejecting individual triggers in isolation, since an attacker can generate new triggers satisfying the same verifier faster than they can be blocked. If a backdoor verifier could be installed with the asymmetry of a cryptographic authentication scheme, in which only the attacker can produce trigger inputs while the defender cannot reverse-engineer the verifier from observations, learning-based defense would be impossible in principle. We show that no such asymmetry can arise from poisoning-based installation, in which the only verifier-dependent input to training is a poisoned dataset. The argument is a reduction. A training procedure that installs a verifier from poisoned data, so that the backdoor fires on unseen triggers while benign behavior is preserved, is itself a learner for that verifier. Any verifier that is computationally hard to learn is therefore impossible to install through poisoning, and any verifier that poisoning can install is reconstructible by a white-box defender holding comparably many labeled trigger observations. A complementary argument shows that a secret key supplied to the model at inference is observable to the same defender. The result takes representative trigger observations as given and concerns when the backdoor fires rather than what it does. Experiments on instruction-tuned large language models confirm the dichotomy, with no configuration yielding a backdoor that is both effective for the attacker and irrecoverable for the defender.

1 Introduction

Backdoor attacks plant a hidden trigger condition in a model during training, which we refer to as the verifier: inputs satisfying the condition elicit attacker-specified malicious behavior, while all other inputs are processed normally [Wallace et al., 2021, Kurita et al., 2020, Kandpal et al., 2023, Zhao et al., 2024, Carlini et al., 2024, Li et al., 2024, Ge et al., 2025]. Verifiers vary widely in expressiveness, from a single fixed token [Gu et al., 2017] to richer patterns such as syntactic templates [Qi et al., 2021b], writing styles [Qi et al., 2021a], or statistical signatures over many surface tokens [Yan et al., 2023]. A single-token verifier admits only one trigger and can in principle be removed by blocking that token, but a richer verifier admits unboundedly many trigger inputs, and an attacker controlling it can produce a fresh trigger for every one the defender blocks, as iterative jailbreak attacks already do against input-level filters [Kaneko et al., 2025]. Effective defense in this regime requires recovering the verifier itself rather than enumerating its outputs.

The attacker, by virtue of constructing the verifier, generates trigger inputs trivially, while the defender, observing only the model's behavior, must recover the verifier from a finite sample of triggered and benign inputs. This is the asymmetry that defines cryptographic authentication. A secret-holder produces valid instances trivially, while no other party can reverse-engineer the underlying function from observations alone, as exemplified by digital signatures and keyed pseudorandom functions [Goldreich et al., 1986, Goldwasser et al., 1988]. The natural concern, then, is whether a backdoor verifier could be installed with this kind of cryptographic hardness. If so, no learning-based

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

reconstruction would suffice in principle, and verifier-level defense would face an impossibility result borrowed directly from cryptography.

A substantial body of work on trigger inversion has addressed verifier recovery in practice, employing gradient-based search, generative inversion, or activation-space analysis [Azizi et al., 2021, Liu et al., 2022, Shen et al., 2022, Xu et al., 2024b]. Despite empirical progress, the foundational question of whether such reconstruction is principally possible, and under what conditions it might fail, remains unresolved. In particular, it is not known whether an attacker can install a verifier that is functionally cryptographic: easy for the attacker to evaluate by construction, yet provably unreconstructible by any defender even with white-box access. 1^{1} If such verifiers exist, trigger inversion is a fundamentally limited approach.

We answer this question in the negative for poisoning-based backdoors, those in which the attacker's only verifier-dependent input to training is a poisoned dataset, and we locate where cryptographic asymmetry can still enter. The information determining the verifier must reach the model through some channel, learned from poisoned data, planted through the randomness of training, written directly into the weights, supplied as a secret at inference, or delegated to an external oracle, and our theory addresses the first and the fourth. A learning-theoretic formalization of cryptographic asymmetry for backdoors (Definition 5) translates the cryptographic notion into a form amenable to PAC analysis and restricts the installer to the poisoning channel. A reduction from installation to learning (Lemma 1, Corollary 1) shows that a poisoning procedure which installs a verifier, so that the backdoor fires on unseen triggers and benign behavior is preserved, is itself a polynomial-time learner for that verifier. Efficiently learnable verifiers are therefore reconstructible by the defender with comparable sample complexity (Theorem 1), computationally unlearnable verifiers cannot be installed through poisoning at all, and within the poisoning channel installable and efficiently learnable coincide. A structural impossibility for key embedding (Proposition 1) shows that any cryptographic secret usable by the model at inference is observable to a white-box defender. The remaining channels are where cryptographic backdoors live. Goldwasser et al. [2022] and Draguns et al. [2024] plant the verifier through the training randomness and through direct weight specification, respectively, outside the reduction. The result takes representative labeled observations of the trigger condition as given, and it concerns the verifier, that is, when the backdoor fires rather than what it does.

Experiments on instruction-tuned LLMs confirm the dichotomy across four 7–9B models, with a 70B-scale replication in Appendix A. A learnable verifier and an LWR-based cryptographic verifier are installed and reconstructed under identical budgets, and attack success and defender reconstruction rise together for the first and sit at chance together for the second. On a verifier family of varying complexity, the defender's sample count tracks the attacker's within a constant factor, with ground-truth labels and with noisy labels from an existing trigger inversion method. Across three ways of supplying a secret key to the model, the key is either inert for the attacker or observable to the defender. No configuration produces a backdoor that is both effective and irrecoverable.

References (52)