The Fair Pricing Playbook

Responsible AI for Algorithmic Pricing in Insurance and Credit

Author

Fei Huang, UNSW Sydney

Why fair pricing matters

Algorithmic pricing is now widely used in insurance and financial services, and advances in AI and machine learning have become central to how insurers assess risk, detect patterns in large datasets, and set prices. The fairness concerns this creates are not new, but they take a different form under automated, large-scale systems. Even when protected attributes such as race, gender, and religion are removed from a model, pricing systems can still produce discriminatory outcomes through proxy variables and opaque algorithms that are difficult to trace or challenge. The rapid adoption of AI and big data has created a regulatory grey area: direct discrimination is prohibited, but indirect discrimination through proxies and complex algorithms is not clearly specified or assessed in most markets (Frees and Huang 2023; Xin and Huang 2024).

1,600+
users
55
countries
Since June 2026

Regulatory attention to these issues has grown substantially. Colorado has enacted legislation (SB21-169) prohibiting unfair discrimination in insurance and directing the Commissioner to adopt implementing rules, and New York has issued final guidance (Circular Letter No. 7, 2024) on the use of AI systems and external data in underwriting and pricing. The European Union has enacted broader AI governance requirements: the EU AI Act lists AI used to assess creditworthiness and AI used for risk assessment or pricing in life and health insurance as high-risk use cases, subject to the Act’s scope, exceptions, and phased implementation timetable. Firms that cannot demonstrate fairness face legal exposure, reputational risk, and the practical challenge of defending pricing decisions under regulatory examination.

This playbook translates research from economics, statistics, actuarial science, and machine learning into a concrete four-step workflow that covers the full journey from defining what fairness means, to building fair models, to measuring who actually gains and loses, to auditing a deployed system. While the case studies use insurance data and draw on insurance regulation, the four-step framework applies to any sector where algorithmic pricing raises fairness concerns, including credit, housing, energy, and mobility. Three insurance case studies provide the technical depth needed for implementation.

TipTwo ways to read
Reader Recommended path
Compliance, risk, policy, and management Read the four steps. The case studies are optional technical supplements.
Data science, actuarial, and research Read the four steps, then follow the case studies linked in the sidebar for implementation detail.

Watch: Introduction to anti-discrimination insurance pricing

Xin, X. & Huang, F. (2024). Antidiscrimination insurance pricing: Regulations, fairness criteria, and models. North American Actuarial Journal, 28(2), 285–319.

Huang, F. (2026). AI doesn’t need your race to discriminate against you. Australian Financial Review, 3 September.

The four steps

Step 1 · Define fairness

This step surveys the different lenses of fairness and the criteria they imply. They cannot all be satisfied simultaneously, and the choice is a legal and policy decision, not a technical default.

Step 2 · Design fair pricing

Once a criterion is chosen, this step maps it to a concrete model design and shows where in the pipeline (inputs, training, or outputs) to enforce fairness, based on what regulation requires.

Step 3 · Assess impact

A fair cost model does not guarantee a fair market outcome. This step traces price effects through demand and competition, quantifying consumer welfare and firm profit by group after prices are set.

Step 4 · Audit the system

An audit tests whether a deployed system actually meets the standard. All protocol choices (criterion, tolerances, sample design) are fixed before examining any data. Results are pass, fail, or insufficient information.

Four case studies provide implementation depth. Each is linked from the step it illustrates. Case study: Fairness Metrics follows Step 1 as a qualitative walkthrough with no code. Case study: Fair Models follows Step 2 with a reproducible model pipeline. Case study: Welfare Implications follows Step 3 with a reproducible welfare simulation. Case study: Fairness Testing follows Step 4 with a reproducible audit pipeline. Case studies are technical supplements. The four steps stand alone for non-technical readers. Throughout the case studies, click ▶ next to any code block to expand it.

The pathway at a glance

Pathway towards fairness from model inputs and design through outputs, welfare, and fairness testing to pass, unclear, or fail

The diagram shows how the four steps connect across model design, welfare assessment, and fairness testing. Steps 1 through 3 work together to inform a single decision, which fairness criterion fits a specific application or line of business. Step 2 shows the accuracy-fairness trade-off, how much predictive power a fairness constraint costs at the model level. Step 3 shows the welfare-fairness trade-off, how a fair cost model can still produce unequal market outcomes once price optimisation and demand enter the picture. Neither trade-off has a universal answer, which is exactly why these steps matter. Seeing both allows stakeholders to choose a criterion in Step 1 that fits their product, market, and regulatory context, rather than defaulting to whichever criterion is easiest to implement.

NoteKey findings from the research
  • Fairness through unawareness is not enough. Removing the protected attribute leaves proxy effects intact. Indirect discrimination can survive even when all obvious proxies are excluded. See Step 1 →
  • Fair models are feasible. Four model families (MU, MDP, MCDP, MC) implement four distinct criteria with manageable accuracy trade-offs. On benchmark data, a double-lift analysis suggests the MDP model carries lower adverse selection risk than the fairness-through-unawareness baseline (MU). See Step 2 →
  • Fair models do not guarantee fair outcomes. Price optimisation and competitive dynamics reintroduce group disparities after cost-level fairness is achieved. Demographic parity on premiums can widen markup disparities even as it closes price gaps. In this simulation using an insurance dataset, when all firms in the market adopt a fairness-through-unawareness rule, welfare losses for female customers are nearly eightfold larger than when only one firm is regulated ($101.67 vs $13.43 per female customer), because consumers can no longer avoid the impact by switching to an unregulated competitor. See Step 3 →
  • Standard statistical tests are unreliable for auditing algorithmic pricing. Corrected inference, equivalence testing, and (where race is unobserved) ethnicity-estimation corrections are all required for a valid audit. Insufficient data yields an inconclusive result. See Step 4 →

The playbook in the AI lifecycle

The four steps map onto the Ethical AI Lifecycle (Huang 2025). Step 1 addresses the problem statement phase, where the fairness criterion is chosen. Step 2 spans data collection, exploratory analysis, and modelling. Step 3 sits in the evaluation phase, tracing welfare effects before deployment. Step 4 covers evaluation, deployment, and ongoing monitoring, with audit findings feeding back into Step 1.

The four playbook steps mapped onto the six-stage Ethical AI Lifecycle: problem statement, data collection, EDA, modelling, evaluation, and deployment

End-to-end audit flow

Step 4 follows an integrated Plan, Audit, Decide, and Improve protocol (Huang and Hooker 2026). All design choices are fixed before examining data.

End-to-end fairness audit flow: Plan, Audit, Decide, Improve

Phase Actions
Plan Select criterion (PD or CDP), legitimate factors, tolerance bands, representative sample
Audit Collect prices and run statistical fairness tests with corrected inference
Decide Pass, insufficient information, or fail (equivalence testing)
Improve Remediate and re-test. Collect more data if result is unclear

Full detail is in Step 4: Audit the system.

See the About page for author bio, acknowledgements, citation, and licence.

References

Frees, Edward W, and Fei Huang. 2023. “The Discriminating (Pricing) Actuary.” North American Actuarial Journal 27 (1): 2–24.
Huang, Fei. 2025. “Check Your AI: A Framework for Its Use in Actuarial Practice.” The Actuary. https://www.theactuary.com/features/2025/06/25/check-your-ai-framework-its-use-actuarial-practice.
Huang, Fei, and Giles Hooker. 2026. Fairness Testing for Algorithmic Pricing. https://arxiv.org/abs/2605.11614.
Xin, Xi, and Fei Huang. 2024. “Antidiscrimination Insurance Pricing: Regulations, Fairness Criteria, and Models.” North American Actuarial Journal 28 (2): 285–319.