ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

Guidelines for Responsible AI

ပြန်နွှေးစာရွက်

04

Guidelines for Responsible AI

စာမေးပွဲမဖြေမီ ပြန်ဖတ်ရန် ဒီ domain ရဲ့ အဓိကအချက်များ။

ဒီပြန်နွှေးစာရွက်ကို လောလောဆယ် အင်္ဂလိပ်လို ပြထားပါသည်။

4.1Features and guardrails

  • Responsible AI features: bias, fairness, inclusivity, robustness, safety, veracity.
  • AWS core dimensions: fairness, explainability, privacy and security, safety, controllability, veracity and robustness, governance, transparency.
  • Controllability: monitor and steer the system. Governance: policies and processes manage AI risk.
  • Bias is the problem. Fairness is the goal: similar people, similar outcomes.
  • Inclusivity: works for every kind of user. Robustness: reliable with odd or hostile input.
  • Safety: no harm. Veracity: true and accurate output.
  • Amazon Bedrock Guardrails checks the prompt going in and the answer coming out.

4.1Features and guardrails

  • Content filters include prompt attacks (jailbreaks, prompt injection). You set the strength.
  • Automated Reasoning checks: answers must follow rules you define.
  • One guardrail can protect many applications and models.
  • Content filters

    Block harmful text: hate, insults, sexual, violence, misconduct
  • Denied topics

    Refuse subjects you describe, such as investment advice
  • Word filters

    Block exact words, phrases and profanity
  • Sensitive information filters

    Find personal data, then block or mask it
  • Contextual grounding checks

    Flag answers not backed by the source
  • Automated Reasoning checks

    Test answers against rules you define
The six safeguards in an Amazon Bedrock guardrail.

1 / 2

  • Content filters

    Block harmful text: hate, insults, sexual, violence, misconduct
  • Denied topics

    Refuse subjects you describe, such as investment advice
  • Word filters

    Block exact words, phrases and profanity
  • Sensitive information filters

    Find personal data, then block or mask it

2 / 2

  • Contextual grounding checks

    Flag answers not backed by the source
  • Automated Reasoning checks

    Test answers against rules you define
The six safeguards in an Amazon Bedrock guardrail.

4.1Model choice, legal risks and data

  • Responsible model choice: smallest model that works, reuse a pre-trained model, adapt before you build.
  • Greener Regions and clear model documentation also count.
  • Legal risks: IP infringement claims, biased outputs, loss of customer trust, end user risk, hallucinations.
  • Also: toxicity, plagiarism and cheating, nondeterminism (same prompt, different answers), disruption of work.
  • Lower the risks with data checks, bias testing, grounding, guardrails and human review.
  • Good datasets are inclusive, diverse, curated and balanced.
  • Missing groups in the data mean poor results for those groups.
  • A large dataset can still be biased. Size does not fix imbalance.

4.1Model choice, legal risks and data

  • Balance a thin group by adding or resampling examples. SageMaker Data Wrangler can help.

4.1Bias, variance and detection

  • High bias leads to underfitting: the model is too simple.
  • High variance leads to overfitting: it memorizes the training data.
  • Strong on training data, weak on new data points to overfitting.
  • Unfair bias is a different meaning of the same word. Read the question.
  • Too few examples of a group can make the model less accurate for that group.
  • Label quality analysis: are human labels accurate and consistent?
  • Human audits: people review a sample of outputs.
  • Subgroup analysis: the same metric for each group, then look for gaps.
  • Keep monitoring after launch, because data and behaviour change.
  • Also called

    Underfitting
    High bias
    Good fit
    Balanced
    Overfitting
    High variance
  • Training data

    Underfitting
    Poor
    Good fit
    Good
    Overfitting
    Excellent
  • New data

    Underfitting
    Poor
    Good fit
    Good
    Overfitting
    Poor
Underfitting and overfitting against a good fit.

4.1Amazon SageMaker Clarify

  • Finds bias in the data before training and in predictions after training.
  • Explains predictions with feature attributions (based on SHAP).
  • SageMaker Model Monitor can watch a deployed model for bias drift. It is also closed to new customers.
  • Closed to new customers since 30 July 2026. Existing customers can continue.
  • For generative AI evaluation, AWS points to Amazon Bedrock Evaluations and Guardrails.
  • Bias before training

    Check the data first
  • Bias after training

    Do predictions differ between groups?
  • Explain a prediction

    Which inputs drove this result?
  • Bias drift

    Is bias growing in production? Model Monitor (closed to new customers)
The four jobs of Amazon SageMaker Clarify.

4.2Transparent and explainable

  • Transparent: you can see how the model reaches a result.
  • Interpretable: see how it works inside. Explainable: give reasons from inputs and outputs.
  • Partial dependence plot: how the prediction changes as one input changes.
  • Black box: you get an answer but cannot say why. Most foundation models are black boxes.
  • Explanations help with trust, bias checks, regulation and fixing errors.
  • Amazon SageMaker Model Cards documents intended use, risk rating, training details and evaluation results.
  • A model card describes a model. Amazon Bedrock Model Evaluation scores models.
  • AWS AI Service Cards: AWS documents intended use and limits of its own AI services.

4.2Transparent and explainable

  • Open weights: download and run it yourself. Fully open: weights, code and data published.
  • Always check the licence: commercial use, changes, sharing, banned uses.
  • How it decides

    Transparent or explainable
    You can see the steps
    Black box
    Hidden inside
  • Examples

    Transparent or explainable
    Decision tree, linear model
    Black box
    Deep neural network, LLM
  • Accuracy on hard tasks

    Transparent or explainable
    Often lower
    Black box
    Often higher
  • Choose it when

    Transparent or explainable
    Decisions must be justified
    Black box
    Accuracy matters most
Transparent or explainable models against black boxes.

1 / 2

  • How it decides

    Transparent or explainable
    You can see the steps
    Black box
    Hidden inside
  • Examples

    Transparent or explainable
    Decision tree, linear model
    Black box
    Deep neural network, LLM
  • Accuracy on hard tasks

    Transparent or explainable
    Often lower
    Black box
    Often higher

2 / 2

  • Choose it when

    Transparent or explainable
    Decisions must be justified
    Black box
    Accuracy matters most
Transparent or explainable models against black boxes.

4.2Tradeoffs and human-centered design

  • Simple models are clearer. Complex models are often more accurate.
  • Open details help reviewers and attackers alike.
  • Strict filters stop harm but can block good requests.
  • The riskier the use case, the more safety and explanation it needs.
  • Measure performance and interpretability for each candidate model.
  • Decision transparency: say when AI is used and why it decided.
  • Feedback mechanisms: ratings, report buttons, ways to correct a result.
  • Keep a human able to review or override important decisions.

4.2Tradeoffs and human-centered design

  • Amazon A2I sends low-confidence predictions to human reviewers. It is now closed to new customers. RLHF trains on human rankings.
  • Interpretability

    More of this gives
    Easy to explain
    But it can cost
    Lower accuracy on hard tasks
  • Transparency

    More of this gives
    Easier to inspect
    But it can cost
    Easier to attack or misuse
  • Safety

    More of this gives
    Less harmful output
    But it can cost
    More blocked good requests
Three tradeoffs between responsible AI goals.

စာမေးပွဲ ထောင်ချောက်များ

  • “Block harmful or off-topic content in a generative AI app” → Amazon Bedrock Guardrails, not Model Evaluation
  • “Hide personal data in model answers” → sensitive information filter, not a word filter
  • “Catch answers not supported by the source documents” → contextual grounding check, not a content filter
  • “Document a model’s intended use, risk and training data” → Amazon SageMaker Model Cards, not Bedrock Model Evaluation
  • “Score and compare foundation models” → Amazon Bedrock Model Evaluation, not a model card

စာမေးပွဲ ထောင်ချောက်များ

  • “Great on training data, poor on new data” → overfitting (high variance), not underfitting
  • “Poor on both training and new data” → underfitting (high bias), not overfitting
  • “Compare accuracy for each demographic group” → subgroup analysis, not a human audit
  • “Detect bias in the data before training” → Amazon SageMaker Clarify, not Model Evaluation
  • “Stop jailbreaks and prompt injection in an app” → Guardrails prompt attack filter, not a word filter
  • “Monitor and steer the system” → controllability. “Policies manage AI risk” → governance

စာမေးပွဲ ထောင်ချောက်များ

  • “Intended use and limits of an AWS AI service” → AWS AI Service Cards, not a model card
  • “Send low-confidence predictions to people” → Amazon A2I
  • “Check labelers were accurate and consistent” → label quality analysis
  • “Cut the environmental cost of a generative AI app” → a smaller or reused model, not training a new one
  • “Regulator wants a reason for each decision” → a transparent or explainable model, not a black box
  • “Can we use the open model in a paid product?” → check the licence