arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.16966cs.LG
收藏

学习设计符号回归求解器:利用优化方法实现符号回归

Learning to Design SR Solvers: Harness Optimization for Symbolic Regression

Shanghai Jiao Tong University(上海交通大学);Eastern Institute of Technology(东方理工大学);The Hong Kong Polytechnic University(香港理工大学);Max Planck Institute for Heart and Lung Research(马克斯·普朗克心肺研究所)

Qian Li, Yuxiao Hu, Qihao Duan, Jinyue Yan, Yuntian Chen

AI总结:

本研究提出HarnessSR框架,联合优化提示词与工作流构建可复用符号回归智能体,在LLM-SRBench的LSR-Synth数据集上,其平均ID Acc₀.₀₁达61.33%,相对次优基准提升45.0%。

摘要:

符号回归(SR)旨在寻找能解释观测数据的显式方程,近期方法越来越多地采用大语言模型(LLM)和智能体进行方程发现。然而,这些系统通常依赖人工设计的工作流和提示词。我们认为,SR智能体的“ harness(工具链)”本身应作为优化目标:其设计会影响搜索先验,以及数值反馈如何指导后续方程优化。因此,我们提出HarnessSR,这是一个联合优化提示词和工作流以构建可复用SR智能体的框架。在工具链优化和智能体执行阶段,HarnessSR通过工具特定接口支持PySR或基于LLM的方程生成器,允许框架针对不同方程发现机制优化搜索引导。HarnessSR首先在基础工作流中通过方程发现反馈优化角色提示词,随后联合搜索提示词分配和工作流并进行简短适配以对齐两者,最后通过对残差模式、候选方程结构和搜索结果的反思优化角色指令,提升这些信号对后续方程搜索的引导效果。在LLM-SRBench中的LSR-Synth数据集上,HarnessSR在三个主干模型上的平均ID Acc₀.₀₁达到61.33%,比次优基准方法实现了45.0%的相对提升。

英文摘要:

Symbolic regression (SR) seeks explicit equations that explain observed data, and recent methods increasingly employ large language models (LLMs) and agents for equation discovery. However, these systems typically rely on manually designed workflows and prompts. We argue that the SR agent harness should itself be an optimization target: its design shapes search priors and how numerical feedback guides subsequent equation refinement. We therefore propose HarnessSR, a framework for jointly optimizing prompts and workflows to construct reusable SR agents. During both harness optimization and agent execution, HarnessSR supports either PySR or an LLM-based equation generator through tool-specific interfaces, allowing the framework to optimize search guidance for different equation-discovery mechanisms. HarnessSR first optimizes role prompts through equation-discovery feedback in basic workflows, then jointly searches prompt assignments and workflows with brief adaptation to align the two. Finally, it refines role instructions through reflection on residual patterns, candidate equation structures, and search outcomes, improving how these signals guide subsequent equation search. On LSR-Synth in LLM-SRBench, HarnessSR achieves a mean ID $\mathrm{Acc}_{0.01}$ of 61.33% across three backbones, a 45.0% relative improvement over the next-best baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑