FATE Framework
FATE plus BFT -- FATE is the framework, BFT is the robot: Big Friendly Transparent
FAIRNESS AND ACCOUNTABILITY AND TRANSPARENCY AND ETHICS
Picture a Big Friendly Transparent robot -- that is what responsible AI looks like
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 FATE Framework
FATE — the four principles?
Tap to flip
🃏 Answer
FATE plus BFT -- FATE is the framework, BFT is the robot: Big Friendly Transparent
FairnessNo discrimination based on race, gender, age, disability
AccountabilityWho is responsible when AI causes harm?
Transparency (XAI)Can we explain why the model made this decision?
EthicsSocietal impact -- jobs, privacy, power, autonomy, surveillance
Tap to flip back
Algorithmic Bias
GARBAGE IN, GARBAGE OUT -- biased data produces biased models no matter how sophisticated
BIAS ENTERS THROUGH DATA AND LABELS AND FEATURES AND FEEDBACK LOOPS
COMPAS: falsely flagged Black defendants at twice the rate -- both bias claims were mathematically true
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Algorithmic Bias
Algorithmic bias — the types, and the COMPAS case?
Tap to flip
🃏 Answer
GARBAGE IN, GARBAGE OUT -- biased data produces biased models no matter how sophisticated
Historical biasTraining data reflects past discrimination
Sampling biasTraining data does not represent deployment population
Feedback loopBiased predictions lead to biased future training data
COMPAS caseMultiple valid fairness definitions conflict -- mathematically irresolvable
Tap to flip back
Explainability (XAI)
BLACK BOX vs GLASS BOX -- powerful but unexplainable vs interpretable but less accurate
LIME AND SHAP AND SALIENCY MAPS -- TOOLS TO EXPLAIN ANY MODEL
GDPR Article 22: right to explanation for automated decisions that significantly affect individuals
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Explainability (XAI)
Black box vs glass box — and how do LIME and SHAP help?
Tap to flip
🃏 Answer
BLACK BOX vs GLASS BOX -- powerful but unexplainable vs interpretable but less accurate
LIMEPerturb locally, fit simple model -- explains individual predictions
SHAPShapley values -- feature contributions, model-agnostic, industry standard
Saliency mapsHighlight influential pixels in image classification
GDPR Article 22Right to explanation for consequential automated decisions
Tap to flip back
AI Safety
ALIGNMENT PROBLEM -- ensuring AI pursues goals humans actually want, not proxy goals
REWARD HACKING AND SPECIFICATION GAMING AND GOODHART'S LAW
When a measure becomes a target it ceases to be a good measure -- Goodhart's Law
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 AI Safety
The alignment problem — reward hacking and Goodhart's law?
Tap to flip
🃏 Answer
ALIGNMENT PROBLEM -- ensuring AI pursues goals humans actually want, not proxy goals
Reward hackingAI maximizes reward metric via unintended means
Specification gamingSatisfies letter but not spirit of objective
Goodhart's LawOptimize for measure and it stops being a good measure
Constitutional AIAI evaluates own outputs against principles -- Anthropic's approach
Tap to flip back
Hallucination
LLMs generate PLAUSIBLE next tokens, not VERIFIED facts -- confident wrongness is a feature, not a bug
FACTUAL AND ATTRIBUTION AND REASONING ERRORS -- FUNDAMENTAL NOT A BUG
Lawyer cited fake ChatGPT-generated case citations to federal court and received sanctions
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Hallucination
Why do LLMs hallucinate?
Tap to flip
🃏 Answer
LLMs generate PLAUSIBLE next tokens, not VERIFIED facts -- confident wrongness is a feature, not a bug
Why it happensLLMs predict plausible text -- not verified facts
TypesFactual, attribution (fake citations), reasoning errors, temporal
RAG mitigationRetrieve real documents, inject as context -- grounds the answer
Cannot be eliminatedFundamental to token prediction -- only mitigated
Tap to flip back
Privacy and AI
DIFFERENTIAL PRIVACY -- add calibrated noise so individual data cannot be inferred from model outputs
MEMORIZATION AND MEMBERSHIP INFERENCE AND FEDERATED LEARNING
Machine unlearning: GDPR right to erasure creates legal obligation to remove training data
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Privacy and AI
Differential privacy — how does it protect individuals?
Tap to flip
🃏 Answer
DIFFERENTIAL PRIVACY -- add calibrated noise so individual data cannot be inferred from model outputs
MemorizationLLMs can regurgitate private training data verbatim
Membership inferenceDetermine if specific data was in the training set
Federated learningGradients only shared -- data stays on device (Apple, Google)
Differential privacyMathematical guarantee individual cannot be identified from output
Tap to flip back
AI Regulation
EU leads with rules -- US leads with principles -- China leads with national strategy
EU AI ACT (2024) IS THE FIRST COMPREHENSIVE AI REGULATION GLOBALLY
EU AI Act fines: up to 35 million euros or 7% of global annual revenue
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 AI Regulation
AI regulation — how do the EU, US and China differ?
Tap to flip
🃏 Answer
EU leads with rules -- US leads with principles -- China leads with national strategy
Unacceptable riskBanned -- social scoring, real-time biometric surveillance in public
High riskMust audit, register, document -- hiring, healthcare, criminal justice
Limited riskChatbots must disclose they are AI
FinesUp to 35M EUR or 7% of global revenue for violations
Tap to flip back
Societal Impact
JOBS -- some lost, some changed, new ones created -- AI transforms labor, not just replaces it
DISPLACEMENT AND POWER CONCENTRATION AND MISINFORMATION AND SURVEILLANCE
GPT-3 training consumed approximately 500 tons of CO2 equivalent -- equivalent to 60 transatlantic flights
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Societal Impact
AI and jobs — replaced, or something else?
Tap to flip
🃏 Answer
JOBS -- some lost, some changed, new ones created -- AI transforms labor, not just replaces it
Labor displacementRoutine cognitive tasks increasingly automated
Power concentrationCompute + data + talent concentrated in few large companies
DeepfakesAI-generated synthetic media -- video, audio, images
Environmental costGPT-3 training: ~500 tons CO2 -- inference at scale adds up
Tap to flip back
Responsible AI
HUMAN in the LOOP -- keep humans accountable for high-stakes AI decisions
HUMAN-IN-LOOP AND HUMAN-ON-LOOP AND HUMAN-OUT-OF-LOOP -- THREE AUTOMATION LEVELS
Model cards: standardized documentation of capabilities, limitations, and performance across demographic groups
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Responsible AI
Human in the loop vs human on the loop?
Tap to flip
🃏 Answer
HUMAN in the LOOP -- keep humans accountable for high-stakes AI decisions
HITLHuman approves every decision -- criminal sentencing, medical diagnosis
HOTLAI acts, human monitors and can intervene
Model cardsDocument capabilities, limitations, and demographic performance
Algorithmic auditingThird-party evaluation for bias, safety, accuracy
Tap to flip back
AI in Healthcare
DOCTOR plus AI = better outcomes -- but AI errors in medicine can kill
FDA CLEARS 500+ AI MEDICAL DEVICES -- AI AUGMENTS PHYSICIANS NOT REPLACES THEM
AI plus physician consistently outperforms either alone -- augmentation, not replacement
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 AI in Healthcare
AI in healthcare — successes and risks?
Tap to flip
🃏 Answer
DOCTOR plus AI = better outcomes -- but AI errors in medicine can kill
Proven successesDiabetic retinopathy, chest X-ray, skin cancer, AlphaFold
Distribution shiftFails at hospitals different from training hospitals
FDA clearanceRequired -- 510(k) for AI medical devices
AI + physicianConsistently outperforms either alone -- augment, not replace
Tap to flip back
Copyright and AI
TRAINING on copyrighted data plus GENERATING similar content = active legal battleground
WHO OWNS AI-GENERATED CONTENT -- COURTS ARE STILL DECIDING IN 2025
NYT vs OpenAI and Getty vs Stability AI and major record labels vs Suno and Udio -- all active
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 Copyright and AI
AI and copyright — what's still unsettled?
Tap to flip
🃏 Answer
TRAINING on copyrighted data plus GENERATING similar content = active legal battleground
Training dataFair use? NYT vs OpenAI, Getty vs Stability AI still pending
AI-generated contentUS Copyright Office: requires human authorship -- AI output uncopyrightable
Licensing dealsOpenAI with AP, Axel Springer -- growing trend
C2PA watermarkingContent authenticity standard -- identifies AI-generated content
Tap to flip back
🎯 Exam Favorite
ALGORITHMIC BIAS = GARBAGE IN, PREJUDICE OUT — biased training data bakes discrimination into the model
DATA REFLECTS HISTORY · MODEL AMPLIFIES IT
Where AI bias comes from — and why it's hard to fix
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 🎯 Exam Favorite
Algorithmic bias — where does it come from?
Tap to flip
🃏 Answer
ALGORITHMIC BIAS = GARBAGE IN, PREJUDICE OUT — biased training data bakes discrimination into the model
DATA REFLECTS HISTORY · MODEL AMPLIFIES IT
Tap to flip back
🧠 Vivid Story
BLACK BOX = You see the INPUT and OUTPUT but the middle is a MYSTERY — even to its creators
EXPLAINABILITY vs PERFORMANCE TRADEOFF
The black box problem — why explainability matters
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 🧠 Vivid Story
The black box problem?
Tap to flip
🃏 Answer
BLACK BOX = You see the INPUT and OUTPUT but the middle is a MYSTERY — even to its creators
EXPLAINABILITY vs PERFORMANCE TRADEOFF
Tap to flip back
🔑 Key Distinction
PRIVACY BY DESIGN = Build the LOCK before building the HOUSE — not after
DATA MINIMIZATION · ANONYMIZATION · CONSENT
AI and privacy — the three core principles
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 🔑 Key Distinction
Privacy by design — the three principles?
Tap to flip
🃏 Answer
PRIVACY BY DESIGN = Build the LOCK before building the HOUSE — not after
DATA MINIMIZATION · ANONYMIZATION · CONSENT
Tap to flip back
📅 Quick Reference
AI ALIGNMENT = Teaching the robot to WANT what we ACTUALLY want — not what we literally said
GOAL SPECIFICATION · REWARD HACKING · CORRIGIBILITY
AI alignment — the hardest long-term safety problem
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 📅 Quick Reference
AI alignment — the paperclip problem
Tap to flip
🃏 Answer
AI ALIGNMENT = Teaching the robot to WANT what we ACTUALLY want — not what we literally said
GOAL SPECIFICATION · REWARD HACKING · CORRIGIBILITY
Tap to flip back
⭐ Most Important
DISPARATE IMPACT = The algorithm treats groups differently even without intending to
PROXIES CARRY BIAS — ZIP CODE IS RACE IN DISGUISE
How algorithmic bias hides in seemingly neutral features
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 ⭐ Most Important
Disparate impact — how can an algorithm discriminate without meaning to?
Tap to flip
🃏 Answer
DISPARATE IMPACT = The algorithm treats groups differently even without intending to
Direct discriminationExplicit use of protected attribute — illegal and detectable
Proxy discriminationNeutral feature (ZIP, name) that correlates with protected attribute
Audit methodTest model outputs separately for each demographic group — measure gaps
🐍 Code# Fairness audit — check outcomes by group
import pandas as pd
results = df.groupby("demographic_group").agg(
approval_rate=("prediction", "mean"),
count=("prediction", "count")
).round(3)
print(results) # Flag if groups differ significantly
Tap to flip back
🎯 Exam Favorite
EXPLAINABLE AI = SHAP values show WHICH features pushed the prediction UP or DOWN
SHAP · LIME · ATTENTION WEIGHTS — three XAI methods
Explainable AI methods — making black boxes talk
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 🎯 Exam Favorite
Explainable AI — SHAP vs LIME vs attention?
Tap to flip
🃏 Answer
EXPLAINABLE AI = SHAP values show WHICH features pushed the prediction UP or DOWN
SHAPFeature contribution per prediction — gold standard for tabular data
LIMELocal approximation with interpretable model — works on any model
AttentionVisualize which tokens influenced which — useful for transformers
🐍 Codeimport shap
explainer = shap.TreeExplainer(model) # or shap.Explainer(model)
shap_values = explainer.shap_values(X_test)
shap.summary_plot(shap_values, X_test) # global feature importance
shap.waterfall_plot(shap_values[0]) # single prediction explanation
Tap to flip back
🔑 Key Distinction
EU AI ACT tiers by RISK — Unacceptable · High · Limited · Minimal
FOUR RISK TIERS · BAN TO TRANSPARENCY
The EU AI Act — the world's first comprehensive AI law
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 🔑 Key Distinction
EU AI Act — the four risk tiers?
Tap to flip
🃏 Answer
EU AI ACT tiers by RISK — Unacceptable · High · Limited · Minimal
UnacceptableBanned — social scoring, real-time biometric surveillance, manipulation
High riskStrict rules — medical, hiring, credit, law enforcement, education
Limited riskTransparency only — disclose AI is involved
Minimal riskNo regulation — spam filter, video games, product recommendations
🐍 Code# EU AI Act compliance checklist (high-risk systems):
# 1. Risk management system documented
# 2. Training data quality and bias documentation
# 3. Human oversight mechanisms in place
# 4. Accuracy, robustness, cybersecurity measures
# 5. Transparency and user information provided
Tap to flip back
💡 Concept Anchor
CONSENT · PURPOSE LIMITATION · DATA MINIMIZATION — the three pillars of AI privacy law
GDPR + CCPA + AI = PRIVACY BY DEFAULT
Privacy regulations every AI practitioner must know
🎥 Watch Instead
This lesson's animated video hasn't been made yet — check back soon.
Flashcard
🃏 💡 Concept Anchor
AI privacy law — the three pillars?
Tap to flip
🃏 Answer
CONSENT · PURPOSE LIMITATION · DATA MINIMIZATION — the three pillars of AI privacy law
ConsentMust be freely given, specific, informed, and withdrawable
Purpose limitationCannot repurpose data without new consent
Data minimizationCollect only what you need — not everything you can
Right to erasureTricky for ML — removing a person from model weights is an open problem
🐍 Code# Federated learning — privacy-preserving ML
# Train locally, share only gradients (not raw data)
# Model learns from distributed devices without data ever leaving
# Used by: Google (Gboard), Apple (Siri), hospitals (medical AI)
# from flwr import client, server # Flower federated learning framework
Tap to flip back