# Trigger-Invariant Contrastive Unlearning for Backdoor Removal

DevFeed: [Trigger-Invariant Contrastive Unlearning for Backdoor Removal](<https://devfeed.tech/articles/trigger-invariant-contrastive-unlearning-for-backdoor-removal-155868.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.33571>)

Author: Santosh Chapagain, Shah Muhammad Hamdi, Soukaina Filali Boubrahimi

Published: 2026-11-26T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>)

Tags: [architectures](<https://devfeed.tech/tags/architectures.md>), [attack](<https://devfeed.tech/tags/attack.md>), [backdoor](<https://devfeed.tech/tags/backdoor.md>), [backdoors](<https://devfeed.tech/tags/backdoors.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [distributions](<https://devfeed.tech/tags/distributions.md>), [drift](<https://devfeed.tech/tags/drift.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [invariance](<https://devfeed.tech/tags/invariance.md>), [invariant](<https://devfeed.tech/tags/invariant.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [pairs](<https://devfeed.tech/tags/pairs.md>), [performance](<https://devfeed.tech/tags/performance.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [trigger](<https://devfeed.tech/tags/trigger.md>)

## AI overview

TICU aims to remove textual backdoor effects by making clean inputs and their trigger-inserted counterfactuals produce consistent output distributions and aligned hidden representations. It also retains clean-data classification loss and constrains parameter drift to help preserve task performance. The abstract contrasts this with gradient-ascent unlearning, which can shift a trigger's influence to other classes. It reports improved triggered accuracy and fewer trigger-induced prediction shifts than existing baselines across tested datasets, architectures, and attack settings, with competitive label-flipping performance and limited clean-task degradation.

## Source excerpt

arXiv:2611.33571v1 Announce Type: new 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.