LegoSR: A Unified Framework for Self-improving Agent-Guided Scientific Discovery

Hao Mao, Xu T. Liu, Peng Zhao, Shuai Lu, Yuntian Chen
10/24/2026
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Equation discovery solvers often use different data interfaces, equation representations and evaluation criteria, making their results difficult to compare. We present LegoSR, a unified framework for algebraic symbolic regression and differential equation discovery.

Show full abstract

LegoSR integrates seven solvers through a common equation representation and evaluation process, and supports searches constrained by partially known equations. Researchers can run solvers directly or use LegoSR Agent, which selects solvers and adapts searches based on solver knowledge, intermediate results and lessons from earlier tasks. On noisy ordinary and partial differential equation benchmarks, LegoSR Agent recovers nearly as many equations as the union of seven expert-tuned solvers and outperforms a generic agent with the same model, tools and budget by up to 29 percentage points. Three examples demonstrate basic use, adaptive solver selection and discovery guided by partial physical knowledge.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mao2026legosr,
  title  = {LegoSR: A Unified Framework for Self-improving Agent-Guided Scientific Discovery},
  author = {Hao Mao and Xu T. Liu and Peng Zhao and Shuai Lu and Yuntian Chen},
  year   = {2026},
  eprint = {2610.33465},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.33465v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.33465.svg)](https://codeofpaper.com/paper/2610.33465)

Discussion