mlsanityData to 7 Oct 2026

Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewards

arXiv 2607.10474 ↗First posted 11 Jul 2026cs.LG cs.AI cs.CEcited by 0

Not on the map. Why?

Abstract (arXiv)

Partial differential equations (PDEs) are foundational to modeling in science and engineering, but constructing reliable numerical solvers remains labor-intensive, demanding expert knowledge of discretization schemes, stability conditions, and boundary treatments. Recent work has begun to frame PDE solving as a code-generation task for large language models (LLMs), yet existing approaches operate primarily at inference time: relying on prompting, debugging, self-refinement, and test-time scaling rather than adapting the model itself. In parallel, reinforcement learning with verifiable rewards has emerged as a post-training paradigm for code and math reasoning, but its verifiers are typically binary: a compiler runs, or a test passes. Such signals discard the graded structure of scientific correctness, where two solvers may both execute and yet differ in solution accuracy by orders of magnitude. In this work, we introduce RLVP: Reinforcement Learning with Verifiable Physics, an RL post-training framework for multi-PDE solver code generation. RLVP addresses this verifiability gap with a hybrid verifier: hard program-validity checks ensure executability, while continuous physics rewards score function-space accuracy and PDE-residual consistency. A single policy is post-trained across diverse PDE families spanning hyperbolic, parabolic, elliptic, and incompressible-flow systems. RLVP improves over both pre-trained and supervised-only baselines on PDE benchmarks, and shows zero-shot improvement transfer to held-out PDEs. We show that a smaller LLM post-trained with RLVP can outperform prompting a frontier model on in-distribution PDE solver generation. The trained policy shows evidence of compositionality in numerical motifs: it recombines stencils, time-stepping schemes, and boundary-handling primitives learned from the PDEs used in training into generated solvers for unseen PDE problems.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 38 of its 78 references that are in the map. First posted on arXiv 11 Jul 2026.

Builds on

38 of 78 references.

References · 38

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  7. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
  8. 2021Program Synthesis with Large Language Modelscited by 3,509
  9. 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,806
  10. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  11. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  12. 2019DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operatorscited by 1,965
26 more
  1. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
  2. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  3. 2021Measuring Coding Challenge Competence With APPScited by 879
  4. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
  5. 2022PDEBENCH: An Extensive Benchmark for Scientific Machine Learningcited by 396
  6. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  7. 2024SciCode: A Research Coding Benchmark Curated by Scientistscited by 172
  8. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
  9. 2025Beyond Binary Rewards: Training LMs to Reason About Their Uncertaintycited by 107
  10. 2024DiffusionPDE: Generative PDE-Solving Under Partial Observationcited by 100
  11. 2025Physics-Constrained Flow Matching: Sampling Generative Models with Hard Constraintscited by 46
  12. 2024MetaOpenFOAM: an LLM-based multi-agent framework for CFDcited by 39
  13. 2025CodePDE: An Inference Framework for LLM-driven PDE Solver Generationcited by 37
  14. 2025PDE-Controller: LLMs for Autoformalization and Reasoning of PDEscited by 23
  15. 2025FEABench: Evaluating Language Models on Multiphysics Reasoning Abilitycited by 21
  16. 2025PINNsAgent: Automated PDE Surrogation with Large Language Modelscited by 17
  17. 2025MooseAgent: A LLM Based Multi-agent Framework for Automating Moose Simulationcited by 16
  18. 2026ALL-FEM: Agentic Large Language models Fine-tuned for Finite Element Methodscited by 12
  19. 2025Lang-PINN: From Language to Physics-Informed Neural Networks via a Multi-Agent Frameworkcited by 11
  20. 2025End-to-End Probabilistic Framework for Learning with Hard Constraintscited by 8
  21. 2025PDE-Agent: A toolchain-augmented multi-agent framework for PDE solvingcited by 7
  22. 2026AutoNumerics: An Autonomous, PDE-Agnostic Multi-Agent Pipeline for Scientific Computingcited by 7
  23. 2025SciML Agents: Write the Solver, Not the Solutioncited by 5
  24. 2026Agentic Scientific Simulation: Execution-Grounded Model Construction and Reconstructioncited by 4
  25. 2025ChronoLLM: Customizing Language Models for Physics-Based Simulation Code Generationcited by 3
  26. 2026Solving Physics Olympiad via Reinforcement Learning on Physics Simulatorscited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025VerIF: Verification Engineering for Reinforcement Learning in Instruction Following
  2. 2026BeamPERL: Parameter-Efficient RL with Verifiable Rewards Specializes Compact LLMs for Structured Beam Mechanics Reasoning
  3. 2026Large language models for partial differential equation workflows
  4. 2026VERIFY-RL: Verifiable Recursive Decomposition for Reinforcement Learning in Mathematical Reasoning
  5. 2025Towards Reasoning for PDE Foundation Models: A Reward-Model-Driven Inference-Time-Scaling Algorithm
  6. 2026QuantumQA: Enhancing Scientific Reasoning via Physics-Consistent Dataset and Verification-Aware Reinforcement Learning
  7. 2025Extending RLVR to Open-Ended Tasks via Verifiable Multiple-Choice Reformulation
  8. 2025Trust, But Verify: A Self-Verification Approach to Reinforcement Learning with Verifiable Rewards