NeutronGym: Physics-Graded Neutron Instrument Design for LLM Agents
On the map: LLM agents and tool use → Educational agents and math problem solving also fits: Software engineering coding agents
Abstract (arXiv)
Designing a scientific instrument tests whether language-model agents can do physics rather than recall it, provided the grading cannot be argued with. We introduce NeutronGym, to our knowledge the first executable environment for neutron instrument design: agents build instruments through validating tools, McStas ray-traces what they build, and a level-resolved ladder grades syntax, runtime, structure and science with no LLM judge. Procedural families supply unlimited instances of a fixed layout whose design parameters the agent must set, with held-out parameter regimes; a curated slice, McStasBench, adds 16 tasks from published instruments behind memorization probes and a sandbox. Seven models reproduce at most 7 of the 16, none retrieves a reference, and none meets an improvement target. The environment also trains. Reinforcement learning on its reward takes Qwen3-8B from 11% to 77% of held-out instances of a family whose targets come from a hidden design (69% at a second seed), past an untrained Qwen3-32B, and the recipe holds, at one seed each, on three further gated families. The analysis says what that gain is. Without the ladder's partial credit it collapses by 60 points. From reward alone the trained model reaches what a classical optimizer reaches, at the agent's simulation budget, only when handed the closed-form physics (77% against 81%, a gap that does not separate at this size), while frontier models still solve 98-99%. Getting a trustworthy result meant failing four task designs that no-model baselines could solve, and we release the probes that found them.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 43 of its 84 references that are in the map. First posted on arXiv 2 Oct 2026.
Builds on
43 of 84 references.
References · 43
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
- 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 349
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 336
- 2024ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discoverycited by 235
- 2023ReST meets ReAct: Self-Improvement for Multi-Step Reasoning LLM Agentcited by 81
- 2024Feedback Loops With Language Models Drive In-Context Reward Hackingcited by 77
- 2025RLVE: Scaling Up Reinforcement Learning for Language Models with Adaptive Verifiable Environmentscited by 50
31 more
- 2025El Agente: An Autonomous Agent for Quantum Chemistrycited by 44
- 2025GenEnv: Difficulty-Aligned Co-Evolution Between LLM Agents and Environment Simulatorscited by 42
- 2026Reward Hacking Benchmark: Measuring Exploits in LLM Agents with Tool Usecited by 31
- 2026LLMs Gaming Verifiers: RLVR can Lead to Reward Hackingcited by 28
- 2025GEM: A Gym for Agentic LLMscited by 23
- 2025Toward Engineering AGI: Benchmarking the Engineering Design Capabilities of LLMscited by 20
- 2025BoxingGym: Benchmarking Progress in Automated Experimental Design and Model Discoverycited by 18
- 2025MooseAgent: A LLM Based Multi-agent Framework for Automating Moose Simulationcited by 17
- 2026Frontier-Eng: Benchmarking Self-Evolving Agents on Real-World Engineering Tasks with Generative Optimizationcited by 16
- 2026SciAgentGym: Benchmarking Multi-Step Scientific Tool-use in LLM Agentscited by 15
- 2026Hack-Verifiable Environments: Towards Evaluating Reward Hacking at Scalecited by 10
- 2025BeyondBench: Contamination-Resistant Evaluation of Reasoning in Language Modelscited by 8
- 2026MDAgent2: Large Language Model for Code Generation and Knowledge Q&A in Molecular Dynamicscited by 7
- 2026Collider-Bench: Benchmarking AI Agents with Particle Physics Analysis Reproductioncited by 7
- 2026Before the Model Learns the Bug:Fuzzing RLVR Verifierscited by 7
- 2026GRACE: an Agentic AI for Particle Physics Experiment Design and Simulationcited by 6
- 2026When Is an LLM Worth It for Hyperparameter Optimization? A Budget-Matched Study on Tabular Data Finds the Warm-Start Is a Default Configuration, Not the Modelcited by 5
- 2026MDGYM: Benchmarking AI Agents on Molecular Simulationscited by 4
- 2024Physics Instrument Design with Reinforcement Learningcited by 3
- 2026OPTIAGENT: A Physics-Driven Agentic Framework for Automated Optical Designcited by 3
- 2026Stargazer: A Scalable Model-Fitting Benchmark Environment for AI Agents under Astrophysical Constraintscited by 3
- 2026Large Language Models for Physics Instrument Designcited by 2
- 2026NeuDiff Agent: A Governed AI Workflow for Single-Crystal Neutron Crystallographycited by 2
- 2026OPT-BENCH: Evaluating the Iterative Self-Optimization of LLM Agents in Large-Scale Search Spacescited by 2
- 2026Auto-Configuring Scientific Simulators with Lightweight Coding-Agent Adapterscited by 2
- 2026Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewardscited by 2
- 2025EnvTrace: Simulation-Based Semantic Evaluation of LLM Code via Execution Trace Alignment -- Demonstrated at Synchrotron Beamlinescited by 1
- 2026InfiniteScienceGym: An Unbounded, Procedurally-Generated Benchmark for Scientific Analysiscited by 1
- 2026D3-Gym: Constructing Real-World Verifiable Environments for Data-Driven Discoverycited by 1
- 2026EnvSimBench: A Benchmark for Evaluating and Improving LLM-Based Environment Simulationcited by 1
- 2026ColPackAgent: Agent-Skill-Guided Hard-Particle Monte Carlo Workflows for Colloidal Packingcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Toward Greater Autonomy in Materials Discovery Agents: Unifying Planning, Physics, and Scientists
- 2025Chain of Unit-Physics: A Primitive-Centric Approach to Scientific Code Synthesis
- 2025PhysMaster: Building an Autonomous AI Physicist for Theoretical and Computational Physics Research
- 2026Witness: Discovery, Deciphering, and Epiphany in Interactive Puzzle Environments
- 2026Harnessing agent memory to build lifelong AI partners for materials scientists
- 2026Fantastic Scientific Agents and How to Build Them: AgentBuild for Rietveld Refinement
- 2025Can Theoretical Physics Research Benefit from Language Agents?
- 2025PARC: An Autonomous Self-Reflective Coding Agent for Robust Execution of Long-Horizon Tasks