Domain 4: Responsible AI Guidelines 14% Flashcards

1
Q

_____ is a set of guidelines and principles to ensure that AI systems operate in a safe, trustworthy, and ethical manner.

A

Responsible AI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

_____ aims to ensure that models treat everyone equitably and impartially, regardless of their age, where they live, their gender, or their ethnicity.

A

Fairness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

To explain in human terms why a model made a particular decision, which is known as _____.

A

Explanibility

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

_____ makes sure that AI systems are tolerant of failures and minimize errors.

A

robustness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

_____ are primarily about protecting user privacy, and not exposing personal identifiable information, or PII.

A

Privacy and security

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

_____ is about meeting and auditing compliance with industry standards and best practices, including estimating properly and mitigating risk.

A

Governance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

_____ is about providing clear information about model capabilities, limitations, and potential risks to stakeholders; it includes making sure that users know when they are interacting with AI.

A

Transparency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Fairness avoids perpetuating or amplifying _____ and _____ through AI systems.

A

societal biases and discrimination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fairness of a model is measured by _____.

A

the bias and variance of outcomes across different groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

_____ becomes a problem when the training dataset is not representative of the real world. As a result, the model only performs well on inputs that resemble the training data.

A

Overfitting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

_____ can occur for some groups when there wasn’t enough training data that matched their characteristics, so the model doesn’t perform well for them.

A

Underfitting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

One of the main reasons for model bias is _____, which occurs when a feature value has fewer training samples when compared with another value in the dataset.

A

class imbalance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the foundation of responsible AI?

A

Ethical datasets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

_____ is about representing diverse populations, perspectives, and experiences in our training data.

A

Inclusivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

_____ means incorporating a wide range of attributes, features, and variables to avoid bias.

A

Diversity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

_____ involve obtaining informed consent from data subjects and providing clear information about data usage.

A

Consent and transparency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What ethical practices/factors must be considered when choosing a model?

A
  1. Environmental impact
  2. Sustainability
  3. Transparency
  4. Accountability
  5. Stakeholder engagement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

_____ means establishing clear lines of responsibility for AI model outcomes and decision making.

A

Accountability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

_____ are imbalances in data, or disparities in the performance of a model across different groups.

A

Biases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

_____ helps you mitigate bias by detecting potential bias during the data preparation, after model training, and in your deployed model, by examining specific attributes. It also improves explainability by looking at the inputs and outputs for your model, treating the model itself as a black box.

A

SageMaker Clarify

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

T/F: SageMaker Clarify can understand the basis for how deep learning models are making predictions without understanding the inner workings.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

SageMaker Clarify examines your dataset and model by using processing jobs, which uses the SageMaker Clarify processing container to interact with an Amazon S3 bucket, which contains your input datasets and a model that is deployed to _____.

A

a SageMaker inference endpoint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

The SageMaker Clarify processing container obtains _____ and _____ from an S3 bucket.

A

the input data set and configuration for analysis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

For _____, the SageMaker Clarify processing container sends requests to the model container, and retrieves model predictions from the response from the model container.

A

feature analysis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What analysis results are saved to the S3 bucket by the processing container by SageMaker Clarify?

A
  1. JSON file w/ bias metrics
  2. visual report
  3. additional files for local feature attributions
26
Q

The _____ metric indicates whether a particular class has a larger proportion of the rejected outcomes in the dataset than the accepted outcomes.

A

demographic disparity

27
Q

The _____ metric indicates whether the model predicts positive outcomes differently for each class. This metric can be compared with the label imbalance in the training data. The goal is to see whether the bias in positive proportions changes after the training, or whether the bias is also present in the data.

A

difference in positive proportions in predictions

28
Q

_____ measures how often the model correctly predicts a negative outcome.

A

specificity

29
Q

The _____ metric is the difference in recall of the model between two classes. Any difference in these recalls is a potential form of bias.

A

recall difference

30
Q

The _____ metric is the difference between the prediction accuracies for different classes. This result can occur when the data contains class imbalance.

A

accuracy difference

31
Q

The _____ is the difference in the ratio of false negatives to false positives.

A

treatment equality

32
Q

_____ is the result of the AI model attempting to fill in the gaps when something is missing in its training data.

A

Hallucination

33
Q

T/F: Data privacy is a risk because sensitive data that makes its way into a large language model can leak and be incorporated into its output.

A

True

34
Q

T/F: Fortunately, for foundation models in Amazon Bedrock, you can configure guardrails to filter and block inappropriate content using plaintext to describe topics that should be denied.

A

True

35
Q

What are the 4 types of tasks that can be run in SageMaker Clarify? These tasks can also be run in what?

A
  1. text generation
  2. text classification
  3. question/answer
  4. text summarization

Bedrock

36
Q

_____ measures the probability of your model including biases in its response. It includes biases for race, gender, sexual orientation, religion, age, nationality, disability, physical appearance, and socioeconomic status.

A

Prompt stereotyping

37
Q

_____ checks your model for sexual references, rude, unreasonable, hateful, or aggressive comments, profanity, insults, flirtations, attacks on identities and threats.

A

Toxicity

38
Q

_____ checks the veracity of the model responses.

A

Factual knowledge

39
Q

_____ checks whether your model output changes because of keyword typos, random changes to uppercase, and random additions or deletions of white spaces.

A

Semantic robustness

40
Q

_____ compares the model output to the expected responses, such as classifying and summarizing the data correctly.

A

Accuracy

41
Q

A model’s _____measures the degree to which ML owners and stakeholders can understand how a model works and why it produces its outputs. How much of this that’s required often depends upon regulatory requirements so that consumers are protected against bias and unfairness.

A

transparency

42
Q

What are the two measures of transparency?

A

interpretability and explainability

43
Q

T/F: Linear regression would be on the simple end and neural network on the complex end.

A

True

44
Q

_____ is being able to describe what a model is doing without knowing exactly how. It treats the model as a black box, so every model can be observed and explained.

A

Explainability

45
Q

T/F: When starting a new AI or ML project, we need to know whether interpretability is a hard business requirement.

A

True

46
Q

T/F: With interpretability, you can document how the inner mechanisms of the model impact the output, but explainability does not consider the inner mechanisms.

A

True

47
Q

What are two tradeoffs you should consider when choosing a model w/ high transparency?

A

performance and security

48
Q

T/F: Transparent AI models are more susceptible to attacks because hackers have more information about the inner mechanisms and can find vulnerabilities in the model.

A

True

49
Q

Transparency might require sharing details about the data that is used to train the model, which raises concerns about _____.

A

data privacy

50
Q

Who services open source AI projects?

A

GitHub

51
Q

T/F: When using a fully trained model that’s hosted by AWS, you only interact with APIs and have no direct access to the model.

A

True

52
Q

_____ are a form of responsible AI documentation. They provide customers with a single place to learn about the intended use cases, limitations, responsible AI design choices, and deployment and performance optimization best practice.

A

AI service cards

53
Q

Match faces withm_____ , analyze IDs with _____ , and detect PII with _____.

A

Amazon Rekognition
Amazon Textract
Amazon Comprehend

54
Q

For models that you create, you can use _____ to help document the lifecycle of a model from designing, building, training, and evaluation.

A

SageMaker Model Cards

55
Q

T/F: When you create a model card, SageMaker autopopulates details about your SageMaker trained model in the card.

A

True

56
Q

You can use _____ to determine the contribution that each feature made to the model predictions.

A

Shapley values

57
Q

This plot shows you how a model’s predictions changes for different values of a feature.

A

partial dependence plot

58
Q

In _____, designers and developers engage in interdisciplinary collaboration and often involve psychologists, ethicists, and domain experts to collect diverse perspectives and expertise.

A

human-centered AI

59
Q

_____ incorporates human review for samples of the inferences made by an AWS AI service or a custom model. You can configure it to send inferences with low-confidence scores to human reviewers before sending them to the client. Their feedback can then be added to training data to re-train the model.

A

Amazon Augmented AI or Amazon A2I

60
Q

_____ is an industry standard technique for ensuring that large language models produce content that is truthful, harmless, and helpful.

A

Reinforcement learning from human feedback, or RLHF

61
Q

To use this technique, you train a separate model which serves as a reward model. The reward model is trained by humans who review multiple responses from the large language model for the same prompt and indicate their preferred response. Their preferences become the training data for the reward model, which when trained, can predict how high a human would score a prompt response. The large language model then uses the reward model to refine its responses for maximum reward.

A

RLHF

62
Q

Collecting the preferences from humans for RLHF can be accomplished most readily with _____.

A

SageMaker Ground Truth