- Rating
- 5
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
RLVP is a two-stage post-training recipe that teaches code-generating LLMs to write numerical PDE solver programs and grades them by executing the generated code and comparing the resulting numerical solution to a hidden reference. Stage 1 is supervised fine-tuning on a curated "solver bank" of teacher implementations spanning eight PDE families. Stage 2 is GRPO reinforcement learning in which each sampled solver program is run in a sandbox and scored by a reward : a hard binary validity gate (executes / correct output shape / finite values) multiplied by continuous factors, a trajectory-accuracy term measuring the normalized space–time error against a hidden numerical reference, plus an optional residual-consistency term . A single policy is trained jointly across hyperbolic, parabolic, elliptic, and incompressible-flow PDEs in 1D and 2D at 3B/7B/14B scale (Qwen2.5-Coder-Instruct). The paper reports that RLVP improves over base and SFT checkpoints across all three sizes. Also, that small RLVP models match or exceed much larger frontier models under a fixed minimal-prompt direct-generation protocol, and that there is selective zero-shot transfer to ten held-out PDEs, with qualitative evidence of numerical-motif reuse. Appendix C reframes the continuous reward as the expected pass-rate of a binary verifier whose acceptance tolerance is drawn from an exponential distribution, , connecting it to Metropolis acceptance and maximum-entropy RL.
Strengths and weaknesses
Strengths: The central observation is genuinely good and clearly motivated: PDE correctness is 'graded', not binary. Two solvers can both execute yet differ in accuracy by orders of magnitude. So binary RLVR verifiers discard most of the useful signal. The hybrid verifier that hard-gates a continuous, method-agnostic function-space accuracy signal is a clean response, and because it scores the returned 'field' rather than the code, it is agnostic to which numerical scheme the model emits. The Appendix C derivation is the strongest theoretical element: showing that the soft reward is exactly the expected pass-rate of a binary verifier under a stochastic exponential tolerance turns what could read as an arbitrary heuristic into something principled, and the maximum-entropy (Metropolis) framing is apt.
On significance, training one policy jointly across hyperbolic, parabolic, elliptic, and incompressible-flow families is a real step beyond per-equation specialization, and the headline result: small post-trained models matching or exceeding far larger frontier models under a fixed protocol, is striking and relevant.
Reproducibility is a notable strength once the supplementary material is taken into account: it includes the full local pipeline (SFT+GRPO runners, all eight solver banks, the evaluation harness with prompt sets, reference builders and sandbox, the MMS / self-convergence / PDEBench cross-validation harnesses, the validity / physics / accuracy-scaling ablation configs, and SLURM launchers), with a fixed seed, so the local-model results, the verification protocol of Appendix B.3, and the validity ablation are runnable. The compositional-transfer analysis with code-level examples (Fig. 5, App. F) is a nice qualitative addition, and clarity overall is good.
The pipeline figure and the Base/SFT/RLVP progression are easy to follow.
Weaknesses: My main concern is the framing and verifiability of the headline comparison. The abstract claims a small model can "outperform prompting a frontier model," but the frontier baselines are run under a deliberately minimal-prompt direct-generation protocol with no inference-time scaffolding, while the paper's own related-work section stresses that methods such as CodePDE obtain their reliability precisely through refinement, debugging loops, and test-time scaling. Comparing a task-specialized post-trained model against frontier models stripped of the very techniques that make them competitive is close to apples-to-oranges. The honest, narrower claim is that 'under a fixed minimal-prompt direct-generation protocol', post-training helps a great deal. This is compounded by two facts: the single most relevant baseline 'RLVP' versus an inference-time-refinement method on the same evaluation is never reported, and the supplementary material contains no harness or API client for the frontier models, so the central "beats frontier models" comparison cannot be independently reproduced from what is provided (the local-model pipeline is fully reproducible; the frontier side is not).
Statistical rigor is thin for the strength of the claims, and the released artifacts now confirm several causes. Training uses a single fixed seed (1234) throughout, evaluation grids are small and coarse (incompressible Navier–Stokes is evaluated at , reaction–diffusion-2D and Darcy at ), so versus reference is a comparatively weak bar on the hardest problems. And the training reward and the evaluation metric are the same reference-nRMSE quantity, so pass@k gains are partly a smooth-versus-thresholded view of the optimized objective. The main result tables report point estimates with no seed variance, while the per-PDE tables show high variability and at least one striking non-monotonicity (Table 16), and 14B aggregate unseen pass@8 actually regresses from SFT (0.60) to RLVP (0.50), under-explained, given the transfer narrative is built largely on the 7B result.
The remaining concerns are smaller. The compositionality claim is overstated relative to the evidence, which is qualitative and correlational and cannot distinguish genuine recombination from retrieving the nearest seen template when a held-out PDE is close to a training family; the authors' own hedging ("evidence consistent with," "selective rather than universal") is appropriate, and the abstract's stronger phrasing should match it. On originality, the RL machinery itself (GRPO with KL anchor, LoRA, vLLM/verl) is standard, so novelty rests on the verifier/reward design, the stochastic-tolerance derivation, and the multi-PDE application. The most physically interesting PDE, incompressible Navier–Stokes, is essentially unsolved except at 14B (pass@1 0.62), which tempers the general framing. And the method intrinsically requires a working reference solver for every training PDE, the same expert knowledge the introduction calls labor-intensive, so it amortizes existing solvers into the LLM rather than removing the need for them; this is a fair scope limitation rather than a flaw.
Questions
- Reward configuration and the residual ablation: Which exact config and seed produced each Table 1 / figure row, per model size? In particular, did the headline 3B/7B/14B runs use the no-residual
v3reward, and if so, how does that reconcile with Appendix A.1's ? Please add an accuracy-only versus accuracy-plus-residual ablation that isolates (yourv3andv3_physicsconfigs already differ in exactly this factor). - Frontier comparison: Please provide, or fully specify, the harness and prompts used for the frontier API baselines (none is included in the supplement), and ideally compare RLVP against an inference-time-refinement method (e.g., a CodePDE-style pipeline) on the same evaluation, since the paper positions itself against such methods. This is the key missing baseline.
- pass@k definition: The released evaluator computes prefix pass@k (
evaluation.py, line 86) while Eq. 15 defines combinatorial pass@k. Which was used for the reported numbers? Please align the code and the paper. - Variance and robustness: Please report aggregate metrics over multiple seeds (or confidence intervals). How do you explain 14B unseen pass@8 dropping from 0.60 (SFT) to 0.50 (RLVP), and non-monotone per-PDE entries such as advection2d?
- Compositionality versus retrieval: Is there a quantitative test that separates compositional recombination from nearest-seen-template retrieval, for example, ablating specific seen families and predicting which held-out transfers should degrade?
Limitations
The authors do discuss limitations in the Conclusion (complex geometries, richer boundary conditions, adaptive meshes, stochastic and multiphysics PDEs left to future work), so the field is largely satisfied. I would ask them to additionally acknowledge, ideally in a dedicated paragraph: (a) the minimal-prompt caveat on the frontier comparison, and that the frontier evaluation harness is not released; (b) the untested marginal contribution of the residual term and a clear statement of which reward configuration underlies the headline numbers; (c) single-seed training and coarse evaluation grids (especially Navier–Stokes at ), together with the coupling between the training reward and the evaluation metric; (d) the dependence on an existing reference solver for every training PDE; and (e) the 14B out-of-distribution regression.
Paper formatting concerns
None. No anonymity violations noted.
Final justification
The central result is well established: validity-gated continuous trajectory feedback clearly outperforms binary execution verification, and the effect is large relative to the reported run-to-run variance. The evidence base is now substantially stronger than at submission, with matched reward ablations, three independent training runs, method- and PDE-family holdouts, a solver-bank similarity audit, the CodePDE and Opus 5 baselines, a finer-reference resolution study, and zero-shot 3D results.
Meta-review
The paper addresses post-training of LLMs for PDE solver code generation. It proposes RLVP (Reinforcement Learning with Verifiable Physics), which extends binary execution rewards with continuous physics-aware rewards measuring trajectory accuracy and PDE residual consistency. Starting from a supervised model trained on a solver bank, RLVP jointly post-trains a single policy across multiple PDE families. Experiments on eight PDE families show consistent improvements over pretrained and supervised baselines, competitive performance against larger frontier LLMs under direct generation, and evidence of transfer to related unseen PDEs.
The reviewers appreciate:
The importance and timeliness of the problem. Scientific PDE solver generation is an important application where physics-aware evaluation is well motivated.
The well-designed hybrid physics verifier. The combination of execution validity with continuous physics rewards is considered one of the paper's main methodological contribution.
Strong empirical evaluation.
Joint training of a single policy across multiple PDE families.
They also highlight weaknesses including, Incomplete reward ablations, limited evidence supporting transfer/generalization, scalabilty that remains unclear, limited statistical evidence and comparison with frontier models that should be strengthened.
I would recommend the authors to focus the rebuttal on the following questions:
Better analyze the reward design. The reviewers request a clearer analysis of the individual reward components, in particular isolating the contribution of the residual-consistency reward and better justifying its role beyond trajectory accuracy. (RhLGZ, R9qKJ, RUSAh)
Provide stronger evidence that RLVP is not primarily adapting solver-bank templates. The reviewer requests additional evidence supporting the claim that RLVP learns transferable numerical strategies rather than primarily reusing solver templates; a simple similarity analysis between generated programs and the solver bank is suggested as one possible approach. (RhLGZ)
Strengthen the comparison with relevant baselines. In particular, the reviewers request comparisons with inference-time refinement methods (e.g., CodePDE) or a clearer justification for their omission, together with a clearer discussion of the comparison with frontier models. (R9qjK, RtyVN, RUSAh)
Discuss the scalability of the approach to larger or more complex PDE problems. (R9qjK, RtyVN)