Abstract
Generating 3D molecular structures is critical for drug discovery, yet standard diffusion models are often computationally expensive, requiring hundreds of sampling steps. We present the Straight-Line Diffusion Model (SLDM), which achieves a 100-fold improvement in sampling efficiency. By enforcing a linear diffusion trajectory, SLDM minimizes discretization errors and preserves sensitive molecular geometry, enabling high-quality generation in as few as 10 steps.
Introduction
The design of 3D molecular structures is a fundamental challenge in computational chemistry and material science. While diffusion-based generative models have set new benchmarks in this domain, their practical utility is hampered by high inference costs. Models like the Equivariant Diffusion Model (EDM) typically necessitate 1,000 sampling steps to produce chemically stable molecules.
This inefficiency stems from two primary factors. First, the mathematical path from Gaussian noise to a structured molecule is often highly curved in traditional models. Simple numerical solvers, such as Euler's method, accumulate significant errors along these curves, requiring small step sizes to maintain accuracy. Second, molecular stability is extremely sensitive to atomic coordinates; even minor deviations can result in chemically invalid structures. Traditional noise schedules often destroy structural information too rapidly, making efficient reconstruction difficult.
The Straight-Line Diffusion Model (SLDM)
SLDM addresses these challenges by redesigning the diffusion schedule to ensure a linear sampling trajectory.
Linear Trajectory and Reduced Error
In contrast to standard models with complex, non-linear schedules for mean ($\mu$) and variance ($\sigma$), SLDM simplifies the process by setting the mean to decrease linearly while maintaining a very small constant variance. This configuration ensures that the second-order derivative of the sampling trajectory is approximately zero ($d^2x/dt^2 \approx 0$), effectively creating a straight-line path.
Because the trajectory is linear, first-order solvers can utilize significantly larger step sizes without drifting from the intended path. This "straight-line" inductive bias allows the model to take "giant leaps" during sampling, drastically reducing the number of function evaluations (NFE) required.
Balanced Learning and SNR Decay
SLDM also optimizes the Signal-to-Noise Ratio (SNR) decay. As shown in the comparison of schedules, SLDM maintains a higher SNR for a longer duration compared to traditional models like VP or BFN. This slower decay preserves the relative spatial relationships between atoms during the critical middle stages of generation, preventing the formation of chemically implausible geometries. Furthermore, SLDM distributes the reconstruction effort uniformly across the entire generative process, leading to a more robust neural network that does not over-specialize on specific phases of generation.
Experimental Results
The model was evaluated on the QM9 dataset (~134k small organic molecules) and the GEOM-Drugs dataset (~430k complex drug-like molecules).
Sampling Efficiency and Stability
SLDM demonstrates a remarkable 100x speedup over baselines. It generates stable molecules in just 10 steps that are superior in quality to those produced by EDM in 1,000 steps. On the QM9 benchmark, SLDM achieved a state-of-the-art molecular stability of 95.42%, outperforming previous leaders such as GeoBFN (90.87%) and EquiFM (88.3%).
Scalability and Conditional Generation
On the larger GEOM-Drugs dataset, SLDM maintained high validity (99.95%) and atom stability (88.30%) with significantly fewer steps than competitors. Additionally, in conditional generation tasks—where molecules are generated to satisfy specific physical properties like polarizability—SLDM operated 20x faster than previous methods while maintaining higher accuracy.
Conclusion
The Straight-Line Diffusion Model represents a significant step forward in efficient molecular generation. By aligning the diffusion trajectory with a linear path, the model overcomes the discretization errors and structural sensitivity that plague traditional diffusion methods. Future work will explore refining the boundary conditions of the variance schedule and extending this straight-line logic to other complex structural domains, such as protein folding and crystalline materials.
Summary updated