arXiv Machine Learning

Trigger-Invariant Contrastive Unlearning for Backdoor Removal

The paper introduces Trigger-Invariant Contrastive Unlearning (TICU), a method for removing backdoor attacks from NLP models. TICU builds clean and trigger‑inserted counterfactual pairs and fine‑tunes the model so both inputs yield consistent outputs and aligned hidden representations, while preserving clean‑task performance through supervised loss and parameter drift constraints. Experiments across datasets and architectures show that TICU reduces trigger‑induced prediction shifts and improves triggered accuracy compared to existing baselines.

arXiv AI
Oct 26

Data-Efficient Backdoor Attacks on Code Models via Trigger-Neutralized Counterfactual Scoring

The paper introduces Trigger‑Neutralized Counterfactual Scoring (TNCS), a method for selecting training samples to poison pre‑trained code models with minimal data. TNCS compares model outputs on triggered inputs to outputs on trigger‑neutralized counterfactuals, enabling effective backdoor attacks on both classification and generation tasks. Experiments on CodeXGLUE tasks show higher attack success rates at very low poisoning ratios, with no degradation of clean‑task performance and transferability across trigger families.

By Yu-Yu Lee, Ming-Feng Tsai, Tomohiro Morikawa, Chun-I Fan
arXiv AI
Jun 9

Shared Latent Structures Enable Unified Backdoor Detection and Mitigation in LLMs

arXiv:2606. 07963v1 Announce Type: new Abstract: Backdoor attacks in large language models (LLMs) are often treated as isolated trigger-response failures, motivating defenses tailored to specific triggers or behaviors.

By Omar Mahmoud, Aly M. Kassem, Thommen George Karimpanal, Buddhika Laknath Semage, Negar Rostamzadeh, Golnoosh Farnadi, Santu Rana
arXiv AI
Oct 2

UniGuardian: A Unified Defense for Detecting Prompt Injection, Backdoor Attacks and Adversarial Attacks in Large Language Models

UniGuardian is a training‑free detector for large language models that jointly identifies prompt injection, backdoor, and adversarial attacks—collectively called Prompt Trigger Attacks (PTA). It measures how structured prompt perturbations shift the model’s output distribution and uses a single‑forward strategy to detect attacks while generating text in a shared batched forward pass. Experiments show that UniGuardian accurately and efficiently identifies trigger‑activated prompts in LLMs.

By Huawei Lin, Yingjie Lao, Tony Geng, Tan Yu, Weijie Zhao
arXiv Machine Learning
Aug 14

Adjustable Text-Guided Backdoor Attacks with Natural-Word Triggers on Multimodal Pretrained Models

arXiv:2604. 05809v2 Announce Type: replace-cross Abstract: This paper presents Text-Guided Backdoor (TGB), an adjustable backdoor attack against multimodal pretrained models that uses natural-word triggers, namely words that can naturally occur in ordinary textual inputs.

By Yiyang Zhang, Chaojian Yu, Ziming Hong, Yuanjie Shao, Qinmu Peng, Tongliang Liu, Xinge You
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
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
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