AI auditing & trustworthy AI
🤖 الذكاء الاصطناعي والتكنولوجيا🎓 الصف الثاني عشر عام📌 هيكل الامتحان: AI L04 · slides 28–43
🎯 ذاكر الدرس وحل الكويز مجانًا في مذاكرتيWhy it matters: detects bias before harm · verifies compliance over time · builds public trust · protects organisations from legal consequences.
How auditing makes AI trustworthy: Transparency (documented record of how AI works) · Fairness (regular bias checks) · Safety (find vulnerabilities and failures) · Accountability (audit reports show who knew what and when) · Continuous improvement (detect changes in performance over time).
| Sector | What auditors do |
|---|---|
| Hiring | Review training data and decisions for bias; test fair treatment; update model/data |
| Healthcare | Check patient data quality; compare predictions with actual outcomes; improve safety |
| Financial | Review loan approvals and fraud detection; check consistency; verify financial regulations |
| Government | Review data sources, decision records and audit logs; check explainability and legal compliance |
| Type of audit | Focus | Example |
|---|---|---|
| 1 Technical | Model performance, accuracy, reliability, security | Is a diagnosis AI accurate? |
| 2 Data | Quality, completeness and fairness of the data | Does patient data include enough diversity in age and background? |
| 3 Ethical / fairness | Fair, unbiased outcomes | Compare approval rates between applicant groups |
| 4 Compliance | Laws, regulations, policies | Is personal data used legally? |
| 5 Operational | Management and monitoring after deployment | Do staff regularly review AI decisions? |
1) Define the purpose and scope – what the audit will examine (e.g. is a school grading AI fair and accurate?).
2) Select auditors – qualified internal teams or independent auditors (more objective).
3) Identify areas to examine – data, performance, explainability, compliance.
4) Collect and analyse evidence – datasets, records, performance reports, outcomes; test different scenarios.
5) Report findings and improve – document problems, recommend improvements, keep monitoring after changes.
Activity 4.6 – welfare benefits AI (deployed 2 years ago, never independently audited, staff review a random 5% sample, applicants from certain areas rejected far more often):
- Auditing failures: (1) no independent audit in two years – no objective check; (2) a small random sample is unlikely to reveal a pattern affecting specific areas, so bias went undetected.
- Audit first: an ethical/fairness audit (compare rejection rates by area for similar cases), supported by a data audit (is area data acting as an unfair factor?).
- Basic plan: independent auditors; check data, fairness, explainability and compliance; audit regularly (e.g. every year) plus continuous monitoring.
Practical activity 4.7 – audit your own AI:
- Build with bias on purpose: choose two classes (e.g. apple vs orange), collect 10–15 images per class, make one class biased (only bright light, one angle or one colour), train an image classifier.
- Swap and test: another group tests with new images, records wrong answers and works out which training-data pattern caused them.
- Audit report: what you tested · problems (bias, errors, low accuracy) · why · recommended fix (more varied data, retrain, human review).
اختبر نفسك: أسئلة على AI auditing & trustworthy AI
What does AI auditing examine?
✅ الجواب: How AI systems use data, make decisions and comply with legal and ethical requirements
Auditors find risks and recommend improvements.
Which audit type examines a model's performance, accuracy, reliability and security?
✅ الجواب: Technical audit
Technical audits check whether the system works as intended.
Checking whether patient data includes enough diversity in age and background is a:
✅ الجواب: Data audit
Data audits review the quality and fairness of data.