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

具有跨分支知识转移的内存引导树搜索用于LLM求解器合成

Memory-Guided Tree Search with Cross-Branch Knowledge Transfer for LLM Solver Synthesis

Secure AI and Autonomy Lab(安全人工智能与自主性实验室);The University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校)

Fatemeh Haji, Javier Delarosa Quiros, Peyman Najafirad

AI总结:

该研究提出MEMOIR框架,通过双层记忆体系结构实现内存引导的树搜索,以提高求解器合成的效率和有效性,通过跨分支知识转移提升求解器的解决方案质量。

摘要:

组合优化(CO)在从物流到芯片设计的决策中起着基础性作用,其中不可行的解决方案在操作上不可用,而小的改进可以转化为显著的经济价值。最近的研究利用大型语言模型(LLMs)自动化求解器合成:从自然语言规范生成可执行的求解器程序。然而,现有的树搜索和进化代理在并行细化候选轨迹时没有显式的知识转移,重新引入了相同的约束违规,并收敛到相似的算法家族。我们引入MEMOIR,一种具有两级记忆层次结构的内存引导树搜索框架:分支本地记忆在迭代单个算法设计时保存执行基础的细化细节,而全局记忆存储跨分支压缩的算法和失败模式摘要。在分支终止时的反思步骤提炼这些摘要,使跨分支转移成为可能,而不会污染未来的上下文与低层次调试跟踪。在七个跨越调度、路由、打包和几何设计的CO问题上,MEMOIR实现了96.7%的解决方案有效性(比最强基线高出9.2个点),并在匹配的每种方法执行预算下,将平均标准化分数提高了7.3个点。在四个问题上进行三次独立运行时,MEMOIR的运行间有效性标准差比我们评估的所有基线低一个数量级,表明内存引导的探索产生了持续的改进,而不是反映采样方差。

英文摘要:

Combinatorial optimization (CO) underlies decision-making from logistics to chip design, where infeasible solutions are operationally unusable and small quality gains translate into substantial economic value. Recent work uses large language models (LLMs) to automate solver synthesis: generating executable solver programs from natural-language specifications. However, existing tree-search and evolutionary agents refine candidate trajectories in parallel without explicit knowledge transfer, reintroducing the same constraint violations and converging on similar algorithm families. We introduce MEMOIR, a memory-guided tree-search framework with a two-level memory hierarchy: branch-local memory preserves execution-grounded refinement details within a branch as it iterates on a single algorithmic design, while global memory stores compressed algorithmic and failure-mode summaries across branches. A reflection step at branch termination distills these summaries, enabling cross-branch transfer without polluting future contexts with low-level debugging traces. Across seven CO problems spanning scheduling, routing, packing, and geometric design, MEMOIR achieves 96.7% solution validity (a 9.2 point gap over the strongest baseline) and improves the average normalized score by 7.3 points at matched per-method execution budget. Over three independent runs on four problems, MEMOIR's run-to-run validity standard deviation is more than an order of magnitude below that of every baseline we evaluated in this setting, suggesting that memory-guided exploration yields consistent improvements rather than reflecting sampling variance.

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

↑