LegoSR: A Unified Framework for Self-Improving Agent-Guided Scientific Discovery
Hao Mao, Xu T. Liu, Hao Xu, Peng Zhao, Qian Li, Dongxiao Zhang, Jinyue Yan, Yuntian Chen
Abstract
Discovering equations from data provides governing laws, constitutive relations and closure models for scientific understanding and prediction. Yet a method that succeeds on one system may fail on another or on noisy data, so discovery depends on expert trial and error. Unsuccessful searches can still reveal useful parts of an equation, but these clues must be recognized and combined. We present LegoSR, a unified framework for agent-guided equation discovery built on composable discovery and cumulative experience. Seven complementary equation discovery methods and shared computational modules form reusable building blocks, connected through a common equation representation. Researchers can launch discovery with one command and guide it with partially known equations. LegoSR Agent selects methods, revises searches using feedback and combines partial findings into new hypotheses. Its Experience Library consolidates graded outcomes into lessons that guide later tasks across equation families. Evaluation covers 134 algebraic regression problems, 40 ordinary differential equation targets and 25 partial differential equation problems at several noise levels, together with three case studies. On noisy PDEs, LegoSR Agent recovers more equations than seven expert-tuned methods combined and stays close to them on ODEs. It also exceeds a generic agent with the same model, tools and budget by up to 28 percentage points, with 63-73% shorter median wall-clock time on PDE problems.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- 53 pages, 15 figures. Code is available at https://github.com/Scientific-Artificial-Intelligence-Lab/kd
Related papers
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminologycs.AIWanghao Ye, Shwai He, Sihan Chen et al.
Minimum Description Length Unsupervisedly Separates Law-Grade from Statistical-Grade Knowledge in a Self-Improving Science Agent - and Reveals 86% of Its Own Discoveries Are Statistical
Shared title terminologycs.AIWenbin Mao, Pei Zou
Improving the Improver: Semantic PID Control for Medical Agent Self-Improvement
Shared title terminologycs.AIDexia Chen, YiLong Hu, Wenqi Zhong et al.
The Trinity: Capability-Driven Recursive Self-Improvement for Multimodal Agents
Shared title terminologycs.AIWeidong Tang, Ruiheng Wang, Jingxuan Zhang et al.
Infinity Machine: a self-improving AI agent for research
Shared title terminologycs.AIHarish Santhanalakshmi Ganesan
Skill^{∞}: Recursive Self-Improvement for Agent Skill Optimization
Shared title terminologycs.AIWangcheng Tao, Zhanglu Yan, Han Wu et al.