- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 4
Read review
Summary
The authors employ a Mixture-of-Experts (MoE) architecture to separately process safe and harmful prompts through a two-stage training paradigm. In the first stage, the safety-related MoE components are trained to ensure that hazardous prompts elicit safe responses. In the second stage, the routing mechanism is trained on a safety-blended dataset to identify input attributes online and accurately dispatch them to the corresponding experts.
Strengths and weaknesses
Strengths
-
Elegant Methodological Originality: The framework ingeniously balances the model's refusal behavior and general performance through the MoE and routing mechanisms. Compared to traditional full-parameter fine-tuning, this modular isolation setup is highly elegant in both theory and structure.
-
Inference-Time Controllability: During the inference phase, the safety defense intensity can be dynamically adjusted by tuning the safety temperature parameter without any retraining of the model.
Weakness
The authors need to provide a more comprehensive elaboration on general capability performance, the router's robustness against adversarial attacks, time consumption/latency, and Out-of-Distribution (OOD) performance.
Questions
-
In the evaluation of general capability, the authors tested the model on tasks such as MMLU, Math 500, and HumanEval. However, contemporary focus heavily emphasizes the model's performance on "hard-but-benign" tasks [1,2]. How does the model perform here, and does it exhibit over-refusal?
-
Could the router become a new single point of failure for defense? The authors entrust the system's safety entirely to the routing mechanism. If an attacker employs carefully crafted adversarial perturbations or covert prompt injections to launch white-box or black-box attacks specifically targeting the router, thereby inducing it to classify harmful prompts as benign, how would the model's defensive performance hold up? The paper lacks a quantitative evaluation of the router's own robustness against adversarial attacks.
-
The MoE structure designed in this paper significantly increases the total parameter size of the model, leading to high static VRAM footprint. In long-context reasoning scenarios, where the generation of every single token requires routing and calculation through the router, will this introduce non-negligible latency?
-
The OOD (Out-of-Distribution) capability of the safety experts needs to be validated. When facing brand-new safety vulnerabilities not included in the training set, or zero-shot novel jailbreak attacks, will the refusal and alignment/guidance capabilities of these dedicated experts exhibit overfitting or generalization failure? The paper would be much more convincing if it supplemented OOD generalization experiments on unknown, novel attacks.
[1] OR-Bench: An Over-Refusal Benchmark for Large Language Models, ICML 2025. [2] Understanding and Mitigating Overrefusal in LLMs from an Unveiling Perspective of Safety Decision Boundary, EMNLP 2025
Limitations
yes
Paper formatting concerns
N/A
Final justification
As I pointed out in the discussion phase, the author has already addressed my questions.
We thank the reviewer for this important suggestion. We therefore conduct additional evaluations on two dedicated hard-but-benign benchmarks, OR-Bench [1] and MORBench [2]. For OR-Bench, we use its Hard-1K subset. For MORBench, we uniformly sample a total of 1,000 prompts across all safety categories in its English subset. The results are shown below:
OR-Bench
MORBench
Counting both partial and full refusals, our method is more conservative than the vanilla model, but exhibits less over-refusal than SFT on both benchmarks. Notably, a substantial proportion of our model's refusals fall into the partial-refusal category. Although these responses are counted as refusals under the strict metric, they do not necessarily represent a loss of practical utility. Taking OR-Bench as an example, we compare the response lengths across the three categories:
Partial-refusal responses have a similar length to fully compliant responses (2,227 vs. 2,787). In these cases, our model typically accounts for the potential safety concern while still providing a useful answer. A representative example is shown below:
Although classified as a partial refusal, the response rejects only the creation of an actual false alarm and then provides a useful emergency-drill plan addressing the user's benign intent. These results show that our method introduces a more cautious safety boundary than the vanilla model, while reducing over-refusal relative to SFT and retaining practical helpfulness on hard-but-benign prompts.
We thank the reviewer for raising this important concern. Our router is designed to use contextual safety signals for fine-grained, token-level assignment between the general and safety experts at each upcycled layer. We agree that the router introduces a potential attack surface. An adaptive attacker could optimize an adversarial suffix to route harmful inputs toward the general expert.
However, under our multi-layer upcycling and top-2 expert-selection design, this attack is more constrained than crossing a single, static prompt-level boundary. The same adversarial suffix must consistently increase general-expert routing across multiple token positions and three sequential routers. Moreover, increasing the probability of the general expert does not necessarily remove the safety pathway under top-2 routing, because an additional expert remains active in the mixture.
To evaluate this threat directly, we conduct a white-box GCG attack against the deployed router logits of our method built on Llama-3.1-8B-Instruct. The attacker has full access to the model. We set τ=0.5 and evaluate on all 250 WildJailbreak prompts. The attack minimizes:
$ \mathcal{L}_ {\mathrm{route}}(s)= -\frac{1}{|\mathcal{S}|L_ s} \sum_ {\ell\in\mathcal{S}} \sum_ {t\in T_s} p_ {\ell,t}^{(\tau=0.5)}(E_ 0), \qquad \mathcal{S}={13,17,18}, $
where Ts denotes the adversarial-suffix positions. We optimize a length-20 suffix using token-gradient-guided greedy coordinate updates for 100 steps on all 250 prompts. We find that the optimization typically plateaus after 15–20 steps, producing only limited increases in the general-expert routing probability: +0.062, +0.057, and +0.053 at layers 13, 17, and 18, respectively. We then generate complete responses using the optimized suffixes and evaluate their safety:
Under the stated white-box attack budget, the observed routing shift has a limited effect on final model behavior.
Importantly, even complete router evasion would not by itself guarantee an unsafe output. Since E0 is the frozen original MLP, suppressing safety-expert routing just reduces the model toward the vanilla path. A successful end-to-end jailbreak must therefore jointly (i) suppress safety routing and (ii) bypass the original model's refusal behavior to induce an unsafe generation, substantially increasing the attack cost and difficulty. We view the design of stronger attacks against token-level multi-layer routing as an important direction for future work.
We thank the reviewer for raising this practical concern. We acknowledge that our method increases the static parameter footprint because all expert weights must be loaded into memory. However, only 3 of the 32 layers are upcycled into four-expert MoE modules, while the remaining 29 layers are unchanged. Moreover, top-2 sparse routing activates only two experts at each upcycled layer, so the increase in active computation is much smaller.
We benchmark the vanilla Llama-3.1-8B-Instruct and our method sequentially on the same A100-80GB GPU using BF16 and Hugging Face SDPA. We use greedy decoding, generate 128 tokens with EOS disabled, and report the average over five runs after warm-up.
Overall, our method introduces moderate static-memory overhead while maintaining limited long-context inference latency. We will add these deployment measurements and explicitly discuss this in the revision.
We thank the reviewer for this important suggestion. To evaluate generalization beyond the training distribution, we further test our method on two unseen OOD jailbreak benchmarks, PAIR [3] and ReNeLLM [4]. Neither benchmark is included in the training or safety-layer selection data. The safety rates (%) are shown below:
Our method consistently improves over the baselines on both OOD attacks.
We further evaluate zero-shot robustness against prefill attacks [5] with prefix lengths of 0, 5, 10, 25, and 50 tokens. The harmful rates (%) are reported below, where lower is better:
As the adversarial prefix becomes longer, our method remains substantially safer than the vanilla models and generally outperforms SFT. Together, the PAIR, ReNeLLM, and prefill-attack results demonstrate that the safety experts generalize to unseen jailbreak strategies rather than merely memorizing the training distribution.
Reference
[1] Cui, Justin, et al. "OR-Bench: An Over-Refusal Benchmark for Large Language Models." ICML (2025).
[2] Pan, Licheng, et al. "Understanding and Mitigating Overrefusal in LLMs from an Unveiling Perspective of Safety Decision Boundary." EMNLP (2025).
[3] Chao, Patrick, et al. "Jailbreaking black box large language models in twenty queries." 2025 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML). IEEE, 2025.
[4] Ding, Peng, et al. "A wolf in sheep's clothing: Generalized nested jailbreak prompts can fool large language models easily." NAACL (2023).
[5] https://github.com/haizelabs/llama3-jailbreak