potentialpaper

Efficient Retrosynthesis Prediction with Integral Flow Matching and Latent Inversion

Tao Yin, Xiaohong Zhang, Yinjie Zhu, Jiacheng Zhang, Haotian Zou, Li Huang, Jiajun Cai, Zhibin Zhang, Meng Yan

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Fast and accurate retrosynthesis prediction is desired for downstream drug discovery and synthetic planning tasks. Currently, training and sampling state-of-the-art discrete diffusion or flow-based models for retrosynthesis requires significant computational resources. In this work, we propose FlashRetro, an Integral Flow Matching (IFM) framework with Latent Inversion for efficient retrosynthesis prediction. FlashRetro learns finite-interval latent transport rather than local instantaneous velocity, directly matching the transport quantity required for one-step latent inversion and avoiding test-time numerical integration. For inference, FlashRetro uses a principled 1-NFE Latent Inversion rule that maps a noise latent conditioned on the product latent to the reactant latent with a single learned integral-transport update. Experimental results on standard benchmarks (USPTO-50K) show that FlashRetro achieves superior top@1 accuracy, outperforming prior discrete flow-matching methods by 13.5% and diffusion-based baselines by 14.2%, while its average inference time is only 5.1 ms per reactant---38$\times$ faster than multi-step diffusion-based models and nearly 22$\times$ faster than recent discrete flow models. These results show that FlashRetro provides an effective path toward highly efficient 1-NFE retrosynthesis prediction with flow-based models.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper proposes FlashRetro, a fast generative framework for retrosynthesis prediction. The reviewers generally find the topic relevant and the empirical performance promising, especially the strong Top-1 accuracy and inference speed. However, several important issues need to be clarified or strengthened during the rebuttal stage before a final decision can be made. First, the paper should better position the method relative to closely related generative acceleration methods, especially Consistency Models, Consistency Flow Matching, rectified/straightened flows, and one-step distilled diffusion/flow models. The current manuscript does not sufficiently distinguish the proposed approach from these prior methods, despite apparent conceptual similarities in self-consistency and few-step generation. Second, the practical motivation for inference speed should be clarified. The introduction emphasizes speed as a critical bottleneck for retrosynthesis, but the paper should provide a more concrete argument for why reducing prediction time from the reported baseline ranges is practically important in real synthesis-planning pipelines, where experimental validation and laboratory synthesis are often much slower. Third, several methodological details are under-specified. In particular, the authors should clearly explain how Top-k predictions are generated and ranked, including the number of noise samples, scoring function, candidate pool size, deduplication procedure and whether reranking or beam-like search is used. The construction and use of the validity mask during inference, null-slot pruning, variable graph-size handling, and final graph assembly should also be described more clearly. Fourth, the evaluation should be strengthened. The paper mainly focuses on USPTO-50K and low-k accuracy metrics. The authors should discuss whether the gains remain meaningful at higher-k settings and, if possible, report additional metrics such as uniqueness, diversity, validity, chemical plausibility and route feasibility. Evaluation on larger or more diverse retrosynthesis benchmarks would also help support the generality of the method. Finally, the paper should provide more controlled comparisons and ablations. In particular, a direct comparison with graph-adapted consistency models or one-step distilled diffusion/flow baselines under similar capacity and training data would make the contribution more convincing. Additional details on validity correction rates and post-processing constraints would also improve reproducibility.

Overall, I find the paper promising and potentially useful. My current recommendation is conditional on the rebuttal: if the authors can clearly address the missing related work, clarify the generation/ranking/post-processing pipeline, justify the practical relevance of speed, and provide stronger evaluation or discussion of limitations, I would be inclined to support acceptance.

Final justification

The authors have adequately addressed the relevant concerns during the rebuttal and discussion, and their responses have received consistently positive assessments from the reviewers. Given that the major concerns have been satisfactorily resolved, I therefore recommend acceptance.

Area Chair BC3b · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper proposes FlashRetro, a fast generative framework for retrosynthesis prediction. The reviewers generally find the topic relevant and the empirical performance promising, especially the strong Top-1 accuracy and inference speed. However, several important issues need to be clarified or strengthened during the rebuttal stage before a final decision can be made. First, the paper should better position the method relative to closely related generative acceleration methods, especially Consistency Models, Consistency Flow Matching, rectified/straightened flows, and one-step distilled diffusion/flow models. The current manuscript does not sufficiently distinguish the proposed approach from these prior methods, despite apparent conceptual similarities in self-consistency and few-step generation. Second, the practical motivation for inference speed should be clarified. The introduction emphasizes speed as a critical bottleneck for retrosynthesis, but the paper should provide a more concrete argument for why reducing prediction time from the reported baseline ranges is practically important in real synthesis-planning pipelines, where experimental validation and laboratory synthesis are often much slower. Third, several methodological details are under-specified. In particular, the authors should clearly explain how Top-k predictions are generated and ranked, including the number of noise samples, scoring function, candidate pool size, deduplication procedure and whether reranking or beam-like search is used. The construction and use of the validity mask during inference, null-slot pruning, variable graph-size handling, and final graph assembly should also be described more clearly. Fourth, the evaluation should be strengthened. The paper mainly focuses on USPTO-50K and low-k accuracy metrics. The authors should discuss whether the gains remain meaningful at higher-k settings and, if possible, report additional metrics such as uniqueness, diversity, validity, chemical plausibility and route feasibility. Evaluation on larger or more diverse retrosynthesis benchmarks would also help support the generality of the method. Finally, the paper should provide more controlled comparisons and ablations. In particular, a direct comparison with graph-adapted consistency models or one-step distilled diffusion/flow baselines under similar capacity and training data would make the contribution more convincing. Additional details on validity correction rates and post-processing constraints would also improve reproducibility.

Overall, I find the paper promising and potentially useful. My current recommendation is conditional on the rebuttal: if the authors can clearly address the missing related work, clarify the generation/ranking/post-processing pipeline, justify the practical relevance of speed, and provide stronger evaluation or discussion of limitations, I would be inclined to support acceptance.

Final justification

The authors have adequately addressed the relevant concerns during the rebuttal and discussion, and their responses have received consistently positive assessments from the reviewers. Given that the major concerns have been satisfactorily resolved, I therefore recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

We sincerely appreciate you stepping in to oversee our submission. We understand the substantial effort needed to evaluate our manuscript and prior discussion history, and seek to offer a summary of our rebuttal process to aid in your assessment.

We first thank all reviewers for their time and constructive comments. We appreciate their acknowledgement of (1) our Integral Flow Matching framework and Latent Inversion mechanism for one-step retrosynthesis generation (tnqe, Qmcg, 3vEo); (2) our strong empirical results, particularly the state-of-the-art Top-1 accuracy and 22–38× inference speedup over iterative diffusion and flow baselines (tnqe, Qmcg, 3vEo); and (3) our extensive ablation studies and analyses validating the effectiveness, efficiency, and robustness of the proposed components (tnqe, Qmcg, 3vEo).

We provide a detailed rebuttal to address critiques raised by the reviewers, emphasizing the distinction between FlashRetro and consistency-based or distilled generative methods (tnqe, 3vEo), the practical relevance of fast inference for large-scale screening and multi-step planning (tnqe, 3vEo), the complete candidate generation, ranking, and graph post-processing pipeline (Qmcg, 3vEo), and the diversity and chemical plausibility of generated predictions (tnqe, 3vEo). In particular, our responses present new matched-backbone comparisons with graph-adapted consistency and distillation baselines, additional diversity and validity evaluations, analyses of high-k errors and large-fragment generation, and experiments demonstrating the sensitivity of template-based methods to limited or sparse template coverage.

Through this rebuttal, we believe we resolved the central concerns raised by the reviewers. We hope this summary assists you in your final assessment.

Sincerely,

The Authors

Reviewer 3vEoOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes FlashRetro, a template-free retrosynthesis model designed for fast one-step generation. The model embeds product and reactant graphs into a latent space, learns finite-interval transport with an Integral Flow Matching (IFM) objective, and uses a 1-NFE Latent Inversion rule to map a noise latent conditioned on the product latent into a predicted reactant latent. The predicted latent is decoded into discrete molecular graph attributes. On USPTO-50K, FlashRetro reports strong Top-1 and Top-3 exact-match accuracy while being substantially faster than iterative diffusion and flow-based baselines. The paper includes ablations, latency comparisons, and theoretical identities connecting transport error, endpoint error, and decoding stability.

Strengths and weaknesses

Strengths.

  • The paper targets an important practical bottleneck. Iterative diffusion/flow sampling can be too slow for high-throughput retrosynthesis and multi-step planning, so a one-step generator with competitive accuracy would be valuable.
  • The endpoint-aligned IFM framing is well motivated for discrete graph decoding, where small latent errors may change atom types, bonds, charges, or aromaticity.
  • The empirical Top-1 result on USPTO-50K is strong. FlashRetro reports 69.3% Top-1 and 78.4% Top-3, outperforming several recent template-free and semi-template baselines in the low-k regime.
  • The latency comparison is compelling: 0.51 seconds per 100 reactants, with large reported speedups over RetroSynFlow and GDiffRetro.
  • The ablations are informative. Naive 1-NFE inference from a local flow field performs poorly, while IFM with positive-span sampling, stop-gradient stabilization, and end-to-end training reaches the reported performance.

Weaknesses.

  • Under the linear interpolation path, the oracle integral transport reduces to endpoint displacement. The paper should better distinguish IFM from consistency models, latent consistency models, rectified/straightened flows, and one-step distilled diffusion/flow methods.
  • The theoretical results are mostly identities or local Lipschitz/margin arguments. They support the design intuition, but do not provide strong guarantees about generalization, convergence, or chemical validity.
  • Top-k generation is under-specified. Since the model samples from noise and does not natively produce a ranked beam, the paper should clearly state the number of samples per product, scoring function, deduplication procedure, temperature, and calibration strategy.
  • Decoder and post-processing details are insufficient. The paper should explain graph-size handling, validity-mask construction at test time, valence/aromaticity/charge constraints, and how often validity corrections are needed.
  • The evaluation is limited to USPTO-50K. Larger or more diverse retrosynthesis benchmarks would be important for assessing generality.
  • The paper emphasizes Top-1/Top-3 accuracy and speed, but reports limited diversity, uniqueness, route plausibility, and feasibility analysis. This matters because retrosynthesis tools often need multiple plausible alternatives, not only the most likely exact benchmark answer.
Questions
  1. How exactly are Top-k predictions generated and ranked? Please specify the number of noise samples per test product, scoring function, deduplication procedure, temperature, and whether reranking or beam-like search is used.
  2. How is the validity mask constructed at inference when the ground-truth reactant graph is unknown? How are variable reactant counts and graph sizes handled?
  3. What constraints are enforced in the validity-aware post-processing step, and what are the pre- and post-processing validity rates for atom types, bonds, valence, charges, aromaticity, and connectivity?
  4. Can the authors compare against a graph-adapted consistency model or one-step distilled diffusion/flow baseline under similar capacity and training data? I would be more positive if FlashRetro remains superior under this direct comparison.
  5. Can the authors report uniqueness, diversity, and chemical plausibility metrics for the generated Top-10 sets, and evaluate on a larger dataset such as USPTO-full or another modern split? Weak results here would suggest the method is mainly a fast low-k benchmark optimizer rather than a broadly useful retrosynthesis generator.
Limitations

yes

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to thank the reviewer 3vEo for the thoughtful comments and useful suggestions.


W1. Missing related work on consistency-based generation

Thank you for pointing out this omission. We will cite and discuss Consistency Models [1-2], Consistency Flow Matching [3], and related approaches [4] in Sec. 2. Unlike these continuous-data methods, our graph–latent formulation enables 1-NFE generation of discrete, structured reactant graphs.


W2. Scope and Role of the Theoretical Results

Our theoretical analysis targets the mechanism-level correctness of 1-NFE Latent Inversion, since global guarantees would require unjustified assumptions about data distributions, non-convex optimization, and molecular decoding. The results show that IFM aligns training with one-step inference, introduces no solver discretization error, and reduces prediction errors to transport approximation and decoder sensitivity. Generalization, convergence, and chemical validity are therefore supported empirically rather than guaranteed theoretically.


W3&Q1. Top-kk Candidate Generation and Ranking Protocol

We follow the sampling and frequency ranking protocol of RetroBridge [5] and generate (K = 100) independent one-step samples per product. Each unique candidate is scored by its empirical frequency among the 100 samples and ranked in decreasing order, with ties broken by first appearance. No decoder-logit aggregation or learned reranker is used. A prediction is considered correct when its sorted canonical fragment list exactly matches that of the reference. We will add this complete sampling, deduplication, ranking, and matching protocol to Sec. 4.1.


W4&Q2. Training-Time Validity Mask and Variable-Size Graph Inference

To clarify, M is a training-time supervision mask on the padded reactant slot space; at inference, we do not use an oracle M. Instead, the decoder predicts attributes on a fixed slot space of length L, followed by argmax, bond symmetrization, pruning of invalid/null slots, and graph assembly. We also clarify that L denotes a shared slot space for decoding, not a strict atom-wise alignment between product and reactant atoms. Variable-size graphs are handled by padding all samples to L nodes, while the number of reactant molecules is determined by the connected components of the predicted bond graph, allowing a variable number of fragments. We will clarify this in the revised paper.


W5. The evaluation is limited to USPTO-50K

We thank the reviewer for suggesting evaluation on additional datasets. We use USPTO-50K to enable direct comparison with recent diffusion- and flow-based methods under the same benchmark protocol [5–9], while providing extensive ablations in this setting. We agree that evaluation on more diverse datasets is necessary to establish cross-dataset generality and will explicitly acknowledge this limitation and future direction in the Conclusion.


W6&Q5. Uniqueness, diversity, and chemical plausibility of the Top-10 sets

To directly quantify these properties, we analyze all USPTO-50K test products using 100 raw samples per product, following RetroBridge [5]. Graph-invalid outputs were removed, and canonical precursor SMILES were deduplicated before frequency-based ranking. Following RetroBridge, we use round-trip accuracy to assess chemical plausibility, as widely adopted in recent work [5-8].

Table 4. Diversity and round-trip plausibility of the deduplicated Top-10 sets, with candidate-pool disclosure.

Method Scaffold-Div@10 Tanimoto-Div@10 RT-cov@10 RT-acc@10
FlashRetro 60.2 65.2 92.4 56.9
RetroBridge 62.7 68.9 97.7 61.6

FlashRetro’s lower diversity and round-trip metrics are consistent with a structural limitation of 1-NFE generation: all edges are decoded simultaneously through a single argmax pass, so missed bonds cannot be iteratively repaired, whereas RetroBridge refines the evolving graph over 500 iterative bridge/sampling steps. This refinement is costly: generating 100 candidates per product takes ~66 s for RetroBridge but ~0.5 s for FlashRetro, reducing the full ~5,000×100 evaluation from ~90 hours to ~45 minutes. FlashRetro therefore trades some iterative correction capability for faster inference.


Q3. Enforced constraints and pre-/post-processing validity

We apologize for not clearly specifying the validity-aware post-processing. The procedure consists of two steps: (1) Structural assembly: non-padding positions are converted into atoms with their decoded elements and charges, while the predicted bonds are used to construct an undirected, self-loop-free graph; aromatic bonds are inferred from the endpoint flags. (2) Validity rejection: samples that fail SANITIZE_PROPERTIES are discarded.

Following the reviewer’s suggestion, we further quantify the satisfaction of individual chemical constraints before and after post-processing.

Table 1. Constraint satisfaction (%) over USPTO-50K test draws before and after post-processing.

Constraint Raw decoder output After post-processing
Atom type 91.8 100.0
Bonds 91.8 100.0
Charges 100.0 100.0
Valence 48.8 100.0
Aromaticity 83.4 89.2

Overall, post-processing substantially improves molecular validity, particularly valence consistency. Property sanitization guarantees atom-property and valence consistency but does not enforce complete Kekulé or aromatic consistency, explaining why aromaticity does not reach 100%.


Q4. Comparison with Consistency and Distillation Baselines

Thank you for this valuable suggestion. To our knowledge, FlashRetro is the first retrosynthesis framework explicitly optimized for accurate one-step prediction with a single function evaluation (1 NFE). Following the reviewer’s suggestion, we implemented the following consistency- and distillation-based variants:

  • LGCM-CT + iCT: graph-latent consistency training adapted following Consistency Models [1] and iCT [2];
  • LGCM-CD: EDM-based consistency distillation, following recent advances in consistency-distillation preconditioning [4].

Table 2. Matched-backbone and matched-data 1-NFE comparison on the USPTO-50K test set

Method Objective NFE Top-1 Top-3 Top-5 ms/sample ↓
FlashRetro IFM + Latent Inversion 1 69.3 78.4 79.8 5.1
LGCM-CT + iCT Consistency training 1 59.4 69.3 70.9 5.5
LGCM-CD Distilled EDM 1 46.2 62.4 66.4 6.4

All variants use the same latent space, encoders, decoder, training data, and evaluation pipeline; only the training and generative objectives differ. Under essentially identical 1-NFE latency, FlashRetro achieves substantially higher accuracy, showing that its gains arise from the IFM objective and Latent Inversion rather than additional inference computation.

We further sweep NFE∈{1,2,5,10,50} to examine whether additional sampling steps allow the consistency baselines to close this gap.

Table 3. Top-1 accuracy (%) in the paired NFE sweep

Variant NFE=1 NFE=2 NFE=5 NFE=10 NFE=50
LGCM-CT + iCT 59.4 60.7 60.2 60.1 58.4
LGCM-CD 46.2 47.3 47.9 47.2 47.9
FlashRetro 69.3 69.4 69.5 68.8 68.8

Table 3 shows that FlashRetro is already near-optimal at 1 NFE: increasing to 5 NFE yields only a 0.2-point gain, from 69.3% to 69.5%. Even at its optimal NFE, the strongest consistency baseline remains 8.6 percentage points below FlashRetro at 1 NFE. This result supports our central conclusion that directly learning full-interval endpoint transport is more effective than compensating for an indirect training objective with additional inference steps.


References

[1] Song, Y., Dhariwal, P., Chen, M., and Sutskever, I. Consistency Models. ICML 2023.

[2] Song, Y., and Dhariwal, P. Improved Techniques for Training Consistency Models. ICLR 2024.

[3] Yang, Ling, et al. Consistency Flow Matching: Defining Straight Flows with Velocity Consistency. 2024.

[4] Zheng et al. Elucidating the Preconditioning in Consistency Distillation. ICLR 2025.

[5] Igashov et al. RetroBridge: Modeling Retrosynthesis with Markov Bridges, ICLR 2024.

[6] Somnath et al. Learning Graph Models for Retrosynthesis Prediction, NeurIPS 2021.

[7] Zeng et al. Ualign: pushing the limit of template-free retrosynthesis prediction with unsupervised SMILES alignment, 2024.

[8] Wan et al. Retroformer: Pushing the Limits of End-to-end Retrosynthesis Transformer, ICML 2022.

[9] Shi et al. A Graph to Graphs Framework for Retrosynthesis Prediction, ICML 2021.

Reviewer QmcgOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes FlashRetro, an Integral Flow Matching framework for efficient retrosynthesis prediction. It learns product-conditioned finite-interval transport in latent space and applies one-step Latent Inversion to predict reactant graphs without iterative numerical integration. Experiments on USPTO-50K demonstrate state-of-the-art Top-1 accuracy and a 22–38× inference speedup over competitive baselines.

Strengths and weaknesses

The strengths and weaknesses of this paper are:

Strengths: (1) Well written and clear. The paper presents a logical progression from latent molecular representation to finite-interval transport, one-step inversion, and discrete reactant decoding.

(2) The paper proposes a new generative architecture for retrosynthesis. It models continuous transport in latent space while separating it from discrete molecular graph reconstruction.

(3) The proposed method enables one-step sampling without numerical integration, converges in fewer training epochs, and achieves a 22–38× inference speedup over recent flow- and diffusion-based models.

(4) The empirical results are strong. The contributions of the proposed components are supported by extensive ablation studies, training-efficiency comparisons, decoder-robustness evaluations, and reaction-class analyses.

Weaknesses: (1) The proposed method achieves strong Top-1 accuracy, but its gains become smaller for higher-(k) metrics.

(2) Section 3.2 introduces the validity mask (M) for identifying valid reactant nodes, but does not clearly explain how the mask is constructed or applied during inference. Additional details on null-slot pruning and final graph assembly would improve the clarity and reproducibility of the method.

(3) Section 4.1 states that multiple candidate reactant sets are generated and ranked using model scores, but the exact scoring function, candidate pool size, and deduplication procedure are not specified.

Questions

Please see weakness.

Limitations

The authors have sufficiently addressed the limitations of their study. I have no additional comments.

Final justification

I would like to recommend accept (5)

Formatting concerns

No obvious issues.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to thank the reviewer Qmcg for the thoughtful comments and useful suggestions.


W1. The proposed method achieves strong Top-1 accuracy, but its gains become smaller for higher-(k) metrics.

The observation is correct. Against the strongest template-free baseline in each column of Table 1, FlashRetro’s margin decreases from +15.7 percentage points at k=1k=1 to +4.1 at k=3k=3 and −1.4 at k=5k=5. We should have stated this trend directly rather than describing the higher-kk results as “remaining competitive”; the stratified analysis below examines where the residual gap arises.

Table 1. Margin over the best template-free baseline in each column.

k FlashRetro Best template-free baseline Margin
1 69.3 53.6 (Dual-TF) +15.7
3 78.4 74.3 (RetroSynFlow) +4.1
5 79.8 81.2 (RetroSynFlow) −1.4

We found that the Top-5 gap is disproportionately concentrated in reactions requiring substantial atom generation; this analysis does not by itself rule out ranking or diversity effects. We therefore stratified the test set by (s = reactant atoms - product atoms).

Table 2. Top-k accuracy (%) stratified by the number of generated atoms (s).

(s) Products Frac. Top-1 Top-5 Top-10 Top-100
0 328 6.6% 54.2 69.5 71.9 74.7
1 3,054 61.0% 74.7 87.1 88.6 90.6
2 468 9.3% 84.6 87.3 88.2 89.7
3–4 397 7.9% 76.0 80.3 81.8 84.9
5–8 482 9.6% 57.3 66.4 71.5 73.2
≥9 278 5.5% 13.3 21.6 22.3 24.9
All 5,007 100% 69.3 79.8 81.6 83.7

The stratified results show that FlashRetro’s remaining high-(k) errors are disproportionately concentrated in reactions requiring substantial atom generation. Together with their relatively high candidate diversity, these results suggest that large-fragment generation, rather than insufficient sampling alone, is a major source of the remaining errors, consistent with the class-wise results in Table 5.


W2: Validity mask and post-processing not clear

To clarify, the validity mask is a training-time supervision mask over the padded reactant representation and is used to mask the flow and reconstruction losses. During inference, the decoder operates over a fixed-capacity slot space and predicts molecular attributes within this space. The decoded tensors are subsequently processed through argmax decoding, invalid/null-slot pruning, bond symmetrization, and graph assembly. Variable-size reactant graphs are represented within this common slot space, while the number of reactant molecules is determined by the connected components of the assembled bond graph. We will clarify the roles of the training mask, fixed-slot representation, and inference-time post-processing in Sec. 3.3 and Algorithm 2.


W3. Candidate Pool, Deduplication, and Frequency-Based Scoring

We thank the reviewer for the opportunity to clarify this point. Following the sampling and frequency ranking protocol of RetroBridge, we generate (K = 100) independent one-step samples per product. Each unique candidate is scored by its empirical frequency among the 100 samples and ranked in decreasing order, with ties broken by first appearance. No decoder-logit aggregation or learned reranker is used. A prediction is considered correct when its sorted canonical fragment list exactly matches that of the reference. We will add this complete sampling, deduplication, ranking, and matching protocol to Sec. 4.1.

Reviewer Qmcg · CommentOpenReview ↗

response to review

Thank you for your detailed rebuttal. I would like to raise my score to 5.

Authors · CommentOpenReview ↗

Thank you for your positive feedback and for taking the time to review our rebuttal. We are delighted to hear that our response addressed your concerns. Thank you very much for your support and for raising your score.

Reviewer tnqeOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

FlashRetro proposes an Integral Flow Matching framework and Latent Inversion that allow 1-NFE generation for retrosynthesis prediction. It achieves strong Top-1 accuracy with substantially reduced inference time compared to diffusion/flow baselines.

Strengths and weaknesses

Strengths:

  • Integral Flow Matching is a novel and interesting method
  • Strong empirical results on USPTO-50K in the template-free setting
  • Thorough ablation study

Weaknesses: W1 - missing related work: The paper does not cite or discuss Consistency Models (Song et al., 2023) or Consistency Flow Matching (Yang et al., 2024), which use similar bootstrap self-consistency training with stop-gradient for few-step generation. Referring the proposed approaches to important previous work would make it easier to follow, more instructive and would give appropriate credit to earlier work.

W2 - Practical relevance of inference speed: The introduction repeatedly claims inference speed is a critical bottleneck for retrosynthesis, but no concrete argument is given for why this is the case in practice. In real-world synthesis pipelines, the computational cost of retrosynthesis prediction is typically small compared to downstream steps such as laboratory synthesis and experimental validation. The considered models range from 0.005 seconds per reagent to 0.5 seconds per reagent. The paper would greatly benefit from justification why such changes in inference time really makes a difference in practice, if combined in a pipeline that contains much slower experimental work.

W3 - The claimed accuracy-speed tradeoff is not supported by Figure 3: The introduction claims an accuracy-speed tradeoff among current models, however, in Fig. 3 no such correlation can be observed. It even seems like the slower models are actually less accurate. This needs to be clarified.

W4 - Template-free vs template-based comparison: FlashRetro's strongest gains are in the template-free category, but the paper does not justify why template-free methods are more relevant / as relevant as template-the based setting. A useful experiment would be to evaluate template-based methods on reaction classes with sparse template coverage, where one would expect their performance to degrade significantly, while FlashRetro's does not.

Overall a good paper if the weaknesses above are addressed in the rebuttal.

References: Song, Y., Dhariwal, P., Chen, M., & Sutskever, I. (2023). Consistency Models. Proceedings of the 40th International Conference on Machine Learning (ICML 2023)

Yang, L., Liu, M., Xu, M., Chi, C., Gao, W., & Lin, Z. (2024). Consistency Flow Matching: Defining Straight Flows with Velocity Consistency. arXiv preprint arXiv:2407.02398.

Questions

Q1: Isn't it a problem if the model always generates the same synthesis for a given task? It seems like your model always collapses to predicting a single sample according to Figure 6 and 7. Maybe in practice it is also interesting to have a certain diversity so that one can try different options given in case the top prediction fails? Maybe this could be an evaluation metric as well: not only quality of the samples, but also their diversity. But I guess your ground truth data only includes a single synthesis pathway and not only one?

Comment 1: What is being referred to as interval-normalized velocity in the paper should maybe rather be called interval-averaged velocity since eq. (8) expresses an average, not a normalization.

Comment 2: The notation ⋆(z0, 0, 1) should be defined.

Limitations

Limitations are only discussed in the appendix. This important part should be moved to the main text!

Final justification

I am raising my score to 5. The authors addressed and predominantly resolved my concerns regarding earlier work similar the proposed method, diversity of the generative model, the role of inference time in practice and explained the benefit of not having to rely on templates.

Formatting concerns

None

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to thank the reviewer tnqe for the thoughtful comments and useful suggestions.


W1. Missing related work

We agree with the reduction the reviewer points out: under a linear interpolation path the oracle finite-interval field does reduce to endpoint displacement, and we now state this explicitly. The distinction from prior work is therefore not the target but how it is learned. Rectified Flow and its straightened variants obtain near-straight paths by iterative reflow over generated pairs; consistency models and consistency flow matching enforce self-consistency along a teacher-defined trajectory or velocity field; one-step distillation requires a converged multi-step teacher. FlashRetro instead regresses the product-conditioned finite-interval displacement directly from supervised reactant–product latent pairs, in a single training stage, with no teacher, no ODE solver, no reflow iteration and it operates on a graph latent space so that the endpoint is decoded into a discrete reactant graph. We will discuss these works and clarify their methodological precedence and relationship to FlashRetro in Sec. 2.

[1] Song, Y., Dhariwal, P., Chen, M., and Sutskever, I. Consistency Models. ICML 2023.

[2] Song, Y., and Dhariwal, P. Improved Techniques for Training Consistency Models. ICLR 2024.

[3] Yang, Ling, et al. Consistency Flow Matching: Defining Straight Flows with Velocity Consistency. 2024.


W2. Practical relevance of inference speed

We thank the reviewer for this suggestion. To clarify, inference speed matters in two pre-experimental workloads:

  • Large-scale screening. Route-based synthesizability assessment can involve thousands of virtual targets, while multi-step tree search repeatedly calls the one-step model to expand intermediate nodes. For example, planning on the 10,000-target Caspyrus10k benchmark can approach 200 one-step model calls per molecule [4]. Consequently, accelerating this component has been shown to yield 26–86% more solved molecules under the same time budget [5].
  • Interactive design. Chemists iteratively (1) draw or edit a target or intermediate molecule, (2) obtain a proposed retrosynthetic step, and (3) accept, reject, or modify synthesis-tree nodes. Our method accelerates Step (2), providing immediate reaction suggestions and maintaining a responsive design flow.

We acknowledge the reviewer’s point that laboratory synthesis may take weeks to months. However, improving the efficiency of the entire design-and-experiment cycle is a system-level challenge beyond retrosynthetic planning and is not the primary objective of our algorithm.

[4] Torren-Peraire, Paula, et al. Models matter: the impact of single-step retrosynthesis on synthesis planning. Digital Discovery. 2024.

[5] Andronov, Mikhail, and Natalia Andronova. Fast and scalable retrosynthetic planning with a transformer neural network and speculative beam search. 2025.


W3. The claimed accuracy-speed tradeoff is not supported by Figure 3

The intended conclusion is that FlashRetro occupies a favorable accuracy–latency Pareto operating point. Although LocalRetro and Graph2SMILES are faster, they achieve substantially lower Top-1 accuracy. In contrast, FlashRetro reaches approximately 69% Top-1 accuracy at 0.51 seconds per 100 reactants and is more accurate and 22.6×/38.2× faster than the iterative RetroSynFlow/GDiffRetro baselines. Thus, the result demonstrates the benefit of eliminating iterative sampling overhead, rather than suggesting that slower inference generally leads to higher accuracy. We will revise the Introduction, Sec. 4.2, and Fig. 3 caption accordingly.


W4. Template-free vs template-based comparison

We would like to emphasize that template-based pipelines require a separate and often costly template-extraction stage, which may involve expert-designed rules; automatically extracted libraries may also contain noisy or erroneous templates.

To further address your concern, we conducted two experiments:

(1) reducing LocalRetro’s inference-time template library while keeping the test reactions and trained model fixed

(2) stratifying all USPTO-50K test reactions by the training frequency of their ground-truth LocalRetro templates.

Table 1. Template-based methods: LocalRetro accuracy (%) under inference-time template-library reduction.

Template retention Top-1 Top-5
100% 55.20 80.50
75% 45.70 64.96
50% 29.13 40.12
25% 15.59 22.93

Table 2. Top-1 accuracy (%) by ground-truth template frequency.

Template N LocalRetro FlashRetro
Unseen: 0 20 5.0 10.0
Rare: 1–10 145 11.7 17.9
Moderate: 11–50 361 24.7 36.6
Frequent: >50 4,481 59.3 73.9

Together, these results demonstrate LocalRetro’s sensitivity and highlight a potential limitation of template-dependent methods.


Q1. Diversity of the generated candidates

To clarify, Figs. 6 and 7 show raw samples without deduplication. Their purpose is to illustrate that the recorded ground-truth candidate receives the highest sampling frequency, rather than to present all distinct predictions. Each USPTO-50K test product has only one recorded ground-truth precursor set, although multiple chemically valid solutions may exist, which is why we designed these figures as case studies around the recorded reference. Because this candidate appears repeatedly, the figures may give the impression of sample collapse. Indeed, the reviewer’s insightful observation identifies an important and broader research question in retrosynthesis: how to balance prediction correctness with output diversity.


C1. “Interval-normalized” versus “interval-averaged” velocity

Thank you for this precise suggestion, and we will adopt it. Our original use of “normalized” emphasized that dividing the accumulated displacement by t−rt-r prevents its magnitude from growing mechanically with the interval length, while (t−r)u(t-r)u recovers the exact interval displacement. Under the linear path, this averaged velocity equals the oracle velocity and, over [0,1], directly gives the endpoint displacement required by 1-NFE Latent Inversion.


C2. The notation ⋆(z0,0,1)\star(\mathbf z_0,0,1) should be defined

Thank you for identifying this gap. Eq. (9) uses the superscript ⋆ without first defining the corresponding oracle field. Here, v⋆ denotes the oracle instantaneous velocity induced by the supervised latent pair (z₀, z₁), while u⋆ denotes its interval counterpart. The learned field u_θ approximates this oracle field at inference. We will explicitly define these quantities before Theorem 3.1 and review the remaining manuscript for related notation gaps.


L1. Limitations are only discussed in the appendix. This important part should be moved to the main text!

Thank you for this helpful suggestion. We will move the key limitations discussed in the appendix to the main-text Conclusion.

Reviewer tnqe · CommentOpenReview ↗

Thank you for addressing my questions and concerns. I think that with the changes above and slightly toned down theoretical novelty claims (see the point on related works), this is a solid and interesting work that I can recommend to accept.

However, one question remains regarding Q1 and your answer to that: if diversity is not an important metric and always predicting only one synthesis pathway is desirable, why are generative models suitable for the task instead of simply training a regression model? To this end, maybe you could report the average number of unique candidates generated by the baselines and your model, or compare with a regression model as an additional baseline?

Authors · CommentOpenReview ↗

Thank you for this thoughtful follow-up. We would like to clarify that our original evaluation already includes Retroformer and Graph2SMILES, both of which are autoregressive generative models. We now complement these results with a direct comparison of candidate diversity between FlashRetro and these autoregressive generative baselines.

Table 1. Diversity of the deduplicated Top-10 candidates under each method’s standard inference procedure.

Method Generation paradigm UniqCand@10 ↑ Tanimoto-Div@10 ↑ Scaffold-Div@10 ↑
FlashRetro Flow-matching generative 8.07 65.2 60.2
Retroformer Autoregressive generative 6.89 33.7 38.6
Graph2SMILES Autoregressive generative 5.55 38.8 57.2

Compared with the evaluated autoregressive baselines, FlashRetro generates more unique and structurally diverse candidates, suggesting that stochastic latent sampling may facilitate the exploration of alternative precursor modes. This is also a key motivation for recent diffusion-based generative approaches to retrosynthesis. Under the single-reference evaluation protocol, this broader candidate support can increase the opportunity to recover the recorded precursor set among the Top-k predictions. We therefore regard diversity as a complementary diagnostic rather than the primary objective: exact-match accuracy against the recorded route remains the main benchmark metric, while diversity measures whether the generative model provides nonredundant candidate solutions.

We sincerely thank the reviewer for their careful and constructive evaluation of our work, which has helped us improve the clarity and completeness of the manuscript.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…