SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.14083 · 2024

Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrapping

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.14083.json · badge: /api/ran/2402.14083.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
facebookresearch/searchformer canonical (classifier label)
classifier basis: census
13 ran · 1 no recorded run
FunctionStatusWhere it lives
astar Ran
ran; our contract draft was wrong, not the code
facebookresearch/searchformer/searchformer/astar.py
pointer only (licence: NOASSERTION) · get_code("5d068b31b9254b5a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_optimizer Ran
ran; our contract draft was wrong, not the code
facebookresearch/searchformer/searchformer/transformer/optim.py
pointer only (licence: NOASSERTION) · get_code("e7297099a6671090")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

fixed_size_maze_dataset_name Ran
ran; our contract draft was wrong, not the code
facebookresearch/searchformer/searchformer/maze.py
pointer only (licence: NOASSERTION) · get_code("3a942bcaa7ded890")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lr_constant Ran
ran, honoured the contract we drafted
facebookresearch/searchformer/searchformer/transformer/optim.py
pointer only (licence: NOASSERTION) · get_code("2de53a847ce3ebdb")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lr_cosine Ran
ran, honoured the contract we drafted
facebookresearch/searchformer/searchformer/transformer/optim.py
pointer only (licence: NOASSERTION) · get_code("b5030440560f7a3c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

manhattan_distance Ran
ran, honoured the contract we drafted
facebookresearch/searchformer/searchformer/sokoban.py
pointer only (licence: NOASSERTION) · get_code("e6efc6bfc4f2862d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

num_model_parameters Ran
ran, honoured the contract we drafted
facebookresearch/searchformer/searchformer/transformer/utils.py
pointer only (licence: NOASSERTION) · get_code("21203a2dc99cc011")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

repeat_kv Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/searchformer/searchformer/transformer/model.py
pointer only (licence: NOASSERTION) · get_code("f12b7a7b213cf517")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_greedy Ran
ran, honoured the contract we drafted
facebookresearch/searchformer/searchformer/transformer/utils.py
pointer only (licence: NOASSERTION) · get_code("099db59e5044649b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_probability Ran
ran; our contract draft was wrong, not the code
facebookresearch/searchformer/searchformer/transformer/utils.py
pointer only (licence: NOASSERTION) · get_code("90652748c49c021a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sokoban_state_to_pretty_string Ran
ran; our contract draft was wrong, not the code
facebookresearch/searchformer/searchformer/sokoban.py
pointer only (licence: NOASSERTION) · get_code("22d075deea2c904a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sokoban_state_to_string Ran
ran; our contract draft was wrong, not the code
facebookresearch/searchformer/searchformer/sokoban.py
pointer only (licence: NOASSERTION) · get_code("c30029071ba9902f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_df_columns_to_value Ran
ran; our contract draft was wrong, not the code
facebookresearch/searchformer/searchformer/utils.py
pointer only (licence: NOASSERTION) · get_code("3b7d3d5ef085446a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sequence_mask_to_attention_mask Not yet run
unverified (harvested, no recorded run)
facebookresearch/searchformer/searchformer/transformer/model.py
pointer only (licence: NOASSERTION) · get_code("31adf392ad5e3e28")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/searchformer (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

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

Abstract

While Transformers have enabled tremendous progress in various application settings, such architectures still trail behind traditional symbolic planners for solving complex decision making tasks. In this work, we demonstrate how to train Transformers to solve complex planning tasks. This is accomplished by training an encoder-decoder Transformer model to predict the search dynamics of the $A^*$ search algorithm. We fine tune this model to obtain a Searchformer, a Transformer model that optimally solves previously unseen Sokoban puzzles 93.7% of the time, while using up to 26.8% fewer search steps than the $A^*$ implementation that was used for training initially. In our training method, $A^*$'s search dynamics are expressed as a token sequence outlining when task states are added and removed into the search tree during symbolic planning. Searchformer significantly outperforms baselines that predict the optimal plan directly with a 5-10$\times$ smaller model size and a 10$\times$ smaller training dataset. Lastly, we demonstrate how Searchformer scales to larger and more complex decision making tasks with improved percentage of solved tasks and shortened search dynamics.

For agents

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

get_harvested_code_for_paper("2402.14083")
get_code_for_paper("2402.14083")
have("2402.14083")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.14083.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.14083.svg)](https://syntology.ai/paper/2402.14083)

Connect an agent — have() is free.