Responsible AI Practices Flashcards
Data Bias
If the training data used to train an AI model is biased or underrepresents certain groups, the resulting model may exhibit biases in its predictions or decisions.
Explainability
Answers the question WHY. Explainability refers to the characteristic of an AI model to clearly explain or provide justification for its internal mechanisms and decisions so that it is understandable to humans.
Interaction bias
Biases can also arise from the way humans interact with AI systems or the context in which the AI is deployed. For example, if an AI system for facial recognition is primarily tested on a certain demographic group, it may perform poorly on other groups.
Algorithm bias
The algorithms and models used in AI systems can introduce biases, even if the training data is unbiased. This can happen due to the inherent assumptions or simplifications made by the algorithms
Transparency
Answers the question HOW. The practice of how you might communicate information about an AI system. Some of this information includes development processes, system capabilities, and limitations.
Veracity and robustness
Veracity and robustness in AI refers to the mechanisms to ensure an AI system operates reliably, even with unexpected situations, uncertainty, and errors
Governance
The governance dimension refers to the set of processes that are used to define, implement, and enforce responsible AI practices within an organization.
Safety
Safety in responsible AI refers to the development of algorithms, models, and systems in such a way that they are responsible, safe, and beneficial for individuals and society as a whole
Controllability
The controllability dimension in responsible AI refers to a framework for how you might monitor and guide an AI system’s behavior to align with human values and intent
Amazon Bedrock
Fully managed service that makes available high-performing FMs from leading AI startups and Amazon for your use through a unified API. You can choose from a wide range of FMs to find the model that is best suited for your use case. Amazon Bedrock also offers a broad set of capabilities to build generative AI applications with security, privacy, and responsible AI.
Amazon SageMaker Model Monitor
monitors the quality of SageMaker machine learning models in production. You can set up continuous monitoring with a real-time endpoint (or a batch transform job that runs regularly), or on-schedule monitoring for asynchronous batch transform jobs
Amazon Augmented AI (Amazon A2I)
a service that helps build the workflows required for human review of ML predictions
Amazon tools that can be used to balance your dataset
SageMaker Clarify and SageMaker Data Wrangler
What is curating a dataset?
Curating datasets is the process of labeling, organizing, and preprocessing the data so that it can perform accurately on the model
What is data preprocessing?
Preprocess the data to ensure it is accurate, complete, and unbiased. Techniques such as data cleaning, normalization, and feature selection can help to eliminate biases in the dataset.
What is data augmentation?
Use data augmentation techniques to generate new instances of underrepresented groups. This can help to balance the dataset and prevent biases towards more represented groups.
SageMaker Clarify
provides purpose-built tools to gain greater insights into ML models and data based on metrics such as accuracy, robustness, toxicity, and bias to improve model quality and support responsible AI initiatives.
AI Service Cards
form of documentation on responsible AI. They provide teams with a single place to find information on the intended use cases and limitations, responsible AI design choices, and deployment and performance optimization best practices for AWS AI services.
Which 2 AWS services or features help with monitoring and human review
1) Amazon SageMaker Model Monitor & 2) Amazon Augmented AI (Amazon A2I)
AWS services for finding the best model
Model evaluation on Amazon bedrock
AWS model for guarding against harmful content
Guardrails for Amazon Bedrock
Name some explainability frameworks
1) SHapley Value Added (SHAP) 2) Local Interpretable Model-Agnostic Explanations (LIME) 3)Counterfactual Explanations
AWS AI Service Cards
AI service cards are a form of responsible AI documentation that provides customers with a single place to find information on the intended use cases and limitations, responsible AI design choices, and the deployment and operation best practices for our AI services. These are not customizable.
Amazon Safe Maker Model Cards
Use to document critical details about your ML models in a single place for streamlined governance and reporting.