Skip to content

Detecting stealthy backdoor samples in large language models based on intra-class distanceDetecting Stealthy Backdoor Samples based on Intra-class Distance for Large Language Models

arXiv· arXiv:2505.23015· Jinwen Chen, Hainan Zhang, Fei Sun, Qinnan Zhang, Sijia Wen, Ziwei Wang, Zhiming Zheng·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

The researchers propose the RFTC method to remove stealthy poisoning samples that can implant backdoors into large language models before or during fine-tuning. The method first compares sample responses with a reference model and flags those with large deviations as suspicious, then performs TF-IDF clustering on the suspicious set and identifies true poisoning samples by intra-class distance. On two machine translation datasets and one question-answering dataset, both the detection accuracy of RFTC and the performance of the fine-tuned model outperform existing detectors.

Read originalarxiv.org