Fair Finetuning Mitigates Distribution Inference Attacks
About
Machine learning models trained on sensitive data can inadvertently leak population-level information about their training distributions -- a threat known as distribution inference attack (DIA). An adversary with black-box access can infer sensitive demographic properties, such as subgroup proportions, without observing any training data directly. While defenses such as differential privacy and property unlearning have been proposed, the link between fairness constraints and distributional leakage remains unexplored. We propose Fair Fine-tuning (FFt): a trained model is fine-tuned on samples from the complementary distribution under an Equalized Odds (EO) constraint. We provide a complete theoretical characterization, proving the tight bound $\text{Adv}(\mathcal{A},M_f) \le \Delta_{\text{EO}} \cdot W$, where $W$ quantifies how distinguishable the two training distributions are by their sensitive-attribute composition. We also establish a necessary condition for FFt to reduce adversarial advantage and prove tightness of the bound. We evaluate across six datasets spanning tabular (ACS Income, COMPAS, German Credit), image (UTKFaces), and NLP (Bias in Bios) modalities. Rehearsal-based FFt consistently reduces the adversarial accuracy gap below the detection threshold $\tau!=!0.1$ across all settings; on ACS Income, the gap falls from $\sim!15%$ to under $4%$. Our work provides the first formal bound connecting a model's measured EO disparity directly to its adversarial advantage in the DIA game, opening a new avenue for unified fairness-and-privacy defenses.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Binary Classification | LSAC sex (M → F) Wightman 1998 | Advantage Gap8.8 | 2 | |
| Binary Classification | LSAC race (W → NW) Wightman 1998 | Advancement Gap25.2 | 2 | |
| Distribution Inference Attack mitigation | ACS Income sex (M → F) CA-2018 | Adversarial Gap2.5 | 2 | |
| Distribution Inference Attack mitigation | ACS Income race (W → NW) CA-2018 | Adversarial Gap3.7 | 2 | |
| Distribution Inference Attack mitigation | German Credit sex (M → F) | Adversarial Gap6 | 2 | |
| Distribution Inference Attack mitigation | UTKFaces race (W → NW) | Adversarial Gap5.5 | 2 | |
| Distribution Inference Attack mitigation | Bios sex (M → F) | Adversarial Gap0.9 | 2 | |
| Distribution Inference Attack mitigation | COMPAS race (AA → Cau) | Adversarial Gap3.4 | 2 |