Bayesian Symbolic Regression with Entropic Reinforcement Learning
This paper introduces ERRLESS, a scalable Bayesian symbolic regression method that employs entropy-regularized reinforcement learning to sample from the posterior distribution of algebraic expressions, thereby enabling effective uncertainty quantification and producing competitive, interpretable results on benchmarks like Feynman.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a detective trying to solve a mystery, but instead of finding a missing person, you are trying to find the hidden mathematical rule that explains how the world works. This is the job of Symbolic Regression. While standard math tools are like a tailor who can only adjust the buttons on a suit that already exists (tweaking numbers in a fixed formula), symbolic regression is like a master tailor who can invent entirely new suits from scratch, stitching together different fabrics (math operations like addition, sine, or square roots) to fit the data perfectly.
However, real-world data is messy. It's noisy, like a radio signal full of static, and often scarce, like trying to guess a song's melody from just three notes. If you only find one "best" formula, you might be fooled by the static. This is where Bayesian thinking comes in. Instead of betting on a single answer, a Bayesian detective keeps a whole library of possible theories, assigning each a probability based on how well it fits the clues. This allows them to say, "I'm pretty sure it's this formula, but there's a small chance it's this other one," which is crucial when data is scarce. The big challenge has always been: how do you efficiently search through the infinite library of possible math formulas to find the right mix of probabilities without getting lost?
Enter ERRLESS, a new approach introduced by Oussama Boussif and colleagues that treats this search like a video game. Imagine a robot learning to build a complex Lego structure, but instead of just trying to build one perfect tower, it learns to build many different towers, understanding which ones are most likely to be the "true" structure given the clues. The researchers call their method ERRLESS (Entropy-Regularized Reinforcement Learning for Expression Structure Sampling).
Here is how it works in the real world of data: The team taught a neural network (a type of AI) to act as a builder. This builder doesn't just guess; it constructs mathematical expressions step-by-step, like assembling a sentence word by word. But there's a catch: the builder has to follow strict rules of physics. Just as you can't add "meters" to "seconds" to get a meaningful result, the AI is programmed to reject any math combination that breaks the laws of physical units. This is done using a "bottom-up" approach, where the AI builds small, valid pieces first and snaps them together, ensuring every step makes sense before moving on.
The AI learns through a process called Reinforcement Learning, which is like training a dog with treats. Every time the AI builds a formula that fits the data well, it gets a "treat" (a reward). But here is the clever twist: the researchers didn't just want the AI to find the single best formula. They wanted it to explore the whole "library" of possibilities. To do this, they used a technique called Maximum-Entropy Reinforcement Learning. Think of this as telling the AI, "Don't just find the one best path; explore as many different paths as possible, but make sure you visit the most promising ones more often." This ensures the AI doesn't get stuck on one idea but instead learns the full "map" of likely formulas.
The results are quite promising. When tested on the Feynman Symbolic Regression Database—a famous collection of 100 physics formulas from the legendary physicist Richard Feynman—ERRLESS performed competitively against the best existing methods. It managed to find short, easy-to-read formulas that were just as accurate as the complex ones found by other algorithms. More importantly, because it captures the uncertainty (the Bayesian perspective), it handled noisy data better. In tests where data was scarce and full of noise, ERRLESS produced a "posterior predictive mean" (a kind of average of all its best guesses) that was more accurate than a leading competitor called PySIPS. While PySIPS sometimes got confused by wild, unlikely guesses that skewed its average, ERRLESS kept its guesses grounded, providing a more reliable prediction.
The paper also highlights that ERRLESS is incredibly fast. Unlike other methods that have to stop and fine-tune the numbers in a formula over and over again (a slow, computationally expensive process), ERRLESS learns to guess both the structure of the formula and the numbers inside it all at once. This makes it an order of magnitude faster than many of its rivals.
However, the authors are careful not to claim this is a magic bullet for every problem. They note that while ERRLESS is excellent at modeling the distribution of possible answers, it can still struggle with extremely complex target expressions. They also point out that their method relies on a specific set of mathematical operators and that future work could involve teaching the AI to invent its own operators or apply these ideas to differential equations.
In short, this paper suggests that by combining the rules of physics with a smart, exploratory AI training method, we can build a system that doesn't just find a formula, but understands the landscape of possible formulas. It's a step toward machines that don't just crunch numbers, but truly understand the uncertainty and beauty of the laws that govern our universe.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.