Step 4: Audit the system
Responsible AI for Algorithmic Pricing in Insurance and Credit
Regulatory and governance context
The EU AI Act (Regulation (EU) 2024/1689) classifies AI systems used for risk assessment and pricing in life and health insurance as high-risk (Annex III, item 5(c)), with obligations applying from August 2026 (European Parliament and Council 2024). High-risk system requirements cover a risk management system maintained throughout the model lifecycle, data governance practices for training and validation data, technical documentation sufficient for regulatory assessment, automatic logging, human oversight mechanisms, and demonstrated accuracy and robustness. The pre-committed protocol in this step satisfies several of these requirements directly: protocol documentation is the technical documentation the Act requires; the TOST-based compliance test addresses accuracy and robustness; and the reproducibility manifest supports logging. For motor and property insurance, Annex III does not list pricing AI as high-risk under the current text, so the full Annex III obligations do not apply, though EIOPA’s supervisory expectations on the use of external data and AI in pricing still apply across product lines (European Insurance and Occupational Pensions Authority 2023).
In the United States, several state regulators now require quantitative fairness documentation for algorithmic pricing systems. Colorado’s SB21-169 (2021) requires insurers to demonstrate that external data and algorithms do not unfairly discriminate against protected classes, with implementing rules directing quantitative testing of outcomes; a pre-specified criterion, regression-based disparity test, and equivalence verdict is what that demonstration requires in practice (Colorado Division of Insurance 2023). New York’s Circular Letter No. 7 (2024) requires that AI systems and external data used in underwriting and pricing not proxy for protected characteristics, which the proxy-discrimination screen in this step addresses (New York State Department of Financial Services 2024). NAIC guidance on predictive models in auto and homeowners rate filings (National Association of Insurance Commissioners 2020, 2022) describes what state regulators may request during rate review; partial dependence plots and variable-importance outputs are supplementary, while the CDP and proxy-discrimination tests are the primary outcome-based evidence. Cavanaugh et al. (2024) document U.S. state regulators’ concerns about current pricing practices and their planned approaches to fairness testing, providing a practitioner-facing account of how state-level oversight is developing in this area.
In the United Kingdom, the FCA’s Consumer Duty (PS22/9) requires firms to monitor outcomes across customer groups on an ongoing basis, not only at the point of product launch. Firms must assess whether retail customers — including those with characteristics of vulnerability — are receiving fair value and fair treatment, and must act when monitoring reveals poor outcomes for identifiable groups. For firms subject to Consumer Duty, the pre-specified audit protocol in this step is a natural basis for the required outcome monitoring record: material drift in audit statistics is a trigger for both internal remediation and regulatory reporting, and the audit becomes part of ongoing product governance rather than a one-off compliance exercise.
In Australia, there is no mandated quantitative fairness test for insurance pricing equivalent to those in Colorado or New York. Obligations arise instead from federal anti-discrimination law if a complaint is made. A firm must then show that its pricing practice is reasonable and does not disproportionately disadvantage a protected group. The joint AHRC and Actuaries Institute guidance on AI and discrimination in insurance pricing (Australian Human Rights Commission and Actuaries Institute 2023) recommends that firms document their models, test for disparate outcomes, and retain evidence of compliance steps. The audit protocol in this step — pre-specified criterion, regression-based disparity test, equivalence verdict, and reproducibility manifest — satisfies that evidentiary standard.
Raji et al. (2020) argue for end-to-end internal auditing that integrates fairness review throughout the model development lifecycle, rather than treating it as a final-stage compliance check, a perspective consistent with the emphasis here on pre-committed protocol design and ongoing monitoring. Mitchell et al. (2019) propose model cards as a standard format for documenting intended use, performance characteristics, and known limitations across population subgroups, a practice consistent with the EU AI Act’s technical documentation requirements and with emerging actuarial governance expectations. Mosley and Wenman (2022) compare three approaches to defining and measuring fairness in predictive models and outline bias mitigation options at the input, modelling, and output stages, providing actuarial grounding for the technical choices in this step.
How do we test fairness?
What makes an audit different from a test
An audit is different from testing, and the difference is not primarily statistical. It is procedural. A test asks whether you can find a problem. An audit asks whether you can demonstrate compliance. The distinction changes what a clean result actually means.
Consider a parallel from clinical medicine. A pharmaceutical company that analyses its trial data and then decides which outcomes to report and which statistical tests to apply has not run a clinical trial in any meaningful sense. It has run a search for a favourable result. The statistical methods may be identical, but the process is not, and regulators do not accept it as evidence that a drug works. The same logic applies to algorithmic pricing audits. A firm that looks at pricing data, notices which analysis produces the most comfortable result, and then presents that analysis has not audited its system. It has searched for the best story.
Pre-commitment solves this problem. Every decision about what to test, how to test it, what response variable to use, which factors to control for, and what tolerance band defines a pass must be fixed before the data is examined. The audit then follows the pre-specified protocol regardless of what it finds. Only then does the result constitute evidence rather than advocacy.
In practice this means the audit protocol is written, reviewed, and signed off by the accountable technical owner and an independent reviewer before the quote sample is collected or the pricing data is extracted. Changes to the protocol after data has been seen must be documented and disclosed. This is standard practice in pharmaceutical trials and clinical research; it is increasingly what regulators expect as well.
An audit tests whether a deployed pricing system meets the fairness standard from Step 1. All design choices are fixed before examining data, then each test is classified as pass, fail, or insufficient information (Huang and Hooker 2026).
Mini-glossary
| Term | What it means |
|---|---|
| Conditional demographic parity (CDP) | After controlling for legitimate risk factors, are average prices equal across protected groups? |
| Proxy discrimination (PD) | Does a rating variable’s role change when a protected attribute enters the model? |
| Legitimate factors (X_\ell) | Risk-related controls the regulator accepts in an audit regression |
| TOST | Equivalence testing - pass only if evidence shows the disparity is within tolerance (used for CDP) |
| HC3 / corrected SE | Sandwich standard errors for deterministic pricing outputs. Classical OLS defaults are unreliable when residuals are approximation error |
| Proxy-imputed protected class | Race or ethnicity inferred from name, geography, or similar when direct collection is restricted (e.g. BISG, BIFSG, zip composition) |
End-to-end audit flow
End-to-end flow for the fairness audit protocol (Huang and Hooker 2026).

All design choices must be fixed before examining data. Post-hoc changes to criteria, margins, or samples undermine auditability and stated error control.
Pre-audit setup
All notation below is defined in the mini-glossary above. Complete and sign off steps 1–8 before any pricing data is extracted or examined.
- Select a fairness criterion. Use proxy discrimination (PD) when auditing specific rating variables suspected of proxying the protected attribute. Use conditional demographic parity (CDP) when evaluating the system-level price gap after controlling for legitimate risk factors. Other criteria from Step 1 may apply in your jurisdiction.
- Specify the protected attribute. Document the attribute and, if proxied (e.g. race inferred from name and geography), the inference method and its known limitations.
- Specify legitimate rating factors. Align with Step 1 and regulatory guidance. These become the controls in the audit regression.
- Define the response variable. Choose quoted premium (or loan rate in lending), pure premium, or loss ratio. The choice sets the economic meaning of any disparity found.
- Set tolerance margins. For CDP: a level-gap margin (e.g. 5% price gap) and a ratio margin (e.g. 0.80 adverse impact ratio), plus a significance level. For PD: a significance level and a minimum relative shift (e.g. 10%).
- Specify the standard error estimator. Use HC3 for CDP by default. Use the full cross-covariance correction for the PD coefficient-shift test. Do not use classical OLS standard errors.
- Design the quote sample. Stratified profiles submitted within a short time window. Plan sample size for adequate statistical power — insufficient data yields an inconclusive result, not a pass.
- Define test scope. Per company, per product, or per line. Document whether multiple proxy variables are tested and how multiplicity is handled.
Proxied protected attributes
When race or ethnicity cannot be observed directly, regulators and firms sometimes infer it using BISG (Bayesian Improved Surname Geocoding), BIFSG (Bayesian Improved First Name Surname Geocoding), zip composition, or similar methods. If that proxy enters the audit regression as a categorical protected attribute, the estimated disparity for the proxy group is not the same quantity as the true disparity between groups (Xin et al. 2026).
Misclassification distorts the results. Estimated gaps can shrink toward zero even when the overall accuracy of the proxy looks high. Proxy errors can also be correlated with geography, income, and the pricing residuals after legitimate controls are applied, causing estimated disparities to be either understated or overstated relative to what a true-group analysis would show.
Treat proxy-based results as diagnostic signals, not definitive proof of compliance or discrimination. Document the proxy method, its known error rates where available, and these limitations in the audit protocol. Colorado draft quantitative-testing guidance proposes BIFSG as the proxy method for inferred race in regression-based assessments for life insurance (Colorado Division of Insurance 2023; Xin et al. 2026). New York Circular Letter No. 7 (2024) addresses proxy variables and predictive models more broadly but does not prescribe a specific estimation method (New York State Department of Financial Services 2024).
Statistical testing
The key problem in auditing algorithmic pricing is that standard statistical tests give the wrong answer. Algorithmic pricing systems are deterministic — the same customer always receives the same price — and standard statistical formulas assume randomness that is not there. This section explains what goes wrong and what to do instead.
Fairness audits typically regress quoted premiums on a protected attribute and legitimate rating factors, then read off confidence intervals for the protected-group effect. That workflow is only valid if the standard errors are correct. For algorithmic pricing, deterministic outputs invalidate classical variance formulas, and CDP calls for equivalence testing rather than conventional significance testing (Huang and Hooker 2026).
Deterministic pricing and corrected inference
Pricing algorithms are usually deterministic. The same profile always returns the same price, so the audit response is a fixed function of the inputs, not a random draw (Huang and Hooker 2026).
The audit fits a statistical model to approximate the pricing algorithm. The gaps between the model’s approximation and the actual prices are approximation errors, not random sampling noise. Standard statistical formulas assume random noise and can therefore produce wrong confidence intervals: sometimes too narrow (flagging fair systems as failing), sometimes too wide (letting genuine violations through). In the Illinois application in Huang and Hooker (2026), corrected and uncorrected standard errors for the same insurers differed by large factors, and the direction of the bias could not be predicted in advance.
The practical fix is to use corrected standard errors (HC3) that are built from the actual residuals at each observation rather than a single average error estimate. HC3 also reduces the influence of unusual customer profiles that can otherwise distort the results, particularly when the audit sample is not spread evenly across all risk types and territories.
The proxy discrimination test introduces a further complication. It compares a rating variable’s influence across two different models fitted to the same pricing data. Treating those two estimates as if they came from independent samples overstates uncertainty and makes the test too conservative. A cross-covariance correction is needed to account for the shared data (Huang and Hooker 2026).
Getting the standard errors wrong changes the audit verdict. Corrected inference should be pre-specified before examining outcomes.
- Conditional demographic parity (CDP). Regress the pricing outcome on the protected attribute and legitimate factors. Test whether the protected-group coefficient lies within pre-specified ratio and level-gap bands using equivalence testing (TOST). A pass requires positive evidence of compliance within tolerance, not merely failing to detect a disparity.
- Proxy discrimination (PD). Compare a rating variable’s coefficient in a restricted model (without the protected attribute) and an extended model (with it). Use the corrected cross-covariance for the coefficient shift. PD uses a two-part rule (statistical significance plus a minimum relative shift), not TOST in the same form as CDP.
Why equivalence testing is required
The most widely understood statistical test asks a simple question: is there evidence of a difference? You set a threshold (typically a 5 per cent p-value) and report whether the data provide enough evidence to reject the hypothesis that the difference is zero. If the p-value is above the threshold, the result is “no significant difference found.”
This framing is a poor fit for compliance auditing (Huang and Hooker 2026). “No significant difference found” is not the same as “the system is fair.” With a small sample, even a large and practically important disparity might not reach significance, simply because you do not have enough data to detect it reliably. A non-significant result is absence of evidence, not evidence of absence. Under this approach, the practical burden falls on the regulator or reviewer to find a violation. An insurer with a small dataset or a poorly designed quote sample can effectively pass every test without demonstrating anything.
Equivalence testing (TOST, or two one-sided tests) reverses the burden. Developed originally in pharmaceutical regulation to demonstrate bioequivalence rather than merely the absence of a detectable difference (Schuirmann 1987), TOST asks not whether you can find a difference, but whether you can demonstrate that any difference is small enough to be within an acceptable tolerance. The null hypothesis is that the difference is large (at least as large as the tolerance band), and you reject it only if the data give you strong positive evidence that the gap falls inside the band. Insufficient data yields an “insufficient information” verdict, not a pass. Under this design, the firm must provide positive evidence that any gap lies within tolerance, rather than merely an absence of detected unfairness.
The idea of a pre-specified tolerance region appears in regulatory guidance, though the specific figures there serve different purposes. Colorado’s 2023 draft quantitative-testing guidance for life insurance proposes two separate triggers for further investigation: a five-percentage-point difference in approval rates between groups, and a premium rate at least 5% above the market average. These are screening thresholds, not a general TOST tolerance band. The 0.80 adverse-impact ratio (drawn from US employment law and used here as an illustrative benchmark) similarly defines a threshold, not a legal safe harbour. The playbook uses an analogous level margin \delta as one illustrative audit choice. TOST is the statistical procedure that properly interrogates whether that choice has been met.
| Approach | Null hypothesis | What a “pass” means | Who must prove what | Large samples | Small samples |
|---|---|---|---|---|---|
| Significance testing | Gap = 0 | Failed to detect a violation (not necessarily fair) | Regulator or reviewer must detect a violation | Flag trivial gaps as violations | Miss genuine gaps |
| TOST equivalence testing | Gap \geq tolerance | Positive evidence the gap is within tolerance | Insurer must demonstrate compliance within tolerance | Narrower CIs help confirm fairness | Wide CIs yield insufficient information |
Under significance testing, the practical burden falls on the regulator or reviewer to find a material violation. A non-significant result only means no gap was detected in that sample. It does not show that pricing is fair. Under TOST, the burden shifts to the insurer (or model owner) to provide positive evidence that any gap lies within pre-specified tolerance bands. Insufficient information is not a pass.
The level margin \delta and ratio margin \tau define the equivalence region. Colorado’s 2023 draft quantitative-testing guidance uses separate approval-rate and premium-level triggers to screen for further investigation; the playbook’s \delta is an illustrative choice informed by that approach, not a direct transcription of those screening thresholds. The 0.80 adverse-impact ratio, used here as an illustrative benchmark drawn from US employment law, maps to \tau. TOST matches how pre-committed audit protocols are meant to work (Huang and Hooker 2026; Colorado Division of Insurance 2023). Exact legal allocation of burden varies by jurisdiction. This describes one audit design, not legal advice.
For CDP, a pass requires the confidence interval for the protected-group effect to lie entirely inside both the level-gap band (-\delta, +\delta) and the log-ratio band implied by \tau. A fail requires the interval to lie entirely outside. If the interval is too wide to settle either case, the verdict is insufficient information. That outcome is not a pass and should trigger more data or a pre-specified escalation step.
Three outcomes
| Outcome | Meaning | Action |
|---|---|---|
| Pass | Confidence interval lies entirely within the tolerance band (positive evidence of compliance) | Document. Proceed with monitoring |
| Insufficient information | Interval too wide to confirm pass or fail. Reflects limited data, not a pass | Collect more data or follow a pre-specified escalation procedure |
| Fail | Confidence interval lies entirely outside the tolerance band (material disparity) | Remediate, then re-test (return to Step 2 or Step 1) |
On fail or unclear CDP results, a proxy-discrimination screen can identify candidate driver variables. Remediation may include recalibration, fairness constraints at retraining, or ongoing monitoring with re-audit triggers.
Feature importance check
The primary audit path is the outcome-based test above (CDP or proxy discrimination). Some filing workflows also use variable-level checks such as partial dependence plots. These are supplementary and do not substitute for outcome testing.
Governance and monitoring
| Role | Responsibility |
|---|---|
| Accountable technical owner (e.g. chief actuary or model validation lead) | Sign off the audit protocol before data is examined |
| Independent reviewer | Replicate the analysis from raw data and confirm the verdict |
| Model owner | Remediate on fail or insufficient information; own re-test timeline |
| Legal and compliance | Confirm that the pre-specified criterion and tolerance bands align with current regulatory requirements |
| Senior management or board | Receive the audit verdict and approve any remediation plan |
Re-audit whenever the pricing model changes, a new regulatory requirement takes effect, or audit statistics show material drift from the baseline. Store the complete quote dataset and a reproducibility manifest (code, package versions, random seeds) so the result can be independently replicated.
If filing documentation relies on partial dependence plots or variable-importance plots for ML models, treat them as supplementary narrative evidence only. Outcome-based CDP and proxy-discrimination tests remain the primary compliance path (see Feature importance check).
Checklist
This checklist covers audit execution. Roles, monitoring, and remediation ownership are in Governance and monitoring.
| Task | Typical owner |
|---|---|
| Protocol written and signed off before data extraction | Compliance / Model risk |
| Protected attribute, legitimate factors, and response variable documented | Legal / Actuarial |
| Tolerance margins and significance level fixed in advance | Compliance / Actuarial |
| Corrected inference (HC3 for CDP, cross-covariance for PD) pre-specified | Actuarial / Data science |
| CDP (TOST) and/or PD (two-part) tests applied as pre-specified | Actuarial / Data science |
| Three-outcome classification documented (insufficient information ≠ pass) | Compliance |
| Audit dataset and reproducibility manifest stored | Data science / MLOps |
| Verdict and any remediation plan escalated to senior management | Model risk / Legal |