Skip to content

Bias audits: measuring fairness in the Pakistani context

تعصب کا آڈٹ: پاکستانی سیاق میں انصاف کی پیمائش

38 min read

Three ways to see it

  1. Bias in AI is the systematic disadvantage suffered by one group relative to another, produced by the model's outputs even when the inputs do not explicitly mention group membership. The model does not need to see the word 'woman' or 'Sindhi' or 'Christian' to disadvantage them. It infers from proxies: name spelling, postal code, language used, document image quality. A model trained on a biased history will reproduce the bias on a clean future input. This is the central paradox: the model's neutrality on the surface is what makes its inherited bias dangerous.

  2. A bias audit is a structured measurement of model performance across protected and sensitive subgroups. The audit picks a metric (accuracy, false positive rate, false negative rate, approval rate, sentiment score), picks a partition (gender, language, province, age band, religion proxy), runs the model on a representative sample, and reports the gap between the best-performing and worst-performing subgroup. If the gap exceeds a pre-agreed threshold, the model fails the audit and cannot be deployed without remediation. The audit is not a one-time gate. It is a recurring measurement, ideally quarterly, on fresh production data.

  3. Pakistan-specific axes that almost no global vendor measures by default. Language: Urdu in Naskh script vs Roman Urdu vs English. Region: Punjab vs Sindh vs KP vs Balochistan vs AJK vs GB. Gender: female names like Ayesha, Fatima vs male names like Ahmad, Bilal. Religion proxy: Christian and Hindu name signals like David Masih, Suresh Kumar. Class proxy: posh school names vs government school names in CV screening. Disability proxy: assistive language in chatbot transcripts. Refugee status proxy: Afghan name patterns. If your vendor cannot produce per-axis numbers for the axes that matter to your deployment, the audit has not happened.

Quick check

Quick check: what makes modern AI different from a rule-based program?

The why-tree

Why-tree level one: why audit at all if the model is 'just doing maths'? Because mathematics applied to a biased history produces a biased future, only faster and at scale. The audit is the only way to detect this without waiting for citizens to complain. Citizens often do not complain — they just stop trying.

Try this with Claude

Capstone challenge — three actions. (1) For one AI system in your remit, write down the three subgroup axes that matter most to citizens; if you cannot list three, your audit is incomplete. (2) Set a numeric fairness threshold (e.g. accuracy gap no more than 5 percentage points) before looking at any data; thresholds set after seeing results are not thresholds. (3) Schedule the next quarterly audit on your calendar today, with the responsible person named.

Sources

Sources and further reading. Buolamwini and Gebru, Gender Shades (2018) on facial analysis bias. Barocas, Hardt, Narayanan, Fairness and Machine Learning (fairmlbook.org). NIST AI RMF MEASURE function. EU AI Act Article 10 on data and data governance. Pakistan National AI Policy 2025 fairness clauses. SBP Guidelines on Fair Treatment of Consumers. State of California ADMT regulations on bias auditing. UK ICO guidance on AI and data protection.