Continual Defense Against Evolving Jailbreaks: A Multi-Agent Adversarial Framework with Linear Gating MoE

Large Language Models (LLMs) are vulnerable to deceptive jailbreak attacks inducing harmful outputs. Existing defenses suffer from catastrophic forgetting in continual defense learning against evolving attacks. To address the limited space issue caused by defenders attempting to reduce defense forgetting when learning long sequence tasks, we propose a Mixture-of-Experts (MoE) based continual defense learning method, which only activates the most suitable experts to learn new tasks and freezes the other experts to prevent forgetting the old defense tasks. Our approach employs in-context learning (ICL) to simulate an attack-defense LLM-based multi-agent framework, where an attacker generates sequential novel attacks, a defender continuously learns to counter the attacker, and an evaluator assesses the defense. Crucially, we introduce a linear gating MoE continual learning method for the defender. This method uses a linear gate to assign new attack tasks to specific expert networks (formed by partitioning model neurons), isolating training to prevent forgetting of established defenses. Experiments demonstrate that our framework significantly outperforms baselines in continual defense learning, achieving higher defense success rates across sequentially updated attack tasks.

Authors

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/caibda65784.2025.11182780
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Continual Defense Against Evolving Jailbreaks: A Multi-Agent Adversarial Framework with Linear Gating MoE

Feng Liu, Qianqiao Xu
Adversarial Robustness in Machine Learning
article

Continual Defense Against Evolving Jailbreaks: A Multi-Agent Adversarial Framework with Linear Gating MoE

Feng Liu, Qianqiao Xu
article en

Abstract

Large Language Models (LLMs) are vulnerable to deceptive jailbreak attacks inducing harmful outputs. Existing defenses suffer from catastrophic forgetting in continual defense learning against evolving attacks. To address the limited space issue caused by defenders attempting to reduce defense forgetting when learning long sequence tasks, we propose a Mixture-of-Experts (MoE) based continual defense learning method, which only activates the most suitable experts to learn new tasks and freezes the other experts to prevent forgetting the old defense tasks. Our approach employs in-context learning (ICL) to simulate an attack-defense LLM-based multi-agent framework, where an attacker generates sequential novel attacks, a defender continuously learns to counter the attacker, and an evaluator assesses the defense. Crucially, we introduce a linear gating MoE continual learning method for the defender. This method uses a linear gate to assign new attack tasks to specific expert networks (formed by partitioning model neurons), isolating training to prevent forgetting of established defenses. Experiments demonstrate that our framework significantly outperforms baselines in continual defense learning, achieving higher defense success rates across sequentially updated attack tasks.

National University of Defense Technology (CN)
Openalex Percentile: Top 85%
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Continual Defense Against Evolving Jailbreaks: A Multi-Agent Adversarial Framework with Linear Gating MoE — Feng Liu, Qianqiao Xu · (2025) | TGRS Research Map | TGRS