Back to News Hub
☁️Google Cloud AI
June 30, 2026
Society & Culture

How Schrödinger sped up molecular discovery by 4x with Alphaevolve

Overview

Schrödinger partnered with Google Cloud to deploy AlphaEvolve, an AI coding agent that optimized critical algorithms in their machine-learned force field (MLFF) pipeline, achieving a 4x speedup in molecular simulation training and inference. By replacing inefficient for-loops with parallel batch matrix multiplication in the Ewald summation algorithm, the system improved success rates from under 1% to over 60%, enabling faster drug discovery, catalyst design, and materials development workflows.

Key Takeaways

  • AlphaEvolve, a Google DeepMind evolutionary AI coding agent, optimized Schrödinger's MLFF algorithms and delivered a 4x speedup in both training and inference for molecular simulations.
  • The primary bottleneck was the Ewald summation algorithm, which lacked vectorized implementations and relied on slow for-loops; AlphaEvolve generated a batched parallel implementation using matrix multiplication.
  • Program success rate jumped from less than 1% to over 60%, with the performance metric improving from 7.9 to nearly 30, while maintaining full functional correctness across test suites.
  • The 4x acceleration compresses molecular screening timelines from months to days, directly accelerating drug discovery, catalyst design, and materials development in pharmaceutical and chemical industries.
  • Schrödinger plans next steps to apply this evolutionary approach to custom GPU kernels to determine if AI-generated code can surpass human-engineered implementations.

Stats & Key Facts

  • #4x speedup achieved in MLFF training and inference
  • #Program success rate improved from less than 1% (40 of 5,000 evaluations) to over 60%
  • #Performance metric increased from baseline of 7.9 to nearly 30
  • #Molecular screening timelines compressed from months to days

The Classical Trade-off in Computational Chemistry

Computational chemists have long faced a difficult choice when simulating molecular interactions.

  • Fast classical force fields provide speed but sacrifice precision in quantum-mechanical accuracy.
  • Quantum-mechanical methods deliver high-fidelity results but run prohibitively slowly on large-scale simulations.
  • Machine-learned force fields (MLFFs) bridge this gap by training neural networks on high-quality quantum data, combining both speed and accuracy.
  • Modern drug discovery and materials design require screening massive chemical libraries, intensifying the need for even faster processing speeds.

Identifying the Bottlenecks

Schrödinger, a leader in scientific software with over three decades of experience, pinpointed two critical algorithms limiting their MLFF pipeline performance.

  • Neighbor list computation aggregates data from atomic neighbors but became a limiting factor in both training and inference speed.
  • Ewald summation calculates long-range electrostatic potentials and was the primary performance constraint in Schrödinger's PyTorch code.
  • The Ewald summation lacked established vectorized implementations and relied on simple for-loops that performed poorly on large molecular simulations.
  • These foundational algorithmic bottlenecks directly hindered the speed of AI model training for energy and force calculations essential to MLFF workflows.

How AlphaEvolve Optimized the Code

Schrödinger partnered with Google Cloud to deploy AlphaEvolve, an evolutionary AI coding agent that iteratively generated and refined algorithms to overcome performance constraints.

  • AlphaEvolve automatically explored code variations and identified the most efficient execution paths for the problematic Ewald summation function.
  • The system evolved the PyTorch code to replace simple for-loops with parallel batch matrix multiplication, leveraging modern hardware acceleration.
  • The batched implementation transformed the Ewald summation into a vectorized algorithm capable of outperforming existing custom kernels.
  • This approach enabled discovery of code optimizations that human developers might not have explored within practical time constraints.

The collaboration exemplified how AI-driven code generation can tackle long-standing computational bottlenecks in scientific computing. Rather than manually engineering optimizations, AlphaEvolve systematically evaluated thousands of potential code improvements, selecting those that maintained functional correctness while maximizing throughput. This automated refinement process proved especially valuable for complex mathematical operations like the Ewald summation, which benefit from subtle parallelization strategies that are non-obvious to traditional software engineering approaches.

Rigorous Evaluation and Validation

Schrödinger employed a multi-layered evaluation framework to ensure that optimized code was both performant and scientifically accurate.

  • Inverse time served as the primary metric, with the goal of maximizing throughput by reducing calculation time from a baseline score of 7.9.
  • Functional correctness required all evolved programs to pass comprehensive test suites, including regression tests on complex systems such as disordered water models.
  • Success rate measured the share of programs that were both functionally correct and faster than the baseline implementation.
  • This stringent validation approach prevented performance gains from compromising the scientific integrity of molecular simulations.

Results: From Marginal to Mainstream Success

The application of AlphaEvolve delivered transformative improvements in both performance metrics and practical applicability.

  • Program success rate surged from less than 1% (40 out of 5,000 evaluations) to more than 60%, demonstrating a dramatic increase in the reliability of evolved algorithms.
  • The performance metric improved from the baseline of 7.9 to nearly 30, representing a nearly 4x improvement in computational speed.
  • Both MLFF training and inference achieved the 4x speedup, amplifying benefits across the entire molecular simulation workflow.
  • The optimization maintained full functional correctness, ensuring no compromise in the scientific accuracy of energy and force calculations.

Gabriel Marques, technical lead of machine learning at Schrödinger, emphasized the business impact: 'AlphaEvolve allows us to explore larger chemical spaces faster and more efficiently than ever before. Faster MLFF inference carries real business impact, shortening R&D cycles in drug discovery, catalyst design, and materials development, and enabling companies to screen molecular candidates in days rather than months.' This acceleration directly translates to tangible advantages in competitive research environments where speed-to-discovery can determine market advantage.

Impact on Drug Discovery and Materials Science

The 4x speedup unlocks immediate practical benefits across multiple research domains critical to modern chemistry and pharmaceutical development.

  • Drug discovery workflows can now identify viable therapeutic candidates much faster, addressing urgent medical needs with compressed timelines.
  • Catalyst design benefits from rapid screening of chemical processes, enabling development of more efficient industrial applications.
  • Materials development accelerates the design of next-generation materials with custom properties tailored for electronics and energy storage applications.
  • Molecular screening timelines compress from months to days, fundamentally changing the pace at which companies can evaluate candidates and iterate on designs.

Future Directions and Next Steps

Schrödinger's success with AlphaEvolve on foundational algorithms has opened new research directions for AI-driven code optimization.

  • The company plans to apply the evolutionary approach to custom GPU kernels, testing whether AI-generated code can surpass human-engineered implementations.
  • This expansion could unlock additional performance gains by optimizing lower-level hardware acceleration beyond high-level algorithmic improvements.
  • The methodology demonstrates a scalable template for identifying and resolving computational bottlenecks in other scientific computing domains.
  • Future work may reveal whether AI code generation becomes a standard tool in scientific software development, fundamentally changing how researchers approach performance optimization.

Frequently Asked Questions

What is AlphaEvolve and how does it work?

AlphaEvolve is an evolutionary AI coding agent developed by Google DeepMind that iteratively generates and refines algorithms to find the most efficient code paths. It explores thousands of code variations automatically, identifying optimizations that maximize performance while maintaining functional correctness, without requiring explicit human guidance for each optimization step.

Why was the Ewald summation algorithm a bottleneck?

The Ewald summation calculates long-range electrostatic potentials in molecular simulations but lacked established vectorized implementations. Instead, it relied on simple for-loops that ran slowly on large simulations, making it the primary performance constraint in Schrödinger's PyTorch MLFF training pipeline.

How did AlphaEvolve achieve the 4x speedup?

AlphaEvolve replaced the inefficient for-loop implementation of Ewald summation with parallel batch matrix multiplication, a vectorized approach that leverages modern hardware acceleration. This transformation improved the program success rate from under 1% to over 60% and increased the performance metric from 7.9 to nearly 30.

What does the 4x speedup mean for drug discovery?

The 4x acceleration compresses molecular screening timelines from months to days, allowing researchers to rapidly identify viable therapeutic candidates, evaluate catalyst designs, and develop new materials with custom properties much faster than previously possible.

What validation was performed to ensure the optimized code was correct?

Schrödinger used a rigorous multi-layered evaluation framework including functional correctness tests, regression tests on complex systems like disordered water models, and success rate metrics to ensure evolved programs were both faster and scientifically accurate before deployment.

As AI-driven code optimization becomes increasingly viable for scientific computing, Schrödinger's success with AlphaEvolve suggests a transformative future where evolutionary algorithms routinely outperform human-engineered implementations across computational chemistry and beyond.

Continue Learning

Originally published by Google Cloud AI
Read the original

Comments

Sign in to join the conversation