← Lab /Security & privacy

MASCing raises jailbreak defense to 83.9% and adult-content generation to 82% without retraining

MASCing can reconfigure MoE model behavior at inference time, improving safety-related success rates while preserving general utility

Security & privacy arXiv 30 Apr 2026 Method Prototype evidence

Published as “MASCing: Configurable Mixture-of-Experts Behavior via Activation Steering Masks”

Why it matters

Enables rapid, cost-effective safety policy updates for MoE LLMs without full retraining, useful for dynamic deployment environments.

Summary

MASCing raises multi-turn jailbreak defense success from 52.5% to 83.9% and adult-content generation success from 52.6% to 82.0% across seven open-source MoE models, with negligible runtime overhead. The evidence comes from reported average success rates and comparative baselines, but the method incurs a modest 4.1% drop in standard benchmark accuracy and requires careful hyper-parameter tuning.

What they found 3

  1. Adult-content generation success improves to 82.0% average

    “increasing the average generation success rate from 52.6% to 82.0%, with gains of up to 93.0%.”

  2. Benchmark accuracy drops by 4.1% on average after steering

    “Overall, we observe that MASCing reduces the accuracy achieved on the benchmarks across all models in all scenarios, with an average decline of 4.1%.”

  3. Activation steering beats expert steering (83.9% vs 69.0% success)

    “On average, expert steering achieves a success rate of 69.0%, yielding only about half the defensive gain compared to the 83.9% achieved by MASCing.”

Caveats 2

  • excessively high α values lead to a sharp collapse in success rate.
  • Overall, we observe that MASCing reduces the accuracy achieved on the benchmarks across all models in all scenarios, with an average decline of 4.1%.

What’s new here 4

  • Training-free reconfiguration of MoE safety behavior via activation steering masks
  • Use of an LSTM surrogate trained on continuous routing logits to map behavior to expert circuits
  • Bidirectional safety control (both tightening and relaxing constraints) without modifying model weights
  • Demonstrated superiority over prior inference-time methods like SteerMoE