NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Tail Wags the Model: Generalization and Membership Privacy Trade-offs of Sharpness-Aware Minimization

Young In Kim, Rajiv Khanna

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Neural Network Robustness Verification · Type: theory · Keywords: Sharpness-Aware Minimization, generalization, membership privacy, long-tailed distributions, theoretical analysis

Areas: Privacy & Federated Learning › Privacy Defenses and Attacks › Membership Inference Attacks

Summary

The paper theoretically explains why Sharpness-Aware Minimization (SAM) improves generalization but harms membership privacy in long-tailed settings, showing that the tail influences the model.

Explained to a 5-year-old

When we teach a computer to learn from many examples, some examples are rare. The computer tries to learn a rule that works for most things, but also pays attention to the rare ones. This extra attention helps the computer do better on new tasks. However, it also makes it easier for someone to tell which rare examples were used to teach it. The paper explains why this happens.

Explained to a 5-year-old, longer

When we show a computer lots of pictures, some kinds of pictures appear only a few times. Those are called rare or tail examples. The computer wants to make a rule that works for the common pictures, but it also looks at the rare ones. By looking at the rare ones, the computer can understand them better and separate them from the common ones. This helps the computer do a better job on new pictures it hasn't seen before. However, because the computer remembers the rare pictures so clearly, someone could figure out which rare pictures were used to train it. This is called a privacy leak. The paper explains why this trade-off happens. It shows that the computer moves its learning in a special way when it sees rare examples. This special movement makes the rare examples stand out more. Because there are only a few rare examples, the computer can accidentally reveal them. The findings help us understand both the good and the bad sides of this behavior. They also guide us to design better learning methods that keep privacy while still learning well.

For a technical reader

Sharpness-Aware Minimization (SAM) is an optimization technique that seeks flat minima, which often leads to better generalization on new data. In datasets where some classes are rare (long-tailed), SAM’s updates tend to move the model further along directions that preserve minority-class features. This extra emphasis on rare examples improves the separation between common and rare patterns, making the model perform better overall. However, because the model learns a stronger representation of those few rare examples, an attacker can more easily infer whether a particular data point was used during training. The paper provides a theoretical analysis that links these two effects, explaining why the trade-off between generalization and privacy emerges in such settings.

Problem

In long-tailed learning, there is a tension between improving model generalization and preserving membership privacy. Understanding how this trade-off arises is the core problem.

Method

The authors provide a theoretical analysis showing that SAM moves farther than gradient descent along a minority-preserving trajectory in overparameterized models, improving embedding separation but amplifying finite-sample signals from tail examples.

Contributions

The paper offers a theoretical explanation for the generalization-privacy trade-off of SAM in long-tailed settings, linking minority-preserving trajectories to both improved separation and increased membership leakage.

Limitations and assumptions

The analysis assumes an overparameterized model and focuses on long-tailed distributions; empirical validation may be limited to specific settings.

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