Lesson 3 of 4 Responsible AI

Making AI Systems Transparent and Explainable

This lesson explains how the people affected by AI decisions, and the organisations responsible for them, can understand how a system works and why it produced a result.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish transparency from explainability.
  • Distinguish interpretable models from black-box models.
  • Distinguish SageMaker Model Cards from AWS AI Service Cards.
  • Describe the trade-offs between accuracy and interpretability.

Transparency versus explainability

Transparency and explainability are related but apply at different levels. Transparency is about the system as a whole: being open that AI is being used, what data it was trained on, what it is intended for, and its limitations and risks. A customer told that they are chatting with an AI assistant is an example. Explainability is about individual outputs: understanding why the model produced a particular answer, such as which factors led to a loan being declined. The following table summarises the difference.

TermMeaning
TransparencyOpenness about the system: that AI is used, what data it was trained on, its intended uses, limitations and risks
ExplainabilityUnderstanding why the model produced a particular output
Sort into groups

Transparency or explainability?

Exam skills 4.2.1

Decide whether each practice provides transparency about the system or an explanation of an output.

Log in to try this activity Interactive activities are free with an account.

Interpretable versus black-box models

Models differ in how easily their decisions can be understood. Interpretable models, such as linear regression and decision trees, can be explained directly: you can read the weight given to each input or follow the path of decisions that led to an answer. They are often less accurate on complex tasks.

Black-box models, such as deep neural networks and foundation models, are often more accurate, but their internal workings are too complex to read. They are explained after the fact, with techniques such as SHAP attributions from SageMaker Clarify, which estimate how much each input contributed to a prediction. For regulated decisions that must be explained, an interpretable model may be preferred even at some cost in accuracy. The following table summarises the differences.

Interpretable models
ExamplesLinear regression, decision trees
Explaining themRead the coefficients or follow the decision path
AccuracyOften lower on complex tasks
Black-box models
ExamplesDeep neural networks, foundation models
Explaining themPost-hoc explanations: SHAP attributions from SageMaker Clarify, partial dependence plots
AccuracyOften higher

For generative AI, explainability practices include sources and citations through RAG, agent reasoning traces, confidence indicators and documented limitations.

Scenario questions

Interpretable or black-box?

Exam skills 4.2.1 · 4.2.3

Weigh interpretability against accuracy.

Log in to try this activity Interactive activities are free with an account.

Documentation tools

Documentation supports transparency, and AWS provides tools for different kinds. SageMaker Model Cards document your own models: their intended use, training data, evaluation results and risk rating. AWS AI Service Cards document AWS's own AI services, describing their intended uses, limitations and the responsible AI choices made in their design. Bedrock evaluation reports and lineage information provide evidence of a model's quality and where its data came from. The following table summarises the tools.

ToolDocuments
SageMaker Model CardsYour models' intended use, training data, evaluation and risk rating
AWS AI Service CardsAWS's own AI services: intended use, limitations and responsible AI design
Bedrock evaluation reports, lineageEvidence of quality and data origins
Match the pairs

Documenting AI

Exam skills 4.2.2

Match each documentation need with the AWS tool that meets it.

Log in to try this activity Interactive activities are free with an account.

Trade-offs and human-centred design

Transparency involves trade-offs, and AI systems should be designed around the people who use them. The following list describes the principal considerations.

  • More accurate, complex models are usually less interpretable, so regulated decisions may favour simpler models.
  • Revealing too much about a model can help attackers.
  • Tell users when they interact with AI, explain decisions in plain language, let people contest outcomes and give feedback.
  • Keep people in the loop for high-impact decisions.
Select all that apply

Human-centred design

Exam skills 4.2.4 · 4.2.3

A benefits agency is designing an AI system that recommends whether applications should be approved.

Log in to try this activity Interactive activities are free with an account.
Worked example

Explaining a declined application

A customer asks why their credit card application was declined. The lender's model is a gradient-boosted tree, accurate but not directly interpretable. SageMaker Clarify's SHAP values show how each feature pushed this particular decision:

FeatureContribution to "decline"
Credit utilisation 92%Strongly towards decline
Two missed payments in the last yearTowards decline
Stable employment for six yearsTowards approve
PostcodeNegligible (checked, because it could be a proxy for protected characteristics)

The lender turns this into a plain-language explanation for the customer, offers a route to human review, and documents the model's intended use and limitations in a SageMaker Model Card. For the generative AI assistant on the same website, transparency means telling customers they are talking to AI and showing citations for its answers; AWS AI Service Cards document AWS's own services in the same spirit.

Check yourself

What is the difference between transparency and explainability?

Show answer

Transparency is openness about how a system is built and used, such as its data and limits. Explainability is the ability to say why the model produced a particular output.

Exam Tips

Remember for the exam

  • To document a model's intended use, risks and evaluation, use SageMaker Model Cards.
  • AWS's documentation of the intended use and limits of its own AI services is AWS AI Service Cards.
  • To explain which features drove a prediction, use SageMaker Clarify (SHAP).
  • More accurate models are often less interpretable.
  • To show the sources behind generated answers, use RAG with citations.
  • For high-impact decisions, keep a person in the loop to review and override.