Using Large Language Models to Enrich the Documentation of Datasets for Machine Learning
Not on the map. Why?
Abstract (arXiv)
Recent regulatory initiatives like the European AI Act and relevant voices in the Machine Learning (ML) community stress the need to describe datasets along several key dimensions for trustworthy AI, such as the provenance processes and social concerns. However, this information is typically presented as unstructured text in accompanying documentation, hampering their automated analysis and processing. In this work, we explore using large language models (LLM) and a set of prompting strategies to automatically extract these dimensions from documents and enrich the dataset description with them. Our approach could aid data publishers and practitioners in creating machine-readable documentation to improve the discoverability of their datasets, assess their compliance with current AI regulations, and improve the overall quality of ML models trained on them. In this paper, we evaluate the approach on 12 scientific dataset papers published in two scientific journals (Nature's Scientific Data and Elsevier's Data in Brief) using two different LLMs (GPT3.5 and Flan-UL2). Results show good accuracy with our prompt extraction strategies. Concrete results vary depending on the dimensions, but overall, GPT3.5 shows slightly better accuracy (81,21%) than FLAN-UL2 (69,13%) although it is more prone to hallucinations. We have released an open-source tool implementing our approach and a replication package, including the experiments' code and results, in an open-source repository.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 26 of its 61 references that are in the map. First posted on arXiv 4 Apr 2024.
Builds on
26 of 61 references.
References · 26
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 895
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2023Chain-of-Verification Reduces Hallucination in Large Language Modelscited by 317
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
14 more
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2020A Patient-Centric Dataset of Images and Metadata for Identifying Melanomas Using Clinical Contextcited by 146
- 2022Faithful Reasoning Using Large Language Modelscited by 130
- 2020Few-Shot Text Generation with Pattern-Exploiting Trainingcited by 87
- 2022CrowdWorkSheets: Accounting for Individual and Collective Identities Underlying Crowdsourced Dataset Annotationcited by 59
- 2022Structured information extraction from complex scientific text with fine-tuned large language modelscited by 56
- 2020Behavioral Use Licensing for Responsible AIcited by 46
- 2021Reusable Templates and Guides For Documenting Datasets and Models for Natural Language Processing and Generation: A Case Study of the HuggingFace and GEM Data and Model Cardscited by 24
- 2021A Framework for Deprecating Datasets: Standardizing Documentation, Identification, and Communicationcited by 18
- 2022A domain-specific language for describing machine learning datasetscited by 12
- 2023GSAP-NER: A Novel Task, Corpus, and Baseline for Scholarly Entity Extraction Focused on Machine Learning Models and Datasetscited by 12
- 2023ORKG-Leaderboards: A Systematic Workflow for Mining Leaderboards as a Knowledge Graphcited by 11
- 2022The Leaf Clinical Trials Corpus: a new resource for query generation from clinical trial eligibility criteriacited by 9
- 2021Analysing the Requirements for an Open Research Knowledge Graph: Use Cases, Quality Requirements and Construction Strategiescited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.