← Lab /AI/ML

FedDetox keeps federated SLM safety comparable to centralized baselines

FedDetox preserves model safety at a level comparable to centralized baselines without compromising utility

AI/ML arXiv 8 Apr 2026 Defense Simulation evidence

Published as “FedDetox: Robust Federated SLM Alignment via On-Device Data Sanitization”

Why it matters

Enables safe federated fine-tuning of edge-deployed language models without exposing raw user data.

Summary

FedDetox restores safety alignment of federated small language models under unintended data poisoning, achieving an Attack Success Rate of 14.0% on AdvBench and reducing unsafe prompt compliance to 25.0% while preserving utility comparable to benign baselines; however, its safety performance is still slightly worse than the original pre-aligned model and it incurs some utility loss.

What they found 4

  1. FedDetox reduces the Attack Success Rate on AdvBench to 14.0% compared to 30.8% for poisoned FedDPO

    “FedDetox (Ours) 14.0% 74.80% 61.0%”

  2. FedDetox lowers unsafe prompt compliance to 25.0% while maintaining safe prompt compliance at 94.4%

    “FedDetox (Ours) 25.0% 75.0% 94.4% 5.6%”

  3. General utility of FedDetox remains close to benign baselines (TruthfulQA 38.9%, MMLU 59.1%, GSM8K 55.4%)

    “FedDetox (Ours) 38.9% 59.1% 55.4%”

  4. Ablation shows that simple discarding yields higher ASR (25.6%) than FedDetox’s replacement strategy (14.0%)

    “Simply discarding toxic data (Orange) yields a significantly higher ASR (25.6%) compared to FedDetox replacement strategy (Blue, 14.0%).”

Caveats 2

  • The original pre-aligned model achieves a lower AdvBench ASR of 10.8% (Original Qwen2.5-1.5B-Instruct 10.8% 83.56% 67.0%)
  • FedDetox’s TruthfulQA score (38.9%) is lower than the original model’s 46.9% (Original (Qwen2.5-1.5B) 46.9% 59.6% 60.7%)

What’s new here 4

  • On-device lightweight safety classifier (Guardian) distilled from a large teacher model for edge deployment
  • Refusal Template Replacement that turns detected toxic samples into explicit negative supervision rather than discarding them
  • Privacy-preserving defense that operates without transmitting raw user data to the server
  • Demonstrated effectiveness for small language models (≈1.5B parameters) on resource-constrained devices