FedDetox: Robust Federated SLM Alignment via On-Device Data Sanitization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhu, Shunan, Chen, Jiawei, Yu, Yonghao, Ochiai, Hideya
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911575869227008
author Zhu, Shunan
Chen, Jiawei
Yu, Yonghao
Ochiai, Hideya
author_facet Zhu, Shunan
Chen, Jiawei
Yu, Yonghao
Ochiai, Hideya
contents As high quality public data becomes scarce, Federated Learning (FL) provides a vital pathway to leverage valuable private user data while preserving privacy. However, real-world client data often contains toxic or unsafe information. This leads to a critical issue we define as unintended data poisoning, which can severely damage the safety alignment of global models during federated alignment. To address this, we propose FedDetox, a robust framework tailored for Small Language Models (SLMs) on resource-constrained edge devices. We first employ knowledge distillation to transfer sophisticated safety alignment capabilities from large scale safety aligned teacher models into light weight student classifiers suitable for resource constrained edge devices. Specifically, during federated learning for human preference alignment, the edge client identifies unsafe samples at the source and replaces them with refusal templates, effectively transforming potential poisons into positive safety signals. Experiments demonstrate that our approach preserves model safety at a level comparable to centralized baselines without compromising general utility.
format Preprint
id arxiv_https___arxiv_org_abs_2604_06833
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle FedDetox: Robust Federated SLM Alignment via On-Device Data Sanitization
Zhu, Shunan
Chen, Jiawei
Yu, Yonghao
Ochiai, Hideya
Cryptography and Security
Machine Learning
As high quality public data becomes scarce, Federated Learning (FL) provides a vital pathway to leverage valuable private user data while preserving privacy. However, real-world client data often contains toxic or unsafe information. This leads to a critical issue we define as unintended data poisoning, which can severely damage the safety alignment of global models during federated alignment. To address this, we propose FedDetox, a robust framework tailored for Small Language Models (SLMs) on resource-constrained edge devices. We first employ knowledge distillation to transfer sophisticated safety alignment capabilities from large scale safety aligned teacher models into light weight student classifiers suitable for resource constrained edge devices. Specifically, during federated learning for human preference alignment, the edge client identifies unsafe samples at the source and replaces them with refusal templates, effectively transforming potential poisons into positive safety signals. Experiments demonstrate that our approach preserves model safety at a level comparable to centralized baselines without compromising general utility.
title FedDetox: Robust Federated SLM Alignment via On-Device Data Sanitization
topic Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2604.06833