概念
Transparent and explainable models
Models whose decisions you can see into or explain, compared with black boxes.
本课尚未翻译,暂以英文显示。
How it decides
- Transparent or explainable
- You can see the steps
- Black box
- Hidden inside
Typical example
- Transparent or explainable
- Decision tree, linear model
- Black box
- Deep neural network, LLM
Reason for one decision
- Transparent or explainable
- Easy to give
- Black box
- Hard to give
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
| Compare | Transparent or explainable | Black box |
|---|---|---|
| How it decides | You can see the steps | Hidden inside |
| Typical example | Decision tree, linear model | Deep neural network, LLM |
| Reason for one decision | Easy to give | Hard to give |
| Accuracy on hard tasks | Often lower | Often higher |
| Choose it when | Decisions must be justified | Accuracy matters most |
1 / 2
How it decides
- Transparent or explainable
- You can see the steps
- Black box
- Hidden inside
Typical example
- Transparent or explainable
- Decision tree, linear model
- Black box
- Deep neural network, LLM
Reason for one decision
- Transparent or explainable
- Easy to give
- Black box
- Hard to give
| Compare | Transparent or explainable | Black box |
|---|---|---|
| How it decides | You can see the steps | Hidden inside |
| Typical example | Decision tree, linear model | Deep neural network, LLM |
| Reason for one decision | Easy to give | Hard to give |
2 / 2
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
| Compare | Transparent or explainable | Black box |
|---|---|---|
| Accuracy on hard tasks | Often lower | Often higher |
| Choose it when | Decisions must be justified | Accuracy matters most |
是什么
A transparent model is one you can look inside. You can see how it turns inputs into an answer. A small decision tree is an example: you can follow its yes and no questions. Interpretability is this ability to see how the model works inside. Explainability asks for less: you can say why the model gave an output by looking at its inputs and outputs, without seeing inside. An explainable model gives reasons for a decision in terms people understand, even if its inside is complex.
是什么
A black-box model is neither. It gives answers, but you cannot see why. Large neural networks, including most foundation models, are in this group. They are often more accurate on hard tasks, which is why they are used anyway.
Explanations matter when decisions affect people: a loan, a job application or a medical result. They help you find bias, build trust, meet rules that require a reason, and fix mistakes. The cost is that the most transparent models are often less accurate on complex tasks.
要记住
- Transparent or interpretable: you can see how the model works inside.
- Explainable: you can give reasons for one decision from its inputs and outputs, without seeing inside.
- Black box: accurate, but you cannot say why it decided what it did.
要记住
- Simple models such as decision trees are easier to explain. Large neural networks and foundation models are usually black boxes.
- Partial dependence plot: shows how the prediction changes as you vary one input. It helps explain a black box.
- Amazon SageMaker Clarify explains predictions with feature attributions. It is closed to new customers, but the exam can still name it. Explanations help with trust, bias checks and regulation.
考试中
- “A regulator requires a reason for each loan decision” points to a transparent or explainable model.
- “We can see the output but not how the model reached it” describes a black-box model.
- “A simple model is easier to understand but may be less accurate” describes the transparency tradeoff.
- “Show how the predicted result changes when one input changes” points to a partial dependence plot.
别和这些弄混
- Model cardsA documentation sheet for a model: what it is for, how it was built, how well it works and where it can go wrong.
- Safety and transparency tradeoffsWhy you rarely get maximum safety, transparency, interpretability and performance all at once.
- Limitations of GenAIWhere generative AI falls short: hallucinations, hard-to-explain output, errors and varying answers.