Organizations: Technical University of Denmark, Kgs. Lyngby, Denmark · Fraunhofer Institute for Digital Medicine MEVIS, Bremen, Germany · CONICET – Universidad de Buenos Aires, ICC, Buenos Aires, Argentina · University of Copenhagen, Copenhagen, Denmark
Encoded demographic information in internal model representations is a commonly assumed risk factor for algorithmic bias, with demographic representation invariance often being touted as the ideal state. However, while demographic shortcut learning is a genuine threat, some degree of encoding is necessary when demographics correlate with target labels. Here, we show, mathematically and empirically, that enforcing demographic invariance can actually hamper bias mitigation and even create new biases. We distinguish marginal from class-conditional representation invariance, and show that they imply the standard group fairness notions of demographic parity and equalized odds, respectively. We evaluate the effects on predictive performance and fairness of enforcing both invariance types, both theoretically and empirically across five tabular and two chest X-ray imaging datasets. Our findings support our mathematical argument that demographic representation invariance is neither desirable nor sufficient for fairness.
Figures & tables
Figure 1: Two forms of representation invariance and the effects of enforcing those in a case study predicting disease for two groups ( a1 and a2 ) with different prevalence. Top: Z⊥A gives identical marginal risk distributions across groups. Under unequal prevalence, the class-conditional risk distributions must differ, giving different error rates across groups. Bottom: Z⊥A∣Y gives equal error rates, but still has drawbacks: it is incompatible with calibration by groups and requires equalizing away potentially important differences between unknown disease subtypes.
Figure 2: Effects of enforcing Class-conditional representation invariance in the presence of intra-class variation. When the within-class distribution of a clinically relevant factor (here disease severity among Y=1 patients) differs between groups, enforcing Z⊥A∣Y requires mapping patients with differing disease severities to the same latent representation, depending on which group a patient belongs to (center). The aligned representation then hides a real difference in disease presentation, and the same z no longer means the same severity in both groups (see also Lohaus et al. (2022) ).
Figure 3: Fig. 1 estimated from data (Dutch, shift-50, seed 42). Rows: ERM, Z⊥A , Z⊥A∣Y . Left: marginal risk densities p(r∣a)A∈{0,1} , with ΔDP and DA . Middle and right: class-conditional densities p(r∣y,a) within each group, with ΔEO and DA∣Y . Dotted: Youden threshold. Marginal alignment makes the left column coincide by pulling the within-class curves apart across groups ( P1 ); class-conditional alignment makes the middle and right columns coincide and leaves the left column at the base-rate gap ( P3 ).
Utility
Decodability of A
Indep.
Separation
Sufficiency
Group calibration
Method
AUROC
DA
DA∣Y
ΔDP
ΔEO
ΔPPV/ΔNPV
Δbias/Δcal
Adult
ERM
0.89
0.93
0.99
0.40
0.28
0.18/0.05
0.02/0.32
Z⊥A
0.79
0.58
0.85
0.04✓
0.40
0.49/0.04
0.23/2.12
Z⊥A∣Y
0.86
0.62
0.55
0.17
0.08✓
0.40/0.07
0.15/1.80
Dutch
ERM
0.90
0.77
0.77
0.30
0.05
0.27/0.28
0.22/2.00
Z⊥A
0.71
0.52
0.79
0.01✓
0.31
0.63/0.21
0.44/2.32
Table 1: Fairness criteria under the shift-50 on test split, mean over 3 seeds. Z⊥A is marginal FNF at γ=1 (CheXpert: γ=0.95 ; strongest setting), Z⊥A∣Y class-conditional FNF at the same γ , both with the feature set and width selected by the lowest probe AUROC. DA and DA∣Y are the maximum probe AUROC for recovering A from Z marginally and within class. ✓ denotes the criterion each invariance target guarantees ( P1,3 ); every other Δ is not-stable relative to ERM. ± std are omitted for space and reported, together with the full γ and feature-set sweep and the remaining CheXpert configurations, in Appendix A.4 and A.3 .
Figure 4: Guarantees under a change of evaluation population ( P4 ). Trained on the equalized condition (shaded) and evaluated on increasing base-rate gap: P(Y∣A) changes, P(X∣Y,A) fixed. Z⊥A loses parity as the gap grows; Z⊥A∣Y keeps ΔEO flat and loses parity by exactly the base-rate gap. Δbias grows. Mean ± std over three seeds.
Appendix figures & tables24 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 5: Fairness gaps increase with the base-rate gap. Top: ΔDP ; Middle: ΔEO ; Bottom: Δbias against the training base-rate gap ∣π1−π0∣ over the four prevalence conditions, per dataset and method. Marginal representation invariance harms separation for parity at a rate set by the gap ( P1 ); class-conditional representation invariance holds ΔEO ( P3 ) but not Δbias ( P3 ). Mean ± std over three seeds reported.
Figure 6: Every metric against the training base-rate gap ∣π1−π0∣ (equalized, natural, shift-50, shift-75; matched test). Dotted line in the ΔDP row: ΔDP=∣π1−π0∣ . Mean ± sd over seeds.
Figure 7: Summed group error e0+e1 against the bound max{0,∣π0−π1∣−ΔDP} (mentioned in P2 ) for every model × prevalence condition.
Dataset
Cond.
Method
Δπ
AUROC
DA
DA∣Y
ΔDP
ΔEO
ΔPPV
Δbias
e0+e1
Adult
Eq
ERM
0.00
0.87 ± 0.00
0.92 ± 0.00
0.98 ± 0.00
0.13 ± 0.01
0.14 ± 0.01
0.14 ± 0.01
0.01 ± 0.00
0.42 ± 0.02
Eq
M
0.00
0.72 ± 0.01
0.56 ± 0.00
0.88 ± 0.02
0.03 ± 0.00
0.22 ± 0.05
0.06 ± 0.03
0.01 ± 0.00
0.57 ± 0.06
Eq
C
0.00
0.84 ± 0.01
0.55 ± 0.00
0.61 ± 0.02
0.05 ± 0.01
0.08 ± 0.00
0.01 ± 0.00
0.01 ± 0.00
0.54 ± 0.05
Nat
ERM
0.19
0.88 ± 0.00
0.93 ± 0.00
0.99 ± 0.00
0.32 ± 0.01
0.22 ± 0.01
0.06 ± 0.01
0.00 ± 0.00
0.38 ± 0.01
Nat
M
0.19
0.77 ± 0.00
0.57 ± 0.01
0.85 ± 0.01
0.04 ± 0.00
0.31 ± 0.02
0.42 ± 0.03
0.17 ± 0.00
0.65 ± 0.07
Nat
C
0.19
0.85 ± 0.00
0.60 ± 0.00
0.59 ± 0.01
0.15 ± 0.01
0.09 ± 0.02
0.28 ± 0.00
0.10 ± 0.00
0.49 ± 0.04
Appendix
Table 2: Evaluation metrics by training condition across datasets (reported as mean ± std over all seeds). Δπ=∣π1−π0∣ is the base-rate gap. Conditions : Eq (equalized), Nat (natural), S50 (shift-50), S75 (shift-75). Methods : ERM, M (marginal alignment, Z⊥A ), and C (class-conditional alignment, Z⊥A∣Y ). Datasets: Adult, Dutch census (Dutch), Communities & Crime (Crime), Taiwan credit (Credit), and COMPAS.
Figure 8: Probe AUROC to decode for A from Z under six probe families ( shift-50 , reported mean ± std over all seeds). Dotted: (1+TV)/2 for the marginal flow.
Probe AUC ( A from Z )
Dataset
Method
LR
GB
MLP-0
MLP-1
MLP-2
LR −A
Adv BA
Bound
Max W
Adult
ERM
0.93 ± 0.00
0.93 ± 0.00
0.93 ± 0.00
0.93 ± 0.00
0.93 ± 0.00
0.51 ± 0.02
0.86 ± 0.00
–
0.99 ± 0.00
M
0.56 ± 0.00
0.57 ± 0.01
0.57 ± 0.01
0.57 ± 0.01
0.58 ± 0.01
0.51 ± 0.01
0.55 ± 0.01
0.55 ± 0.00
0.85 ± 0.02
C
0.61 ± 0.01
0.62 ± 0.00
0.62 ± 0.01
0.62 ± 0.00
0.62 ± 0.00
0.51 ± 0.01
0.58 ± 0.01
0.53 ± 0.00
0.56 ± 0.00
Dutch census
ERM
0.75 ± 0.00
0.77 ± 0.00
0.77 ± 0.00
0.77 ± 0.00
0.77 ± 0.00
0.51 ± 0.04
0.68 ± 0.00
–
0.77 ± 0.00
M
0.51 ± 0.00
0.51 ± 0.00
0.51 ± 0.01
0.51 ± 0.00
0.51 ± 0.00
0.49 ± 0.00
0.50 ± 0.00
0.51 ± 0.00
0.79 ± 0.01
Appendix
Table 3: Probe ablation at shift 50. Methods: ERM, Marginal ( M : Z⊥A ), and Conditional ( C : Z⊥A∣Y ). Columns 3–8 report AUC of probe families predicting A from Z : LR (logistic regression), GB (gradient-boosted trees), MLP- k ( k hidden layers), and LR −A (logistic control baseline excluding A ). Right columns report the original FNF adversary balanced accuracy ( Adv BA ), the certified balanced accuracy bound (1+TV)/2 ( Bound ), and the maximum within-class probe AUC ( Max W ). Reported as mean ± sd over three seeds.
Figure 9: Marginal alignment method as a function of the invariance strength γ ( shift-50 , selected feature set, MADE width 50). Reported mean ± std over seeds.
Dataset
Feature set
MADE
n fits
AUROC
DA
DA∣Y
ΔDP
ΔEO
exact TV
Adult
paper6
50
3
0.79 ± 0.00
0.58 ± 0.01
0.89 ± 0.01
0.08 ± 0.00
0.38 ± 0.03
0.103 ± 0.003
Adult
paper6
100
3
0.79 ± 0.00
0.59 ± 0.01
0.87 ± 0.02
0.09 ± 0.01
0.36 ± 0.04
0.102 ± 0.005
Adult
paper6_age (selected)
50
3
0.79 ± 0.00
0.58 ± 0.01
0.85 ± 0.02
0.04 ± 0.00
0.40 ± 0.03
0.096 ± 0.007
Adult
paper6_age
100
3
0.80 ± 0.00
0.58 ± 0.00
0.84 ± 0.02
0.05 ± 0.01
0.38 ± 0.02
0.093 ± 0.024
Dutch census
core6
50
3
0.72 ± 0.00
0.52 ± 0.01
0.81 ± 0.01
0.01 ± 0.01
0.27 ± 0.02
0.022 ± 0.003
Dutch census
core6
100
3
0.72 ± 0.01
0.52 ± 0.00
0.81 ± 0.00
0.01 ± 0.01
0.30 ± 0.01
0.022 ± 0.003
Appendix
Table 4: Marginal alignment method at γ=1 for every feature set and MADE width in the sweep ( shift 50 , mean ± std over all seeds).
Dataset
Method
Youden τ
Acc ( τ )
ΔDP ( τ )
ΔEO ( τ )
Acc (0.5)
ΔDP (0.5)
ΔEO (0.5)
Adult
ERM
0.22 ± 0.02
0.78 ± 0.02
0.40 ± 0.03
0.28 ± 0.02
0.84 ± 0.00
0.24 ± 0.01
0.39 ± 0.03
Adult
Z⊥A
0.17 ± 0.02
0.69 ± 0.02
0.04 ± 0.00
0.40 ± 0.03
0.78 ± 0.00
0.01 ± 0.01
0.06 ± 0.03
Adult
Z⊥A∣Y
0.17 ± 0.00
0.75 ± 0.02
0.17 ± 0.01
0.08 ± 0.04
0.82 ± 0.00
0.11 ± 0.01
0.06 ± 0.01
Dutch census
ERM
0.43 ± 0.02
0.82 ± 0.00
0.30 ± 0.00
0.05 ± 0.00
0.83 ± 0.00
0.29 ± 0.00
0.06 ± 0.00
Dutch census
Z⊥A
0.40 ± 0.04
0.64 ± 0.00
0.01 ± 0.01
0.31 ± 0.03
0.65 ± 0.01
0.01 ± 0.01
0.22 ± 0.03
Dutch census
Z⊥A∣Y
0.41 ± 0.04
0.81 ± 0.00
0.27 ± 0.01
0.03 ± 0.01
0.81 ± 0.00
0.28 ± 0.01
0.02 ± 0.01
Appendix
Table 5: Optimal Youden threshold τ (for validation) vs. a default 0.5 ( shift 50 , reported mean ± std over all seeds).
Training Prevalences ( π0 / π1 )
Dataset
Samples
Natural π0/π1
Equalized
Natural
Shift-50
Shift-75
Adult income
48,842
0.11 / 0.30
0.11 / 0.11
0.11 / 0.31
0.06 / 0.31
0.03 / 0.31
(29,312 / 4,880 / 4,885 / 9,765)
Dutch census
60,420
0.33 / 0.63
0.33 / 0.33
0.33 / 0.62
0.20 / 0.62
0.11 / 0.62
(36,252 / 6,042 / 6,042 / 12,084)
Comm. & Crime
1,994
0.27 / 0.71
0.26 / 0.26
0.26 / 0.69
0.15 / 0.69
0.08 / 0.69
Appendix
Table 6: Dataset statistics and prevalence shift configurations. Binary groups ( A=0 vs. A=1 ) and prediction targets ( Y=1 ) are: Adult : female vs. male, income > 50K; Dutch : female vs. male, high-level occupation; Crime : Black population share below vs. at or above median, violent crime rate above median; Taiwan credit : female vs. male, default next month; COMPAS : Caucasian vs. African-American, two-year recidivism. Rightmost columns report the training-split base rates ( π0 / π1 ) across synthetic shift regimes. Selected feature sets: Adult paper6_age (workclass, education, marital status, occupation, relationship, race, binned age), Dutch core6_hh (age, education, economic status, current activity, marital status, household position, household size), Crime socio4 (median income, poverty, unemployment, two-parent families; quantile-binned), Credit core5 (education, marriage, binned age, last repayment status, binned limit), COMPAS paper7 (sex, age category, charge degree, binned priors, three juvenile counts).
Dataset
Method
Seed
AUROC
DA
DA∣Y
ΔDP
ΔEO
ΔPPV
Δbias
Adult
ERM
42
0.89
0.93
0.99
0.42
0.30
0.17
0.00
Adult
ERM
123
0.89
0.93
0.99
0.36
0.27
0.19
0.02
Adult
ERM
456
0.89
0.93
0.99
0.40
0.27
0.18
0.02
Adult
M-FNF ( Z⊥A )
42
0.79
0.58
0.86
0.04
0.37
0.48
0.23
Adult
M-FNF ( Z⊥A )
123
0.79
0.57
0.86
0.05
0.43
0.47
0.23
Adult
M-FNF ( Z⊥A )
456
0.79
0.58
0.83
0.04
0.41
0.51
0.23
Appendix
Table 7: Detailed results for the shift-50 prevalence condition per selected seeds.
Dataset
Method
ECE0
ECE1
b0
b1
a0
a1
yˉ0−pˉ0
yˉ1−pˉ1
Δbias
Δcal
Adult
ERM
0.02 ± 0.00
0.02 ± 0.00
0.96 ± 0.03
0.85 ± 0.01
−0.29± 0.08
0.03 ± 0.12
−0.013± 0.004
0.004 ± 0.016
0.02 ± 0.01
0.32 ± 0.06
M
0.13 ± 0.01
0.11 ± 0.01
0.06 ± 0.04
1.34 ± 0.05
−1.36± 0.06
0.75 ± 0.06
−0.116± 0.007
0.112 ± 0.009
0.23 ± 0.00
2.12 ± 0.01
C
0.08 ± 0.01
0.08 ± 0.01
0.79 ± 0.03
0.88 ± 0.02
−1.20± 0.14
0.60 ± 0.09
−0.077± 0.013
0.075 ± 0.010
0.15 ± 0.00
1.80 ± 0.07
Dutch
ERM
0.12 ± 0.00
0.10 ± 0.00
1.01 ± 0.02
0.90 ± 0.01
−1.24± 0.05
0.75 ± 0.02
−0.120± 0.004
0.095 ± 0.003
0.22 ± 0.00
2.00 ± 0.03
M
0.23 ± 0.00
0.22 ± 0.01
0.51 ± 0.08
1.65 ± 0.06
−1.25± 0.01
1.07 ± 0.04
−0.224± 0.003
0.219 ± 0.007
0.44 ± 0.00
2.32 ± 0.03
C
0.12 ± 0.01
0.11 ± 0.00
0.98 ± 0.03
0.91 ± 0.02
−1.16± 0.05
0.89 ± 0.04
−0.121± 0.006
0.114 ± 0.005
0.23 ± 0.01
2.05 ± 0.07
Appendix
Table 8: Calibration by groups at shift 50 : 15-bin ECE, Cox recalibration slope ( Cox, 1958 ) bg and fixed-slope intercept ag (logits), signed mean bias yˉg−pˉg , and the two between-group gaps Δbias and Δcal . Methods: ERM, M (marginal alignment, Z⊥A ), and C (class-conditional alignment, Z⊥A∣Y ). Datasets: Adult, Dutch census (Dutch), Communities & Crime (Crime), Taiwan credit (Credit), and COMPAS. Reported as mean ± std over all three seeds.
Method
AUROC
DA
DA∣Y
ΔDP
ΔEO
ΔPPV
ΔNPV
Δbias
Δcal
ERM
0.896
0.70
0.64
0.296
0.055
0.27
0.28
0.22
2.00
Score R⊥A
0.813
0.54
0.77
0.006
0.258
0.55
0.35
0.44
3.68
Score R⊥A∣Y (within-class map)
0.881
0.67
0.59
0.257
0.024
0.36
0.28
0.24
2.11
Mean matching, λ=1
0.896
0.70
0.63
0.291
0.051
0.29
0.28
0.22
1.95
Mean matching, λ=10
0.889
0.69
0.66
0.270
0.082
0.27
0.30
0.28
1.79
Mean matching, λ=100
0.883
0.69
0.66
0.266
0.081
0.30
0.30
0.41
1.87
Appendix
Table 9: Score-level alignment and class-conditional mean matching on Dutch, shift-50 , test split, mean over three seeds.
Task
Partition
Images
Patients
π0
π1
Edema
Train
107,688
37,580
0.198
0.313
Checkpoint
9,050
3,134
0.195
0.325
Development
8,872
3,138
0.202
0.333
Probe val.
17,186
6,271
0.206
0.310
Test
35,078
12,551
0.205
0.309
Cardiomegaly
Train
111,980
38,082
0.081
0.159
Appendix
Table 10: shift50 cohorts. Patient partitions are fixed across seeds; image-level deletion changes the retained patient counts.
Figure 10: Invariance strength changes the fairness trade-off. Lines and bands show means ± std. Conditional alignment lowers EO gaps at strong alignment, while marginal alignment produces smaller DP gaps.
Task
Method
ΔDP
ΔEO
Max ECE
Δbias
Δcal
Edema
ERM
0.147±0.002
0.102±0.007
0.020±0.009
0.013±0.006
0.092±0.037
M .05
0.132±0.002
0.088±0.005
0.037±0.003
0.018±0.005
0.160±0.043
M .50
0.070±0.005
0.019±0.005
0.037±0.002
0.062±0.004
0.504±0.012
M .95
0.009±0.009
0.048±0.014
0.069±0.006
0.101±0.006
0.797±0.071
C .05
0.134±0.005
0.094±0.005
0.034±0.009
0.020±0.009
0.165±0.064
C .50
0.092±0.009
0.042±0.006
0.039±0.004
0.046±0.008
0.387±0.055
Appendix
Table 11: Fairness and calibration for every invariance method strength (mean ± seed reported). Δbias is the absolute between-sex difference in mean residual Y−R ; Δcal is the absolute difference in fixed-slope calibration intercepts.
Task
Method
AUROC
AUPRC
DA(Z)
DA∣Y(Z)
DA∣Y(R)
Edema
ERM
0.839±0.003
0.646±0.007
0.978±0.002
0.978±0.002
0.613±0.019
M .05
0.835±0.005
0.641±0.011
0.693±0.022
0.678±0.022
0.583±0.011
M .50
0.835±0.002
0.640±0.006
0.631±0.034
0.624±0.029
0.519±0.008
M .95
0.830±0.002
0.630±0.005
0.623±0.042
0.629±0.043
0.555±0.008
C .05
0.829±0.003
0.632±0.008
0.675±0.013
0.664±0.024
0.582±0.010
C .50
0.837±0.003
0.642±0.007
0.613±0.004
0.599±0.013
0.537±0.010
Appendix
Table 12: All settings: utility and strongest demographic probe AUROC (mean ± sample std over all training seeds). M/C denote marginal/conditional objectives, followed by γ .
Table 13: Conditional score audit. Upper bounds use the within-scope Bonferroni correction; passing upper bound ≤0.55 . All three Edema test runs also pass the balanced-accuracy and log-loss interval checks.
Figure 25
Task
Method
A
ECE
Slope ba
Intercept αa
yˉa−rˉa
Edema
ERM
0
0.010±0.005
0.978±0.054
0.001±0.034
−0.000±0.004
1
0.020±0.009
0.926±0.044
0.093±0.071
0.013±0.010
M .95
0
0.069±0.006
0.875±0.037
−0.561±0.057
−0.069±0.006
1
0.036±0.004
0.858±0.056
0.236±0.030
0.032±0.003
C .95
0
0.051±0.006
0.867±0.079
−0.416±0.036
−0.050±0.007
1
0.029±0.007
0.861±0.076
0.166±0.043
0.023±0.005
Appendix
Table 14: Sex-calibration at γ=.95 (mean ± std reported). αa is fitted separately with slope fixed at one. Negative intercepts and negative mean residuals ⟹ overprediction. Ideal slope is 1; ideal intercept and mean residual are 0.
Sex Probe AUROC ↓
Fairness Gaps ↓
Pathology
Method
Task AUROC ↑
Marginal
Y=0
Y=1
DP Gap
EO Gap
Edema
DANN
0.842 ± 0.003
0.950 ± 0.005
0.950 ± 0.006
0.938 ± 0.008
0.069 ± 0.023
0.033 ± 0.025
CDANN
0.845 ± 0.003
0.952 ± 0.006
0.955 ± 0.007
0.940 ± 0.012
0.111 ± 0.015
0.074 ± 0.025
Cardiomegaly
DANN
0.842 ± 0.004
0.947 ± 0.006
0.951 ± 0.006
0.928 ± 0.018
0.054 ± 0.031
0.037 ± 0.015
CDANN
0.843 ± 0.006
0.944 ± 0.030
0.957 ± 0.008
0.924 ± 0.027
0.105 ± 0.028
0.078 ± 0.042
Appendix
Table 15: Evaluation across pathologies and objectives. Task AUROC, marginal and class-conditional sex probe AUROCs, demographic parity ( DP ) gap, and equalized odds ( EO ) gap. Results are reported as mean ± std.
Figure 14: Evaluating demographic erasure on CheXpert. (a) Comparison of linear and nonlinear probes in the single-seed exploratory Edema study. (b–c) Summary of DANN and CDANN experiments across adversarial strengths and seeds. Chance probe AUROC does not establish independence, and marginal probes alone do not assess conditional invariance.
Method
Configs.
Task AUROC ↑
Probe AUROC ↓
Pass
Main Finding / Limitation
Baselines and Controls
ERM
1
0.840
0.961
0/1
Strong demographic leakage.
ERM adapters
3
0.833
0.554–0.803
0/3
Compression reduced leakage but did not meet the criterion.
PCA + ERM
2
0.838
0.813–0.886
0/2
Substantial residual leakage.
Constant output
1
0.500
0.502
1/1
Trivial removal through complete task collapse.
Learned Representations
Appendix
Table 16: Exploratory demographic-erasure experiments on CheXpert Edema at natural prevalence (one training seed; 51 configurations). Results do not reflect general limitations of the evaluated methods.
Algorithmic fairness studies how automated decisions distribute errors, opportunities, and harms across groups, and how to measure and reduce disparities.
As algorithmic decision making has become increasingly ubiquitous even in high-stakes settings, significant effort has been invested in defining, detecting, and eliminating unfair model-driven outcomes. Prior work has largely focused on estimating the fairness properties of a given predictive model, and quantifying uncertainty based on variability in a fixed model's performance across evaluation datasets. Alternatively, we can also ask about uncertainty that the model inherits from its training data; here we evaluate data fairness - fairness in the data generating process used for training. We perform inference on data fairness using targeted learning, a flexible framework for nonparametric inference, and derive estimators for demographic parity, equal opportunity, and conditional mutual information. Simulations show that our data fairness estimators improve confidence-interval coverage and reduce false detections of population unfairness relative to fixed-model inference. We also demonstrate their application to real data.
Joseph H. Rudoler, Alexander Asemota, Giles Hooker
University of California Berkeley, USA · University of Pennsylvania, USA
One of the many fairness definitions pursued in recent recommender system research targets mitigating demographic information encoded in model representations. Models optimized for this definition are typically evaluated on how well demographic attributes can be classified given model representations, with the (implicit) assumption that this measure accurately reflects recommendation parity, i.e., how similar recommendations given to different users are. We challenge this assumption by comparing the amount of demographic information encoded in representations with various measures of how the recommendations differ. We propose two new approaches for measuring how well demographic information can be classified given ranked recommendations. Our results from extensive testing of multiple models on one real and multiple synthetically generated datasets indicate that optimizing for fair representations positively affects recommendation parity, but also that evaluation at the representation level is not a good proxy for measuring this effect when comparing models. We also provide extensive insight into how recommendation-level fairness metrics behave for various models by evaluating their performances on numerous generated datasets with different properties.
Bjørnar Vassøy, Benjamin Kille, Helge Langseth
Norwegian University of Science and Technology, Trondheim, Norway
Deep learning has advanced chest X-ray (CXR) diagnosis, yet demographic biases in learned representations may contribute to performance disparities across intersectional groups. We propose a single-encoder framework combining dual-level decorrelation with prototype-guided cross-group contrastive learning to reduce demographic dependence while accounting for within-class variation. We further propose Demographic Representation Alignment Reduction (DRAR), a new metric that quantifies the reduction in demographic structure within disease representations. The framework is evaluated on four classification tasks using 34,809 CheXpert test images across eight intersectional groups, defined by age, sex and ethnicity. Compared with empirical risk minimization (ERM), our method reduces the mean equalized-odds gap from 15.41% to 10.86% and the AUC gap from 5.95% to 5.01%. Our method achieves a DRAR of 59.04% relative to ERM, with only a slight decrease in mean AUC. These results demonstrate that representation disentanglement can reduce demographic bias and improve intersectional fairness. Code is available at https://github.com/06Yujie/Fair-Medical-Imaging.
Yujie Sun, Ruizhe Li, Xiaowu Sun
Academy of Artificial Intelligence and Advanced Technology, Xi’an Jiaotong-Liverpool University, China · Nottingham Biomedical Research Centre, School of Medicine, University of Nottingham, UK