Paper commentary
Datasheets for Datasets
Datasheets for datasets proposes documenting each dataset the way electronics parts are documented
- Problem The machine learning community has no standard process for documenting datasets. Models inherit the biases and mismatches of their training data, which matters most in high-stakes areas like hiring and criminal justice.
- Method Datasheets for datasets asks creators to answer questions about each dataset in a document that follows its lifecycle. Unlike automated documentation, the questions are answered by hand so creators reflect on their process.
- Results Two example datasheets exposed gaps, redundancies and unclear questions.
Why dataset documentation is missing
Models take on the character of their data. A model is unlikely to work well in the wild when its deployment context doesn't match its training or evaluation data, or when those datasets carry unwanted societal biases. The consequences are most serious in high-stakes areas such as criminal justice, hiring, critical infrastructure and finance.
Recent examples show models reproducing or amplifying biases found in their training data.
Data provenance, meaning where data came from and how it was made, is well studied in databases but seldom discussed in machine learning. Documentation of how datasets are created and used has drawn even less attention. The result is that no standard process exists for writing up machine learning datasets, even though the World Economic Forum urges entities to document dataset provenance to avoid discriminatory outcomes.
A datasheet for every dataset
The key idea borrows from electronics, where every component ships with a datasheet describing its operating characteristics and recommended usage. The authors propose that every dataset likewise come with a datasheet recording its motivation, composition, collection process and recommended uses. The datasheet serves two groups: dataset creators, who reflect on how they create, distribute and maintain the dataset, and dataset consumers, who need enough information to choose and use it well.
Transparency from creators is what lets consumers avoid unintentional misuse.
The questions are not meant to be prescriptive. A datasheet for an academic release may need different questions than one for an internal product dataset, because domains and organizational workflows differ. Writing the datasheet is meant to be a manual exercise, since automated documentation would work against the goal of making creators reflect on their process.
Answering the questions by lifecycle stage
The questions are grouped into seven stages that follow the dataset lifecycle: motivation, composition, collection process, preprocessing, uses, distribution and maintenance. The grouping is meant to make creators reflect on each stage and even change the process in response. Creators read the composition questions before collecting data and answer them once collection is finished.
A creator whose dataset doesn't relate to people can skip the people-specific questions.
Composition questions ask what an instance represents, how many instances there are, and whether the dataset is a sample of a larger set. They also ask whether a sample is representative and how that was checked, and whether recommended data splits exist. Some questions target consumers' decisions, such as whether preprocessing has made the data unsuitable for their task.
For example, text turned into a bag-of-words can't serve a task that depends on word order.
Unanswerable questions don't need to block the datasheet, and the authors recommend answering as many questions as possible. An appendix gives a full example for Pang and Lee's polarity dataset, and unanswered items were marked as unknown to the datasheet's authors.
How the questions were tested and revised
The authors refined the questions over roughly two years, with many rounds of feedback. They started from their own experience with dataset characteristics, unintentional misuse and unwanted societal biases. They tested that first set by writing example datasheets for Labeled Faces in the Wild and Pang and Lee's polarity dataset. Both datasets were chosen because their creators documented them well, which made the questions easy to answer from the existing documentation.
These example datasheets were written by the authors, not by the original dataset creators.
The example datasheets exposed gaps, redundancies and lack of clarity in the questions. The authors then gave the refined questions to product teams at two major US-based technology companies, and they watched where the questions missed their intended goals. An initial draft posted on arXiv on 23 March 2018 drew extensive comments, and a team of lawyers reviewed the questions from a legal perspective.
The feedback changed the questions in several ways. Questions were reworded to discourage yes/no answers, and a Uses section was added. The Legal and Ethical Considerations section was deleted, because product teams answered those questions more readily when they sat inside lifecycle stages. Questions that explicitly asked about regulatory compliance were removed, and factual questions replaced them so creators need not make legal judgments.
The testing is qualitative: the paper reports the gaps and feedback the authors observed, with no measurement of how well the revised questions work.
Early adoption
Academic researchers have adopted the proposal and released datasets with accompanying datasheets. Microsoft, Google and IBM have begun piloting datasheets internally within product teams. Related efforts followed, including model cards, a lightweight data card for Open Images, factsheets for AI services and the Dataset Nutrition Label.
Limits of datasheets
Datasheets don't solve unwanted societal bias or risk on their own. Creators can't anticipate every use, and finding bias often needs demographic labels that creators may not hold because of individuals' data protection and privacy. Creating a datasheet also takes time, and organizational workflows and incentives would need to change to absorb that cost.
For dynamic datasets the questions and workflow may pose problems. If a dataset changes only infrequently, the authors recommend shipping each updated version with an updated datasheet. Organizational infrastructure also needs to adapt, because the questions must be modified to fit each creator's existing workflows.
Paper info
- Authors
- Timnit Gebru, Jamie Morgenstern, Briana Vecchione, Jennifer Wortman Vaughan, Hanna Wallach, Hal Daumé, Kate Crawford
- Venue
- arXiv · Preprint
- First published
- 2018-3-23
- Added
- 2026-11-12
- Updated
- 2021-12-1
- Version
- v8
- arXiv
- 1803.09010
- Category
- cs.DB · cs.AI · cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Timnit Gebru, Jamie Morgenstern, Briana Vecchione, Jennifer Wortman Vaughan, Hanna Wallach, Hal Daumé, Kate Crawford (2018). Datasheets for Datasets. arXiv:1803.09010v8. https://arxiv.org/abs/1803.09010v8
BibTeX
@misc{gebru2018datasheets,
title = {{Datasheets for Datasets}},
author = {Timnit Gebru and Jamie Morgenstern and Briana Vecchione and Jennifer Wortman Vaughan and Hanna Wallach and Hal Daumé and Kate Crawford},
year = {2018},
eprint = {1803.09010},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1803.09010v8}
}