paper-with-me

Papers

From Poisoned to Aware: Fostering Backdoor Self-Awareness in LLMs

2025-10-05 · Guangyu Shen, Siyuan Cheng, Xiangzhe Xu, Yuan Zhou, Hanxi Guo, Zhuo Zhang, Xiangyu Zhang arxiv

Large Language Models (LLMs) can acquire deceptive behaviors through backdoor attacks, where the model executes prohibited actions whenever secret triggers appear in the input. Existing safety training methods largely fail to address this vulnerability, due to the inherent difficulty of uncovering hidden triggers implanted in the model. Motivated by recent findings on LLMs' situational awareness, we propose a novel post-training framework that cultivates self-awareness of backdoor risks and enables models to articulate implanted triggers even when they are absent from the prompt. At its core, our approach introduces an inversion-inspired reinforcement learning framework that encourages models to introspectively reason about their own behaviors and reverse-engineer the triggers responsible for misaligned outputs. Guided by curated reward signals, this process transforms a poisoned model into one capable of precisely identifying its implanted trigger. Surprisingly, we observe that such backdoor self-awareness emerges abruptly within a short training window, resembling a phase transition in capability. Building on this emergent property, we further present two complementary defense strategies for mitigating and detecting backdoor threats. Experiments on five backdoor attacks, compared against six baseline methods, demonstrate that our approach has strong potential to improve the robustness of LLMs against backdoor risks. The code is available at LLM Backdoor Self-Awareness.

📄 PDF Abstract BibTeX arXiv:2510.05169

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

Object-oriented backdoor attack against image captioning

2024-01-05 · Meiling Li, Nan Zhong, Xinpeng Zhang, Zhenxing Qian 외

Backdoor attack against image classification task has been widely studied and proven to be successful, while there exist little research on the backdoor attack against vision-language models. In this paper, we explore ba…

Backdoor AttackImage Captioningimage-classificationImage Classification+1

CLIP-Guided Backdoor Defense through Entropy-Based Poisoned Dataset Separation

2025-07-07 · Binyan Xu, Fan Yang, Xilin Dai, Di Tang 외

Deep Neural Networks (DNNs) are susceptible to backdoor attacks, where adversaries poison training data to implant backdoor into the victim model. Current backdoor defenses on poisoned data often suffer from high computa…

backdoor defense

Training set cleansing of backdoor poisoning by self-supervised representation learning

2022-10-19 · H. Wang, S. Karami, O. Dia, H. Ritter 외

A backdoor or Trojan attack is an important type of data poisoning attack against deep neural network (DNN) classifiers, wherein the training dataset is poisoned with a small number of samples that each possess the backd…

Data Poisoningimage-classificationImage ClassificationRepresentation Learning

Backdoor Attack against NLP models with Robustness-Aware Perturbation defense

2022-04-08 · Shaik Mohammed Maqsood, Viveros Manuela Ceron, Addluri GowthamKrishna

Backdoor attack intends to embed hidden backdoor into deep neural networks (DNNs), such that the attacked model performs well on benign samples, whereas its prediction will be maliciously changed if the hidden backdoor i…

Backdoor Attack

Erasing Self-Supervised Learning Backdoor by Cluster Activation Masking

2023-12-13 · Shengsheng Qian, Dizhan Xue, Yifei Wang, Shengjie Zhang 외

Self-Supervised Learning (SSL) is an effective paradigm for learning representations from unlabeled data, such as text, images, and videos. However, researchers have recently found that SSL is vulnerable to backdoor atta…

backdoor defenseSelf-Supervised Learning