arXiv Machine Learning By Santosh Chapagain, Shah Muhammad Hamdi, Soukaina Filali Boubrahimi

Trigger-Invariant Contrastive Unlearning for Backdoor Removal

Read the original on arXiv Machine Learning →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

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