Latest / Daily Paper Cast / ScienceIDE: Turning World's Scientific Codebase into Agent Learnable Environments
Transcript
- 0:03Evan: Welcome to Daily Paper Cast.
- 0:05Ashley: Today we cover a paper from the Hugging Face daily paper list of September 17, 2026, with 63 upvotes.
- 0:13Evan: The title of the paper is 'Turning World's Scientific Codebase into Agent Learnable Environments.'
- 0:20Ashley: The first two authors are Hejia Geng and Zesen Huang, with Yingcheng Wu as the corresponding author.
- 0:26This research is affiliated with the AItonomy Foundation.
- 0:30Evan: Alright, Ashley, let's dive into the Introduction section.
- 0:34Can you give us a brief background to start?
- 0:36Ashley: Of course.
- 0:37The paper begins by highlighting the increasing capabilities of language models as they gain more experience from various domains.
- 0:44For instance, using text data to support chat intelligence and coding tasks through repositories, compilers, and tests.
- 0:52Evan: So, what differentiates scientific intelligence from these other tasks?
- 0:58Ashley: While coding tasks specify problems with clear goals and acceptance tests, scientific discovery-oriented tasks are more complex.
- 1:06They require agents to identify valuable questions, test hypotheses with interventions, and draw lessons from the collected evidence.
- 1:14Evan: Got it.
- 1:15How does this complexity translate into practical challenges for learning models?
- 1:20Ashley: This complexity creates what the authors call a 'scientific experience bottleneck.’ Scientific codes come with heterogeneous toolchains and configurations that make reproducibility difficult.
- 1:31Scientific validation often depends on physical quantities, numerical tolerances, and unwritten conventions.
- 1:38Evan: So, how does ScienceIDE propose to address this bottleneck?
- 1:42Ashley: ScienceIDE aims to overcome this by converting scientific codes into programmable environments for agents.
- 1:49These environments are designed to encapsulate validated numerical models and executable checks, thus making the experience reusable for agent learning.
- 1:58Evan: Interesting.
- 1:59And what exactly are the main contributions of ScienceIDE according to the paper?
- 2:04Ashley: Great question.
- 2:05The key contributions of ScienceIDE are threefold.
- 2:08Firstly, it encapsulates expert-defined scientific cases and acceptance criteria into executable environments.
- 2:15Secondly, it provides a structured foundation for supervised fine-tuning, reinforcement learning, and evaluation of scientific tasks.
- 2:23Lastly, it lays the groundwork for integrating agent learning processes with scientific practice.
- 2:29Evan: That sounds like a comprehensive approach.
- 2:32How do the authors validate their model?
- 2:34Ashley: They train models named PhAI-IDE-72B, PhAI-IDE-9B, and PhAI-IDE-4B using the verified scientific interaction trajectories.
- 2:47The models demonstrate gains in scientific-code repair and perform well on selected general-purpose benchmarks, suggesting that scientific experience contributes positively to broader AI capabilities.
- 2:59Evan: That's intriguing.
- 3:00So, to wrap up this section, what are they ultimately hoping to achieve with ScienceIDE?
- 3:06Ashley: The ultimate aim is to make scientific software a shared substrate for developing scientific intelligence.
- 3:13This involves creating an integrated workspace where both agent learning and scientific practice can coexist and benefit from one another.
- 3:21Evan: Thanks, Ashley.
- 3:23So that covers the Introduction section of this paper.
- 3:25Next, we'll dive deeper into the methodology behind ScienceIDE.
- 3:31Evan: Now that we've covered the Introduction, let's discuss the Method section.
- 3:35Ashley, could you start us off by explaining how ScienceIDE turns scientific expertise into reusable agent experience?
- 3:42Ashley: Sure, Evan.
- 3:44According to the paper, ScienceIDE begins by defining scientific responsibilities and acceptance criteria through expert calibration.
- 3:52Each scientific module within a versioned codebase is transformed into an executable environment.
- 3:58This involves packaging a module with its runtime, tests, and a private verifier.
- 4:03Evan: Interesting.
- 4:04Can you explain what these modules include and how they are verified?
- 4:08Ashley: Certainly.
- 4:09Each module holds a coherent scientific responsibility and executable coverage, meaning it handles specific scientific tasks with dedicated input and output specifications.
- 4:20An agent inspects a pinned upstream revision of the code, builds the source, and runs official tests and examples.
- 4:27This process reveals output formats, numerical variabilities, and execution hazards.
- 4:33Evan: So it's more than just compiling and running tests; it's about understanding the nuances of each scientific problem.
- 4:40How do these modules become environments?
- 4:42Ashley: Exactly.
- 4:43After initial inspection, the agent proposes modules based on scientific responsibility.
- 4:49These are then reviewed by domain experts to ensure they cover all critical paths.
- 4:54Once approved, the modules are packaged into environments with editable workspaces, checks, and a private verifier.
- 5:01Evan: What kind of checks are we talking about?
- 5:04Ashley: The checks include running official tests and ensuring that scientific outputs align with known standards.
- 5:09They have a pointwise policy for comparing graded values and an invariants policy when a pointwise comparison isn't sufficient.
- 5:16These checks make sure that the agents adhere to scientific conventions and retain scientific integrity during their tasks.
- 5:23Evan: How do these environments help in generating tasks for agents?
- 5:27Ashley: Great question.
- 5:29Once an environment is set up, task factories generate specific tasks by leveraging reusable authoring procedures.
- 5:36These shared procedures involve reversible edits, execution, and artifact assembly.
- 5:41Local rules guide the specific paths and transformations that agents need to follow to complete tasks.
- 5:47Evan: Interesting.
- 5:48Can you give us examples of the types of tasks generated?
- 5:51Ashley: The tasks are divided into seven categories: Acceleration, Repair, Discovery, Reproduction, Integration, Calibration, and Implementation.
- 6:01For instance, a Repair task might involve fixing a defect identified in one part of the code, while an Acceleration task would focus on optimizing a specific function to run faster.
- 6:11Evan: How are these tasks validated?
- 6:14Ashley: Validation ensures that generated tasks are observable, solvable, and provide trustworthy outcomes.
- 6:21Each task undergoes execution checks and validation within its environment.
- 6:25Successful completion and adherence to scientific standards are necessary for a task to be accepted.
- 6:31Evan: So once tasks are validated, how do agents interact with these environments?
- 6:36Ashley: Agents interact with the environments through a common episode interface.
- 6:41They receive editable workspaces, inspect code and scientific inputs, make changes, run experiments, and submit their outputs to private verifiers.
- 6:50This process records actions, observations, rewards, execution status, and resource use to guide learning.
- 6:57Evan: And how do these interactions contribute to model learning?
- 7:01Ashley: The interaction data serves multiple purposes.
- 7:04For evaluation, held-out tasks and fixed budgets measure the agents' success rates.
- 7:09For supervised fine-tuning, selected trajectories help in training new models.
- 7:14And for reinforcement learning, it provides online rewards to improve policies.
- 7:19Evan: Can you tell us more about the environments used for training and validation tasks?
- 7:24Ashley: The paper reports 64 environments derived from 27 scientific codebases, supporting 2,812 tasks.
- 7:32Among these, repair and implementation are the most common, contributing to nearly all tasks, with a few acceleration tasks added.
- 7:40Each environment specifies the workload an acceleration task must speed up, providing a detailed and focused training ground.
- 7:48Evan: You mentioned earlier about the validation and budgets.
- 7:51Could you expand on the budget aspects?
- 7:54Ashley: Budget response profiles are tailored to model families.
- 7:57They analyze the efficiency of resource usage, indicating how long models take to solve tasks and how success rates align with resource expenditure.
- 8:06This helps in understanding how resource-efficient each model is while maintaining scientific accuracy.
- 8:12Evan: Anything notable about how different models performed on these tasks?
- 8:17Ashley: Yes, the paper highlights that different models show varied success rates and resource efficiencies.
- 8:22For example, the Fable 5.1 model showed a higher success rate in less time compared to other models.
- 8:29This detailed analysis helps in refining the training and deployment strategies for these models.
- 8:34Evan: Thanks for that detailed breakdown, Ashley.
- 8:37Anything else to add before we wrap up the Methods section?
- 8:40Ashley: Just to emphasize that the core of ScienceIDE's method is creating a robust framework for agent learning in scientific fields.
- 8:47By formalizing and validating interactions in these programmable environments, the method ensures that the agents’ learning is both scientifically accurate and practically relevant.
- 8:57Evan: That wraps up our deep dive into the Method section.
- 9:01Thanks, Ashley.
- 9:03Evan: Alright, Ashley.
- 9:04We've covered the Introduction and Methods sections.
- 9:07Now, let's delve into the Experiment and Results section of the paper.
- 9:11How do the authors evaluate the effectiveness of ScienceIDE?
- 9:15Ashley: The authors employ a comprehensive experimental setup to evaluate both scientific task execution and the benefits of learning from scientific interactions.
- 9:25They use ScienceIDE-Hard, a validated subset of 85 hard tasks derived from five repository families: PLUTO, Athena++, MITgcm, LAPS, and PHANTOM.
- 9:37Evan: What types of tasks are included in ScienceIDE-Hard?
- 9:42Ashley: ScienceIDE-Hard includes 52 repair and 33 implementation tasks.
- 9:47These tasks require agents to correct defective code, reconstruct missing functionality, and deliver specific scientific outputs that are precisely aligned with private scientific references.
- 9:58Evan: How do the authors measure success and document the model comparisons?
- 10:03Ashley: The primary metric for evaluation is strict scientific success, defined as achieving full repair reward or agreement with the private scientific references.
- 10:13Incomplete or budget-exhausted deliveries are considered unsuccessful.
- 10:18Evan: Interesting.
- 10:19They also compare multiple models, right?
- 10:21Ashley: Exactly.
- 10:22They compare fifteen models from eight providers, using different harnesses like Codex, Claude Code, and Gemini CLI.
- 10:30Each model gets the same task-specific container and instructions, with a one-hour episode budget.
- 10:35This setup allows the authors to compare the model-harness systems under identical task interfaces.
- 10:41Evan: What were the key findings from these comparisons?
- 10:45Ashley: Fable 5.1 achieved the highest observed success rate at 67.1%, followed by Opus 5 and Astra at 64.6% and 63.1%, respectively.
- 10:57Despite these high success rates, the leading models left roughly one third of the tasks unsolved within the given budget.
- 11:04Evan: That's a significant portion.
- 11:06What's interesting about how these models allocate their budgets?
- 11:10Ashley: The paper presents budget-response profiles that show how quickly different models solve scientific tasks.
- 11:15For example, Astra reaches 49.6% success in the first ten minutes against Fable’s 25.9%, but Fable eventually overtakes Astra around the 31-minute mark.
- 11:27Evan: That suggests different efficiency dynamics.
- 11:31How about resource use and cost efficiency?
- 11:34Ashley: Indeed, the paper notes that more expenditure doesn't guarantee greater success.
- 11:39For instance, Fable achieves 67.1% success at an estimated $7.90 per task, while Astra achieves 63.1% at $3.56 per task.
- 11:51Resource use and scientific correctness are distinct dimensions, and profiling helps understand these trade-offs.
- 11:57Evan: So, what did the authors learn from scientific interaction trajectories, and how did they use this data?
- 12:04Ashley: The authors record scientific interaction trajectories, including how models inspect code, use tools, and respond to execution feedback.
- 12:12They found that learning from these demonstrations improves scientific-code repair and transfers positively to public benchmarks.
- 12:20Evan: And how is this improvement measured?
- 12:23Ashley: They fine-tuned models like Qwen3.5-4B, Qwen3.5-9B, and Qwen2.5-72B-Instruct on verified ScienceIDE demonstrations.
- 12:35Each final checkpoint demonstrated higher scientific repair rewards across various scientific environments, alongside gains on public benchmarks in code, reasoning, and knowledge tasks.
- 12:46Evan: That seems promising.
- 12:48Do these benchmarks cover a wide range of evaluations?
- 12:52Ashley: Yes, they cover scientific knowledge, mathematical reasoning, code understanding, repair, and generation.
- 12:59Within each model pair, both checkpoints are evaluated under identical conditions, showing considerable improvements in various tasks.
- 13:07Evan: What about reinforcement learning?
- 13:09How does it tap into this environment?
- 13:11Ashley: The scientific environments also provide verifier feedback directly as RL rewards.
- 13:17For instance, they tested Qwen3.5-4B using two environments: LAPS and MITgcm-biogeo.
- 13:24The RL feedback substantially improved the held-out scientific reward, with notable increases in training reward and reductions in budget truncation.
- 13:33Evan: That sounds like a robust improvement strategy.
- 13:36This approach seems quite effective for long-horizon scientific tasks.
- 13:40Ashley: The paper reports concurrent gains in reward and reductions in truncation, supporting verifier-guided scientific repair.
- 13:48This translates into higher training and held-out rewards and less truncation, which ultimately benefits the policy optimization.
- 13:56Evan: Thanks, Ashley.
- 13:57So that concludes our detailed coverage of the Experiment and Results section.
- 14:03Evan: Okay, Ashley.
- 14:04Let’s move on to the Related Work section of the paper.
- 14:08How does this research fit into the broader landscape of AI and scientific inquiry?
- 14:13Ashley: This paper bridges two complementary directions in AI and science.
- 14:17The first is AI for Science, where models and agents are used for scientific prediction, computation, and discovery.
- 14:24The second is Science for AI, which draws on scientific ideas, data, and environments to develop AI capabilities.
- 14:32Evan: That makes sense.
- 14:33Can you describe some examples of AI for Science mentioned in the paper?
- 14:38Ashley: Sure.
- 14:38Among the specialist scientific models, they mention protein structure prediction, PDE learning through neural operators, and weather forecasting.
- 14:47Each of these models develops domain-specific capabilities by leveraging specialized data and objectives.
- 14:54Evan: And what about scientific discovery through agents?
- 14:57Any interesting advancements there?
- 15:00Ashley: Yes, definitely.
- 15:01For mathematics, physics, and biology, we see advancements like Claude’s computer-checked Fermat formalization and GPT-5.2’s gluon-amplitude conjecture.
- 15:11There are also reports on GPT-5's contributions to an Erdős problem and an immune-cell mechanism.
- 15:18AlphaEvolve further extends program-search approaches to mathematical discovery.
- 15:23Evan: What about applications beyond these specific cases?
- 15:27Ashley: There are broader AI frameworks aimed at autonomous scientific research.
- 15:31Examples include biological hypotheses generation, like Robin’s ripasudil proposal for macular degeneration, which was tested experimentally.
- 15:40Kosmos has reported on broader scientific discoveries as well.
- 15:43Evan: It seems like scientific agents are making significant strides.
- 15:48How does this paper position itself among these efforts?
- 15:51Ashley: The key difference here is the creation of reusable execution and verification interfaces.
- 15:56This allows the Scientific cases handled by their environments to be used across different tasks and models.
- 16:02The emphasis is on making scientific workflows not just executable but also verifiable and reusable for learning purposes.
- 16:10Evan: What about evaluating these scientific capabilities?
- 16:14How does this paper approach that?
- 16:16Ashley: Evaluation settings differ significantly.
- 16:19Some notable mentions are SciCode, ScienceAgentBench, and LAB-Bench, which are all curated problem sets meant to measure scientific capabilities.
- 16:28There are also broader scientific benchmarks like CORE-Bench and PaperBench that focus on the reproduction of existing results.
- 16:35Evan: Interesting.
- 16:36Do they mention any specific benchmarks related to software tasks?
- 16:41Ashley: Yes, one closely related benchmark is AInsteinBench, which sources maintainer pull requests from scientific repositories, focusing on test suite structure and difficulty annotation.
- 16:52Another is SWE-bench Science, which highlights how software tests alone can under-specify scientific requirements.
- 17:00Evan: So how does ScienceIDE distinguish itself from these benchmarks?
- 17:04Ashley: ScienceIDE focuses on creating an ecosystem where scientific modules are defined, validated, and reused across different tasks and models.
- 17:13It transforms expert verification into executable environments that can be scaled and adapted for various applications.
- 17:21This is a step beyond static benchmarks, offering dynamic interaction and feedback.
- 17:26Evan: That sounds like a powerful framework.
- 17:29How does Science for AI fit into all of this?
- 17:32Ashley: Science for AI involves integrating scientific data, concepts, and evaluations into AI development.
- 17:39Statistical mechanics, for example, have inspired energy-based models, and various scientific datasets have supported the pretraining of language models.
- 17:48These contribute to creating environments where AI can learn from scientific interactions.
- 17:53Evan: What about interactive learning environments?
- 17:56Ashley: Interactive learning environments separate environments, actions, and optimization processes.
- 18:02There are several precedents in game-based, procedural, embodied, and web-based settings.
- 18:07Language-model agent suites like SWE-Gym and R2E-Gym provide verifiable tasks and agent supervision through interactive coding and dynamic benchmarks.
- 18:17These environments extend to formal mathematics, where proof-checker feedback simulates learning from experience.
- 18:23Evan: So it’s about bringing these principles into the scientific domain?
- 18:28Ashley: Exactly.
- 18:29Making scientific experience reusable involves the same concepts—defining clear, verifiable interactions that translate into meaningful learning episodes.
- 18:39The ScienceIDE approach tailors these mechanisms specifically for scientific tasks.
- 18:44Evan: Thanks, Ashley.
- 18:45That was very thorough.
- 18:47So there you have it, folks, the Related Work section of the paper.
- 18:52Evan: Alright, Ashley, we've explored the Introduction, Methods, Experiments, and Related Work sections of this paper.
- 18:59Let’s wrap up by summarizing the key contributions and takeaways.
- 19:03Ashley: Sure, Evan.
- 19:05One of the main contributions of ScienceIDE is that it turns scientific codebases into programmable environments that can be used for agent learning.
- 19:13By encapsulating scientific cases and acceptance criteria defined by experts, it creates reusable and executable environments.
- 19:22Evan: And this addresses the scientific experience bottleneck, right?
- 19:26Ashley: Exactly.
- 19:27This bottleneck exists because scientific codes often come with complex toolchains and configurations, making reproducibility difficult.
- 19:36By turning these codes into structured environments, ScienceIDE aims to overcome these challenges.
- 19:42Evan: Another key point is the integration of these environments into supervised fine-tuning and reinforcement learning setups, which enhance model capabilities through scientifically validated interactions.
- 19:54Ashley: That's right.
- 19:55The experimental results show that models adapted from ScienceIDE environments perform better in scientific-code repair tasks and general-purpose benchmarks.
- 20:04This indicates positive transfer from scientific experience to broader AI capabilities.
- 20:09Evan: This comprehensive approach not only helps in model learning but also aims to make scientific software a shared substrate for developing scientific intelligence.
- 20:19It creates an integrated workspace where both agent learning and scientific practice can coexist.
- 20:25Ashley: The next steps for ScienceIDE include broadening scientific coverage and testing transferability across different codebases and task families.
- 20:34Open-ended research aims to accommodate more complex scientific hypotheses and outcomes.
- 20:39Evan: Thanks for that summary, Ashley.
- 20:41And thank you to our listeners for joining us today on this deep dive into ScienceIDE.
- 20:46If you found this episode insightful, do check out the original paper for more detailed findings.
- 20:52We hope you enjoyed today's episode.
- 20:54Ashley: We’ll be back with more fascinating papers from the Hugging Face daily list.
- 20:59Don’t forget to subscribe and join us every day for your dose of AI research.
- 21:04See you next time!