# SeeA\*: Efficient Exploration-Enhanced A\* Search by Selective Sampling

SeeA\* samples candidate nodes so A\* search explores more branches

Zhao, Dengwei, Tu, Shikui, Xu, Lei · Advances in Neural Information Processing Systems · 2024-12-16

- **Problem** A\* search always expands the open node with the lowest f value. When its heuristic misestimates cost, the best-looking node can sit on a poor branch, and A\* has no built-in way to leave it.
- **Method** SeeA\* keeps the A\* loop but changes node selection. It samples a candidate subset from the open set, then expands the candidate with the lowest f value, so the search can enter branches A\* would ignore.
- **Results** On MCNC circuits, SeeA\*(Cluster) reached a 23.5% mean ADP reduction, compared to 20.9% for ABC-RL.

## Why best-first A\* stalls under a poor heuristic

A\* search always expands the open node with the lowest f value, where f is the sum of g and h. This greedy choice is most efficient when h tracks the true cost closely, because the search then has little reason to explore. When the estimate is off, the best-looking node may lie on a poor branch, and the search has little built-in way to leave it.

The authors build a small tree where each step on the optimal path costs 100 and each step on the other path costs 1. Their heuristic is exact on the optimal path and zero elsewhere, so it never overestimates and A\* still finds the optimal solution. Under that heuristic, A\* leaves the optimal path untouched until every non-optimal node shallower than depth 200 has been expanded.

Guided by the true cost, the same tree yields the optimal solution in two steps.

## Sampling a candidate set before choosing

SeeA\* keeps the A\* loop and replaces only the selection step with two operations. It first samples a candidate subset D from the open set O, then chooses the node with the lowest f value inside D for expansion. Because the chosen node need not be the global best in O, the search can move into branches that A\* would ignore. Only the best candidate is expanded, which keeps exploration from spreading into many weak nodes.

The uniform strategy gives every open node the same chance of being sampled. If the desired number K exceeds the number of open nodes, the whole open set becomes the candidate set. Otherwise K nodes are drawn at random. This differs from ε-Greedy, which explores with probability ε by expanding a uniformly drawn node, possibly a weak one.

The clustering strategy partitions the open nodes into clusters and takes at least one node from each cluster. Each node is represented by a vector from a function f\_h, and the clusters are updated online with competitive learning. Each new node joins the cluster with the nearest center, and that center moves toward the new node. This avoids refitting an offline clustering such as K-means after every expansion.

The UCT-like strategy borrows the balance idea of PUCT from AlphaZero and substitutes the estimated f value for the Q value. Each node is scored by E(n) = f(n) − c\_b × √d\_max / (1 + d(n)), where d(n) is the node depth and d\_max is the largest depth among the open nodes. Shallow nodes get a larger exploration bonus, so they are more likely to enter the candidate set, and c\_b is a tunable weight.

## When sampling beats A\* in expectation

The analysis assumes that each heuristic value on the optimal path is uniformly distributed within a band of width σ around a common mean. Off-path nodes take a true cost drawn from a Gaussian, and their estimates are uniform around that cost with the same width σ. The authors use σ as the magnitude of the prediction error.

Let p\_σ be the probability that an optimal-path node has a lower estimate than a given off-path node. This probability falls as σ grows, and the authors note the same holds for Gaussian noise. If the open set has N\_o nodes, A\* expands the optimal node with probability p\_σ raised to the power N\_o − 1. With uniform sampling of K candidates, the probability becomes \\(P\_S(\\sigma)=\\frac{K}{N\_o}p\_\\sigma^{K-1}\\).

The comparison turns on whether P\_S exceeds P\_A, and the authors state that this happens exactly when p\_σ is below H(N\_o). Here \\(H(N\_o)=\\left(\\frac{K}{N\_o}\\right)^{1/(N\_o-K)}\\) for \\(N\_o \> K \\ge 1\\). H(N\_o) increases with N\_o and approaches 1 as N\_o grows, so the condition is easier to meet on larger open sets.

Over K the optimum of P\_S sits at \\(K^\*=-1/\\log p\_\\sigma\\), so a small p\_σ favors K = 1 and a p\_σ near 1 pushes K toward the whole open set. The authors note that this result was derived for uniform sampling, and that cluster and UCT-like sampling aim to raise the chance that the optimal node is in D. If one expansion selects the optimal node with probability P, then after τ expansions the success probability is \\(1-(1-P)^{\\tau}\\), so reaching P\_min needs τ of at least \\(\\log(1-P\_{min})/\\log(1-P)\\).

## Retrosynthetic planning results

The search uses the 190 USPTO target molecules, with a cap of 500 single-step model calls or 10 minutes per molecule. The candidate set size is set to K = 50.

The authors attribute the weaker results of WA\* and PHS to their heavy reliance on the heuristic, which is consistent with the inaccurate cost estimator they describe.

On six further datasets totaling 4719 molecules, SeeA\*(Cluster) had the highest mean success rate, 63.56%. The authors also report that the clustering and UCT-like strategies beat uniform sampling on solved rate and route length.

## Logic synthesis and Sokoban results

Each circuit is optimized with seven legal transformations over a sequence of length 10, and the reward is the ADP reduction against resyn2. The heuristic is trained on 15 circuits and tested on 12 MCNC circuits.

SeeA\*(Cluster) reached a mean ADP reduction of 23.5%, compared to 20.9% for ABC-RL. SeeA\*(Cluster) beat A\* search on 11 of the 12 testing circuits. All three SeeA\* variants have higher mean ADP reduction than the listed prior methods. The authors describe A\* as concentrating on one branch and MCTS as spreading across many, with SeeA\* in between.

The MCTS row in that table uses no guiding heuristic and relies on fast rollouts.

The cost estimator was trained on 50000 Boxoban training problems, and the search was tested on 1000 test problems. Searches stopped as failures after 10 minutes, and SeeA\* solved all 1000 test cases. Its solutions were shorter than those from A\* search, WA\*, LevinTS, PHS and DeepCubeA.

## How sensitive SeeA\* is to its settings

The candidate count K controls how much exploration happens. K = 1 leaves the choice to the sampler alone, while a very large K brings back A\*, since every node then has a chance to enter D. A wide range of K gave superior performance, and K = 1 gave the lowest success rate and the longest solutions.

The clustering strategy stays fairly stable across cluster counts N\_c. Too few clusters makes it resemble uniform sampling, and too many lets noise in the node representations dominate. For the UCT-like strategy, c\_b between 0.15 and 0.4 gave excellent results, and both larger and smaller values hurt.

## Limitations

The efficiency analysis depends on uniform prediction errors and on uniform sampling. The authors leave more effective sampling strategies to future work.

If the heuristic predicts the true cost without error, the condition for SeeA\* to be more efficient fails, and A\* is the more efficient method.

The experiments cover retrosynthetic planning, logic synthesis and Sokoban. The authors call the work early-stage, with no immediate application to people's daily lives and no immediate ethical or social impact.

## Paper info

- **Authors**: Zhao, Dengwei, Tu, Shikui, Xu, Lei
- **Venue**: Advances in Neural Information Processing Systems · Published
- **First published**: 2024-12-16
- **Added**: 2026-11-25
- **DOI**: 10.52202/079017-3309
- **Original paper terms**: [Check in the original ↗](https://papers.nips.cc/paper_files/paper/2024/hash/bc8b2058fd96978a4146f18298cb2d39-Abstract-Conference.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://papers.nips.cc/paper_files/paper/2024/hash/bc8b2058fd96978a4146f18298cb2d39-Abstract-Conference.html)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Zhao, Dengwei, Tu, Shikui, Xu, Lei (2024). SeeA\*: Efficient Exploration-Enhanced A\* Search by Selective Sampling. Advances in Neural Information Processing Systems. https://doi.org/10.52202/079017-3309

**BibTeX**

```
@article{dengwei2024seea,
  title = {{SeeA*: Efficient Exploration-Enhanced A* Search by Selective Sampling}},
  author = {Zhao, Dengwei and Tu, Shikui and Xu, Lei},
  year = {2024},
  journal = {Advances in Neural Information Processing Systems},
  doi = {10.52202/079017-3309},
  url = {https://papers.nips.cc/paper_files/paper/2024/hash/bc8b2058fd96978a4146f18298cb2d39-Abstract-Conference.html}
}
```

## Other paper commentary

- [Principled SVD-based Delta Compression via Quantization Error Minimization](https://refivu.com/en/papers/007f6db5-bad8-41e3-a36e-3c5ad8cf77a4-principled-svd-based-delta-compression-via-quantization.md)
- [Make Position Uninformative: Exchangeable Self-Distillation Flattens the Lost-in-the-Middle Curve](https://refivu.com/en/papers/48d101ec-b6d5-4a6c-866d-ab3bd6458801-make-position-uninformative-exchangeable-self-distillation.md)
- [Storing the Gemma 4 K=V Cache Once: Exact Global-KV Memory Savings in a Paged Serving Engine with Unchanged Attention Kernels](https://refivu.com/en/papers/27ddeaac-1774-448a-8418-cdd0056f90b9-storing-the-gemma-4-k-v-cache-once.md)
- [CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts](https://refivu.com/en/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae-certisum-bitwise-identical-mxfp4-training-across-platforms.md)
- [Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment](https://refivu.com/en/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88-contrastive-activation-guided-zeroth-order-preference.md)
- [High-Throughput Serving of Nemotron 3.5 Transcribe with Regime-Aware Megakernels and Kernel Fusion](https://refivu.com/en/papers/3c4245e8-900d-4ca9-8834-e40cb4a165b6-high-throughput-serving-of-nemotron-3-5-transcribe.md)
- [Unitary Convolutions for Message-passing and Positional Encodings on Directed Graphs](https://refivu.com/en/papers/cf7ea629-41a3-4349-add7-79a6b104140f-unitary-convolutions-for-message-passing-and-positional.md)
- [Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions](https://refivu.com/en/papers/f4dbf6ce-3357-44a3-b4ed-38147e384f67-understanding-the-parameter-space-volume-of-transformers.md)
- [From Muon to Gluon: Bridging Theory and Practice of LMO-based Optimizers for LLMs](https://refivu.com/en/papers/8abf3f11-d4df-432c-a8d8-b81217f6cb67-from-muon-to-gluon-bridging-theory-and-practice.md)
- [NExT-Guard: Streaming Safeguard without Token-Level Labels](https://refivu.com/en/papers/1cd0f65b-37af-4920-8aa0-071c909f49e1-next-guard-streaming-safeguard-without-token-level-labels.md)
- [Adversarial Vulnerability from Interference Between Features in Superposition](https://refivu.com/en/papers/cd94add6-68c0-4643-bc21-5a8a999fe6db-adversarial-vulnerability-from-interference-between-features.md)
- [Bits That Count: Quantifying and Predicting Capabilities of Language Models](https://refivu.com/en/papers/18e0cbff-e732-49be-a90d-d2fd6731c419-bits-that-count-quantifying-and-predicting-capabilities-of.md)

## Terms in this paper

- [Monte-Carlo tree search](https://refivu.com/en/terms/276466914fbe-monte-carlo-tree-search)
- [ε-Greedy](https://refivu.com/en/terms/f4ff753fea38-greedy)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/80e3d55e-cbd4-4f3f-88b9-118fcd1bb5c9-seea-efficient-exploration-enhanced-a-search-by-selective)
