TL;DR
RIDE is a novel framework for scaffold hopping that uses inference-time diffusion editing to generate new molecular backbones while strictly preserving the 3D shape of a reference ligand. By "reverse-engineering" the noise trajectory of a known drug and selectively perturbing it, RIDE achieves a 11.7% improvement in structural novelty and a 7.3% boost in 3D shape preservation over existing methods—all without needing to retrain the underlying models.
What Problem Does This Paper Address?
In drug discovery, "scaffold hopping" is the quest to find a new chemical backbone (the scaffold) that keeps the same functional groups in the same 3D positions as a known active molecule. This is vital for bypassing patents, improving a drug's physical properties, or making it easier to synthesize, all while maintaining its biological "fit" into a protein pocket.
Generative AI, particularly diffusion models, has shown promise here. However, existing methods often struggle with a fundamental trade-off: if you let the model be too creative, it loses the 3D shape required for binding; if you constrain it too much, it just reproduces the original molecule. Most current models rely on random chance to find this balance and lack a principled way to ensure the new molecule is both structurally novel in 2D and identical in 3D.
Methods
RIDE (Reference-anchored Inference-time Diffusion Editing) treats scaffold hopping as a controlled editing task rather than generation from scratch. The process follows three main steps, as illustrated in the overview figure:
- Reference Trajectory Inversion: RIDE takes a known reference ligand and "inverts" it through a pre-trained diffusion model. This recovers the specific sequence of noise (the "noise trajectory") that would have generated that exact molecule.
- Reference-Optimal Segment Selection: Instead of changing the whole trajectory, RIDE identifies a specific time segment ($t_1$ to $t_2$) to edit. It uses Monte Carlo sampling to find the segment that, when perturbed, is most likely to yield a molecule with low 2D similarity (high novelty) but high 3D similarity to the original.
- Value-Guided Scaffold Sampling: During the actual generation, RIDE uses a "value function" to steer the denoising process. It looks ahead at potential final molecules and chooses the path that maximizes a reward based on 2D novelty and 3D shape preservation.
Because RIDE works at "inference-time," it can be plugged into various existing diffusion-based molecular generators (like conDitar or IPDiff) as a modular upgrade.
Datasets
The authors evaluated RIDE using:
- Training: Base models were trained on the CrossDocked2020 dataset, a standard for protein-ligand complexes.
- Evaluation: A specialized test set of 60 complexes with 58 unique ligands related to major human diseases. This is a more rigorous and biologically relevant benchmark than standard sets, which often contain a high percentage of non-human targets.
Key Insights and Ideas
- Noise as an Anchor: By starting with the reference's noise trajectory rather than pure random noise, the model inherently "remembers" the 3D pose and binding requirements of the original ligand.
- The Power of Selective Editing: The authors found that editing different parts of the diffusion process has different effects. Editing early (high noise) changes the global architecture, while editing late (low noise) changes fine details. RIDE's ability to pick the "optimal" segment is key to its success.
- Iterative Hopping: RIDE can be applied multiple times. You can take a generated molecule, treat it as a new reference, and "hop" again. This allows researchers to step progressively further away from the original chemical space while maintaining the 3D "anchor."
- Implicit 3D Preservation: Interestingly, RIDE maintains high 3D similarity even when the reward function is focused on other properties (like drug-likeness/QED), suggesting the anchored trajectory is a very robust mechanism for shape preservation.
Key Results
RIDE was tested against state-of-the-art baselines like DiffHopp and ShEPhERD. The main quantitative findings are summarized in the table below:
- Better Balance: RIDE consistently achieved lower $\text{Sim}_{\text{2D}}$ (more novel) and higher $\text{Sim}_{\text{3D}}$ (better shape) than all baselines.
- Binding Affinity: It maintained or improved binding affinity (measured by Vina scores) compared to the base models it was editing.
- Success Rate: RIDE showed a high "Conn. (%)", meaning the generated scaffolds were successfully connected to the required functional groups significantly more often than some baselines.
Limitations and Future Work
- Fixed Atom Count: Currently, RIDE constrains the generated scaffold to have the same number of atoms as the reference. Future versions could allow for growing or shrinking the scaffold.
- Computational Overhead: The value-guided sampling requires "lookahead" steps, which makes inference slower than simple random sampling.
- Property Optimization: While RIDE can handle rewards like QED (drug-likeness), the authors suggest future work could integrate more complex ADMET (Absorption, Distribution, Metabolism, Excretion, and Toxicity) properties directly into the editing process.
Summary updated