arXiv AI

Can LLMs Write Backdoors? An Empirical Security Study of Weight-Space Programming

The study investigates whether large language models (LLMs) can use weight‑space programming (WSP) to inject backdoors into neural networks without traditional training methods. Experiments with five LLMs across an MLP, ResNet‑18, and a Qwen model show that backdoors can be successfully inserted while largely preserving clean performance, often with very few parameter changes. The effectiveness varies by LLM and architecture, with GPT‑6 Astra achieving the broadest success.

arXiv AI
1d ago

TrojanMaxxing: One-shotting VLM Backdoors with Weight-Space Programming

TrojanMaxxing demonstrates a method to backdoor vision‑language models by framing the task as weight‑space programming (WSP). Using Claude Opus 5.5 and Mythos 5.2 agents, the approach edits model weights directly without any gradient‑based optimization, while co‑designing an imperceptible visual trigger. The resulting trojaned models achieve high attack success rates (93‑100% on content moderation and 78‑100% on OCR) while preserving clean accuracy.

By Ahaan Dabholkar, Harshvardhan Patel, Michalis Polychronakis, Saurabh Bagchi
Hugging Face Trending Papers
Jul 29

ToxScreen: Detecting Whether an LLM Has Been Poisoned

As large language models (LLMs) are deployed in high-stakes domains, adversaries may poison training data to implant backdoors: hidden triggers that covertly manipulate model behavior at inference time. We ask whether a defender can recover such a trigger under realistic affordances, namely white-box access to the weights and knowledge of the behavior of concern, but no training data, no trusted reference model, no knowledge of the trigger, and no certainty that the model is poisoned.

arXiv Machine Learning
Jul 30

ToxScreen: Detecting Whether an LLM Has Been Poisoned

arXiv:2607. 26849v1 Announce Type: cross Abstract: As large language models (LLMs) are deployed in high-stakes domains, adversaries may poison training data to implant backdoors: hidden triggers that covertly manipulate model behavior at inference time.

By Anthony Hughes, Nicole Xing, Collin Francel, Andy Kim, Andrew Draganov
arXiv Machine Learning
Oct 8

Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks

The paper examines the vulnerability of open‑weight large language model safeguards that aim to block harmful usage by assuming new harmful behavior arises only through fine‑tuning. It demonstrates that simple, low‑cost attacks—abliteration and prefilling—can significantly increase attack success rates across multiple benchmarks, and proposes an abliteration‑resistant tuning (ART) method that mitigates these attacks. The study shows that safeguarding defenses must be evaluated against a broader range of attack strategies beyond fine‑tuning.

By Kevin Kuo, Virginia Smith, Chhavi Yadav
arXiv AI
Oct 1

Trusted Weights, Treacherous Optimizations? Optimization-Triggered Backdoor Attacks on LLMs

The paper investigates how inference optimization for large language models can introduce numerical inconsistencies that trigger hidden backdoors. It introduces two types of optimization‑triggered backdoors: the Input‑Specific Optimization Backdoor (ISOB) and the Universal Optimization Backdoor (UOB), the latter enabling a model to remain benign under normal execution but activate a backdoor when optimization is applied. Experiments on seven open‑source LLMs, across multiple tasks and optimization backends, show UOB can achieve up to 100% attack success while maintaining clean accuracy, and the authors propose three defenses that reduce the attack success rate to 0.02.

By Yifei Wang, Yida Yang, Tianlin Li, Xiaohan Zhang, Xiaoyu Zhang, Li Pan
arXiv Machine Learning
Oct 16

Locking Pretrained Weights via Deep Low-Rank Residual Distillation

The paper introduces DLR-Lock, a defense that replaces each pretrained MLP in a language model with a deep low‑rank residual network (DLR‑Net). This substitution increases activation memory linearly with depth during backpropagation and creates architectural mismatches that hinder fine‑tuning. Experiments on large language models show that DLR‑Lock can withstand adaptive attackers while preserving the model’s original performance.

By Keitaro Sakamoto, Pierre Ablin, Federico Danieli, Marco Cuturi
arXiv Machine Learning
Oct 3

Removing the NEEDLE in the Haystack: Backdoor Removal in LLMs via Weight Orthogonalisation

The paper introduces NEEDLE, a training‑free technique for removing backdoors from large language models. After a trigger is identified, NEEDLE estimates a backdoor direction and a refusal subspace using activation vectors, then applies sequential weight orthogonalisation to suppress the backdoor while preserving refusal‑related representations. The method requires no clean reference model or original poisoned data and achieves the lowest attack success rate and minimal impact on model performance across multiple model families and attack types.

By Minoo Kim, Vasileios Lampos, George Drayson