← Latest papers
💻 computer science

GPU-Accelerated Genetic Programming for Symbolic Regression with Beagle Framework

This paper introduces Beagle, a GPU-accelerated framework for symbolic regression that significantly outperforms leading CPU-based systems like StackGP and PySR in benchmarking on the Feynman dataset by maximizing throughput for population and fitness case processing.

Original authors: Nathan Haut, Ilya Basin, Marzieh Kianinejad, Ruchika Gupta, Elijah Smith, Zachary Perrico, Wolfgang Banzhaf

Published 2026-03-16
📖 4 min read☕ Coffee break read

Original authors: Nathan Haut, Ilya Basin, Marzieh Kianinejad, Ruchika Gupta, Elijah Smith, Zachary Perrico, Wolfgang Banzhaf

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 trying to solve a massive jigsaw puzzle, but instead of picture pieces, you have mathematical formulas. Your goal is to find the one perfect formula that explains a set of data points. This is called Symbolic Regression.

Usually, finding this formula is like searching for a needle in a haystack while blindfolded. You have to guess a formula, check if it works, and if it doesn't, you throw it away and try a new one. This process is slow and computationally expensive.

This paper introduces a new tool called Beagle that changes the game by using GPUs (Graphics Processing Units) to speed up the search. Here is a simple breakdown of what they did and why it matters.

1. The Problem: The Slow Search

Traditional methods (like StackGP and PySR) are like a single detective walking through the haystack, checking one needle at a time. They are smart, but they are slow. If you have millions of possible needles to check, it could take days or weeks.

2. The Solution: Beagle and the GPU Super-Team

The authors built a new framework called Beagle. Instead of one detective, Beagle hires an army of millions of tiny robots (thanks to the GPU) to search the haystack all at once.

  • The GPU Advantage: A standard computer processor (CPU) is like a very smart professor who can do complex math but can only do one thing at a time. A GPU is like a stadium full of 10,000 students who are slightly less smart individually but can all do simple math simultaneously.
  • The Strategy: Beagle sends millions of potential formulas to the GPU. The GPU checks them all in parallel. While the CPU (the professor) is busy organizing the results and deciding which formulas to keep, the GPU is already checking the next batch.

3. Two Ways to Judge the Formulas

To know if a formula is "good," you need a scorecard. Beagle tested two different scorecards:

  • The "Point-to-Point" Scorecard: This checks if the formula's answer matches the data exactly, like checking if a student's answer is "5" when the answer key says "5."
  • The "Correlation" Scorecard: This is a bit more sophisticated. It doesn't just look at the exact numbers; it looks at the shape of the relationship. It asks, "Does the formula go up when the data goes up, even if the numbers aren't perfect?"
    • The Surprise: Even though the "Correlation" scorecard takes a tiny bit longer for the GPU to calculate, it actually guides the search much better. It's like having a better map; you might spend a second looking at the map, but you don't waste hours walking in the wrong direction.

4. Handling the "Impossible" (NaNs)

Sometimes, math problems involve numbers that don't exist (like the square root of a negative number, which creates an "imaginary" number). In many systems, this crashes the program or forces the researchers to throw away that data.

Beagle is special because it treats these "impossible" numbers as clues. If the real-world data has a gap where a number shouldn't exist, Beagle rewards formulas that also have a gap there. It's like a detective realizing that the fact a witness didn't see something is just as important as what they did see.

5. The Results: Who Won?

The researchers tested Beagle against the two best existing tools (StackGP and PySR) using a famous set of 100 physics puzzles (the Feynman dataset). They gave everyone a strict time limit: 10 minutes and 30 minutes.

  • The Winner: Beagle crushed the competition.
    • In 10 minutes, Beagle (using the Correlation scorecard) solved 82 out of 100 puzzles.
    • The next best tool (StackGP) only solved 65.
    • PySR solved 64.
  • The Takeaway: By using the GPU's massive parallel power and a smarter way to score formulas, Beagle found solutions that the others simply couldn't reach in the same amount of time.

Why Should You Care?

Think of this as the difference between a horse-drawn carriage and a jet engine.

  • Before, if you wanted to solve a complex scientific problem using AI, you had to wait hours or days.
  • With Beagle, you can get high-quality answers in minutes.

This makes advanced AI accessible to more people. It means scientists, engineers, and even students can use these powerful tools to discover new laws of physics or understand complex data without needing a supercomputer or a PhD in computer science. It turns a "wait overnight" task into a "coffee break" task.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →