AIF-C01 notes
AI use cases and applications

Challenges of Generative AI

Every risk needs a safety measure

The story: A new, very talented employee can still embarrass the company: blurting out a customer's private details, saying something offensive, making up a fact, or giving a different answer to the same question each time. A good manager doesn't fire them. They put a safety measure in place for each habit.

In AI/AWS terms: A model can make decisions that are unethical or socially irresponsible, so each challenge is paired with a mitigation.

For the exam: Know each challenge by name and the mitigation that goes with it.

The seven challenges

The story: Here is the new employee's list of bad habits and what the manager does about each:

  • They mention a client's ID number in a public report. The manager removes names and numbers from files before the employee sees them.
  • They post something that makes the company look bad. The manager sets a posting policy and checks posts.
  • A stranger tricks them into reading out the customer database. The manager locks the files and checks what goes in and out.
  • They use rude language. The manager is careful about what they read and adds a filter on what they say.
  • They confidently invent a fact. The manager makes them check the company handbook first, and reviews important answers.
  • Nobody can explain why they made a decision. The manager asks them to document their reasoning.
  • They answer the same question differently each time. The manager asks them to stick to the safe answer and tests them repeatedly.

In AI/AWS terms:

ChallengeRiskMitigation
Regulatory violationsOutput exposes regulated data such as PIIAnonymize data, use privacy-preserving training, audit training data
Social risksContent damages reputation or harms societyTest outputs, set content policies, monitor use
Data security and privacySensitive data leaks through prompts or outputsEncrypt data, control access, filter inputs and outputs
ToxicityOffensive or inappropriate outputCurate training data, use guardrails to filter content
HallucinationsPlausible but false statementsGround answers with RAG, verify outputs, keep humans in the loop
InterpretabilityHard to explain why the model produced an outputUse explainability tools and document model behavior
NondeterminismThe same input gives different outputs on different runsLower the temperature, test repeatedly, validate outputs

For the exam: Different outputs from the same input is nondeterminism. Confident but false output is a hallucination, mitigated with RAG and human review.

On this page