Personalized Safety in Federated Fine-Tuning of Large Language Models
Tianzhe Xiao ⋅ Gaozhuo Liu ⋅ Yichen Li ⋅ Haozhao Wang ⋅ Hanlin Cai ⋅ Ruixuan Li ⋅ Ozgur Akan
Abstract
Federated fine-tuning is becoming a practical way to adapt large language models (LLMs) across clients subject to privacy and regulatory constraints without centrally pooling local post-training data. Existing federated LLM work mainly emphasizes communication efficiency, parameter-efficient adaptation, and robust aggregation under client heterogeneity, and has made strong progress on collaborative task learning. However, LLM deployment introduces an additional challenge that is not captured by classical federated learning on smaller predictive models: different local clients may require different safety boundaries, refusal behavior, and safe-helpful responses even when they share the same benign application goal. We formalize this setting as \emph{personalized federated safety}, where safety correctness is conditioned on the target client's local policy rather than treated as a single global refusal rule. To support adaptation to different deployment policies, we introduce a compact client policy space and a policy-conditioned benchmark spanning five representative client archetypes. We further propose \emph{Safety-Aware Weighted LoRA} (SAW-LoRA), a lightweight add-on for federated LoRA fine-tuning that lets each client selectively absorb incoming global task updates according to estimated task benefit and local-safety risk. Across instruction-following and mathematical-reasoning tasks using Llama-2 and Qwen3 backbones, this add-on substantially lowers client-specific ASR for the strongest local safety mechanisms, reaching ASR near $1$--$2\%$ while preserving high benign acceptance. The benchmark assets and code are available at \url{https://github.com/Mike-Xiao/SAW-LoRA}.
Successful Page Load