Efficient Label Distribution Inference Attack and Defense on Classifier Weights in Federated Learning
Daeyoung Choi, Gyuejeong Lee
NeurIPS page · Open on the map
Category: Optimization & Federated Learning › Distributed Optimization and Learning · Type: new method · Keywords: label distribution inference, federated learning privacy, weight norm attack, randomized regularization, model leakage, cross-entropy penalty
Areas: Safety & Security › Adversarial Security › Federated Learning Security; Privacy & Federated Learning › Federated Privacy Methods › Backdoor and Poisoning Attacks
Summary
The paper proposes WLIA, a weight-norm-based attack to infer client label distributions from federated model weights, and RNR, a randomized weight-norm regularization defense that mitigates this leakage while preserving utility.
Explained to a 5-year-old
In a group of computers working together, they share a model. By looking at the model's numbers, someone can guess what kinds of data the computers have. To stop this, we add a random twist to those numbers so the guess becomes hard. This makes the computers still work well but protects the data. It's like hiding the shape of a cake by moving the plates around.
Explained to a 5-year-old, longer
Imagine many computers are trained together without sharing their real data. They only send a copy of their model, which contains numbers that represent what the model learned. By looking closely at how big or small those numbers are, someone can figure out what kinds of labels (like categories) the computers have seen. This secret information can be used to understand a group of people without asking each person directly. To protect this secret, we can change the numbers in a random way while the model is being trained. The random change is added as a small extra rule to the usual learning rule. Because the numbers are now unpredictable, it becomes much harder to guess the hidden label distribution. At the same time, the model still learns to do its job correctly. This method works for many different kinds of models and does not need extra data. It can be used in many real-world situations where privacy matters. The idea is simple: hide the clues by adding a little randomness. This makes federated learning safer while keeping the benefits of collaborative training.
For a technical reader
The work shows that the magnitude of classifier weights in federated models correlates with the distribution of labels on the client side. An adversary can exploit this correlation to reconstruct the label distribution without any additional data, simply by monitoring weight norms over training rounds. To mitigate this, the authors add a stochastic regularization term to the local loss that perturbs weight norms, breaking the correlation while preserving model performance. The defense is lightweight, requiring only a penalty term and no architectural changes. Experiments across multiple datasets confirm the attack’s effectiveness and the defense’s ability to reduce leakage with minimal utility loss.
Problem
In federated learning, sharing model parameters can inadvertently reveal the label distributions of participating clients, creating a privacy risk beyond individual data leakage. Existing attacks often require auxiliary data or meta-classifiers, limiting their applicability.
Method
The approach analyzes variations in classifier weight norms across communication rounds to infer label distributions without auxiliary data. To defend, it adds a randomized penalty to the cross-entropy loss that perturbs weight norms during local training, breaking the frequency-weight correlation.
Results
WLIA attains higher label-distribution inference accuracy than prior attacks, and RNR reduces leakage while keeping model utility largely intact.
Contributions
It introduces a data-free, weight-norm-based attack that works across heterogeneous models and a lightweight randomized regularization defense that can be easily integrated into existing FL pipelines.
Practical relevance
Enables privacy-preserving FL deployments by providing both a threat assessment and a simple countermeasure that requires only a penalty term.
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