Source-linked AI summary

When Post-Processing Fairness Constraints Help and When They Harm: Evidence from Eight Cross-Domain Evaluations

Nithin Raghava Ramachandra Narla

arXiv:2609.26955v4cs.LGcs.CY

TL;DR

Fairness audits are often conducted only at deployment, and post-processing interventions are rarely tested across heterogeneous domains. FAPE evaluates ThresholdOptimizer across multiple domain evaluations and finds that intervention effects track baseline disparity, while CUSUM monitoring detects failures to meet or maintain a parity convention under a simulated shift.

  • Problem

    Fairness audits commonly occur once at deployment, and evidence on whether post-processing interventions generalize across heterogeneous domains is limited.

    Source: §1.1 · p. 1
  • Method

    FAPE evaluates ThresholdOptimizer across domain settings and uses CUSUM sequential monitoring to track fairness after deployment.

    Source: §2.4 · p. 4
  • Results

    Baseline disparity tracks intervention effectiveness, and monitoring flags constrained models that fail the 0.1 convention or later regress under a simulated shift.

    Source: §7 · p. 16
  • Takeaways & Limitations

    The paper recommends checking baseline disparity before intervention and monitoring fairness continuously rather than relying on a single launch audit.

    Source: §7 · p. 16

    Random forests fit training records almost perfectly in Student and MEPS, so thresholds chosen on those records transfer poorly to new records.

    Source: §6.4 · p. 15

Abstract

from arXiv · show

Fairness audits in production ML typically occur once, at deployment, on a single domain. Both fail in practice: fairness can shift after retraining or a changing user base, and interventions validated on one dataset are rarely tested across the heterogeneous domains an organization deploys. We present FAPE (Fairness Auditing for Production Environments), a four-stage framework evaluating a single post-processing intervention, Fairlearn's ThresholdOptimizer, across eight domain evaluations: criminal justice, income prediction, legal admissions, credit lending, agricultural lending, a multi-domain benchmark corpus, healthcare, and education. Each is scored on demographic parity and equalized odds difference, plus disparate impact ratio and accuracy cost where computable. Intervention effectiveness tracks baseline disparity magnitude: across model-domain pairs the constraint improved disparity in 9 of 14 high-disparity cases and worsened it in 3 of 4 near-fair ones. Each of the five high-disparity exceptions reverses under one of two measurement checks, a minimum group size or thresholds fit on held-out data. A CUSUM monitor started at deployment, tested on a simulated shift, separates constrained models that never met a 0.1 parity convention from those that met it and later regressed. A single deployment-time audit is therefore an unreliable guide, which argues for baseline-disparity screening and continuous monitoring

1. Introduction

Production fairness audits are typically conducted only at launch, while evidence about post-processing across varied domains is limited. FAPE evaluates ThresholdOptimizer across eight domains and reports that its effects vary with baseline disparity, motivating baseline screening and ongoing monitoring.

1.1 The Production Fairness Gap

  • Production systems are often audited once at launch, while changing users or retraining can widen a demographic-parity gap without triggering an alert.Static fairness toolkits produce reports at a single point in time.Source: §1.1 · pp. 1–2

1.2 The Cross-Domain Generalization Problem

  • Whether a post-processing intervention generalizes from criminal-justice risk scoring to domains such as agricultural lending or student performance has largely gone untested.FAPE evaluates one method across eight evaluations and finds effectiveness varies by domain and model.Source: §1.2 · p. 2

1.3 FAPE Contributions

  • The paper evaluates ThresholdOptimizer across eight heterogeneous domains, reports multiple fairness and performance metrics, and tests CUSUM monitoring under a simulated shift.Across model-domain pairs, constraints improved disparity in 9 of 14 high-disparity cases and worsened it in 3 of 4 near-fair cases; all five high-disparity exceptions reverse under a minimum-group-size or held-out-threshold check.Source: §1.3 · p. 2

1.4 Paper Organization

  • The paper reviews related work, describes methodology and experimental setup, reports results across eight evaluations, discusses practitioner implications, and concludes.Source: §1.4 · p. 2

2. Related Work

Prior work offers interventions that differ in where they act, fairness metrics that can conflict, and cross-domain evaluations that often reuse a narrow benchmark pool. Production monitoring remains limited, motivating FAPE’s sequential CUSUM approach.

2.1 Fairness Interventions

  • Post-processing applies group-specific thresholds to an already-trained model, avoiding the direct training-pipeline access required by pre-processing and in-processing methods.FAPE evaluates Fairlearn’s ThresholdOptimizer, based on equalized-odds post-processing.Source: §2.1 · pp. 2–3

2.2 Fairness Metrics and Impossibility

  • Fairness metrics can conflict when group base rates differ, so reporting only one metric can obscure tradeoffs; FAPE reports parity and equalized-odds differences, plus other metrics where available.Resampling can also make traditional measures appear to show parity while audit-study data still show an absolute disparity of about 10%.Source: §2.2 · p. 3

2.3 Cross-Domain Fairness Evaluation

  • Comparative intervention studies often draw on overlapping benchmarks, while FAPE applies one post-processing method across eight evaluations, including domains outside the commonly used pool.The evaluations include COMPAS and MEPS, Folktables in place of Adult, and Law School, Lending Club, agricultural loan, and Student Performance data.Source: §2.3 · p. 3

2.4 Production Fairness Monitoring

  • Production fairness monitoring is limited: open-source toolkits evaluate models at one point in time, while FAPE’s Stage 4 uses CUSUM to accumulate small excesses across windows.The cited commercial example recomputes bias metrics on scheduled live-data windows and alerts when a confidence interval falls outside an allowed range.Source: §2.4 · pp. 3–4

3. Methodology

FAPE applies the same four-stage evaluation framework across eight domain evaluations, using a post-training fairness intervention and sequential drift monitoring. The methodology specifies domain and model coverage, fairness metrics, and a simulated shift for monitoring.

3.1 Framework Overview

  • FAPE runs data preprocessing, baseline classification, post-training ThresholdOptimizer intervention, and drift monitoring across its evaluations.Because the intervention occurs after training, no retraining is needed; the same model settings are used across domains, although scripts differ in model and metric coverage.Source: §3.1 · p. 4

3.2 Datasets and Domains

  • The eight evaluations span criminal justice, income prediction, legal admissions, credit and agricultural lending, a benchmark corpus, healthcare, and education.Domains vary in sensitive attributes and regulatory regimes; Folktables ACS and Lending Club use 100,000-record training samples, and Student Performance treats Math and Portuguese separately.Source: §3.2 · p. 5

3.3 Baseline Models

  • Baseline models are logistic regression, random forest, and gradient boosting with scikit-learn defaults; random forest is excluded from intervention in the three AUC-reporting domains.No domain-specific tuning was applied.Source: §3.3 · p. 6

3.4 Fairness Intervention

  • ThresholdOptimizer is fit on each training split to maximize balanced accuracy under demographic-parity or equalized-odds constraints.Passing random_state explicitly to all 22 predict calls resolved run-to-run variation, and two consecutive full runs per domain then returned identical metrics.Source: §3.4 · p. 6

3.5 Evaluation Metrics

  • FAPE reports demographic-parity and equalized-odds differences for all domains, plus disparate-impact ratio and accuracy cost where supported.A difference below 0.1 is treated as a research convention, while the 0.8 disparate-impact threshold is an empirical heuristic rather than an ECOA lending rule; accuracy cost is baseline minus constrained accuracy.Source: §3.5 · pp. 6–7

3.6 Drift Detection

  • CUSUM monitors demographic-parity difference from deployment across 30 simulated observations covering baseline, deployed constrained model, and a synthetic shift.The shift moves the metric 60% of the way back toward baseline; an alert fires when accumulated excess over 0.1 plus 0.01 slack passes 0.1, and no production drift was observed.Source: §3.6 · p. 7

4. Experimental Setup

The experiments use Python, scikit-learn, and Fairlearn, with a fixed random seed passed to intervention predictions. The authors report public data and code, pinned dependencies, and exact reproduction of reported metric values.

4.1 Implementation

  • Experiments used Python 3.11.9, scikit-learn 1.9.1, and Fairlearn 0.13.0, with random seed 42 passed to every ThresholdOptimizer prediction call.The Law School TensorFlow endpoint returned a 403 error, so the standalone domain and FairGround row instead used the unmodified law_school_lequy data.Source: §4.1 · p. 7

4.2 Reproducibility

  • The authors report publicly available datasets and code, pinned dependencies, fresh-environment reruns of all seven domain scripts, and exact reproduction of every Section 5 metric.The reported reproduction includes Table 2 baseline values, disparate-impact ratios and group rates, and the checks in Sections 6.2 and 6.4.Source: §4.2 · p. 7

5. Results

Across model-domain pairs, ThresholdOptimizer’s effects varied with baseline disparity and model; measurement checks reversed the high-disparity exceptions. Deployment-start CUSUM distinguished models that never met the 0.1 convention from those that met it and later regressed.

5.1 Baseline Model Performance

  • Gradient boosting led accuracy in three of five evaluations and AUC in all three AUC-reporting domains; random forest was never the top performer.Accuracy and AUC are ranked separately because they are not comparable.Source: §5.1 · p. 8

5.2 Post-DP Constraint: DPD Results

  • FairGround’s law_school_lequy models cut DPD by 96–97%, while Agricultural worsened under both evaluated models and other domains included model-level splits.MEPS logistic regression and gradient boosting improved by 81% and 86%, but random forest’s DPD nearly tripled from 0.089 to 0.253; Lending Club and Student also split by model.Source: §5.2 · pp. 8–9

5.3 Post-EO Constraint: EOD Results

  • Law School’s gradient boosting improved EOD by 98.7%; Student’s three models improved, while FairGround’s creditcard subset and Agricultural worsened and other domains were mixed.FairGround’s law_school_lequy results differed sharply from its creditcard results.Source: §5.3 · p. 9

5.4 Disparate Impact Ratio

  • Law School gradient boosting’s DIR moved from 0.643 to 0.957; lending ratios approached parity as predicted default rates rose across every group, while some Folktables groups crossed 0.8.A parity-level DIR can coexist with sharp changes in every group’s treatment.Source: §5.4 · p. 9

5.5 Cross-Domain Comparison

  • 9 of 14 pairs with baseline DPD above 0.2 improved, while 3 of 4 below 0.05 worsened; all five high-disparity exceptions reversed under group-size or held-out-threshold checks.Counting the duplicated law_school_lequy evaluation once gives 6 of 11 or 7 of 12 improved high-disparity pairs; the near-fair count is unchanged.Source: §5.5 · pp. 10–11

5.6 Accuracy-Fairness Tradeoff

  • FairGround models cut DPD by nearly the same 96–97%, but accuracy costs were 0.159 for gradient boosting, 0.148 for logistic regression, and 0.010 for random forest.Accuracy cost is not computable for Law School, Lending Club, or Agricultural because their intervention scripts report AUC instead.Source: §5.6 · p. 11

5.7 Drift Detection Results

  • 9 of 21 pairs were flagged near deployment for never meeting 0.1; 5 that met it were flagged seven to eight steps into the simulated shift, while 7 were never flagged.These groups describe monitor behavior under the constructed regressions, not which domains are more fragile in practice.Source: §5.7 · p. 12

6. Discussion

Across domains, ThresholdOptimizer’s effect tracks baseline disparity imperfectly, while fairness changes across metrics and can shift under measurement checks or simulated production drift. The discussion recommends baseline screening and continuous monitoring, while identifying important limits in the study’s data and comparisons.

6.1 The Effectiveness Pattern

  • Law School and FairGround models improved on both DPD and EOD, while Agricultural gradient boosting’s DPD rose from 0.009 to 0.031.Lending Club gradient boosting was a near-fair exception, improving modestly; the authors recommend auditing baseline DPD before applying the constraint uniformly.Source: §6.1 · pp. 12–13
  • Above 0.2 baseline DPD, the constraint improved disparity in 9 of 14 pairs; below 0.05, it worsened disparity in 3 of 4.The high-disparity exceptions reverse under minimum-group-size or held-out-threshold checks.Source: §6.1 · p. 13, §6.2 · p. 14, §6.4 · p. 15

6.2 Multi-Metric Tradeoffs

  • Student gradient boosting reduced EOD by 64% but DPD by 9%, while MEPS logistic regression reduced DPD by 81% but EOD by 12%.Lending Club’s DIR fell from 2.778 to 0.973 even as default predictions reached about 40% in every income quartile; Agricultural’s DIR was within 5% of parity while its DPD tripled.Source: §6.2 · pp. 13–14
  • Without a minimum group size, COMPAS and Folktables metrics can be driven by tiny groups; on groups with at least 30 test records, the parity constraint narrowed gaps for all six models.That check raises the high-disparity improvement tally from 9 of 14 to 13 of 14 pairs.Source: §6.2 · p. 14

6.3 Production Monitoring Implications

  • A deployment-started CUSUM monitor flagged nine constrained models that never met the 0.1 convention within two steps and five models that regressed after simulated shift within eight steps.The authors recommend CUSUM-based or comparable monitoring, while noting that validation on real deployment data remains future work.Source: §6.3 · p. 14

6.4 Limitations

  • Baseline and constrained comparisons change both the constraint and decision-threshold objective, and reported metrics omit a minimum group size.Thresholds were selected on training records; random forest’s near-perfect training accuracy in Student and MEPS makes those thresholds transfer poorly to new records, and the study does not compare combined ensembles.Source: §6.4 · p. 15
  • The healthcare evaluation uses MEPS survey data rather than clinical records; access to the chosen clinical dataset, MIMIC-III, was not granted before writing began.The authors identify extending FAPE to clinical records as a next step.Source: §6.4 · p. 15
  • Two of the eight evaluations reuse law_school_lequy, so FAPE covers seven independent data sources; the pipelines differ in preprocessing and model count.The paired gradient-boosting baseline DPDs are 0.351 and 0.342, with post-constraint values of 0.030 and 0.014; this is not counted as a cross-domain result.Source: §6.4 · pp. 15–16

7. Conclusion

Across domains, ThresholdOptimizer’s effectiveness tracks baseline disparity, while monitoring and repeated audits are needed because fairness can change after deployment. The authors recommend screening baseline disparity, measuring adequately sized groups, and monitoring continuously, while noting limits to the evidence.

7. Conclusion

  • Effectiveness tracks baseline disparity: agricultural lending’s near-fair baseline (DPD 0.009) illustrates how applying a constraint can introduce harm.The conclusion says high-disparity exceptions trace to small groups or thresholds fit on held-out data.Source: §7 · p. 16
  • Monitoring from deployment flags constrained models that never met the 0.1 convention and, under simulated shift, catches models that met it before regressing.The drift results are proof-of-concept on synthetic shift, not observed production data.Source: §7 · p. 16
  • A launch-time audit on one domain cannot vouch for a model six months later or for its performance in another domain.The conclusion cautions that the drift-monitoring results have not been validated against real deployment data.Source: §7 · p. 16
  • FAPE recommends checking baseline disparity before intervening, reporting multiple metrics on groups large enough to measure, and monitoring continuously rather than once.The study does not resolve established impossibility results for fairness post-processing.Source: §7 · p. 16
  • The evidence is bounded by synthetic-shift drift tests, before-and-after comparisons that change the decision objective as well as add a constraint, and healthcare results from one MEPS panel using race alone as the sensitive attribute.The authors identify real-deployment validation and testing constraints on combined ensembles as next steps.Source: §7 · p. 16

Declarations

The declarations report no competing interests or external funding. They describe the study’s ethics and data availability and disclose the author’s use of generative AI during manuscript preparation.

Declarations

  • The authors declared no competing interests and no external funding.Source: Declarations · p. 16
  • The study used public secondary datasets without direct personal identifiers or human participants, and no new data were generated.The code, model outputs, and figures are listed as available in the project repository.Source: Declarations · p. 16
  • Claude was used to edit and condense prose, reorganize results, check reported values, and assist with specified code and analyses.The author states they reviewed and edited the output, verified reported values, and take responsibility for the publication.Source: Declarations · pp. 16–17
Loading 2609.26955v4…