概念
Characteristics of good datasets
A model learns from its data, so the data must include everyone, vary enough, come from good sources and be balanced.
このレッスンはまだ翻訳されていないため、英語で表示しています。
Inclusive
Covers all the groups the system will serve.
Diverse
Shows a wide range of cases, places, languages and ages.
Curated sources
Chosen on purpose, with known origin and checked quality.
Balanced
Each group or class appears in fair amounts.
Inclusive
- When it is missing
- A group is left out
- What goes wrong
- The system fails for that group
Diverse
- When it is missing
- Only narrow cases
- What goes wrong
- Fails on anything new or unusual
Curated sources
- When it is missing
- Unchecked, unknown sources
- What goes wrong
- Errors and harmful text learned
Balanced
- When it is missing
- One group dominates
- What goes wrong
- Results favour the biggest group
| Characteristic | When it is missing | What goes wrong |
|---|---|---|
| Inclusive | A group is left out | The system fails for that group |
| Diverse | Only narrow cases | Fails on anything new or unusual |
| Curated sources | Unchecked, unknown sources | Errors and harmful text learned |
| Balanced | One group dominates | Results favour the biggest group |
1 / 2
Inclusive
- When it is missing
- A group is left out
- What goes wrong
- The system fails for that group
Diverse
- When it is missing
- Only narrow cases
- What goes wrong
- Fails on anything new or unusual
| Characteristic | When it is missing | What goes wrong |
|---|---|---|
| Inclusive | A group is left out | The system fails for that group |
| Diverse | Only narrow cases | Fails on anything new or unusual |
2 / 2
Curated sources
- When it is missing
- Unchecked, unknown sources
- What goes wrong
- Errors and harmful text learned
Balanced
- When it is missing
- One group dominates
- What goes wrong
- Results favour the biggest group
| Characteristic | When it is missing | What goes wrong |
|---|---|---|
| Curated sources | Unchecked, unknown sources | Errors and harmful text learned |
| Balanced | One group dominates | Results favour the biggest group |
概要
A model can only learn what its data shows. If the data is poor, the model is poor, and often unfair. Four characteristics tell you whether a dataset is good enough for responsible AI.
Inclusivity: the data covers all the groups of people the system will serve. Diversity: it shows a wide range of cases, such as different ages, languages, places and situations. Curated data sources: people chose the sources on purpose and checked their quality, instead of scraping anything. Balanced datasets: each group or class appears in fair amounts, so no group is drowned out.
概要
When one of these is missing, the model works well for the groups it saw most and badly for the rest. That is how bias gets into a model before anyone writes a line of code. To balance a thin group, add more examples of it or resample the data. Amazon SageMaker Data Wrangler has tools for this.
覚えること
- Inclusive: covers all the groups the system will serve.
- Diverse: many kinds of people, cases and situations.
- Curated: trusted sources, checked for quality, with known origin.
- Balanced: no group or class is far larger than the others.
- Missing groups in data lead to poor results for those groups. A large dataset can still be biased.
覚えること
- Fix imbalance by adding or resampling examples of the thin group. Amazon SageMaker Data Wrangler can help.
試験では
- “A face model works poorly for people with darker skin” points to a dataset that was not inclusive or diverse.
- “Only 2% of training examples are from one group” points to an unbalanced dataset.
- “Choose data sources on purpose and check their quality” points to curated data sources.
- “Fix a dataset with too few examples of one group” points to balancing it, for example with Amazon SageMaker Data Wrangler.
混同しやすいもの
- Bias and varianceTwo kinds of model error: too simple (underfitting) or too tied to the training data (overfitting).
- Detecting and monitoring biasWays to find and keep watching for bias, untrustworthy output and untruthful output.
- Preparing fine-tuning dataCuration, governance, size, labeling and representativeness: what makes training data good.