SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.28814 · 2026

Self-Improving Language Models with Bidirectional Evolutionary Search

Sham Kakade, Yilun Du, Himabindu Lakkaraju, Weirui Ye, Guowei Xu, Zhenting Qi, Huangyuan Su

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Embodied-Minds-Lab/BES canonical 6 of 6
FunctionStatusWhere it lives
load_program Ran Embodied-Minds-Lab/BES/inference/shinka/core/wrap_eval.py
code served (permissive licence) · get_code("f3cff0862975e331")
normalize_subq_for_match Ran Embodied-Minds-Lab/BES/multihop/search_r1/llm_agent/generation_bes.py
code served (permissive licence) · get_code("af08ae01723c6028")
parse_actions Ran Embodied-Minds-Lab/BES/multihop/search_r1/llm_agent/generation_bes.py
code served (permissive licence) · get_code("64c70cf1ab234cda")
summarize_timing_metadata Ran Embodied-Minds-Lab/BES/inference/shinka/core/pipeline_timing.py
code served (permissive licence) · get_code("b3c0064f81e51ff3")
with_pipeline_timing Ran Embodied-Minds-Lab/BES/inference/shinka/core/pipeline_timing.py
code served (permissive licence) · get_code("7a050b038b5146f9")
with_side_effect_timing Ran Embodied-Minds-Lab/BES/inference/shinka/core/pipeline_timing.py
code served (permissive licence) · get_code("c2c8c84f8b5ec35e")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Search has been proposed as an effective method for self-improving language models and agentic systems, both for post-training sample generation and for inference. However, widely used methods such as best-of-N sampling and tree search face two fundamental limitations: they are guided by sparse verification signals, and they construct candidates primarily through autoregressive expansion, restricting exploration to regions with substantial model probability mass. To address these, we propose Bidirectional Evolutionary Search (BES), a search framework that couples forward candidate evolution with backward goal decomposition. In the forward search, BES augments standard expansion with evolution operators that recombine partial trajectories to generate candidates that are difficult to obtain from a single model rollout. In the backward search, BES recursively decomposes the original task into checkable sub-goals, producing dense intermediate feedback that guides forward search. We provide theoretical motivation showing that candidates generated by expansion-only search are confined to a narrow entropy shell while evolutionary operators can escape it, and that backward search can exponentially reduce the number of required samples to find a correct answer. Experiments show that on challenging post-training tasks where mainstream post-training algorithms fail to improve, BES enables consistent gains, and on three open problem solving benchmarks at inference time, BES outperforms existing open-source frameworks in both average and best-case performance. Code and trained models are available at https://github.com/Embodied-Minds-Lab/BES.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.28814")
get_code_for_paper("2605.28814")
have("2605.28814")

Connect an agent — have() is free.