AI4S in Drug Discovery: Why Thousands of Candidate Molecules Fail to Reach the Clinic

    This article examines why scaling molecule generation in AI for Science (AI4S) and AI-driven drug discovery (AIDD) does not improve clinical success rates. It breaks the R&D pipeline into a multi-stage funnel, describes a four-layer bio-agent architecture with a closed compute-to-wet-lab loop, and outlines engineering requirements for reproducibility and auditability. It also covers a generic cloud infrastructure blueprint, a layered evaluation framework, and common failure modes with practical mitigations.

    1. The Real Problem: The Funnel Is Too Narrow, Not the Generation Volume

    In AI for Science (AI4S) and AI-driven drug discovery (AIDD), a common mistake is treating compute capacity and generation scale as the core metrics. The actual constraint is different: the cost of generating candidate compounds has dropped sharply, while the cost of validation and clinical progression has stayed roughly the same. The entrance of the funnel is expanded almost without limit, but the exit remains narrow. Understanding this is the prerequisite for designing the whole system.

    The R&D chain can be abstracted as a multi-stage funnel:

    1. Target and mechanism hypothesis: decide which biological pathway to intervene in and which protein structural state to address.
    2. Generation and enumeration: produce a large number of candidate small molecules or biologic designs.
    3. Computational screening: affinity prediction, selectivity, and early ADMET (absorption, distribution, metabolism, excretion, toxicity) filtering.
    4. Wet-lab validation: synthesis, biochemical and cell assays that return real labels.
    5. Preclinical and clinical stages: pharmacokinetics, toxicology, dosing, and population variability.

    The final probability of “surviving to the end” is the product of the pass rates at every stage. So the engineering focus is not on enlarging stage 2, but on making stages 3 and 4 form a high-speed closed loop, and on pushing the uncertainty of stage 5 as far upstream as possible.

    2. Plugging Bio-Agents into the R&D Pipeline: A Layered Capability Model

    A usable bio-agent typically has four capability layers, decoupled from each other through explicit data contracts:

    • Knowledge retrieval and evidence layer: retrieval augmentation over literature, patents, and annotation databases, with traceable citations required in the output.
    • Structure and sequence modeling layer: protein structure prediction, pocket identification, and sequence conservation analysis.
    • Generation and scoring layer: molecule generation, conformer sampling, and affinity and selectivity scoring.
    • Experiment orchestration layer: turns computational conclusions into assay task lists, collects results, and triggers retraining.

    Illustrative task orchestration (pseudocode, expressing the flow only and not referring to any specific product):

    1. # Pseudocode: closed loop between computational screening and wet-lab feedback
    2. candidates = generator.sample(n=20000, constraints=constraints)
    3. # First computational funnel: structural interpretability + fast scoring
    4. stage1 = [c for c in candidates if pocket_fit(c) > 0.6 and synth_feasible(c)]
    5. scores = {c: affinity_proxy(c) + selectivity_penalty(c) for c in stage1}
    6. # Second funnel: early druggability filtering
    7. shortlist = [c for c, s in scores.items() if s > TH and admet_risk(c) < RISK_MAX][:200]
    8. # Generate assay task list and wait for real labels
    9. tasks = [make_assay(c) for c in shortlist]
    10. labels = wet_lab.run(tasks) # real-world signal
    11. model.update(labels) # calibrate proxy metrics with real labels

    The key point: both affinity_proxy and admet_risk are proxy metrics. They must be continuously calibrated against real experimental labels, otherwise the model drifts further and further into its own bias.

    3. Reproducibility and Auditability: The Engineering Baseline for AI4S

    The biggest difference between a research setting and a business system is that conclusions must be reproducible and auditable. At minimum, four things should be in place:

    • Data versioning: datasets, features, and labels all carry immutable version numbers.
    • Experiment traceability: every scoring run records the model version, random seed, parameters, and dependency environment.
    • Evidence traceability: every biological assertion ships with a citation source and a confidence value.
    • Metric decomposition: break “pass rate” down to each funnel stage to locate the bottleneck.

    A minimal tracking record example:

    1. {
    2. "run_id": "r-20260901-001",
    3. "model_version": "gen-v3",
    4. "seed": 42,
    5. "stage": "compute_screen",
    6. "metrics": {"stage1_pass": 0.31, "stage2_pass": 0.07},
    7. "evidence": ["ref:10.xxxx/xxxxx"],
    8. "data_snapshot": "ds-2026-08-30"
    9. }

    4. Compute and Data Foundation: Building the Skeleton on Generic Cloud Capabilities

    The infrastructure supporting this loop can be assembled entirely from generic cloud product categories, avoiding lock-in to any proprietary solution:

    • Object storage: structure files, dataset snapshots, and assay images.
    • Container platform: packaging heterogeneous compute images such as structure prediction and molecule generation, with elastic scaling.
    • Message queue: decoupling the three pipeline segments of generation, scoring, and assay task creation, and smoothing traffic peaks.
    • Logging and monitoring with alerting: tracking task failure rates, queue backlog, and resource utilization.
    • Data warehouse or lakehouse: unifying the definitions of experimental data and computational features.

    For scheduling, a tiered queue setup is recommended: high-value candidates go to a high-precision, long-running queue; massive initial screening goes to a low-precision, short-running queue. Illustrative configuration:

    1. queues:
    2. - name: fast_screen
    3. timeout: 120s
    4. precision: low
    5. - name: precise_eval
    6. timeout: 3600s
    7. precision: high
    8. policy: promote_top_k(from: fast_screen, to: precise_eval, k: 200)

    On Baidu AI Cloud, this kind of architecture maps directly onto a combination of generic capabilities such as object storage, container platform, message queue, logging, and monitoring. The emphasis is on unified definitions and elastic scheduling, not on binding to a specific proprietary interface.

    5. Evaluation: Do Not Look at Hit Rate Alone

    A set of layered metrics is preferable to a single hit rate:

    1. Funnel efficiency: pass rate and time share at each stage.
    2. Proxy-to-real consistency: correlation coefficient between computational scores and experimental results (for example Pearson or Spearman).
    3. Diversity: number of structural clusters in the candidate set and scaffold coverage, to avoid inbreeding.
    4. Robustness: variance across targets and across data splits.
    5. Cost efficiency: compute and experimental cost per effective candidate.

    Proxy-to-real consistency is the most frequently overlooked, yet it determines whether the whole pipeline is doing the right thing.

    6. Common Failure Modes and How to Avoid Them

    • Metric leakage: homologous structures exist in both training and validation sets, inflating offline metrics.
    • Proxy metric drift: after an assay batch changes, the old scoring model becomes inaccurate.
    • Diversity collapse: the generative model repeatedly outputs a few high-scoring ring scaffolds.
    • Broken evidence chains: conclusions carry no citations, so experts cannot review them.
    • Funnel mismatch: compute is piled onto the generation end while validation becomes the bottleneck.

    The mitigations are, respectively: strict splitting, periodic recalibration, diversity constraints and penalty terms, mandatory citations, and allocating compute based on stage pass rates.

    7. Conclusion

    The answer to “thousands of molecules rush toward the clinic, and which ones survive to the end” does not depend on how many candidates were generated. It depends on the speed of the compute-to-experiment loop, the trustworthiness of the proxy metrics, and the reproducibility of the entire workflow. Embedding bio-agents into a layered funnel, carrying elastic compute and data governance on generic cloud capabilities, and continuously calibrating with layered metrics is the realistic path to turning AI4S from a demo into a deliverable system.