Lune

ICLR2025Top-tier venue

RAG-SR: Retrieval-Augmented Generation for Neural Symbolic Regression

Hengzhe Zhang, Qi Chen, Bing Xue, Wolfgang Banzhaf, Mengjie Zhang

Abstract

Symbolic regression is a key task in machine learning, aiming to discover mathematical expressions that best describe a dataset. While deep learning has increased interest in using neural networks for symbolic regression, many existing approaches rely on pre-trained models. These models require significant computational resources and struggle with regression tasks involving unseen functions and variables. A pre-training-free paradigm is needed to better integrate with searchbased symbolic regression algorithms. To address these limitations, we propose a novel framework for symbolic regression that integrates evolutionary feature construction with a neural network, without the need for pre-training. Our approach adaptively generates symbolic trees that align with the desired semantics in realtime using a language model trained via online supervised learning, providing effective building blocks for feature construction. To mitigate hallucinations from the language model, we design a retrieval-augmented generation mechanism that explicitly leverages searched symbolic expressions. Additionally, we introduce a scale-invariant data augmentation technique that further improves the robustness and generalization of the model. Experimental results demonstrate that our framework achieves state-of-the-art accuracy across 25 regression algorithms and 120 regression tasks 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning Randomized Reductions cites AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularity
  • GenSR: Symbolic regression based on equation generative space cites End-to-end Symbolic Regression with Transformers
  • GenSR: Symbolic regression based on equation generative space cites AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularity
  • EGG-SR: Embedding Symbolic Equivalence into Symbolic Regression via Equality Graph cites End-to-end Symbolic Regression with Transformers
  • EGG-SR: Embedding Symbolic Equivalence into Symbolic Regression via Equality Graph cites AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularity
  • EGG-SR: Embedding Symbolic Equivalence into Symbolic Regression via Equality Graph cites A Unified Framework for Deep Symbolic Regression
  • A Unified Framework for Deep Symbolic Regression cites End-to-end Symbolic Regression with Transformers
  • A Unified Framework for Deep Symbolic Regression cites AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularity
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. GenSR: Symbolic regression based on equation generative spaceQian Li, Yuxiao Hu, Juncheng Liu, Yuntian ChenICLR 2026 · 7 citations
  2. EGG-SR: Embedding Symbolic Equivalence into Symbolic Regression via Equality GraphNan Jiang, Ziyi Wang, Yexiang XueICLR 2026 · 3 citations
  3. Learning Randomized ReductionsFerhat Erata, Orr Paradise, Thanos Typaldos, Timos Antonopoulos et al.ICML 2026 · 2 citations

Builds on22

  1. Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le et al.ICLR 2023 · 681 citations
  2. End-to-end Symbolic Regression with TransformersPierre-Alexandre Kamienny, Stéphane d'Ascoli, Guillaume Lample, François ChartonNeurIPS 2022 · 320 citations
  3. AI Feynman 2.0: Pareto-optimal symbolic regression exploiting graph modularitySilviu-Marian Udrescu, Andrew K. Tan, Jiahai Feng, Orisvaldo Neto et al.NeurIPS 2020 · 267 citations
  4. A Unified Framework for Deep Symbolic RegressionMikel Landajuela, Chak Shing Lee, Jiachen Yang, Ruben Glatt et al.NeurIPS 2022 · 160 citations
  5. Retrieval Augmented Code Generation and SummarizationMd. Rizwan Parvez, Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray et al.EMNLP Findings 2021 · 141 citations

Related papers

  1. Syntax-Aware Retrieval Augmentation for Neural Symbolic RegressionCanmiao Zhou, Han HuangEMNLP 2025
  2. Deep Generative Symbolic Regression with Monte-Carlo-Tree-SearchPierre-Alexandre Kamienny, Guillaume Lample, Sylvain Lamprier, Marco VirgolinICML 2023 · 50 citations
  3. Controllable Neural Symbolic RegressionTommaso Bendinelli, Luca Biggio, Pierre-Alexandre KamiennyICML 2023 · 22 citations
  4. Transformer-based Planning for Symbolic RegressionParshin Shojaee, Kazem Meidani, Amir Barati Farimani, Chandan K. ReddyNeurIPS 2023 · 116 citations
  5. Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradientsBrenden K. Petersen, Mikel Landajuela, T. Nathan Mundhenk, Cláudio Prata Santiago et al.ICLR 2021 · 444 citations
Dusk over the sea between two cliffs drawn in fine vertical lines