Source note3 min read

Agentic coding without the cloud: evaluating open-weight large language models on longitudinal data preparation tasks

Source

arXiv

arxiv.org/abs/2607.21482v1

Read the source

Source

Plain-Language Brief

Researchers have developed an open-source framework for evaluating the effectiveness of AI agents powered by open-weight large language models in data preparation tasks, specifically focusing on longitudinal population studies. The framework includes a curated ground-truth dataset, task definitions, and automated routines for assessing the AI-produced R code and outputted data. Tests showed that state-of-the-art, 31-35B parameter models performed well, with open-weight LLMs running on consumer-grade hardware showing promise for AI-assisted data preparation in research settings with governance restrictions.

What the Document Says

  • Researchers developed an open-source framework for evaluating AI agents powered by open-weight large language models (LLMs).
  • The focus is on data preparation tasks related to longitudinal population studies.
  • The framework includes a curated ground-truth dataset, task definitions, and automated routines for assessing R code and outputted data.
  • Tests were conducted on 20 data preparation tasks involving the creation of 102 variables.
  • State-of-the-art, 31-35B parameter models showed high performance with an 'average task completion' up to 87.9%.
  • Open-weight LLMs running on consumer-grade hardware showed promise for AI-assisted data preparation in research settings with governance restrictions.

Key Concepts Mentioned

  • Large language models (LLMs)
  • AI agents
  • Data preparation
  • Longitudinal population studies
  • Governance requirements
  • Open-weight LLMs
  • Consumer-grade hardware

Claims Made by the Document

  • Open-source framework for evaluating AI agents powered by open-weight LLMs.
  • High performance of state-of-the-art, 31-35B parameter models.
  • Promise of open-weight LLMs running on consumer-grade hardware for AI-assisted data preparation in governance-restricted research settings.

Evidence Used

  • Description of the developed framework
  • Details of the tests and results

Methods / Approach

  • Tests were conducted on various data preparation tasks using the developed open-source framework

Limitations Stated by the Authors

The paper does not discuss potential limitations or challenges in implementing this framework beyond governance restrictions.

Limitations Noted by the Agent

Agent interpretation — not from the source.

The model may have difficulty understanding potential implementation challenges or limitations beyond those explicitly discussed by the authors.

Open Questions

  • What are some potential implementation challenges for this framework?
  • How does the performance of open-weight LLMs compare to other methods in data preparation tasks?

Notes for Future Q&A

May include interpretation. Labeled where it does.

The research focuses on the efficacy of AI agents powered by open-weight large language models in data preparation tasks, particularly for longitudinal population studies. It discusses a framework for evaluating these models and presents results from tests conducted on consumer-grade hardware.

Raw Abstract / Excerpt

Large language models (LLMs) and agents are now widely used tools in code development, with data typically sent to third-party cloud-based models. Their adoption in research using personal data is constrained by governance requirements that typically prohibit data transmission to external services. Locally deployable open-weight models offer an alternative since sensitive data never leave the local environment. We introduce an open-source framework for evaluating the efficacy of AI agents powered by open-weight LLMs on one of the most persistent bottlenecks in research on longitudinal population studies: data preparation. The framework comprises: a curated ground-truth dataset (cleaning scripts preparing six sweeps of data from a British cohort study), task definitions encompassing tasks such as category harmonization and multi-wave merging, and automated routines for evaluating the LLM-produced R code and outputted data. We benchmark LLMs across the (consumer grade) deployment spectrum to assess their efficacy in 20 data preparation tasks (creation of 102 variables). Current state-of-the-art, 31-35B parameter models almost saturated our benchmark ('average task completion' up to 87.9%). The performance of open-weight LLMs running on consumer-grade hardware shows promise of a viable path toward AI-assisted data preparation in governance-restricted research settings. Our framework is publicly available at: https://github.com/UCL-ARC/RRBench.