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
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.