Overview

Table of Contents

Overview

Explore practical tools to guide the moral design of AI systems.

1. Introduction to AI Ethics

Learn what to expect from the course.

2. Human-Centered Design for AI

Design systems that serve people’s needs. Navigate issues in several real-world scenarios.

6 Steps to Design HCD AI Systems:

  1. Understand people’s needs to define the problem
  2. Ask if AI adds value to any potential solution
  3. Consider the potential harms that the AI system could cause
  4. Prototype, starting with non-AI solutions
  5. Provide ways for people to challenge the system
  6. Build in safety measures

3. Identifying Bias in AI

Bias can creep in at any stage in the pipeline. Investigate a simple model that identifies toxic text.

6 types of bias (Src: link):

  • historial bias
  • reprensentations bias
  • measurements bias
  • aggregation bias
  • evaluation bias
  • deployment bias

Bias framework:

(Src: link)

4. AI Fairness

Learn about four different types of fairness. Assess a toy model trained to judge credit card applications.

4 fairness criteria (Src: link)

  1. Demographic parity/ statistical parity
  2. Equal opportunity (TPR based/confusion matrix)
  3. Equal accuracy
  4. Group unaware / "Fairness through unawareness"

5. Model Cards

Increase transparency by communicating key information about machine learning models.

9 model card sections(Src. Link):

  1. Model Details
  2. Intended Use
  3. Factors
  4. Metrics
  5. Evaluation Data
  6. Training Data
  7. Quantitative Analyses
  8. Ethical Considerations
  9. Caveats and Recommendations

References

Tools

HCD Application to AI:

  • Lex Fridman’s introductory lecture on Human-Centered Artificial Intelligence
  • Google’s People + AI Research (PAIR) Guidebook
  • Stanford Human-Centered Artificial Intelligence (HAI) research

Identifying Bias:

To continue learning about bias, check out the Jigsaw Unintended Bias in Toxicity Classification competition that was introduced in this exercise.

  • Kaggler Dieter has written a helpful two-part series that teaches you how to preprocess the data and train a neural network to make a competition submission. Get started here.
  • Many Kagglers have written helpful notebooks that you can use to get started. Check them out on the competition page.

Another Kaggle competition that you can use to learn about bias is the Inclusive Images Challenge, which you can read more about in this blog post.

The competition focuses on evaluation bias in computer vision.

AI Fairness:

Further reading:

Model Cards:

Further read:

Papers: