Scrub Data:用 AI 编码代理实现可复现数据整理的框架
Scrub Data: A Framework for Reproducible Data Curation with AI Coding Agents
Scrub Data 框架让 AI 代理参与数据整理,同时通过数据溯源图追踪并版本化所有数据集更新,保持可复现性与可验证性。该框架要求每次更新都格式化为自包含的可执行步骤,任意版本数据集均可从原始数据重放变换重建。在动物运动生态学案例中,团队从 89M 条原始 GPS 坐标整理出 2.5M 条坐标的基准数据集。
arXiv:2611.28003v1 Announce Type: cross Abstract: Data curation---the process of collecting, cleaning, and joining raw datasets for unified analysis---is a time-consuming yet crucial part of any data science project. With the emergence of powerful agentic coding tools, it is tempting to "vibe curate"---i.e., to prompt AI agents to perform data curation operations and blindly trust their outputs in order to finish work more quickly. However, this can exacerbate two key challenges that already plague manual data curation workflows: reproducibility---the ability to trace the exact set of modifications applied to raw datasets---and verifiability---the ability to audit changes and confirm that data is processed properly. To address these issues, we introduce Scrub Data, a framework that enables the use of AI agents in data curation workflows while transparently maintaining both reproducibility and verifiability. The framework involves an interactive data curation loop between a user and an AI agent, backed by a data provenance graph that tracks and versions all dataset updates. The data graph requires that all updates are formatted as self-contained executable steps, allowing any version of a dataset to be reconstructed from raw data by playing forward the transformations stored in the graph. This workflow takes place within a lightweight web application that is designed to be modified by users and agents in real-time to create custom visualization tools for identifying data curation needs and verifying outcomes. We demonstrate the usefulness of the framework with a real data curation use case from animal movement ecology. Starting with 89M raw GPS coordinates, we use the framework to curate a benchmark dataset of 2.5M coordinates to be used for machine learning or statistical analysis. The framework is available for use and extension at https://github.com/justinkay/scrubdata.
来源:arXiv (AI + Vision + Imaging) · arxiv.org