DataAtlas: automatic generation of data dictionaries using large language models
Abstract
Objectives: Reuse of shared datasets is often limited by incomplete or inconsistent documentation, hindering interpretation and secondary analysis. We developed DataAtlas, an open-source system for automated generation of data dictionaries from tabular datasets.
Materials and methods: DataAtlas combines deterministic structural profiling with large language model (LLM)-based semantic inference to generate human-readable descriptions of datasets, tables, and variables. The system integrates column metadata, statistical summaries, and representative sample values to produce concise, context-aware descriptions. We evaluated the approach on 3 heterogeneous clinical datasets using structural validation, blinded LLM-based comparison with official documentation, human expert review, and downstream task evaluation.
Results: Generated descriptions were frequently preferred over official documentation, particularly when existing descriptions were incomplete or ambiguous. Human expert review showed strong agreement with high-performing models, with most descriptions rated as correct and low rates of hallucination. The system accurately reconstructed schema elements and flagged inconsistencies in existing documentation. In a text-to-SQL benchmark, augmenting database schemas with generated data dictionaries improved execution accuracy from 0.52 to 0.88.
Discussion: Automated data dictionary generation improved both dataset interpretability and downstream analytical performances. Results…
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
Go deeper in Evidence Hub
Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.