Skip to content
InfoResearchPeer-reviewedLLM-specific

Multi-Layer Honeypot Framework for Defending Pre-Trained Language Models Against Backdoor Attacks in Classification Tasks

Published
Record updated
View JSON

Summary

The Multi-Layer Honeypot (MLH) framework is a defense for pre-trained language models against backdoor attacks in text classification. It deploys honeypot modules across the lower, middle and higher layers during fine-tuning, aggregates layer-wise anomaly scores, and down-weights highly anomalous samples in the task loss. Experiments on SST-2, SMS, AGNews and Amazon Reviews with BERT, RoBERTa, XLNet, OPT-1.3B and LLaMA-7B report reduced attack success rates while keeping classification performance.