AIF-C01 · LESSON 4

Guidelines for Responsible AI14% · 2 topics

Learn about developing responsible AI systems and the importance of transparent, explainable models.

4.1Developing responsible AI systems

4.1 Explain the development of AI systems that are responsible.

Concept

Dimensions of responsible AI are fairness (no bias), explainability, privacy and security, safety, controllability, veracity and robustness, governance and transparency. AWS tools include Bedrock Guardrails (harmful content, denied topics, PII filters, contextual grounding checks), SageMaker Clarify (detecting bias in data and models) and Amazon A2I (human review).

How it works / steps

  1. Check the dataset for bias (diversity, representativeness)
  2. Measure bias in pre-training data and trained models with Clarify
  3. Prevent harmful output and PII leakage with guardrails
  4. Have people review low-confidence predictions with A2I
  5. Also consider environmental impact (model size, compute)

Workplace example

For a loan screening model, measure differences in approval rates by age group with Clarify, and revisit features with large bias before retraining.

Common confusions and exam tips

Mini quiz

Q1. From a responsible AI perspective, which is the most desirable characteristic of a dataset used to train a model?

  1. Data collected in bulk from the internet whose provenance and content have not been checked
  2. Data that uses past decisions, including problematic ones, as correct labels as-is
  3. Data with reliable provenance that includes users' diverse attributes and is balanced in volume across groups
  4. Data collected only from users in a few easy-to-reach regions—very large in volume but skewed
Show answer and explanation

Answer: C Data with reliable provenance that includes users' diverse attributes and is balanced in volume across groups

Inclusivity, diversity, balance and curated provenance form the foundation for building models with less bias.

Q2. Which is incorrect as a principle of responsible AI?

  1. Even after release, monitor outputs to find problems
  2. Include human review for high-impact decisions
  3. From the early stages of development, evaluate data and model bias and safety risks
  4. If overall accuracy is high, there is no need to check fairness by attribute
Show answer and explanation

Answer: D If overall accuracy is high, there is no need to check fairness by attribute

Even with high overall accuracy, performance may be low for particular groups. Check fairness by attribute.

Reference links

4.2Transparent and explainable models

4.2 Recognize the importance of transparent and explainable models.

Concept

Transparency means “disclosing how a model is built and used,” and explainability means “being able to explain the reason for individual predictions.” Simple models (linear regression, decision trees) are easy to interpret, while deep learning performs well but is hard to interpret—a trade-off. SageMaker Clarify shows feature importance with SHAP, and SageMaker Model Cards document a model's purpose, training data, evaluation and risks. AWS AI Service Cards explain the uses and limits of AWS AI services.

How it works / steps

  1. Check explainability requirements (regulations, explanations to customers)
  2. If requirements are strict, consider interpretable models
  3. Show the features that influenced predictions with Clarify
  4. Document and share model information with Model Cards
  5. Tell users that AI is being used and what its limits are

Workplace example

For an insurance pricing model, be able to explain the influence of “driving history” and “car model” with Clarify feature importance when a customer asks for the reason.

Common confusions and exam tips

Mini quiz

Q1. Which is the most appropriate transparency advantage of open-source models?

  1. Using open-source models eliminates all of the user's responsibility
  2. You can check model weights, information about training data and licenses, making the internals easier to verify
  3. Open-source models are guaranteed to always deliver the highest accuracy
  4. Open-source models are guaranteed to have no bias or safety problems at all
Show answer and explanation

Answer: B You can check model weights, information about training data and licenses, making the internals easier to verify

Open-source models let you check published information, making transparency easier to judge. However, users must still evaluate bias and safety.

Q2. Which most appropriately describes the relationship between model interpretability and performance?

  1. Any type of model can always maximize interpretability and accuracy simultaneously, so there is no need to compare by use case
  2. More complex models are always more interpretable, so choose more complex models for uses requiring explanation
  3. Simple interpretable models are easy to explain but may be less accurate than complex models, so choose based on the use case
  4. Interpretability has nothing to do with accuracy, so it need not be considered for any use case
Show answer and explanation

Answer: C Simple interpretable models are easy to explain but may be less accurate than complex models, so choose based on the use case

There is a trade-off between interpretability and performance. Choose based on accountability requirements and the performance needed.

Reference links

Lessons are written by this site based on public information and do not guarantee exam content. Product specifications change, so check the latest information at the reference links.

Notes (unofficial, original questions, no pass guarantee)