mlsanityData to 14 Oct 2026

Programming with Data: Test-Driven Data Engineering for Self-Improving LLMs from Raw Corpora

arXiv 2604.24819 ↗First posted 27 Apr 2026cs.SE cs.AIcited by 1

On the map: Synthetic data and self-improvement for LLMs → Code and instruction data synthesis

Abstract (arXiv)

Reliably transferring specialized human knowledge from text into large language models remains a fundamental challenge in artificial intelligence. Fine-tuning on domain corpora has enabled substantial capability gains, but the process operates without feedback: when a model fails on a domain task, there is no method to diagnose what is deficient in the training data, and the only recourse is to add more data indiscriminately. Here we show that when a structured knowledge representation extracted from the source corpus serves as the shared foundation for both training data and evaluation, the complete data-engineering lifecycle maps onto the software development lifecycle in a precise and operative way: training data becomes source code specifying what the model should learn, model training becomes compilation, benchmarking becomes unit testing, and failure-driven data repair becomes debugging. Under this correspondence, model failures decompose into concept-level gaps and reasoning-chain breaks that can be traced back to specific deficiencies in the data and repaired through targeted patches, with each repair cycle producing consistent improvements across model scales and architectures without degrading general capabilities. We formalize this principle as Programming with Data and instantiate it across sixteen disciplines spanning the natural sciences, engineering, biomedicine, and the social sciences, releasing a structured knowledge base, benchmark suite, and training corpus as open resources. By demonstrating that the relationship between training data and model behaviour is structurally traceable and systematically repairable, this work establishes a principled foundation for the reliable engineering of human expertise into language models.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Code and instruction data synthesis, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 15 of its 48 references that are in the map. First posted on arXiv 27 Apr 2026.

Builds on

15 of 48 references.

References · 15

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  3. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
  4. 2023Textbooks Are All You Needcited by 569
  5. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
  6. 2023Reinforced Self-Training (ReST) for Language Modelingcited by 500
  7. 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 379
  8. 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 344
  9. 2023The False Promise of Imitating Proprietary LLMscited by 263
  10. 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 228
  11. 2023Don't Make Your LLM an Evaluation Benchmark Cheatercited by 194
  12. 2022Holistic Evaluation of Language Modelscited by 131
3 more
  1. 2023Can we trust the evaluation on ChatGPT?cited by 63
  2. 2025DataFlow: An LLM-Driven Framework for Unified Data Preparation and Workflow Automation in the Era of Data-Centric AIcited by 23
  3. 2025Evolving LLMs' Self-Refinement Capability via Synergistic Training-Inference Optimizationcited by 16

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Exploring Autonomous Agentic Data Engineering for Model Specialization
  2. 2026LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDB
  3. 2026Continually self-improving AI
  4. 2024Forewarned is Forearmed: Leveraging LLMs for Data Synthesis through Failure-Inducing Exploration
  5. 2026DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesis
  6. 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
  7. 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomy
  8. 2026Evaluating Local Language Model Agents for Reproducible Data Engineering: An Empirical Software Engineering Study of Mobility Workflows