arXiv:2610.38245cs.AIOct 2026

Manuscript Offprint

arXiv:2610.38245

Verification-Guided Retrosynthesis: Reaction Feedback and Evidence Timing

Hongxuan Shi, Hankz Hankui Zhuo

Abstract

Retrosynthesis planning seeks synthesis routes from purchasable starting materials to a target molecule. Search over predicted reactions can connect a target to available materials, yet an infeasible reaction can invalidate the resulting route. Evaluating route quality only after search has finished cannot correct errors made during search. We introduce Verification-Guided Reflow (VGR), incorporating reaction verification as a decision action in AND/OR search. Verification results are represented as binary verdicts; queries are scheduled from the search structure, and acquired verdicts exclude reactions or adjust search priorities. We define verified solvability as the fraction of targets for which a complete route accepted stepwise by the verifier is found. On Retro190, feeding verification results into search increases verified solvability from 51.1% to 62.6% relative to route evaluation without feedback. Further controlled experiments show that earlier verification and immediate prioritization of accepted reactions each improve route discovery, yet combining them performs worse than either change alone. We therefore propose early pruning and delayed guidance: rejected reactions are pruned immediately, while accepted reactions gain search priority when processed as part of a complete candidate route. In a separate comparison with the verification scheduling rule fixed, this strategy increases verified solvability from 61.1% with immediate guidance to 71.1%, using fewer proposal calls and unique verifier queries.

1 Introduction

Multistep retrosynthesis planning starts from a target molecule and searches backward for synthesis routes from purchasable starting materials. Neural one-step models and search algorithms can already find complete routes for many targets within a computational budget [1, 14]. Such success first means that every route leaf reaches purchasable materials, which we call topological solvability. Reactions in the graph are synthesis choices proposed by a model: even a topologically complete route can fail as a synthesis plan if one reaction is infeasible. A high topological solve rate therefore does not imply that the planner has found equally many feasible synthesis plans.

We use forward reaction prediction to check whether each

step produces its intended product. A target is verified-solvable if search finds at least one complete route whose reactions all pass verification; verified solvability is the fraction of targets satisfying this condition. On Retro190, the planner reports 90.5% topological solvability, but verified solvability is only 30.5% when the first complete route is returned by default. Thus, about two thirds of targets reported as solved have a default route that fails stepwise verification. Even if search continues to the budget limit and repeatedly checks complete candidates, verified solvability reaches only 51.1% when verdicts do not change search. The question is therefore not simply how to find more routes, but how to let discovered feasibility problems change subsequent exploration.

This gap has a search-level explanation. For a molecule xx to be synthesized, a one-step model proposes reaction RR with probability p(R∣x)p(R \mid x). In retro*, search converts this probability into reaction cost −log⁡p(R∣x)-\log p(R \mid x) and prioritizes choices favored by the model. This score determines the order of exploration, while reaction feasibility requires checking the specific transformation. If search continues under its original ranking, a check can reject a discovered plan but cannot use that verdict to reallocate exploration. For verification to help route discovery, its verdicts must change subsequent search decisions.

Existing work supplies feasibility information through reaction filters, forward prediction, and route evaluation; Active Retrosynthetic Planning (ARP) further learns a policy for querying reaction quality [6, 8, 19]. Verifying every candidate makes cost grow with the candidate pool, whereas evaluating only assembled routes remains constrained by the plans that the original search discovers. We study the following question: under limited computation, which reactions should be verified from the current search graph, and how should their verdicts be used to find more routes that pass stepwise verification?

We formulate this problem as AND/OR search with both expansion and verification actions. Molecule nodes represent alternative synthesis choices (OR), while reaction nodes require every precursor to be synthesized (AND). Expansion calls the one-step model to generate candidate reactions and their precursors for a molecule; verification acquires a binary verdict v(R)∈{0,1}v(R) \in \{0, 1\}, where zero and one denote rejection and acceptance. A verification schedule selects queries using reactions' positions in the graph and the completion state of routes. A feedback rule determines how verdicts constrain reaction choices and change search costs. Through subsequent expansions, these de-

*Corresponding author.

cisions jointly affect route discovery. Our objective is to improve verified solvability under expansion and search-query budgets, delivering only complete routes with an acquired positive verdict for every reaction.

Verification-Guided Reflow (VGR) implements this formulation. Reflow means persistently updating search state with verification verdicts so that they affect subsequent reaction choices and route priorities. A negative, v(R)=0v(R) = 0, excludes the reaction; a positive, v(R)=1v(R) = 1, can lower its search cost and guide the planner toward completing a route containing it. Three policies all check reactions after a complete candidate route forms and differ in how they use verdicts: post-hoc checks candidates without feedback, prune excludes negatively verified reactions, and guide additionally uses positives to guide search. With the same proposal model, verifier, and budgets, their verified solvability on Retro190 is 51.1%, 59.5%, and 62.6%, respectively, while their topologically solved target sets are identical. The two forms of feedback thus help the planner find more stepwise-verified routes among targets it can already solve topologically.

Can earlier verification and immediate, stronger guidance improve search further? Starting from verification at complete-candidate formation with negative-only pruning, we separately move a reaction's check to the first expansion of one of its non-stock precursors, or strengthen guidance by reducing accepted reactions' costs to zero. Under common budgets, either change improves coverage, yet their combination performs worse than either change alone.

The key to this interaction is the different meaning of the two verdict signs for a route. One negative suffices to exclude a candidate containing that reaction, while one positive supports only a local transformation; the remaining steps still need completion or verification. Strengthening a locally accepted reaction too early can concentrate search on a branch whose precursor synthesis remains unresolved. Guidance also changes subsequent expansions and hence the reactions available for later verification. When a verdict is acquired and when it takes effect therefore require separate control and joint investigation.

We consequently propose early pruning and delayed guidance. Negatives immediately exclude reactions, while positives are retained. Once search forms a complete candidate from the target to purchasable materials, a positive changes its reaction's priority when that reaction is processed during the candidate's stepwise evaluation. Failure information can prevent wasted investment early, while positive information guides search once the structure of a complete route is available. In a separate comparison without a search-query ceiling, holding the verification schedule and guidance strength fixed, this strategy increases verified solvability from 61.1% with immediate guidance to 71.1%, using fewer one-step calls and verifier queries. Monte Carlo tree search controls also show a benefit from delayed guidance, while a different one-step proposal model preserves the post-hoc-prune-guide ordering. Expert labels and cross-model route evaluation provide external evidence for the chemical relevance of the verification criterion.

Our two contributions are:

  1. Reaction verification as an action in retrosynthesis search, with controlled evaluation of its feedback. We jointly describe verification scheduling and search-state updates in an AND/OR graph. The post-hoc-prune-guide comparison identifies the contributions of negative exclusion and positive guidance to verified solvability.

  2. The interaction between verification scheduling and feedback timing, with early pruning and delayed guidance. Motivated by the failure of directly combining early verification with strong guidance, we distinguish verdict acquisition from guidance activation and use fixed-schedule comparisons to test the benefit of sign-asymmetric timing.

References (21)