Week 02

Week 02 · Responsible AI & Algorithmic Governance

Algorithmic Bias, Fairness, and Discrimination

Davood Wadi, PhD

Because predictive models learn from unequal histories and optimize narrow objectives, governing fairness requires explicit choices among competing mathematical and legal standards.

From Statistical Patterns to Market Discrimination

Predictive models operate by discriminating in the statistical sense: they separate customers with high predicted probabilities of an outcome from customers with low predicted probabilities.

Statistical discrimination becomes unlawful or unethical market discrimination when those predictions systematically disadvantage individuals on the basis of protected characteristics.

Isometric tabletop diorama of statistical sorting versus market discrimination: on the left, applicants and an input feature pedestal feed into a glass AI cube; inside the cube, a probability threshold gauge splits decisions along an upper verdigris approval rail and a lower denial rail. Under historical inequities and proxy inputs, the model systematically routes the protected group behind a red denial barrier.NO RACE/AGE · PROXY INPUTSP(Y = 1) THRESHOLD SORTERHIGH P(Y = 1) · APPROVED SEGMENTLOW P(Y = 1) · SYSTEMATIC PROTECTED-GROUP EXCLUSION
Pipeline regime

A model does not need malicious intent, or even direct access to a customer's race, gender, or age, to produce discriminatory outcomes across groups.

Whenever historical inequities, uneven sampling, or proxy variables enter the modeling pipeline, optimizing for predictive accuracy alone will reproduce or amplify existing disparities.

Part 1: Sources of Algorithmic Bias Across the Pipeline

Algorithmic bias is a systematic difference in a model's predictions, errors, or resource allocations across groups that is not justified by the legitimate purpose of the decision.

Bias does not originate in a single line of code; it enters at distinct stages of data generation, measurement, model specification, and market deployment.

Diagnosing the exact stage at which bias enters is necessary because each source requires a different technical and managerial remedy.

Isometric tabletop diorama of the four stages where algorithmic bias enters a commercial pipeline: Stage 1 stepped data archive, Stage 2 tilted measurement balance scale, Stage 3 model specification glass cube with an internal regression plane, and Stage 4 market deployment gate with a feedback return pipe.FOUR PIPELINE ENTRY STAGES · EACH REQUIRES A DISTINCT REMEDY01 · DATA GENERATION02 · MEASUREMENT03 · MODEL FIT04 · DEPLOYMENTSELECTIVE OBSERVATION FEEDBACK LOOP TO TRAINING DATA
Pipeline stage

Bias in the Data: Historical and Representation Bias

Historical bias arises when the data accurately record a world shaped by past structural inequality or human prejudice, so that a model trained on those records treats past discrimination as the target to replicate.

For example, a hiring model trained on ten years of past executive promotions in a male-dominated industry learns to penalize career patterns common among female applicants.

Isometric tabletop diorama of historical bias in hiring: on the left, a 3D two-tier executive promotion podium from the past ten years elevates one group; a hiring glass AI cube replicates that historical step profile inside its mechanism and raises a red barrier against a current female applicant on the right.10-YR PROMOTION HISTORYREPLICATED AS TARGET RULE

Representation bias arises when certain segments of the population are undersampled or missing from the training dataset relative to the population on which the model will be deployed.

A facial analysis system or voice assistant trained primarily on one demographic group exhibits substantially higher error rates when deployed to underrepresented groups.

Isometric tabletop diorama of representation bias in a voice and facial analysis system: on the left, two training sample cylinders show the majority group and 10% from the underrepresented group; in the center, a glass AI cube processes speech and face signals; on the right, deployed error-rate cylinders show 4% error for the majority group versus 33% error for the underrepresented group.TRAINING SAMPLE (10%)DEPLOYED ERROR RATES4%MAJ33%MINSIMULATED
10%

Bias in Modeling: Measurement and Aggregation Bias

Measurement bias arises when the observable proxy chosen to represent an unobservable construct is measured with different accuracy or meaning across groups.

Using past healthcare expenditures as a proxy for medical need systematically underestimates the severity of illness among lower-income patients who historically had less access to care for the same level of sickness.

Using arrest records as a proxy for criminal offense rates confounds underlying behavior with differences in policing intensity across neighborhoods.

Isometric tabletop diorama of measurement bias (healthcare): two patients with identical illness severity stand on the left, but unequal past healthcare spending (1 coin vs 4 coins) feeds into a glass AI cube, which underestimates need for the lower-income patient.EQUAL ILLNESS · UNEQUAL SPENDSPEND PROXY != NEEDLOW RANK
Measurement proxy case

Aggregation bias arises when a single model is fit across distinct populations whose conditional relationships between predictors and outcomes differ, producing a model that fits the majority group well and minority groups poorly.

Isometric tabletop diorama of aggregation bias: on the left stand two distinct populations; in the center, a glass AI cube fits a single pooled slope that matches the majority group pins closely while missing the minority group's opposite slope, resulting in poor minority fit on the right.POOLED MODEL · FITS MAJORITY, MISSES MINORITYMAJ FITMIN FITSIMULATED
Model specification

Bias in Deployment: Proxy Variables and Feedback Loops

Proxy variables are seemingly neutral features, such as postal code, mobile device brand, browser language, or shopping schedule, that correlate strongly with protected characteristics.

In high-dimensional marketing datasets, combinations of behavioral features allow a flexible machine learning model to reconstruct protected attributes with high precision even when demographic columns are deleted.

Isometric tabletop diorama of proxy reconstruction: on the left, three neutral behavioral proxy cylinders sit on an input table and feed into a glass AI cube, which combines them to reconstruct the protected demographic attribute on the right.NEUTRAL PROXY FEATURESRECONSTRUCTED ATTRIBUTE

Runaway feedback loops arise when a model's predictions determine which data are observed in the next period and used to retrain the model.

If a credit model denies loans to a neighborhood, the firm never observes the repayment behavior of creditworthy applicants in that neighborhood, locking the initial bias into future training cycles.

Isometric tabletop diorama of a runaway feedback loop in retraining cycle 3: a credit glass AI cube on the left approves loans to the approved neighborhood and collects 5 observed repayment coins to retrain, while blocking the denied neighborhood behind a red barrier wall so its repayment data remain unobserved.CYCLE 3 · UNOBSERVED REPAYMENT LOCKS IN BIASOBSERVED REPAYMENTS RETRAIN MODELREPAYMENT NEVER OBSERVED
Cycle 3

Identifying Sources of Bias in Commercial Pipelines

  1. Historical bias is present when the labels themselves reflect past unequal treatment, even if the sample is large and the variables are measured without error.

  2. Representation bias is present when the training sample omits or under-represents a target customer segment, raising error rates for that segment even if historical labels were fair.

  3. Measurement bias is present when the target label or feature is a flawed proxy whose relationship to the true construct differs across groups.

  4. Aggregation bias is present when a uniform model pools groups that require separate functional relationships or group-specific interactions.

Isometric tabletop diorama with four diagnostic stations for identifying pipeline bias: Station 1 historical bias (skewed past label podium despite large sample cylinder), Station 2 representation bias (undersampled segment cylinder), Station 3 measurement bias (tilted proxy beam distorting true construct), and Station 4 aggregation bias (single pooled line missing distinct group slopes inside a glass cube).01 · HISTORICAL LABELS02 · REPRESENTATION GAP03 · FLAWED PROXY04 · POOLED MODEL
Exercise · Which one is it?

Each case describes a commercial AI pipeline in which bias enters at a specific stage. Identify the source of bias.

A wealth-management firm trains a promotion recommender on twenty years of partner evaluations recorded during an era when senior client accounts were assigned almost exclusively to men.

Which concept does this case show?

Part 2: Group Fairness Criteria

Group fairness criteria formalize what it means for a model to treat demographic groups equitably in terms of its predictions and error rates.

Most group fairness definitions are constructed from the cells of the confusion matrix evaluated separately for each demographic group.

Three families of group fairness dominate regulatory and technical practice: independence, separation, and sufficiency.

Isometric tabletop diorama of the three group fairness families: Independence on the left (equal selection cylinders across groups), Separation in the center (conditioning on a raised true-outcome Y = 1 terrace), and Sufficiency on the right (conditioning on a score pedestal S = s supporting equal repayment coin stacks).1 · INDEPENDENCE P(D = 1 | A)2 · SEPARATION P(D = 1 | Y, A)TRUE Y3 · SUFFICIENCY P(Y = 1 | S, A)SCORE S = s

Confusion Matrices Across Demographic Groups

Consider a binary decision, such as approving a credit card application, where Y equals 1 if the applicant would repay the loan and Y equals 0 if the applicant would default.

The model produces a binary decision D, where D equals 1 for approval and D equals 0 for denial, based on whether the applicant's predicted probability score S exceeds a cutoff threshold.

For each demographic group A, the confusion matrix records the selection rate P(D = 1), the true positive rate P(D = 1 | Y = 1), the false positive rate P(D = 1 | Y = 0), and the positive predictive value P(Y = 1 | D = 1).

Different stakeholders care about different cells of this matrix: applicants care whether qualified members of their group are rejected, whereas lenders care whether approved applicants from each group repay at the predicted rate.

Isometric tabletop diorama of a 3D confusion matrix at score cutoff 55: a glass AI cube on the left applies the cutoff threshold to sort 100 applicants into four 3D cylindrical cells (TP=42, FN=18, FP=14, TN=26), with a live metric scoreboard on the right showing selection rate 56%, TPR 70%, FPR 35%, and PPV 75%.SCORE S >= 55 CUTOFFFOUR CONFUSION MATRIX CELLS FOR GROUP ATP (42)Y=1, D=1FN (18)Y=1, D=0FP (14)Y=0, D=1TN (26)Y=0, D=0GROUP MATRIX RATESP(D=1) = 56%TPR P(D=1|Y=1) = 70%FPR P(D=1|Y=0) = 35%PPV P(Y=1|D=1) = 75%SIMULATED · N = 100
S >= 55
Stakeholder view

Independence: Demographic Parity

Independence, also called demographic parity or statistical parity, requires that the probability of receiving a favorable decision is equal across groups: P(D = 1 | A = a) equals P(D = 1 | A = b).

Under demographic parity, if 30 percent of applicants from Group A are approved for a premium offer, then 30 percent of applicants from Group B must also be approved, regardless of differences in historical qualification rates.

Demographic parity is appropriate when historical labels are deeply contaminated by past exclusion or when the organization's policy goal is equal representation in access to an opportunity.

Its limitation is that if underlying qualification rates differ between groups, enforcing demographic parity requires approving less-qualified candidates in one group or rejecting qualified candidates in the other.

Isometric tabletop diorama of demographic parity P(D = 1 | A = a) = P(D = 1 | A = b) = 30%: a central glass AI cube coupled to a rigid equal-quota yoke approves 30% of Group A and 30% of Group B. When underlying qualification rates differ, enforcing 30% = 30% blocks a qualified Group A applicant while approving a less-qualified Group B candidate.UNEQUAL BASE POOLSGROUP AGROUP BEQUAL-QUOTA YOKE · 30% = 30%30% = 30% ENFORCED · QUALIFICATION TRADE-OFFA: 30%B: 30%APPROVES LESS-QUALIFIED IN B OR REJECTS QUALIFIED IN A
Underlying qualification rates

Separation: Equal Opportunity and Equalized Odds

Separation conditions fairness on the true outcome Y, requiring that the model's error rates do not depend on group membership.

Equalized odds requires that both the true positive rate P(D = 1 | Y = 1) and the false positive rate P(D = 1 | Y = 0) are equal across groups.

Equal opportunity relaxes equalized odds to require only equal true positive rates across groups: among individuals who would genuinely succeed or repay (Y = 1), the probability of being selected by the model is identical regardless of group membership.

Equal opportunity directly protects qualified individuals in disadvantaged groups from being overlooked at higher rates than equally qualified individuals in advantaged groups.

Isometric tabletop diorama of separation criteria (equal-opportunity): on the left, applicants are separated onto a true Y = 1 qualified terrace and a Y = 0 terrace before entering a glass AI cube; on the right, paired 3D cylinders compare Group A and Group B true positive rates (82% vs 82%) and false positive rates (18% vs 36%).CONDITION ON TRUE OUTCOME YTRUE Y = 1TRUE Y = 0TPR: 82% VS 82%GRP AGRP BFPR: 18% VS 36%GRP AGRP BSIMULATED
Separation standard

Sufficiency: Predictive Parity and Calibration

Sufficiency conditions on the model's prediction rather than the true outcome, requiring that a given prediction or risk score means the same thing across all groups.

Predictive parity requires that the positive predictive value P(Y = 1 | D = 1) is equal across groups: among applicants who are approved, the actual repayment rate is the same in Group A and Group B.

Calibration within groups requires that for every score level s, the proportion of individuals with score s who achieve the outcome Y = 1 is equal across groups: P(Y = 1 | S = s, A = a) equals P(Y = 1 | S = s, A = b).

Calibration ensures that a single cutoff threshold applied to the score S does not explicitly judge one group by a stricter predictive standard than another.

Isometric tabletop diorama of group calibration across four score bins (S = 0.25, 0.50, 0.75, 0.90) with a uniform cutoff gate at S >= 0.60: at every score level s, Group A and Group B cylinders reach identical actual repayment heights P(Y = 1 | S = s).CALIBRATED WITHIN GROUPS · P(Y=1 | S=s, A) = P(Y=1 | S=s, B) AT EVERY SCORESSINGLE CUTOFFS = 0.25S = 0.50S = 0.75S = 0.90SIMULATED
Score calibration state

Selecting a Group Fairness Criterion

  1. Demographic parity is selected when the firm cannot trust historical outcome labels or seeks proportional representation across groups, as in broad awareness advertising or scholarship outreach.

  2. Equal opportunity is selected when the primary ethical harm is falsely rejecting qualified individuals, as in screening job applicants or approving small-business loans.

  3. Equalized odds is selected when both false rejections of the qualified and false selections of the unqualified carry severe group-level harms, as in fraud flagging or risk assessment.

  4. Predictive parity and calibration are selected when decision makers must trust that a numeric risk score carries identical predictive meaning across groups under a uniform cutoff rule.

Isometric tabletop diorama matching four group fairness criteria to their market contexts: Station 1 equal outreach cylinders on a podium for demographic parity, Station 2 qualified applicant and loan approval pedestal for equal opportunity, Station 3 dual-pan balance scale for equalized odds (TPR and FPR), and Station 4 calibrated score dial inside a glass cube for predictive parity and calibration.01 · DEMOGRAPHIC PARITY02 · EQUAL OPPORTUNITY03 · EQUALIZED ODDSTPRFPR04 · CALIBRATION
Exercise · Match up

Match each group fairness criterion with the commercial governance scenario in which it is the primary standard.

Group fairness criterion

Commercial governance scenario

Tap a term, then the example it goes with.

Part 3: Individual and Counterfactual Fairness

Group fairness averages outcomes across entire demographic categories, which leaves open the possibility that specific individuals within a group are treated arbitrarily.

Individual and causal approaches evaluate fairness at the level of the single consumer rather than the group average.

Isometric tabletop diorama contrasting group averages with individual fairness: on the left, an overhead averaging bar reads 50% GROUP AVERAGE even though two equally qualified group members receive arbitrary opposite outcomes; on the right, a glass AI cube evaluates the individual consumer directly with a precision caliper.GROUP AVERAGE = 50% · ARBITRARY INDIVIDUAL TREATMENTINDIVIDUAL & CAUSAL EVALUATION

Individual Fairness: Treating Similar People Similarly

Individual fairness, formalized by Dwork and colleagues, requires that any two individuals who are similar with respect to a particular task receive similar probability distributions over outcomes.

Formally, the distance between the model's predictions for two consumers cannot exceed the task-relevant distance between their profiles.

Individual fairness prevents tokenism, in which a model satisfies group demographic parity by selecting arbitrary members of a protected group rather than the most qualified individuals within that group.

The practical challenge of individual fairness is defining a similarity metric that captures genuine task qualification without quietly reintroducing socioeconomic proxies.

Isometric tabletop diorama of individual fairness (fair): on the left, two task-similar individuals stand with identical qualification stacks separated by a small task-distance ruler d(x1, x2); a central glass AI cube with a pantograph linkage maps them to output probability cylinders on the right (closely matched heights satisfying the Lipschitz bound).SIMILAR PROFILES d(x1, x2)SMALL TASK DISTANCE d(x1, x2)SIMILARITY METRIC & BOUNDSMALL OUTPUT DISTANCE |f(x1) - f(x2)|f(x1) = 78%f(x2) = 76%SIMILAR PEOPLE TREATED SIMILARLY
Individual evaluation

Counterfactual Fairness and Causal Pathways

Counterfactual fairness defines fairness through a causal graph: a decision is counterfactually fair toward an individual if the prediction would remain identical in a counterfactual world where the individual belonged to a different demographic group.

Evaluating counterfactual fairness requires distinguishing causal pathways that are legitimate for the decision from pathways that transmit discrimination through mediating variables.

If a protected attribute influences a mediator, such as neighborhood school quality, which in turn influences test scores, a counterfactually fair model adjusts for the downstream effect of the protected attribute on the mediator.

Unlike fairness through unawareness, which merely drops the demographic column, counterfactual fairness removes the causal influence of the protected attribute on all downstream proxy variables unless a pathway is explicitly deemed business-necessary.

Isometric tabletop diorama of a 3D causal graph for counterfactual fairness (counterfactual): from left to right stand the protected attribute pedestal A, the neighborhood school mediator building M, the test score cylinder X, the glass AI cube, and paired actual vs counterfactual outcome cylinders on the right. Adjusting for the mediator pathway equalizes the prediction across actual A and counterfactual A'.COUNTERFACTUAL FAIRNESS · MEDIATOR PATH ADJUSTED -> IDENTICAL PREDICTION UNDER A & A'ATTRIBUTE A / A'A / A'SCHOOL MEDIATOR MSCHOOL MADJUSTED SCORE XACTUAL A VS COUNTERFACTUAL A'WORLD AWORLD A'
Causal model regime
Knowledge Check

A graduate fellowship committee removes applicant race and gender columns from its scoring model, but keeps standardized test scores that are strongly shaped by disparities in neighborhood high-school funding associated with protected attributes. Why does this model satisfy fairness through unawareness yet fail counterfactual fairness?

Part 4: The Fairness Impossibility Theorem and Managerial Trade-Offs

A central mathematical result in algorithmic governance is that the major criteria of group fairness are mutually incompatible in almost all realistic settings.

Managers cannot instruct an engineering team to make a model “completely fair” on all metrics at once; they must decide which type of error disparity is most harmful in the specific market context.

Isometric tabletop diorama of the three-way fairness tension: a central glass AI cube connects via rigid mechanical tie-rods to three monuments on the board—Independence on the left, Separation in the back-right, and Sufficiency in the front-right—showing that locking two criteria in verdigris forces a red gap on the third.MUTUAL INCOMPATIBILITY · CANNOT LOCK ALL THREE CRITERIA SIMULTANEOUSLY1 · INDEPENDENCE2 · SEPARATION3 · SUFFICIENCY (BROKEN)

The Fairness Impossibility Theorem

Proven independently by Chouldechova (2017) and Kleinberg, Mullainathan, and Raghavan (2017), the impossibility theorem states that whenever two groups have different base rates of the underlying outcome P(Y = 1), no imperfect predictor can simultaneously satisfy independence, separation, and sufficiency.

Specifically, if base rates differ across groups and a model is calibrated within groups (sufficiency), the group with the lower base rate will mathematically have a lower true positive rate or a lower false positive rate, violating equalized odds (separation).

Conversely, if a firm enforces equalized odds across groups with unequal base rates, the resulting predictions cannot have equal positive predictive value across groups.

Only two degenerate conditions avoid this trade-off: a perfect predictor that makes zero errors, or populations whose underlying base rates are identical.

Interactive 3D tabletop instrument of the fairness impossibility theorem with Group A base rate 50% and Group B base rate 25% under the calibrated regime: displays selection rates (50% vs 18%), true positive rates (80% vs 57%), and positive predictive values (80% vs 80%).CALIBRATED (PPV 80% = 80%) UNDER UNEQUAL BASE RATES -> VIOLATES EQUALIZED ODDS (TPR 80% VS 57%)BASE RATES P(Y = 1)A: 50%B: 25%1 · P(D=1): 50% VS 18%2 · TPR: 80% VS 57%3 · PPV: 80% VS 80%SIMULATED · CHOULDECHOVA IDENTITY
25% (vs A: 50%)
Enforced criterion

Managerial Trade-Offs in Credit, Hiring, and Ad Delivery

Because mathematical impossibility rules out satisfying every fairness metric simultaneously, choosing a fairness criterion is a normative governance decision rather than a purely technical optimization step.

In consumer credit, lenders historically prioritized calibration so that a credit score of 700 implied the same default risk for every borrower, but doing so under unequal base rates produces higher false rejection rates for creditworthy borrowers in disadvantaged groups.

In automated resume screening, regulators and human-resources leaders prioritize demographic parity or equal opportunity at the top of the funnel so qualified candidates from underrepresented groups reach human interviews.

In medical triage or fraud intervention, equalized odds is prioritized so that neither missed diagnoses nor burdensome false investigations fall disproportionately on one demographic segment.

Isometric tabletop diorama of managerial fairness trade-offs across three domains: Consumer Credit on the left (calibrated Score 700 dial paired with a false-rejection barrier for creditworthy borrowers), Automated Resume Screening in the center (3D top-of-funnel intake opening interview gates under equal opportunity), and Medical Triage & Fraud on the right (equalized odds balancing missed diagnoses and false investigations).01 · CREDIT · SCORE 700 CALIBRATEDSCORE70002 · HIRING · TOP-OF-FUNNEL PARITY03 · TRIAGE & FRAUD · EQUALIZED ODDS
Market domain
Exercise · Which one is it?

Given that the fairness impossibility theorem prevents satisfying all criteria at once under unequal base rates, identify which fairness priority fits each domain decision.

An enterprise HR team configures its automated resume screener at the top of the hiring funnel so that qualified applicants from underrepresented groups reach human interviews at the same rate as majority applicants.

Which concept does this case show?

Discussion: The Credit Scoring Trade-Off

Discussion: A digital bank's credit model is perfectly calibrated across age and income groups, meaning that among approved borrowers at any score threshold, default rates are identical across groups. However, an internal audit reveals that creditworthy young adults who would have repaid their loans are rejected at a 35 percent rate, compared with an 18 percent false rejection rate for older borrowers. Should the bank preserve calibration or adjust group thresholds to achieve equal opportunity, and how should it justify that choice to regulators and customers?

Isometric tabletop diorama of the digital bank credit scoring trade-off: a calibrated glass AI cube on the left outputs identical default rates among approved borrowers, but on the right creditworthy young adults face a 35% false rejection cylinder in red compared with 18% for older borrowers.CALIBRATED MODELFALSE REJECTION OF CREDITWORTHYOLDER · 18%YOUNG · 35%

Part 5: Auditing and Mitigating Disparate Impact in Marketing Pipelines

In digital marketing, algorithmic discrimination most often appears not in explicit exclusions by a human marketer, but in automated ad delivery, dynamic pricing, and personalization systems.

Governing these pipelines requires understanding how platform optimization algorithms allocate exposure and applying structured mitigation and auditing protocols.

Isometric tabletop diorama of digital marketing pipelines: on the left, a marketer submits a neutral campaign brief to a platform optimization glass AI cube; on the right, the cube allocates exposure across three channels—an ad delivery billboard, a dynamic pricing pedestal, and personalized feed slots—monitored by an auditor.NEUTRAL CAMPAIGN BRIEFPLATFORM OPTIMIZER1 · AD DELIVERY2 · DYNAMIC PRICING3 · PERSONALIZATION

Bias in Ad Delivery and Algorithmic Targeting

Even when an advertiser selects broad, demographically neutral targeting parameters for a housing, credit, or employment advertisement, the platform's delivery algorithm can produce severely skewed audiences (Ali et al., 2019).

Delivery skew occurs for two reasons: market-driven cost differences across demographic segments in ad auctions, and relevance models that optimize predicted click-through rates based on historical stereotypes.

If young women are more expensive to reach in an ad auction because retail brands bid heavily for their attention, a budget-constrained algorithm advertising STEM careers will automatically shift impressions toward men to minimize cost per click.

Similarly, an algorithm optimizing click probability on housing ads may steer luxury rental listings toward higher-income demographic profiles and subprime credit ads toward vulnerable neighborhoods.

Isometric tabletop diorama of algorithmic ad delivery skew (Ali et al., 2019): on the left, a neutral STEM career ad and 5 competing retail bid coins enter a platform auction glass AI cube; on the right, impression cylinders show 81% of STEM ad impressions served to men and 19% to women.NEUTRAL TARGETING + RETAIL AUCTION BIDS (5x) -> 81% STEM IMPRESSIONS SERVED TO MENSTEM AD + COMPETING RETAIL BIDSSTEM ADNEUTRALRETAIL BIDS ON WOMENAUCTION & CTR OPTIMIZERSERVED STEM AD IMPRESSIONSMEN · 81%WOMEN · 19%SIMULATED · AUCTION DELIVERY
5x bid
Delivery algorithm

Pre-Processing, In-Processing, and Post-Processing Mitigation

Pre-processing interventions modify the training data before a model is fit, using techniques such as reweighting underrepresented observations, resampling, or transforming features to remove correlation with protected attributes.

In-processing interventions modify the learning algorithm itself during training, by adding a fairness penalty to the loss function or imposing adversarial debiasing constraints so the model cannot predict group membership from its internal representations.

Post-processing interventions leave the trained model unchanged and adjust its output scores or apply group-specific decision thresholds to satisfy a target criterion such as equal opportunity or demographic parity.

Every mitigation method entails an accuracy-fairness frontier: tightening fairness constraints typically reduces predictive accuracy on the historical objective, a trade-off that governance teams must quantify and document.

Isometric tabletop diorama of bias mitigation stages and the accuracy-fairness frontier: from left to right stand pre-processing data reweighting, in-processing loss penalty inside a glass AI cube, post-processing group thresholds, and a 3D Pareto frontier plinth on the right where fairness constraint lambda=60% selects accuracy 88.7% and four-fifths ratio 0.81.1 · PRE-PROCESSINGREWEIGHT DATA2 · IN-PROCESSING+λFAIRNESS LOSS PENALTY3 · POST-PROCESSINGGROUP THRESHOLDSPARETO FRONTIER · ACC 88.7% · 4/5 RATIO 0.81SIMULATED ACCURACY-FAIRNESS FRONTIER
λ = 60%
Exercise · Sort into groups

Sort each bias-mitigation action into the pipeline stage where it intervenes.

        Tap a card, then tap the group it belongs to.

        Six Steps of a Disparate Impact Audit

        1. Step 1 is defining the decision scope, the protected groups of concern, and the legal and ethical fairness criteria appropriate to the domain.

        2. Step 2 is assembling an audit dataset with verified or ethically inferred group membership labels on a representative holdout sample.

        3. Step 3 is computing baseline group metrics, including selection rates, the four-fifths ratio, true positive rates, false positive rates, and calibration curves across groups.

        4. Step 4 is diagnosing the pipeline stage responsible for any observed disparity, testing whether the gap stems from representation gaps, proxy features, label measurement bias, or auction delivery dynamics.

        5. Step 5 is evaluating pre-processing, in-processing, or post-processing mitigations along the accuracy-fairness frontier and selecting the operating point.

        6. Step 6 is recording the decision in a formal audit report and configuring continuous production alerts to detect fairness drift after launch.

        Isometric tabletop diorama of the six steps of a disparate impact audit: Step 1 scope charter tablet, Step 2 holdout audit sample cylinder, Step 3 baseline group metric towers, Step 4 pipeline stage diagnostic glass cube, Step 5 accuracy-fairness frontier selector, and Step 6 formal audit report with a continuous fairness-drift monitoring loop.01 · SCOPE02 · HOLDOUT03 · METRICS04 · DIAGNOSE05 · FRONTIER06 · REPORT & ALERTCONTINUOUS PRODUCTION DRIFT ALERT
        Audit step
        Exercise · Put it in order

        A digital mortgage lender is conducting a formal disparate-impact audit of its automated pre-approval model. Arrange the six audit steps in order from Step 1 to Step 6.

        Tap a step, then the number where it belongs.

        Discussion: Neutral Targeting, Skewed Delivery

        Discussion: A university uses an automated social media ad platform to recruit applicants for its new Master of Financial Technology program, specifying only age 21 to 40 and a bachelor's degree as targeting criteria. After two weeks, platform logs show that 82 percent of ad impressions were served to men. Explain the algorithmic mechanisms that can produce this disparity under neutral targeting, and propose how the university and the platform should intervene.

        Isometric tabletop diorama of the university recruitment ad case: on the left, a neutral targeting brief (Age 21 to 40, Bachelor's degree) feeds into a social media ad platform glass AI cube, which serves 82% of ad impressions to a tall red cylinder for men and only 18% to women on the right.AGE 21-40 · BACHELOR'SFINTECHAD BRIEFSERVED IMPRESSIONSMEN · 82%WOMEN · 18%

        Key Takeaways

        1. Statistical discrimination becomes market discrimination when automated predictions systematically disadvantage protected groups through disparate treatment or disparate impact.

        2. Deleting demographic columns (fairness through unawareness) fails because high-dimensional behavioral and geographic proxies reconstruct group membership.

        3. Bias enters at specific stages of the pipeline: historical and representation bias in data, measurement and aggregation bias in modeling, and proxy reconstruction and feedback loops in deployment.

        4. Group fairness criteria formalize distinct moral priorities: demographic parity equalizes selection rates, equal opportunity and equalized odds equalize error rates conditional on true qualification, and calibration equalizes predictive meaning conditional on the score.

        5. Individual fairness requires similar treatment for task-similar individuals, and counterfactual fairness removes discriminatory causal pathways through mediating variables.

        6. By the fairness impossibility theorem, when underlying base rates differ across groups, no imperfect model can satisfy demographic parity, equalized odds, and calibration simultaneously.

        7. Marketing and ad-delivery algorithms can generate severe demographic skews through auction pricing and click-rate optimization, requiring structured disparate-impact audits and pre-, in-, or post-processing mitigation.