# Personalized Safety in Federated Fine-Tuning of Large Language Models

*Tianzhe Xiao, Gaozhuo Liu, Yichen Li, Haozhao Wang, Hanlin Cai, Ruixuan Li, Ozgur Akan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152966) · [OpenReview](https://openreview.net/forum?id=P1iPC9eKmI) · [Open on the map](../papers.html#p152966)

Category: [Optimization & Federated Learning](../pcat/13.md) › [Federated Low-Rank Adaptation](../pgroup/46.md) · Type: new method · Keywords: personalized federated safety, client-specific safety policies, policy-conditioned benchmark, federated LoRA, safety-aware weighting, LLM fine-tuning

Areas: [Safety & Security](../areas/safety.md) › Safe Alignment › Fine-Tuning Safety Alignment; [Privacy & Federated Learning](../areas/privacy-federated.md) › Federated Privacy Methods › Federated Low-Rank Adaptation

## Summary
The paper introduces personalized federated safety for large language models, a policy-conditioned benchmark with five client archetypes, and Safety-Aware Weighted LoRA (SAW-LoRA), a lightweight add-on that lets each client selectively adopt global updates based on task benefit and local safety risk.

## Explained to a 5-year-old
Some big computer programs called language models are changed to be safer for different groups of people. Because the data is private, the groups work together without sending their data to a central place. Each group wants the program to say different things to stay safe. The researchers made a new way to let each group choose which safety rules to follow while still sharing the same program. They also created a test to check how well the program follows each group's rules.

## Explained to a 5-year-old, longer
Big computer programs called language models are used to answer questions and write text. Sometimes these programs need to be changed so they follow safety rules that differ from one place to another. In many situations, the data that shows how to change the program cannot be sent to a single server because it is private. Federated learning is a way for many places to work together on the same program without sharing their private data. However, each place may want the program to refuse different kinds of unsafe content. The researchers created a new method to let each place have its own safety rules while still using a shared model. They built a test set that includes many examples of unsafe content for each type of safety rule. This test set helps check how well the program follows each place's safety requirements. The new method also adds a weighting step so that updates from other places are only accepted if they are useful and do not increase safety risk. This makes the program safer for each specific group while keeping the overall model efficient.

## For a technical reader
The work addresses client-specific safety in federated LLM fine-tuning by defining a compact policy space and constructing a benchmark that conditions safety examples on client policies. A lightweight weighting mechanism is added to federated LoRA, allowing clients to accept global updates based on estimated task benefit and local safety risk. Empirical results show a reduction of client-specific ASR to 1%-2% while preserving benign acceptance across multiple domains.

## Problem
When large language models are fine-tuned collaboratively via federated learning, different clients may need distinct safety behaviors while sharing a single model, which is not addressed by classical federated learning or standard centralized alignment.

## Method
The authors define a compact, interpretable client policy space and a policy-conditioned benchmark construction framework to generate client-specific safety examples. They then propose a lightweight add-on to federated LoRA fine-tuning that weighs global updates by estimated task benefit and local safety risk, allowing each client to selectively adopt updates.

## Results
The approach reduces client-specific ASR to about 1%-2% on held-out examples while keeping benign acceptance high, demonstrating a significant safety improvement.

## Contributions
It formalizes personalized federated safety as a research problem, introduces a policy-conditioned benchmark with diverse client archetypes, and proposes a mechanism for clients to selectively adopt global updates based on task benefit and safety risk.

## Practical relevance
It enables institutions to collaboratively fine-tune LLMs while respecting their distinct safety policies, supporting deployment in regulated domains.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152966)
