Turning Raw Code Repositories into Gyms for AI Scientists
Original paper: POSEIDON: Scaling Training Environments for Scientific Agents from Code Repositories
"Imagine a master chef taking thousands of messy, disorganized recipe books from different restaurants and systematically transforming them into standardized cooking masterclasses for robotic sous-chefs. Instead of starting from scratch, the system parses existing code into step-by-step practical challenges like fixing a recipe, completing a missing step, or recreating a signature dish. This ensures the AI gets a diverse, high-volume diet of rigorous practice before it ever steps into a real-world kitchen."
AI models struggle to make scientific breakthroughs largely because they lack realistic, verifiable places to practice and test hypotheses. By unlocking a massive training library spanning ten scientific fields, this breakthrough paves the way for AI assistants that can autonomously accelerate breakthroughs in medicine, materials science, and physics.
- POSEIDON extracts nearly 10 times more training environments than prior methods.
- It generated Pearl, the largest multidisciplinary collection of scientific agent environments to date.
- AI models trained on Pearl show consistent gains across six major scientific benchmarks.
📑 Original arXiv Technical Abstract
Training environments remain a major bottleneck for agents in data-driven scientific discovery. Existing collections of executable and verifiable training environments are small, and their construction remains difficult to scale. To address this limitation, we introduce Poseidon, an automated pipeline for generating diverse, verifiable training environments from scientific code repositories at scale. From the same repository budget, Poseidon extracts nearly 10 times as many training environments as a prior approach by decomposing scientific workflows into four complementary task types: Reproduction, Subflow, Completion, and Correction, where each type targets a distinct capability for scientific research. A recursive improvement loop further refines failed candidates and recovers otherwise discarded environments. Using Poseidon, we construct Pearl, a collection of 97,659 executable and verifiable environments from 7,110 public repositories spanning 10 scientific disciplines. To the best of our knowledge, Pearl is the largest and most broadly multidisciplinary collection of scientific-agent training environments to date. Qwen3.5 models (9B, 27B, and 35B-A3B) trained on Pearl achieve consistent gains across six challenging scientific-agent benchmarks. Overall, the scale and diversity of Pearl offer opportunities for training scientific discovery agents.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.