LLM-Based Scientific Equation Discovery via Physics-Informed Token-Regularized Policy Optimization
Boxiao Wang, Kai Li, Tianyi Liu, Chen Li, Junzhe Wang, Yifan Zhang, Jian Cheng
TL;DR
PiT-PO reframes symbolic regression as an in-search reinforcement-learning problem where the LLM is updated to become a domain-aware, adaptive generator. It introduces dual constraints—hierarchical physical validity and theorem-guided token regularization (Support Exclusion Theorem)—to enforce scientific correctness and prune redundant terms at the token level. The approach delivers state-of-the-art results on SR benchmarks, enables small open-source backbones to rival large models, and achieves practical turbulence-modeling improvements by learning symbolic Reynolds-stress corrections. By combining in-search LLM evolution with fine-grained credit assignment, PiT-PO achieves faster, more robust discovery that is accessible with constrained compute and has broad applicability across scientific domains.
Abstract
Symbolic regression aims to distill mathematical equations from observational data. Recent approaches have successfully leveraged Large Language Models (LLMs) to generate equation hypotheses, capitalizing on their vast pre-trained scientific priors. However, existing frameworks predominantly treat the LLM as a static generator, relying on prompt-level guidance to steer exploration. This paradigm fails to update the model's internal representations based on search feedback, often yielding physically inconsistent or mathematically redundant expressions. In this work, we propose PiT-PO (Physics-informed Token-regularized Policy Optimization), a unified framework that evolves the LLM into an adaptive generator via reinforcement learning. Central to PiT-PO is a dual-constraint mechanism that rigorously enforces hierarchical physical validity while simultaneously applying fine-grained, token-level penalties to suppress redundant structures. Consequently, PiT-PO aligns LLM to produce equations that are both scientifically consistent and structurally parsimonious. Empirically, PiT-PO achieves state-of-the-art performance on standard benchmarks and successfully discovers novel turbulence models for challenging fluid dynamics problems. We also demonstrate that PiT-PO empowers small-scale models to outperform closed-source giants, democratizing access to high-performance scientific discovery.
