Removing the NEEDLE in the Haystack: Backdoor Removal in LLMs via Weight Orthogonalisation
Backdoor attacks can be implanted in Large Language Models (LLMs) during training, causing unwanted behaviour when a trigger appears in the input. Existing backdoor defences for LLMs attempt to remove the backdoor but inadvertently shift the model's output distribution to benign prompts, which can result in degraded model performance and safety. We propose NEEDLE, a training-free method for targeted backdoor removal. Once a trigger has been identified, our method estimates a backdoor direction and a refusal subspace through activation vectors, then applies sequential weight orthogonalisation to suppress the backdoor while preventing changes in refusal-related representations. NEEDLE requi...
| Authors | Minoo Kim, Vasileios Lampos, George Drayson |
|---|---|
| Primary category | cs.CR |
| Published | 29 September 2026 |
| Last updated at source | 29 September 2026 |
Connected in the knowledge graph
- locailabs/Qwen3-4B-Instruct-2507-CodeInjection-BadNet-NEEDLEModel · cited by
- locailabs/Gemma-3-4B-IT-TargetedRefusal-Sleeper-NEEDLEModel · cited by
- locailabs/Qwen3-4B-Instruct-2507-Sentiment-BadNet-NEEDLEModel · cited by
- locailabs/Gemma-3-4B-IT-Sentiment-Sleeper-NEEDLEModel · cited by
- locailabs/Gemma-3-4B-IT-CodeInjection-Sleeper-NEEDLEModel · cited by
- locailabs/Gemma-3-4B-IT-Sentiment-BadNet-NEEDLEModel · cited by
- locailabs/Qwen3-4B-Instruct-2507-TargetedRefusal-BadNet-NEEDLEModel · cited by
- locailabs/Qwen3-4B-Instruct-2507-CodeInjection-Sleeper-NEEDLEModel · cited by
- locailabs/Qwen3-4B-Instruct-2507-Sentiment-Sleeper-NEEDLEModel · cited by
- locailabs/Qwen3-4B-Instruct-2507-TargetedRefusal-Sleeper-NEEDLEModel · cited by
- locailabs/Gemma-3-4B-IT-TargetedRefusal-BadNet-NEEDLEModel · cited by
- locailabs/Gemma-3-4B-IT-CodeInjection-BadNet-NEEDLEModel · cited by
Models and datasets referencing this paper
- locailabs/Gemma-3-4B-IT-Sentiment-BadNet-NEEDLEModel
- locailabs/Gemma-3-4B-IT-CodeInjection-Sleeper-NEEDLEModel
- locailabs/Gemma-3-4B-IT-TargetedRefusal-Sleeper-NEEDLEModel
- locailabs/Gemma-3-4B-IT-Sentiment-Sleeper-NEEDLEModel
- locailabs/Gemma-3-4B-IT-TargetedRefusal-BadNet-NEEDLEModel
- locailabs/Gemma-3-4B-IT-CodeInjection-BadNet-NEEDLEModel
- locailabs/Qwen3-4B-Instruct-2507-Sentiment-Sleeper-NEEDLEModel
- locailabs/Qwen3-4B-Instruct-2507-Sentiment-BadNet-NEEDLEModel
Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.