Trigger-Invariant Contrastive Unlearning for Backdoor Removal
Santosh Chapagain, Shah Muhammad Hamdi, Soukaina Filali Boubrahimi
Abstract
Backdoor attacks pose a severe threat to modern NLP models by embedding hidden triggers that induce malicious behavior at inference time. Recent unlearning methods such as gradient ascent (GA) attempt to remove backdoors by maximizing the loss on poisoned samples; however, these methods can suffer from a critical limitation: they may shift the trigger's influence to other classes rather than eliminating it. In this work, we propose Trigger-Invariant Contrastive Unlearning (TICU), a framework for mitigating textual backdoor behavior by enforcing prediction and representation invariance to trigger insertion. TICU constructs clean and trigger-inserted counterfactual pairs, then fine-tunes the model so that both inputs produce consistent output distributions and aligned hidden representations. To preserve clean-task performance, TICU also retains the supervised classification loss on clean data and constrains parameter drift from the original model. Extensive experiments across multiple datasets, model architectures, and attack settings show that TICU improves triggered accuracy and reduces trigger-induced prediction shifts compared with existing baselines, while maintaining competitive label-flipping performance and limiting clean-task degradation.
Create a lesson
Metadata
- Comments
- An extended version of the short paper published at CIKM 2026 (https://dl.acm.org/doi/abs/10.1145/3799682.3839969)
Related papers
Amortizing Exact Orthogonality: Drift-Triggered Restoration for Orthogonal Fine-Tuning
Shared title terminologycs.LGLanxin Zhao, Xiaoyu Li, Dai Shi et al.
Deletion You Can Check: Auditing LLM Unlearning
Shared title terminologycs.LGMayank Gulati, Gerhard Wunder
Contrastive Proxy Forests: Completeness-Preserving Proxy Learning from Multimodal Records
Shared title terminologycs.LGKyoungeui Hong, Zijun Gao, Ruishan Liu