TL;DR
Tango introduces a remarkably simple yet highly effective approach to starting-material-constrained synthesis planning by replacing complex neural network cost estimators with a classic, non-neural cheminformatics similarity function. By pairing the standard Retro search algorithm with this deterministic cost function, the method achieves state-of-the-art solve rates, faster wall-clock times, and shorter synthetic routes without requiring any model retraining.
What Problem Does This Paper Address?
In Computer-Assisted Synthesis Planning (CASP), the traditional goal is unconstrained: find any viable pathway from a target molecule back to commercially available building blocks. However, real-world chemists often face strict constraints. For instance, in "semi-synthesis" or "waste valorization," engineers want to synthesize a complex molecule starting from a specific precursor, such as a cheap renewable feedstock or an industrial waste product.
Existing approaches to this starting-material-constrained problem rely on complex, specialized architectures—like bidirectional search algorithms that expand both forward from the starting material and backward from the target, or heavy reinforcement learning frameworks. This paper tackles the question: Can we solve constrained synthesis planning using simpler, uni-directional search algorithms just by changing how we evaluate the "cost" of intermediate molecules?
Methods
The authors introduce Tango, which builds directly on top of Retro**, a well-established, uni-directional, best-first search algorithm.
Instead of training a new neural network to estimate the "synthetic distance" between an intermediate molecule and the desired starting material, Tango uses a computed cheminformatics metric called TANGO (TANimoto Group O*verlap). TANGO measures molecular similarity using a weighted combination of:
- Tanimoto Similarity: A standard fingerprint-based metric for overall molecular similarity.
- Fuzzy Matching Substructure (FMS): A metric evaluating structural overlap.
This similarity score is converted into a node cost and additively combined with the original Retro* cost function using a single hyperparameter ($k$) to balance the two objectives:
$$\text{Total Cost} = k \cdot (1 - \text{reward}_{\text{node}}) + \text{RetroCost}$$
Because TANGO is a drop-in cost function, the authors also test it as a replacement for the neural distance networks used in state-of-the-art bidirectional search frameworks like Double-Ended Synthesis Planning (DESP).
Datasets
The authors evaluated their approach across three primary benchmark datasets containing target/starting-material pairs:
- USPTO-190: A set of 190 challenging target molecules derived from the US patent literature.
- Pistachio Reachable: 150 routes used for hyperparameter tuning and baseline testing.
- Pistachio Hard: 100 highly challenging synthetic routes.
- WHO Essential Medicines Case Study: A curated set of 110 small-molecule drugs evaluated against a library of 146 renewable building blocks to demonstrate real-world utility in green chemistry.
Key Insights and Ideas
- The Failure of Neural Distance Networks: The most surprising finding is why Tango* works so well compared to deep learning alternatives. Neural networks trained to estimate synthetic distance ($D$) suffer from an unexpected bimodal distribution at test time (see Figure 3). They consistently over- or underestimate costs and fail to provide a smooth, monotonic gradient to guide the search.
- The Power of Deterministic Rules: Because the training data for these neural networks relies on artificial "negative samples" (assuming disconnected molecules in a sparse dataset are completely unsynthesizable), they introduce massive noise. A simple, deterministic Tanimoto similarity calculation provides a much cleaner, granular, and strictly monotonic gradient toward the target starting material.
- Versatile Synergy: TANGO isn't just for uni-directional search. When dropped into bidirectional frameworks (DESP) to replace their internal neural distance estimators, it acts as a catalyst, dramatically boosting their performance as well.
Key Results
- Higher Solve Rates: On the challenging USPTO-190 dataset (with an expansion budget of 500), Tango achieved a 42.6% solve rate, outperforming the neural-network-guided Retro+D (37.4%) and matching or beating complex bidirectional DESP methods.
- State-of-the-Art Bidirectional Performance: When TANGO was integrated into the bidirectional DESP-F2F framework (Tango-F2F), it achieved a staggering 99.3% solve rate on Pistachio Reachable and boosted the solve rate on USPTO-190 to 53.7%—a ~25% relative improvement over the previous best method.
- Computational Efficiency: Tango achieved the lowest wall-clock times across the board (e.g., 55.8 seconds on USPTO-190 compared to 64.1s for Retro+D and 109.4s for DESP-F2F) because it bypasses expensive neural network evaluations during graph exploration.
Limitations and Future Work
While pure Tanimoto similarity performed exceptionally well on complex datasets, the authors noted that incorporating Fuzzy Matching Substructure (FMS) actually degraded performance on harder benchmarks. They hypothesize that Tanimoto similarity simply offers finer granularity for complex molecular architectures.
Additionally, the current formulation of Tango is strictly limited to steering a synthesis toward a specific starting material*. The authors note that future work should expand this framework to accommodate more diverse constraints, such as forcing the pathway through specific intermediate steps or protecting certain molecular substructures throughout the reaction sequence.
Summary updated