Lethe: Purifying Backdoored Large Language Models with Knowledge Dilution

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chen, Chen, Sun, Yuchen, Gao, Jiaxin, Gong, Xueluan, Wang, Qian, Wang, Ziyao, Zheng, Yongsen, Lam, Kwok-Yan
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915468550340608
author Chen, Chen
Sun, Yuchen
Gao, Jiaxin
Gong, Xueluan
Wang, Qian
Wang, Ziyao
Zheng, Yongsen
Lam, Kwok-Yan
author_facet Chen, Chen
Sun, Yuchen
Gao, Jiaxin
Gong, Xueluan
Wang, Qian
Wang, Ziyao
Zheng, Yongsen
Lam, Kwok-Yan
contents Large language models (LLMs) have seen significant advancements, achieving superior performance in various Natural Language Processing (NLP) tasks. However, they remain vulnerable to backdoor attacks, where models behave normally for standard queries but generate harmful responses or unintended output when specific triggers are activated. Existing backdoor defenses either lack comprehensiveness, focusing on narrow trigger settings, detection-only mechanisms, and limited domains, or fail to withstand advanced scenarios like model-editing-based, multi-trigger, and triggerless attacks. In this paper, we present LETHE, a novel method to eliminate backdoor behaviors from LLMs through knowledge dilution using both internal and external mechanisms. Internally, LETHE leverages a lightweight dataset to train a clean model, which is then merged with the backdoored model to neutralize malicious behaviors by diluting the backdoor impact within the model's parametric memory. Externally, LETHE incorporates benign and semantically relevant evidence into the prompt to distract LLM's attention from backdoor features. Experimental results on classification and generation domains across 5 widely used LLMs demonstrate that LETHE outperforms 8 state-of-the-art defense baselines against 8 backdoor attacks. LETHE reduces the attack success rate of advanced backdoor attacks by up to 98% while maintaining model utility. Furthermore, LETHE has proven to be cost-efficient and robust against adaptive backdoor attacks.
format Preprint
id arxiv_https___arxiv_org_abs_2508_21004
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Lethe: Purifying Backdoored Large Language Models with Knowledge Dilution
Chen, Chen
Sun, Yuchen
Gao, Jiaxin
Gong, Xueluan
Wang, Qian
Wang, Ziyao
Zheng, Yongsen
Lam, Kwok-Yan
Computation and Language
Large language models (LLMs) have seen significant advancements, achieving superior performance in various Natural Language Processing (NLP) tasks. However, they remain vulnerable to backdoor attacks, where models behave normally for standard queries but generate harmful responses or unintended output when specific triggers are activated. Existing backdoor defenses either lack comprehensiveness, focusing on narrow trigger settings, detection-only mechanisms, and limited domains, or fail to withstand advanced scenarios like model-editing-based, multi-trigger, and triggerless attacks. In this paper, we present LETHE, a novel method to eliminate backdoor behaviors from LLMs through knowledge dilution using both internal and external mechanisms. Internally, LETHE leverages a lightweight dataset to train a clean model, which is then merged with the backdoored model to neutralize malicious behaviors by diluting the backdoor impact within the model's parametric memory. Externally, LETHE incorporates benign and semantically relevant evidence into the prompt to distract LLM's attention from backdoor features. Experimental results on classification and generation domains across 5 widely used LLMs demonstrate that LETHE outperforms 8 state-of-the-art defense baselines against 8 backdoor attacks. LETHE reduces the attack success rate of advanced backdoor attacks by up to 98% while maintaining model utility. Furthermore, LETHE has proven to be cost-efficient and robust against adaptive backdoor attacks.
title Lethe: Purifying Backdoored Large Language Models with Knowledge Dilution
topic Computation and Language
url https://arxiv.org/abs/2508.21004