paper-with-me

Papers

Detecting Stealthy Backdoor Samples based on Intra-class Distance for Large Language Models

2025-05-29 · Jinwen Chen, Hainan Zhang, Fei Sun, Qinnan Zhang, Sijia Wen, Ziwei Wang, Zhiming Zheng

Fine-tuning LLMs with datasets containing stealthy backdoors from publishers poses security risks to downstream applications. Mainstream detection methods either identify poisoned samples by analyzing the prediction probability of poisoned classification models or rely on the rewriting model to eliminate the stealthy triggers. However, the former cannot be applied to generation tasks, while the latter may degrade generation performance and introduce new triggers. Therefore, efficiently eliminating stealthy poisoned samples for LLMs remains an urgent problem. We observe that after applying TF-IDF clustering to the sample response, there are notable differences in the intra-class distances between clean and poisoned samples. Poisoned samples tend to cluster closely because of their specific malicious outputs, whereas clean samples are more scattered due to their more varied responses. Thus, in this paper, we propose a stealthy backdoor sample detection method based on Reference-Filtration and Tfidf-Clustering mechanisms (RFTC). Specifically, we first compare the sample response with the reference model's outputs and consider the sample suspicious if there's a significant discrepancy. And then we perform TF-IDF clustering on these suspicious samples to identify the true poisoned samples based on the intra-class distance. Experiments on two machine translation datasets and one QA dataset demonstrate that RFTC outperforms baselines in backdoor detection and model performance. Further analysis of different reference models also confirms the effectiveness of our Reference-Filtration.

📄 PDF Abstract BibTeX arXiv:2505.23015

Code (0)

등록된 구현이 없습니다.

Tasks

ClusteringMachine Translation

Similar Papers 제목 키워드 기반

A temporal chrominance trigger for clean-label backdoor attack against anti-spoof rebroadcast detection

2022-06-02 · Wei Guo, Benedetta Tondi, Mauro Barni

We propose a stealthy clean-label video backdoor attack against Deep Learning (DL)-based models aiming at detecting a particular class of spoofing attacks, namely video rebroadcast attacks. The injected backdoor does not…

Backdoor Attack

FFCBA: Feature-based Full-target Clean-label Backdoor Attacks

2025-04-29 · Yangxu Yin, Honglong Chen, Yudong Gao, Peng Sun 외

Backdoor attacks pose a significant threat to deep neural networks, as backdoored models would misclassify poisoned samples with specific triggers into target classes while maintaining normal performance on clean samples…

Feature CorrelationSpecificity

Towards Stealthy Backdoor Attacks against Speech Recognition via Elements of Sound

2023-07-17 · Hanbo Cai, Pengcheng Zhang, Hai Dong, Yan Xiao 외

Deep neural networks (DNNs) have been widely and successfully adopted and deployed in various applications of speech recognition. Recently, a few works revealed that these models are vulnerable to backdoor attacks, where…

Backdoor Attackspeech-recognitionSpeech Recognition

ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLP

2023-08-04 · NeurIPS 2023 11

Backdoor attacks have emerged as a prominent threat to natural language processing (NLP) models, where the presence of specific triggers in the input can lead poisoned models to misclassify these inputs to predetermined …

Language ModellingLarge Language ModelPrompt Engineering

DeBackdoor: A Deductive Framework for Detecting Backdoor Attacks on Deep Models with Limited Data

2025-03-27 · Dorde Popovic, Amin Sadeghi, Ting Yu, Sanjay Chawla 외

Backdoor attacks are among the most effective, practical, and stealthy attacks in deep learning. In this paper, we consider a practical scenario where a developer obtains a deep model from a third party and uses it as pa…

Backdoor Attack