D3-Gym: Constructing Real-World Verifiable Environments for Data-Driven Discovery

Hanane Nour Moussa, Yifei Li, Zhuoyang Li, Yankai Yang, Cheng Tang +5 more
4/30/2026
4 citations
cs.AIcs.LG

Official code: OSU-NLP-Group/D3-Gym (9 stars, Python, MIT, last commit 2026-05-20).

Abstract

Despite recent progress in language models and agents for scientific data-driven discovery, advancing their capabilities is held back by the absence of verifiable environments representing real-world scientific tasks. To fill this gap, we introduce D3-Gym, the first automatically constructed dataset with verifiable environments for scientific Data-Driven Discovery.

Show full abstract

D3-Gym comprises 565 tasks from 239 real scientific repositories across four disciplines, each with a natural language instruction, an executable environment with pre-installed dependencies, dataset previews, a reference solution, and an automatically synthesized evaluation script. Our evaluation scripts achieve 87.5% agreement with human-annotated gold standards and strong alignment in domain-specific evaluation logic. Training on trajectories sampled from D3-Gym yields consistent gains across Qwen3 models on ScienceAgentBench, boosting Qwen3-32B by 7.8 absolute points and shrinking the gap with strong proprietary models. We further illustrate, through case studies, how D3-Gym environments can serve as a testbed for studying agentic optimization loops such as Autoresearch on real scientific workflows. We open-source D3-Gym, its creation workflow, sampled trajectories, and training scripts at https://github.com/OSU-NLP-Group/D3-Gym.

View on arXivView PDF

Code Implementations(1)

MIT

Official code and data for the paper "D3-Gym: Constructing Real-World Verifiable Environments for Data-Driven Discovery"

90PythonApr 26, 20266 months agoMIT

Similar Papers

Cite this paper

@article{moussa2026dgym,
  title  = {D3-Gym: Constructing Real-World Verifiable Environments for Data-Driven Discovery},
  author = {Hanane Nour Moussa and Yifei Li and Zhuoyang Li and Yankai Yang and Cheng Tang and Tianshu Zhang and Nesreen K. Ahmed and Ali Payani and Ziru Chen and Huan Sun},
  year   = {2026},
  eprint = {2604.27977},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.27977v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.27977.svg)](https://codeofpaper.com/paper/2604.27977)

Discussion