Memory-Guided Tree Search with Cross-Branch Knowledge Transfer for LLM Solver Synthesis
Fatemeh Haji, Javier Delarosa Quiros, and Peyman Najafirad

TL;DR
MEMOIR introduces a memory-guided tree search framework for LLM-based solver synthesis, significantly improving solution validity and consistency across various combinatorial optimization problems.
Contribution
It proposes a novel two-level memory hierarchy and reflection mechanism enabling cross-branch knowledge transfer in LLM solver synthesis.
Findings
Achieves 96.7% solution validity, a 9.2 point improvement over the strongest baseline.
Improves average normalized scores by 7.3 points at matched execution budgets.
Demonstrates more consistent run-to-run validity than baseline methods.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
