# Building accountability and transparency into govtech AI
In 2020, a UK algorithm downgraded roughly 40% of student A-level grades during pandemic exam cancellations. Students protested outside the Department for Education chanting "the algorithm knows best." Within days, the government scrapped the system and reverted to teacher assessments. The technical failure was real, but the deeper failure was governance: no impact assessment, no public documentation, no way to appeal before results shipped.
That is the gap this lesson closes. You will design an end-to-end framework so that automated public decisions meet the same standards citizens expect from human ones: due process (the legal right to fair treatment and a chance to contest a decision) and transparency (the public's right to know how government works, often codified in FOIA, the US Freedom of Information Act, or equivalent laws worldwide).
A retailer's recommendation engine can be quietly wrong. A benefits eligibility model cannot. When an algorithm denies someone food assistance, flags a tax return for audit, or scores a defendant's risk before sentencing, the stakes are legal rights and public trust.
Three pressures make government AI unique:
The framework below has three pillars: assess before you deploy, document what you deployed, and let people contest decisions.
An Algorithmic Impact Assessment (AIA) is a structured review, done before deployment, that documents what a system does, who it affects, and what could go wrong. Think of it as an environmental impact statement for code.
Canada's federal government offers the best free working example. Their Directive on Automated Decision-Making requires an AIA questionnaire that scores each system from Level I (little impact) to Level IV (high impact, like decisions affecting rights or health). Higher levels trigger stricter requirements: peer review, human-in-the-loop, more explanation.
A usable AIA answers:
Run the AIA during procurement, not after launch. Write "AIA required, results published" into the request for proposals so vendors price it in. Publish a plain-language summary. If you cannot explain a system to a city council, you should not deploy it against residents.
A model registry is a public inventory of the automated systems an agency uses. It turns "black box government" into something a journalist, auditor, or resident can inspect.
Amsterdam and Helsinki pioneered public AI registers listing each algorithm, its purpose, the data it uses, and a contact for questions. New York City passed Local Law 49 of 2018 creating an automated decision systems task force, and several US cities now maintain public inventories.
A strong registry entry includes:
| Field | Example |
|---|---|
| System name and owner | Benefits Eligibility Screener, Dept. of Human Services |
| Purpose | Prioritize applications for caseworker review |
| Decision type | Advisory (human decides) |
| Data sources | Application form, income records |
| Risk level | AIA Level III |
| Vendor and model | Vendor X, logistic regression |
| Last audit date | 2025-11 |
| Appeal contact | ombudsman@agency.gov |
Keep it machine-readable. A public registry is not just a PDF; it should be queryable so oversight bodies can spot patterns across agencies.
{
"system_id": "dhs-eligibility-screener-v3",
"purpose": "Prioritize applications for human review",
"decision_type": "advisory",
"risk_level": "AIA-III",
"human_in_loop": true,
"last_bias_audit": "2025-11-15",
"appeal_url": "https://agency.gov/appeal"
}This snippet is a single registry record. Publishing records in a standard format lets a state comptroller run one query across every department instead of filing 30 records requests.
Assessment and documentation are useless if a citizen cannot fight a wrong decision. This is where most govtech AI still fails.
Due process in an automated context requires four things:
1. Notice. Tell the person an automated system was involved. "Your application was scored by an eligibility model" is the minimum.
2. Explanation. Give the specific reasons, not "the model said no." A denied applicant should learn which factors drove the outcome.
3. Human review on appeal. A person, not the same algorithm, reviews contested cases. The EU's GDPR (Article 22) already grants a right to human review of solely automated decisions with legal effects.
4. Correction and feedback. If an appeal reveals bad data, fix the record and check whether others were affected the same way.
Imagine an unemployment agency using a model to flag possible fraud:
Michigan's MiDAS unemployment system is the cautionary tale here: it wrongly accused tens of thousands of fraud with almost no human review, and the state paid large settlements. The failure was not the math. It was the absence of an appeal path.
Vérification des acquis
1. According to the lesson, what was the 'deeper failure' of the UK A-level grading algorithm, beyond its technical flaws?
2. Why does the lesson argue that government AI must meet higher standards than a retailer's recommendation engine?
3. What is the primary purpose and timing of an Algorithmic Impact Assessment (AIA)?
4. Select ALL correct answers about the three pressures that make government AI unique according to the lesson.
Sélectionnez toutes les réponses correctes.
5. Select ALL correct answers about the relationship between vendor claims and government transparency obligations.
Sélectionnez toutes les réponses correctes.
These three pillars are not a one-time checklist. They form a loop.
Before deployment: Run the AIA. Set the risk level. Decide whether a human must stay in the loop.
At deployment: Publish the registry entry. Announce the appeal channel.
During operation: Monitor for drift (when a model's accuracy degrades as real-world conditions change) and disparate impact. Publish audit dates.
After incidents: Feed appeal outcomes back into retraining. Update the registry. If harm is severe, pause the system, as the UK did with A-levels, but ideally before launch.
Accountability collapses when "everyone" is responsible. Assign named roles:
Independence matters. The people who deploy a model should not be the sole judges of appeals against it.
Most agencies buy AI rather than build it. Vendors often claim their models are proprietary. Defeat this in the contract, not in court:
The US OMB memo M-24-10 on federal AI use codifies much of this for federal agencies, including required impact practices and public inventories. Use it as a template even if you are a nonprofit or a city.