TetSharing
AI basics tutorial · 10 chapters
  1. What machine learning is
  2. Features and labels
  3. Train, test and validation data
  4. Overfitting
  5. Accuracy, precision, recall
  6. k-nearest neighbors
  7. LLMs, tokens and context
  8. Prompt basics
  9. Embeddings and similarity
  10. Responsible AI (NIST AI RMF)

Final AI basics quiz

Chapter 10 of 10 · By Ethan Cole · Updated November 21, 2026

Responsible AI With the NIST AI Risk Management Framework

An AI system can be accurate on average and still cause harm: by failing more often for some groups of people, leaking private data, or being trusted beyond what it can do. Responsible AI is the practice of finding and managing those risks deliberately, across the whole life of a system. A widely used guide is the AI Risk Management Framework (AI RMF 1.0), published by the US National Institute of Standards and Technology (NIST) in January 2023. It is voluntary and not tied to any particular technology. NIST later added a companion profile for generative AI (NIST AI 600-1).

What "trustworthy" means

The AI RMF lists characteristics of trustworthy AI systems:

  • Valid and reliable: it does what it is meant to, consistently.
  • Safe: it does not endanger people, property or the environment.
  • Secure and resilient: it withstands attacks and unexpected conditions.
  • Accountable and transparent: people can see what the system is and who answers for it.
  • Explainable and interpretable: its outputs can be understood in context.
  • Privacy-enhanced: it protects people's data and autonomy.
  • Fair, with harmful bias managed: it does not systematically disadvantage groups.

These can pull against each other, for example accuracy against privacy, so the framework treats choosing between them as an explicit, documented decision.

The four functions

The core of the framework is organized into four functions:

  1. Govern: set up policies, roles and a culture of risk management. It applies across all the others.
  2. Map: understand the context: who uses the system, who is affected, what could go wrong.
  3. Measure: assess and track the risks with tests and metrics.
  4. Manage: prioritize the risks and act on them, including deciding not to deploy.

Measuring by group

One concrete Measure practice is to break evaluation results down by group instead of reporting a single average. The example scores a made-up loan-screening model separately for two applicant groups and flags any metric whose gap exceeds a tolerance the team chose in advance.

Python 3 · editable

Expected output

overall: accuracy 0.87 recall 0.80
group A: accuracy 0.90 recall 0.89
group B: accuracy 0.80 recall 0.60
accuracy gap 0.10: within tolerance
recall gap 0.29: FLAG for review

The overall accuracy looks acceptable, but recall, the share of qualified applicants the model approves, is much lower for one group. An average hides this kind of problem. A real review would then ask why (unrepresentative training data? a proxy feature?) and record what was done about it.

Habits for everyday projects

  • Write down the intended use, and uses you will not support.
  • Check where training data came from and whether it represents the people affected.
  • Evaluate by subgroup and on realistic, recent data.
  • Keep a human in the loop for decisions with serious consequences, and give people a way to contest outcomes.
  • Monitor after launch; data and behavior drift.

Summary

  • Responsible AI manages risks to people over a system's whole life.
  • NIST AI RMF 1.0 defines trustworthy characteristics and four functions: Govern, Map, Measure, Manage.
  • Break metrics down by group; averages can hide harm.

Quiz: Responsible AI (NIST AI RMF)

1. Which is one of the four functions of the NIST AI RMF core?

The functions are Govern, Map, Measure and Manage.

2. Why break evaluation results down by group?

Per-group metrics reveal disparities that a single average conceals.

3. Is the NIST AI RMF a mandatory regulation?

NIST describes the AI RMF as voluntary guidance.

Official docs

Written under the pen name Ethan Cole with AI-assisted drafting. Every code example on this page is executed by our test suite before publishing. Found a mistake? Tell us.