Saved in:
Bibliographic Details
Main Authors: Haji, Fatemeh, Quiros, Javier Delarosa, Najafirad, Peyman
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.17539
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909054874419200
author Haji, Fatemeh
Quiros, Javier Delarosa
Najafirad, Peyman
author_facet Haji, Fatemeh
Quiros, Javier Delarosa
Najafirad, Peyman
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_17539
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Memory-Guided Tree Search with Cross-Branch Knowledge Transfer for LLM Solver Synthesis
Haji, Fatemeh
Quiros, Javier Delarosa
Najafirad, Peyman
Artificial Intelligence
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.
title Memory-Guided Tree Search with Cross-Branch Knowledge Transfer for LLM Solver Synthesis
topic Artificial Intelligence
url https://arxiv.org/abs/2605.17539