Understanding Machine Learning Practitioners' Data Documentation Perceptions, Needs, Challenges, and Desiderata

Amy Heger, Elizabeth B. Marquis, Mihaela Vorvoreanu, Hanna M. Wallach, Jennifer Wortman Vaughan · DOI

Abstract

While researchers advocate for rigorous data documentation frameworks like "Datasheets for Datasets" to ensure Responsible AI (RAI), industry practitioners often perceive these tasks as "check-the-box" compliance exercises. This study investigates the gap between the ethical goals of documentation and the efficiency-driven reality of machine learning (ML) workflows. Through a qualitative study with 14 practitioners at Microsoft, the authors identify critical challenges—including the mismatch between static documentation and streaming data—and propose seven design requirements to make documentation both practical and impactful in industrial settings.

Introduction

Data serves as the foundation of machine learning, yet the prevailing "move fast and break things" culture in software engineering often results in datasets that are poorly understood or documented. When problematic datasets are utilized, the resulting models can inherit biases or fail unexpectedly in production. To address this, frameworks such as Datasheets for Datasets were proposed to encourage transparency and critical reflection during the data lifecycle.

However, the efficacy of these frameworks in real-world industrial environments remains under-explored. This paper investigates how ML practitioners in a large-scale corporate setting perceive and utilize data documentation. The findings reveal a "myopic" approach where practitioners prioritize whether they can use a dataset (legal and privacy approval) over whether they should use it (ethical and technical suitability).

Methodology

The researchers conducted a qualitative study involving 14 ML practitioners, including scientists, engineers, and managers, at Microsoft. The study followed a rigorous three-step process:

  1. Preliminary Interviews: An exploration of current, often informal, documentation habits within their teams.
  2. Hands-on Exercise: Participants were tasked with completing a full "Datasheet for Datasets" (comprising 51 questions) for a dataset they had recently utilized in their work.
  3. Follow-up Interviews: A deep dive into the challenges, "aha moments," and frustrations experienced during the documentation exercise.

The team employed thematic analysis to synthesize these experiences into a set of "desiderata" and design requirements for future documentation tools.

The Reality of Industry Data

One of the most significant findings involved the nature of the data being documented. While current documentation frameworks largely assume datasets are static, versioned objects, 10 out of 14 participants chose to document "streaming" datasets—data collected continuously. This highlighted a major gap in existing research, as practitioners struggled to answer basic questions like "how many instances are there?" when the answer changes every second.

Participants documented a wide variety of content types, including text snippets, images, event logs, and aggregate business metrics. To provide a baseline for the exercise, the researchers used the Gender Inclusive Coreference (GICoref) dataset's datasheet as a gold-standard reference.

Key Insights and Practitioner Perceptions

The Responsible AI Disconnect

A primary finding was that practitioners rarely connected documentation questions to ethical outcomes. Even when prompted about demographic distributions, they viewed the inquiry as a technical requirement rather than a mechanism to prevent algorithmic harm.

"Could" vs. "Should"

In industry, documentation is currently leveraged as a tool for "permissioning." Practitioners primarily seek to know if a dataset is "approved for use" by legal or privacy teams. There was little evidence of practitioners using the documentation process to reflect on whether a dataset was technically appropriate for a specific task.

Code as the "Source of Truth"

Many practitioners expressed the belief that preprocessing scripts are the documentation. They argued that if documentation exists separately from the code, it inevitably becomes outdated and loses its utility. This suggests a strong preference for documentation that lives within the technical workflow.

Design Requirements for Future Frameworks

The study culminated in seven design requirements intended to bridge the gap between research ideals and industrial practice:

  1. Make the RAI connection explicit: Frameworks should explain why specific questions (e.g., about data distribution) matter for fairness and ethics.
  2. Emphasize practicality: To encourage adoption, documentation must provide immediate value, such as accelerating legal or privacy approvals.
  3. Adapt to context: Tools should filter questions based on whether the data is internal or external, and whether it is static or streaming.
  4. Support simple automation: Metadata extraction should be automated, but the "reflective" components requiring human judgment must remain manual.
  5. Clarify the audience: Creators need to understand they are writing for future consumers, not just for their current selves.
  6. Standardize and centralize: Documentation should be searchable in a central repository rather than being siloed in disparate wikis.
  7. Integrate into workflows: Documentation should reside where the work happens, such as within GitHub, Azure DevOps, or integrated development environments (IDEs).

Limitations and Future Work

The study's primary limitation is its single-company scope. While Microsoft represents a massive ecosystem, its specific culture and reliance on internal tools (like privacy review wikis) may not fully represent the experiences of startups or academic laboratories.

Future research should focus on developing specific frameworks for streaming data and creating interactive documentation tools. These tools could use branching logic to reduce the cognitive load of lengthy questionnaires and help practitioners engage in "creative speculation" regarding the potential harms of their data.

Summary updated

BibTeX
@article{heger2022understanding,
  author = {Amy Heger and Elizabeth B. Marquis and Mihaela Vorvoreanu and Hanna M. Wallach and Jennifer Wortman Vaughan},
  title = {{Understanding Machine Learning Practitioners' Data Documentation Perceptions, Needs, Challenges, and Desiderata}},
  journal = {Proc. ACM Hum. Comput. Interact.},
  year = {2022},
  doi = {10.1145/3555760},
}
Figure