Open Datasheets: Machine-readable Documentation for Open Datasets and Responsible AI Assessments

Anthony Cintron Roman, Jennifer Wortman Vaughan, Valerie See, Steph Ballard, Nicolas Schifano, Jehu Torres Vega, Caleb Robinson, Juan M. Lavista FerresarXiv 2023 · DOI

Abstract

As AI systems become more pervasive, the quality and ethical provenance of training data have become critical concerns. This paper introduces Open Datasheets, a no-code, machine-readable documentation framework designed to facilitate the evaluation of open datasets through a Responsible AI (RAI) lens. By transitioning from static, text-heavy documentation to a standardized JSON-based format, the framework enables programmatic filtering for compliance, privacy, and bias. We describe the development of the JSON-based schema, the accompanying web application, and the design principles that ensure integration into existing developer workflows.

Introduction

The "garbage in, garbage out" paradigm in machine learning has evolved into "bias in, harm out." Evaluating a dataset for Responsible AI (RAI) issues—such as speaker consent or the presence of sensitive personally identifiable information (PII)—is currently a manual and labor-intensive process. While data scientists can perform Exploratory Data Analysis (EDA) to understand data distributions, they often cannot easily discern the provenance or ethical context of the data. Information regarding collection methodologies and geographic limitations is frequently buried in unstructured README files or academic papers. This lack of transparency leads to costly mistakes where organizations invest in models only to discover late-stage violations of ethics policies or legal regulations.

Methodology: The Open Datasheets Framework

The Open Datasheets framework synthesizes qualitative standards, such as "Datasheets for Datasets," with technical data standards like the "Datapackage" specification. The framework consists of several key components:

  1. JSON-Based Schema: A machine-readable format that serves as a container for foundational metadata (e.g., name, license, sources) and RAI-specific metadata (e.g., privacy, collection procedures, and intended use cases).
  2. No-Code Web Application: To lower the barrier to entry, the authors developed a web-based tool hosted on GitHub Pages. This tool features a "wizard-style" interface that automatically extracts technical metadata from common file formats (CSV, TSV, JSON), allowing users to focus on the more complex RAI-related questions.
The Open Datasheets web application interface, providing a no-code environment for generating and managing machine-readable documentation.
  1. Design Principles: The framework adheres to seven design requirements, ensuring that the connection to RAI is explicit and that the tool integrates seamlessly into developer workflows, particularly within the GitHub ecosystem.

Case Studies and Validation

To validate the framework, case study analyses were conducted on three distinct open data publications hosted on GitHub. These datasets represented a diverse range of producers, from academic researchers to professional data scientists. These studies were instrumental in refining the "inline guidance" provided by the tool, ensuring that the prompts effectively assist users in documenting complex ethical considerations.

Key Insights: Documentation as Code

The transition to treating documentation as a machine-readable asset is a significant shift. This approach enables "automated interpretation," allowing organizations to programmatically filter datasets based on specific criteria, such as a "consent obtained" flag.

Furthermore, the framework addresses the balance between automation and deliberation. While technical metadata extraction is automated to reduce "documentation fatigue," the tool uses inline guidance to prompt human reflection on ethics and privacy. By utilizing the Frictionless Data "Datapackage" standard, Open Datasheets ensures portability across different platforms and repositories, avoiding proprietary silos.

Results and Conclusion

The primary output of this work is a functional ecosystem for dataset transparency, comprising the public JSON-based schema and the no-code generator. Usability testing indicated that providing pre-filled fields and contextual help significantly lowered the barrier for researchers.

Future work will focus on several areas:

  • Validation of Truthfulness: Developing methods to verify the claims made in the documentation.
  • LLM Integration: Utilizing Large Language Models to assist in validating and enriching free-form text sections.
  • Expanding Data Types: Improving support for unstructured data types such as audio, video, and complex geographic formats.

By standardizing RAI documentation, Open Datasheets provides a scalable path toward more responsible and transparent AI development.

Summary updated

BibTeX
@misc{roman2023open,
  author = {Anthony Cintron Roman and Jennifer Wortman Vaughan and Valerie See and Steph Ballard and Nicolas Schifano and Jehu Torres Vega and Caleb Robinson and Juan M. Lavista Ferres},
  title = {{Open Datasheets: Machine-readable Documentation for Open Datasets and Responsible AI Assessments}},
  year = {2023},
  eprint = {2312.06153},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.06153},
}
Figure