Towards Sub-Second Molecular Docking as a Structural Primitive: A Quantized Consistency Diffusion Framework

Kexin Zhang, Weichen Qin, Yue Teng, Jiale Yu, Yuanyuan Ma, jinyu lin, Liping Sun, Jie Zheng, Jingyi Yu

International Conference on Machine Learning 2026 · Oral

Overview

This talk explores the critical bottleneck of computational latency in structure-based drug discovery, specifically addressing how slow deep learning primitives hinder agentic workflows. As modern scientific agents increasingly rely on automated tools to explore, compare, and iterate through molecular designs, traditional molecular docking models—which often require seconds to minutes per execution—fail to scale. The speakers present a novel framework developed at ShanghaiTech University designed to achieve sub-second molecular docking without sacrificing generation quality.

Watch on SlidesLive

Visual summary for Towards Sub-Second Molecular Docking as a Structural Primitive: A Quantized Consistency Diffusion Framework by Kexin Zhang, Weichen Qin, Yue Teng, Jiale Yu, Yuanyuan Ma, jinyu lin, Liping Sun, Jie Zheng, Jingyi Yu
Visual summary for Towards Sub-Second Molecular Docking as a Structural Primitive: A Quantized Consistency Diffusion Framework by Kexin Zhang, Weichen Qin, Yue Teng, Jiale Yu, Yuanyuan Ma, jinyu lin, Liping Sun, Jie Zheng, Jingyi Yu

Key moments

  1. 0:00 Introduction to molecular docking and co-folding models
  2. 1:54 The missing layer: low-latency co-folding models for agents
  3. 3:25 Compressing representation loops and denoising steps
  4. 4:51 Progressive consistency regularization and loss function
  5. 6:13 Residue-safe quantized inference strategy
  6. 7:23 Evaluation of docking success ratio and chi angle error
  7. 8:37 Sub-second inference results and offline MacBook demo
  8. 9:37 Related projects and conclusion

Towards Sub-Second Molecular Docking as a Structural Primitive: A Quantized Consistency Diffusion Framework

Speakers: Kexin Zhang; Weichen Qin; Yue Teng; Jiale Yu; Yuanyuan Ma; jinyu lin; Liping Sun; Jie Zheng; Jingyi Yu

Conference: ICML

YouTube: https://slideslive.com/39083574

Overview

This talk explores the critical bottleneck of computational latency in structure-based drug discovery, specifically addressing how slow deep learning primitives hinder agentic workflows. As modern scientific agents increasingly rely on automated tools to explore, compare, and iterate through molecular designs, traditional molecular docking models—which often require seconds to minutes per execution—fail to scale. The speakers present a novel framework developed at ShanghaiTech University designed to achieve sub-second molecular docking without sacrificing generation quality.

The core contribution of this work is not a brand-new generative paradigm, but rather a systems-level and algorithmic optimization of existing co-folding architectures. By streamlining representation loops, adopting advanced noise schedules, introducing a technique called progressive consistency regularization, and applying residue-safe mixed-precision quantization, the team successfully transforms molecular docking into a low-latency structural primitive. This advancement bridges the gap between high-level autonomous agent orchestration and resource-intensive atomic-level biophysical modeling.

Ultimately, this research matters because it unlocks real-time, closed-loop drug discovery. When large language model-driven workflows and platforms like Cloud Science or OpenAI Prism can invoke docking predictions instantaneously, automated agents can explore vast chemical spaces at speeds previously thought impossible. The methodology demonstrates that rigorous geometric generation and high-throughput systems efficiency are not mutually exclusive.

Background

▶ Watch: Introduction to molecular docking and co-folding models (0:00)

In modern structure-based drug discovery, predicting how a small molecule (ligand) binds to a receptor protein pocket is a fundamental task. Answering where and how well a ligand will bind connects molecular design with structural evidence, driving virtual screening, hit discovery, and lead optimization. Over recent years, deep learning-based co-folding models—which generate biomolecular structures through atom-level point cloud diffusion—have emerged as the dominant paradigm for molecular docking.

Despite their high accuracy, these models suffer from severe performance bottlenecks. State-of-the-art architectures like AlphaFold 3 rely on iterative loops for both protein representation and structure generation. During inference, the computational cost is dictated by the number of representation loop iterations ($R$) and generation loop denoising steps ($S$). When integrated into agentic ecosystems where thousands of hypotheses must be verified iteratively, these multi-second or multi-minute execution times create an unacceptable latency wall.

While acceleration techniques such as post-training quantization and noise schedule optimization are well-established in computer vision and large language modeling, applying them directly to 3D atomic point clouds is notoriously difficult. Standard low-precision quantization often destabilizes geometric representations and ruins local structural details, while standard image generation noise schedules fail to account for the complex physics of protein-ligand interactions. This work addresses the missing layer in AI-driven science: low-latency, high-fidelity co-folding primitives capable of operating at interactive speeds.

Key Findings

▶ Watch: Compressing representation loops and denoising steps (3:25)

The primary finding of this work is that molecular docking can be accelerated to sub-second latencies on modern hardware while maintaining competitive docking success ratios and physical plausibility. By systematically eliminating redundant computations across both representation and generation loops, the authors achieved dramatic speedups without degrading structural output.

Evaluation on benchmark docking datasets revealed several key performance insights:

  • Schedule Superiority: While EDM-style and linear noise schedules perform comparably when the number of sampling steps ($S$) is greater than 8, linear rectified flow schedules significantly outperform EDM at lower step counts ($S < 5$), demonstrating superior few-step sampling behavior.
  • Impact of Consistency Regularization: Integrating progressive consistency regularization improves generation quality across all settings, successfully enabling high-fidelity one-step sampling under the linear schedule.
  • Quantization Resilience: Residue-safe mixed-precision quantization preserves global docking success ratios, showing that overall pose generation ability remains intact when compute-heavy operations are cast to lower precision.
  • Optimal Trade-off: Operating at around 5 sampling steps delivers the optimal balance between local structure recovery and inference latency.

The headline result is that the optimized framework completes pocket-based molecular docking in sub-second time on an NVIDIA H100 GPU (measured during inference only, excluding non-model overhead), dramatically outperforming traditional co-folding baselines.

Technical Deep Dive

▶ Watch: Residue-safe quantized inference strategy (6:13)

The architectural and algorithmic innovations of this framework focus on compressing the two primary loops of co-folding models: the representation loop and the generation loop.

To compress the representation loop ($R$), the authors exploit the availability of informative pocket priors. Because protein templates and pocket geometries are typically provided as inputs—rather than folding the entire receptor from a raw sequence—sequence alignments and iterative recycling become redundant. The framework replaces multi-pass recycling with a single representation pass, encoding the pocket-ligand context efficiently and redirecting compute budgets toward faster generation.

To compress the generation loop ($S$), the team re-evaluated noise schedules. Using the noise-signal ratio as a unified coordinate system across different parameterizations, they transitioned from traditional cosine schedules to linear rectified flow paths. To supervise this accelerated trajectory, they introduced progressive consistency regularization (PCR). During training, the model samples two time steps, $T$ and $R$ (where $T > R$), using the denoised structure at the smaller step $R$ to supervise the prediction at the larger step $T$. By progressively reducing the gap ($T - R$) over the course of training via a curriculum learning strategy, the model learns self-distillation across time scales. Because consistency loss alone is insufficient for atomic point clouds, it is combined with standard coordinate-level mean square error (MSE) reconstruction loss.

Finally, the model footprint and execution latency are compressed via residue-safe quantized inference. Recognizing that native low-precision quantization damages local geometric details, the authors designed a mixed-precision strategy:

  • High Precision: Residue stream normalization and structure-sensitive outputs (such as receptor side-chain chi angles) are maintained in higher precision formats.
  • Low Precision: Compute-heavy General Matrix Multiply (GEMM) operations inside the transformer blocks are executed in Int8 or FP8 precision.

Experimental Setup & Results

▶ Watch: Evaluation of docking success ratio and chi angle error (7:23)

The empirical evaluation focused on validating global structure generation quality, local physical plausibility, and inference latency.

  • Hardware Infrastructure: All latency and inference measurements were executed on an NVIDIA H100 GPU, isolating pure model inference time from I/O and non-model overhead. An offline demonstration was also successfully run on consumer hardware (Apple MacBook).
  • Evaluation Metrics: Global structural quality was measured using the docking success ratio, while local physical plausibility was quantified using the receptor side-chain chi angle mean absolute error (MAE), where lower values indicate superior recovery of local protein geometry.
  • Schedule Ablations: When evaluated at step sizes $S > 8$, EDM and linear schedules exhibited near-identical docking success ratios. However, at $S < 5$, the linear schedule exhibited a clear performance advantage. With the addition of progressive consistency regularization, generation quality improved uniformly, successfully supporting single-step sampling.
  • Quantization Impact: While global docking success remained unchanged post-quantization, local structural metrics indicated that aggressive low-precision execution requires careful tuning, establishing a 5-step sampling budget as the ideal sweet spot for balancing physical realism and execution speed.

Practical Implications

▶ Watch: Related projects and conclusion (9:37)

For infrastructure teams, model builders, and deployers working in AI for science, these findings demonstrate that high-throughput structural biology models can be successfully adapted for real-time applications. By decoupling representation recycling and applying mixed-precision constraints that respect physical geometries, developers can drastically lower operational costs and hardware requirements.

For agentic framework designers, sub-second molecular docking unlocks true interactive exploration loops. Large language model agents can now execute hundreds of iterative ligand modifications and verify their binding affinities on-the-fly rather than waiting minutes for batch jobs to clear.

However, practitioners must navigate important tradeoffs. While global pose prediction is robust to residue-safe quantization, local side-chain geometries (measured via chi angles) are sensitive to aggressive low-precision compression. Deployers must carefully manage the trade-off between step count $S$ and physical plausibility, noting that pushing inference below 5 steps requires strict adherence to consistency regularization to avoid structural degradation.

Key Takeaways

  • Eliminating Recycling: Utilizing informative pocket priors allows co-folding models to bypass multi-pass representation recycling, relying on a single representation pass to encode pocket-ligand context.
  • Linear Rectified Flows: Replacing cosine-style noise schedules with linear rectified flow paths significantly improves few-step sampling behavior ($S < 5$) for atomic point cloud generation.
  • Progressive Consistency Regularization: Combining coordinate-level reconstruction loss with multi-scale self-distillation enables high-quality generation in very few steps, down to single-step sampling.
  • Residue-Safe Mixed-Precision: Preserving high precision for normalization and structure-sensitive outputs while casting transformer GEMM operations to Int8/FP8 prevents geometric degradation during quantization.
  • Sub-Second Latency: Optimized inference achieves sub-second pocket-based molecular docking on NVIDIA H100 GPUs, establishing co-folding as a viable, low-latency primitive for agentic scientific workflows.

About the Speaker(s)

  • Jingyi Yu: Part of the team working on molecular docking models and deep learning paradigms for biomolecular structure prediction.

Co-authors: Kexin Zhang, Weichen Qin, Yue Teng, Jiale Yu, Yuanyuan Ma, jinyu lin, Liping Sun, Jie Zheng.

Reviews

→ Top-rated talks at International Conference on Machine Learning 2026

All talks from International Conference on Machine Learning 2026