[Paper Review] Navigating Dataset Documentations in AI: A Large-Scale Analysis of Dataset Cards on Hugging Face
The paper analyzes 7,433 Hugging Face dataset cards to understand how documentation practices relate to dataset popularity, with insights on section emphasis, topic themes, and perceived quality. It highlights the impact of the Usage section and the need for more thorough documentation.
Advances in machine learning are closely tied to the creation of datasets. While data documentation is widely recognized as essential to the reliability, reproducibility, and transparency of ML, we lack a systematic empirical understanding of current dataset documentation practices. To shed light on this question, here we take Hugging Face -- one of the largest platforms for sharing and collaborating on ML models and datasets -- as a prominent case study. By analyzing all 7,433 dataset documentation on Hugging Face, our investigation provides an overview of the Hugging Face dataset ecosystem and insights into dataset documentation practices, yielding 5 main findings: (1) The dataset card completion rate shows marked heterogeneity correlated with dataset popularity. (2) A granular examination of each section within the dataset card reveals that the practitioners seem to prioritize Dataset Description and Dataset Structure sections, while the Considerations for Using the Data section receives the lowest proportion of content. (3) By analyzing the subsections within each section and utilizing topic modeling to identify key topics, we uncover what is discussed in each section, and underscore significant themes encompassing both technical and social impacts, as well as limitations within the Considerations for Using the Data section. (4) Our findings also highlight the need for improved accessibility and reproducibility of datasets in the Usage sections. (5) In addition, our human annotation evaluation emphasizes the pivotal role of comprehensive dataset content in shaping individuals' perceptions of a dataset card's overall quality. Overall, our study offers a unique perspective on analyzing dataset documentation through large-scale data science analysis and underlines the need for more thorough dataset documentation in machine learning research.
Motivation & Objective
- Assess the adoption and structure of dataset cards on Hugging Face as a reflection of community norms.
- Quantify how completion of recommended sections relates to dataset popularity and usage.
- Analyze section-by-section content to identify what practitioners emphasize in documentation.
- Use topic modeling to uncover themes within sections, especially limitations and social impact.
- Evaluate how human judgments of documentation quality align with quantitative content measures.
Proposed method
- Analyze all 7,433 non-empty dataset cards on Hugging Face as of March 16, 2023.
- Compute completion rates for the five community-endorsed sections and the 17 subsections.
- Measure section word counts and proportions to assess focus (e.g., Dataset Description, Dataset Structure).
- Apply Latent Dirichlet Allocation (LDA) topic modeling to the Considerations for Using the Data section.
- Conduct a counterfactual analysis with a BERT model to evaluate the impact of a Usage section on downloads.
- Perform human annotation evaluation across seven aspects to relate perceived quality with content comprehensiveness.
Experimental results
Research questions
- RQ1What is the completion rate of the community-endorsed dataset card structure across datasets of varying popularity?
- RQ2How do different sections and subsections contribute to perceived and measured dataset card quality?
- RQ3What topics are discussed within sections, particularly in the Considerations for Using the Data section?
- RQ4Does including a Usage section influence dataset downloads or accessibility?
- RQ5How do human judgments of dataset card quality correlate with quantitative content measures?
Key findings
- 86.0% of the top 100 downloaded dataset cards complete all five community-endorsed sections, versus 7.9% of dataset cards with no downloads.
- Popular datasets have longer cards with Dataset Description and Dataset Structure dominating content (36.2% and 33.6%), while Considerations for Using the Data remains only 2.1% of text.
- 33.2% of dataset cards include a Usage section, which is outside the five-section template and shown to positively impact downloads in a counterfactual analysis.
- 7,433 non-empty dataset cards account for 95.0% of total download traffic, despite only 30.9% of datasets having non-empty cards.
- Human annotations show Content Comprehensiveness strongly relates to perceived card quality (correlation 0.3935, p-value 3.67E-07), with Dataset Description and Structural Organization also contributing significantly.
- Word length of dataset cards correlates with content comprehensiveness, indicating that more thorough documentation is associated with higher perceived quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.