首页 > AI前沿 > Synthesizing Physics Formulae with Transformers

Synthesizing Physics Formulae with Transformers

arXiv机器学习 2026-10-03 03:05 3 阅读 查看原文

Finding a compact formula that fits a set of input-output pairs and predicts outputs on unseen inputs is a fundamental problem in science.

Symbolic regression automates the search for such formulae: search-based methods explore the space of possible formulae directly, while transformers pre-trained on synthetic data produce formulae of comparable quality substantially faster.

Existing transformers, however, are prone to overfitting --- they find formulae that fit the training data well but do not extrapolate to input ranges unseen during training.

We address this by shaping the set of formulae used to train a transformer, and show that the resulting formulae extrapolate substantially better.

Fine-tuning the transformer on data with noise-corrupted target values further makes the synthesized formulae robust to noise in the observations.

On SRBench and LLM-SRBench our transformer synthesizes a formula in about ten seconds and extrapolates better than all evaluated methods at a comparable budget.

Search-based methods surpass our accuracy only when given one to three orders of magnitude more time.