Discovering Mathematical Equations with Diffusion Language Model

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Han, Xiaoxu, Ning, Chengzhen, Zhong, Jinghui, Yang, Fubiao, Wang, Yu, Mu, Xin
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912589803421696
author Han, Xiaoxu
Ning, Chengzhen
Zhong, Jinghui
Yang, Fubiao
Wang, Yu
Mu, Xin
author_facet Han, Xiaoxu
Ning, Chengzhen
Zhong, Jinghui
Yang, Fubiao
Wang, Yu
Mu, Xin
contents Discovering valid and meaningful mathematical equations from observed data plays a crucial role in scientific discovery. While this task, symbolic regression, remains challenging due to the vast search space and the trade-off between accuracy and complexity. In this paper, we introduce DiffuSR, a pre-training framework for symbolic regression built upon a continuous-state diffusion language model. DiffuSR employs a trainable embedding layer within the diffusion process to map discrete mathematical symbols into a continuous latent space, modeling equation distributions effectively. Through iterative denoising, DiffuSR converts an initial noisy sequence into a symbolic equation, guided by numerical data injected via a cross-attention mechanism. We also design an effective inference strategy to enhance the accuracy of the diffusion-based equation generator, which injects logit priors into genetic programming. Experimental results on standard symbolic regression benchmarks demonstrate that DiffuSR achieves competitive performance with state-of-the-art autoregressive methods and generates more interpretable and diverse mathematical expressions.
format Preprint
id arxiv_https___arxiv_org_abs_2509_13136
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Discovering Mathematical Equations with Diffusion Language Model
Han, Xiaoxu
Ning, Chengzhen
Zhong, Jinghui
Yang, Fubiao
Wang, Yu
Mu, Xin
Machine Learning
Discovering valid and meaningful mathematical equations from observed data plays a crucial role in scientific discovery. While this task, symbolic regression, remains challenging due to the vast search space and the trade-off between accuracy and complexity. In this paper, we introduce DiffuSR, a pre-training framework for symbolic regression built upon a continuous-state diffusion language model. DiffuSR employs a trainable embedding layer within the diffusion process to map discrete mathematical symbols into a continuous latent space, modeling equation distributions effectively. Through iterative denoising, DiffuSR converts an initial noisy sequence into a symbolic equation, guided by numerical data injected via a cross-attention mechanism. We also design an effective inference strategy to enhance the accuracy of the diffusion-based equation generator, which injects logit priors into genetic programming. Experimental results on standard symbolic regression benchmarks demonstrate that DiffuSR achieves competitive performance with state-of-the-art autoregressive methods and generates more interpretable and diverse mathematical expressions.
title Discovering Mathematical Equations with Diffusion Language Model
topic Machine Learning
url https://arxiv.org/abs/2509.13136