fairdp-models / README.md
Garv98's picture
Upload FairDP models and results
85cce8d verified
|
Raw History Blame Contribute Delete
2.51 kB
---
tags: [differential-privacy, fairness, dp-sgd, tabular-classification, responsible-ai]
datasets: [Garv98/fairdp-results]
---
# FairDP models (UCI Adult)
Eleven small MLPs (105 → 64 → 32 → 1) that predict whether a person earns more than $50k (UCI Adult), trained with and without differential privacy.
They are the models served by the FairDP audit console: **https://fairdp-audit.vercel.app**, where they run directly in your browser.
| Key | Method | ε | Accuracy | Balanced acc. | Worst-group recall |
|---|---|---|---|---|---|
| `erm__inf` | Standard (no privacy) | ∞ | 85.5% | 78.4% | 44.2% |
| `groupdro__inf` | Group DRO (no privacy) | ∞ | 83.3% | 81.1% | 52.9% |
| `dpsgd__1` | DP-SGD | 1 | 84.7% | 74.1% | 41.2% |
| `dpsgd__3` | DP-SGD | 3 | 84.8% | 74.0% | 38.3% |
| `dpsgd__8` | DP-SGD | 8 | 84.9% | 74.0% | 35.1% |
| `dpsgd_balanced__1` | DP-SGD + label balancing | 1 | 79.5% | 82.4% | 66.7% |
| `dpsgd_balanced__3` | DP-SGD + label balancing | 3 | 80.4% | 82.8% | 66.7% |
| `dpsgd_balanced__8` | DP-SGD + label balancing | 8 | 80.9% | 82.8% | 66.7% |
| `ig_dpsgd__1` | IG-DPSGD (ours) | 1 | 83.8% | 79.6% | 51.8% |
| `ig_dpsgd__3` | IG-DPSGD (ours) | 3 | 83.9% | 79.9% | 57.1% |
| `ig_dpsgd__8` | IG-DPSGD (ours) | 8 | 84.1% | 80.0% | 58.9% |
All private models satisfy (ε, δ)-DP with δ = 1/n^1.1 (n = training set size), accounted with the Rényi-DP accountant.
`ig_dpsgd` is our method: private intersectional Group DRO inside DP-SGD, spending part of the same budget on noisy group statistics.
Worst-group recall is the lowest true-positive rate over sex × race × age groups with at least 30 people and 10 positives.
## Files
- `pytorch/<key>.pt`: PyTorch `state_dict` for `fairdp.models.MLP(105, hidden=(64, 32))`.
- `models.json`: the same weights as plain arrays (used by the browser engine).
- `engine.json`: the exact preprocessing (imputation, scaling, one-hot categories) and group definitions.
- `cards/<key>.md`: a model card for each model (intended use, metrics by group, privacy, limitations).
## Intended use and limitations
These are research and teaching artifacts for studying the privacy–fairness trade-off. **They are not for real decisions about people.**
UCI Adult is 1994 census data. Every model fails the four-fifths rule for sex. See each model card for the full limitations.
Code, training and evaluation: https://github.com/Garv98/Fairness-aware-differential-private-learning-and-evaluation-of-LLMs