← Latest papers
🤖 machine learning

Deep Variational Inference Symbolic Regression

This paper introduces Deep Variational Inference Symbolic Regression (DVISR), a variational Bayesian extension of Deep Symbolic Regression that infers posterior distributions over both expression trees and their constants to enable scalable, uncertainty-aware symbolic regression.

Original authors: James Butterworth, Gevik Grigorian, Alejandro DiazDelaO

Published 2026-05-05
📖 5 min read🧠 Deep dive

Original authors: James Butterworth, Gevik Grigorian, Alejandro DiazDelaO

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: you have a pile of clues (data points), and your goal is to find the exact mathematical formula that explains how those clues fit together.

Symbolic Regression is the name of this detective game. Unlike standard regression, which forces you to guess a specific shape for the formula (like "it must be a straight line" or "it must be a curve"), symbolic regression says, "We don't know the shape yet. Let's try any combination of math symbols (plus, minus, times, sin, log) until we find the one that fits the clues perfectly."

The Problem with the Old Detectives

The paper discusses two main ways people have tried to solve this game so far:

  1. The "Best Guess" Detective (Deep Symbolic Regression or DSR): This method uses a smart AI (a neural network) to generate formulas. It tries thousands of them and picks the single "best" one that fits the data.
    • The Flaw: It only gives you one answer. If the data is noisy or messy, the detective might pick the wrong formula and be 100% confident in it, even if they are wrong. It doesn't tell you how uncertain it is.
  2. The "Slow and Steady" Detective (MCMC): This is a traditional Bayesian method. Instead of picking one winner, it tries to map out the probability of every possible formula being the right one. It gives you a full picture of uncertainty.
    • The Flaw: It is incredibly slow. As the number of possible formulas grows (which happens quickly), this detective gets stuck in traffic and can't finish the job.

The New Solution: DVISR

The authors introduce DVISR (Deep Variational Inference Symbolic Regression). Think of this as a super-powered, fast-forwarding detective that combines the speed of the AI with the uncertainty-checking of the Bayesian method.

Here is how it works, using a creative analogy:

1. The "Infinite Library" of Formulas

Imagine a library containing every possible math formula you could ever write. Most of these formulas are nonsense (like sin(x) + 999). A few are brilliant.

  • Old DSR walks into the library, grabs one book, checks if it fits, and if it's the best so far, it keeps that one book and throws the rest away.
  • DVISR walks in and tries to build a mental map of the entire library. It doesn't just pick one book; it learns which books are likely to be the answer and which are unlikely.

2. The "Magic Compass" (The Reward System)

In the old AI method, the computer was rewarded simply for being "close" to the data.
In DVISR, the computer is given a new, more complex compass called the ELBO (Evidence Lower Bound).

  • Instead of just saying, "This formula fits well," the compass says, "This formula fits well, AND it is not too complicated, AND it is consistent with what we already believe."
  • By following this compass, the AI learns to approximate the entire map of possibilities, not just the single best peak.

3. The "Shape-Shifting Constants"

In math formulas, you often have numbers (constants) that need to be tuned, like the 2 in 2x.

  • Old DSR treats these numbers like fixed dials. It finds a formula, then spends extra time turning the dials to get the perfect number.
  • DVISR treats these numbers like clouds. Instead of guessing one specific number (e.g., "It's exactly 2.5"), the AI guesses a distribution (e.g., "It's likely between 2.4 and 2.6"). It learns the shape of the cloud for every number in the formula simultaneously.

What Did They Prove?

The authors ran experiments to see if their new detective actually works:

  1. Simple Cases: They gave the AI simple puzzles (like y = x squared).
    • Result: The AI successfully built a map that matched the "true" answer perfectly. It didn't just find the right formula; it correctly calculated the probability that the formula was right, matching the theoretical math exactly.
  2. The "Big Library" Test: They made the library of possible formulas bigger and bigger.
    • Result: As the library got huge, the AI's map became slightly less perfect (it couldn't capture every tiny detail), but it still worked reasonably well for smaller problems.
    • The Limit: The paper admits that if the formulas get too long and complex, the AI starts to struggle, just like the old slow detective would.

The Bottom Line

This paper presents a new tool that allows computers to not only find the best mathematical equation for a set of data but also to quantify their own uncertainty.

Instead of saying, "The answer is definitely y = x^2," DVISR can say, "The answer is most likely y = x^2, but there's a small chance it could be y = x^2 + 0.1, and we are 95% sure the number 0.1 is between 0 and 0.2."

The authors conclude that while this is a significant step forward for making AI more transparent and reliable, it still needs to get faster and handle much larger, real-world problems before it can be used everywhere. They have built the engine; now they need to make it drive on the highway.

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 →