Unit 10 / 11

Fairness, Discrimination and Algorithmic Accountability

Gains:

  • It recognizes data, design and usage sources of algorithmic bias and tests the output on a group basis.
  • Explains how the feedback loop and representation error magnify inequality and establishes impact control.
  • It ensures accountability by ensuring explainability and appeal in every automated decision.

The public must apply its power equally to all: similar treatment to two citizens in similar situations, proportionate difference to different situations. This principle of equality is a constitutional obligation. Artificial intelligence can both improve and quietly disrupt this field. It can improve because a consistently applied rule can reduce arbitrariness and human bias. It can be corrupting because AI models learn from past data, and past data carries the discrimination of the past. If a system is trained on data that has historically disadvantaged a particular group, it carries that disadvantage into the future—and in a form that is even more difficult to detect, under the guise of an “objective algorithm.” In this unit, you will learn how to recognize algorithmic bias (systematic bias of the model output against certain groups) when using AI in the public sector, how to reduce it and, most importantly, how to ensure algorithmic accountability (the rationale for an automated decision being explainable, auditable and contestable).

Where does bias come from?

There are several sources of algorithmic bias, and all of them are risky in public:

  • Historical bias: Training data contains past inequality. For example, if an area has had less service in the past, “demand data” may show that area as having low needs — when in fact demand was low because there was no service.
  • Representation bias: Some groups are underrepresented in the data (those without digital access, minority language groups) and the model works poorly for them.
  • Proxy bias: Even if the model does not directly look at a prohibited criterion (ethnicity, religion), it can produce the same discrimination by looking at a proxy associated with it (neighborhood, name, zip code).
  • Measurement bias: What we measure is not what we actually want to measure. The "number of complaints" measures the ability to complain rather than the need.
Caution: It is misleading to say "I removed sensitive data (gender, ethnicity) from the model, now it is fair". Discrimination through proxy variables may continue. Fairness is achieved not by deleting the input, but by testing the output between groups.

Testing fairness: see the output

Whether a system is fair or not can be understood by looking at its results, not its intentions. Basic method: divide the decision into groups and compare. Do outputs such as acceptance/rejection rate, error rate, waiting time differ significantly between different groups (gender, age, region, income)? If there is a difference, is this difference based on a legitimate reason or is it discrimination? Since this analysis may require personal data, it must be aggregated and carried out in accordance with KVKK.

Tip: Before rolling out a new AI-powered decision system, break down its decisions by demographic groups and produce a “fairness report.” If you find a difference, "can this difference be explained?" Take the question to a committee of people.

Explainability and appeal: the heart of accountability

In the public sector, no citizen can be deprived of his rights with the answer "the system decided so." For every automated or AI-assisted decision, three things must be ensured:

  1. Explainability: What the decision was based on, what factors were effective, should be explained in plain language.
  2. Way to appeal: Citizens should be able to object to the decision and ask a human to review it.
  3. Audit trail: It should be recorded which data, which model/version and with which responsible person the decision was made.

three mini cases

Case 1 — Surrogate variant captured. One aid prioritization model did not use sensitive data but looked at “zip code.” In the fairness test, certain neighborhoods were found to receive systematically low priority — correlated with zip code, income and ethnic density. The variable was removed and the priority was tied directly to the need indicators.

Case 2 — Representation gap. A chatbot was 41% more likely to mislead questions from citizens with a non-Turkish native language; The training data contained little of this group. When multilingual support and human handover threshold were added, the gap closed.

Case 3 — Unexplained rejection. An institution automatically rejected an application; citizen "why?" When asked, the officer could not explain because the reason for the model was not understandable. The incident showed that models with poor explainability cannot be used to make rights-bearing decisions; The system has been transformed into a model that generates justification and requires human approval.

Four copyable templates

1) Source of bias scanning:

Your role: algorithmic fairness expert. Check out the AI-powered decision process below. List possible sources of bias: (1) historical bias, (2) representation bias (underrepresented group), (3) proxy variables (column associated with forbidden criterion), (4) measurement bias. Give a concrete example for each and tell me how to test it. PROCESS: [decision process and data used]

2) Fairness test plan:

Generate a fairness testing plan for the following decision output: which groups (age, gender, region, income) should I break down, which metrics (acceptance rate, error rate, wait time) should I compare, how do I decide whether the difference is legitimate or discriminatory? Add KVKK warning. DECISION: [what decision]

3) Decision statement (to the citizen):

Write a citizen-understandable draft explanation for the following decision: what factors were influential, in plain language. Add the right to appeal at the end and the possibility of having a human review [with time to be confirmed]. Using vague expressions such as "The system decided so." DECISION: [summary and influencing factors]

4) Accountability check before dissemination:

Produce an accountability checklist before rolling out the AI-powered decision system: is it explainable, is there a way to appeal, is an audit trail (data/model version/accountable) maintained, has fairness testing been done, where is the human approval point. Flag missing items as red flags.SYSTEM: [recipe]

Weak prompt / Strong prompt

Weak: “Is this decision model fair?”

Strong: "Your role is algorithmic fairness expert. For this aid prioritization model, first scan for sources of bias (historical, representation, surrogate variable, measurement) and give concrete examples for each. Then come up with a fairness testing plan: breakdown by which groups, which metrics, how to decide the legitimacy of the difference; add the KVKK warning. Finally, before rolling out the system, give a checklist for explainability, appeal path and audit trail, and red flag the shortcomings."

The difference: a strong prompt looks for bias at its source, has the output tested by groups, and makes accountability widespread.

Justice dimensions and controls

Size

Risk

control

historical data

The past carries inequality

Test output by groups

representation

Works badly for some group

Group based error rate

surrogate variable

covert discrimination

Variable-sensitive criterion relationship

Explainability

unjustified decision

Generate simple explanation

objection

forfeiture

Human review path

Feedback loop and representation error

The most insidious form of algorithmic discrimination occurs not in a single wrong decision but in a feedback loop that reinforces itself over time (a model's output affects subsequent training data, reinforcing existing bias). For example, if an inspection model flags a particular neighborhood as “risky,” the more inspections go there, the more records are created, the model sees that neighborhood as riskier — even though the difference has increased in the location looked at, not in the actual risk. What paves the way for this is often a representation error (training data reflecting some groups incompletely or distortedly). In the public sector, these cycles can place disadvantaged groups under increasingly severe surveillance and sanctions. The way to protect yourself is to monitor the impact of the model, not just its output: to regularly monitor the group-based distribution of decisions and not to blindly implement the model's recommendations.

Mini case — self-aggrandizing doubt. A welfare fraud detection model flagged a region that had been more heavily inspected in the past as high risk. When the team extracted enforcement intensity from the data and measured the “true detection rate relative to population,” they found that the differences between regions largely disappeared; The model mistook inequality for real risk.

Group based impact control template:

Task: Examine the following decision data by groups (no personal data, categorical summary).Data: [group | total decision | negative decision rate | inspection intensity]Output: 1) Does the negative decision rate show a significant difference between groups? 2) Could the difference be due to actual risk or control/representation intensity? 3) Is there any sign of a feedback loop? 4) Recommendations for human control.Rule: Establishing a causality claim; List possible explanations and ways to test.

Caution: The argument that "the model is neutral because it applies the same rule to everyone" is misleading. The same rule, when applied to skewed data, preserves and magnifies inequality. Justice is measured by the equality of the outcome, not the rule.

Common mistakes

  • Deleting sensitive data and thinking "it's fair". Surrogate variables perpetuate discrimination; test the output.
  • Measuring justice by intent. Justice appears in the end; Sort decisions into groups and compare.
  • Forgetting the underrepresented group. The model may work quietly poorly for a minority group; See group based error.
  • Using the unexplained model in rights-giving decisions. A system that cannot produce justification cannot make public decisions.
  • Not providing any means of objection. Every automated decision should be subject to human review.
  • Not keeping an audit trail. It should be recorded which data/model/responsible person the decision was made with.

In summary

In the public sector, AI can increase consistency but also quietly carry over the discrimination of the past. Bias comes from historical data, representation gap, proxy variables, and inaccurate measurement; Deleting sensitive data will not solve it. Fairness is achieved by testing the outcome across groups. And no citizen can be disenfranchised by "the system said so": every decision must be explainable, contestable and auditable. It is the institution that is held accountable, not the algorithm.

Application task

Choose an AI-powered or automated decision process in your unit. List possible biases and find at least one surrogate variable risk with the “Source of bias scan” template. Determine which group breakdowns to look at with the "fairness test plan". For a sample decision, produce a citizen-facing explanation with the "Decision explanation" template.

checklist

  • [ ] I scanned for sources of bias (historical, representation, proxy, measurement).
  • [ ] I didn't just delete sensitive data; I tested the output by groups.
  • [ ] I controlled the error rate for underrepresented groups.
  • [ ] I have provided simple, explainable justification for each decision.
  • [ ] I have defined objection and human review path.
  • [ ] Audit trail (data/model version/responsible) is maintained.