From Molecule Generation to Clinical Trials: How AI4S Filters Millions of Candidates

    Large language models are moving from code generation into scientific research, where multi-step reasoning, hypothesis testing, and physical constraints matter far more than pattern matching. This article explains how AI for Science (AI4S) is reshaping drug discovery pipelines: the four-layer funnel that turns millions of virtual molecules into a handful of viable candidates, the architecture of scientific research agents, the regulatory milestones from preclinical studies to market approval, and the three variables that most influence whether a molecule survives the journey. It also discusses realistic expectations, noting that AI improves early-stage candidate quality but cannot guarantee clinical success.

    Why Large Models Are Moving from Code to Science

    Over the past two years, the most talked-about application of large language models has been code generation. Programming tasks have clear objectives and immediate feedback, with correctness that can be directly judged, making them well suited for training and evaluation. Scientific research is different. Whether a molecule is active, how a protein folds, whether a reaction pathway is feasible—the answers lie in complex physical and chemical principles, and models must perform multi-step reasoning, propose hypotheses, and verify them on their own. AI for Science (AI4S) has therefore become an important benchmark for testing model capabilities and a major investment direction for industries such as drug development.

    Scientific research agents have already demonstrated efficiency gains. One commonly cited example involves a bioinformatics analysis task that originally took a PhD student roughly 4 to 8 hours, which was substantially reduced after connecting a large-model agent. Note that the task definition, sample size, and measurement methodology behind this figure were not provided, so it should be treated only as a background case rather than a general conclusion.

    The Four-Layer Funnel for Candidate Molecules

    Generative models can output tens of thousands, even millions, of virtual molecules per day. Candidates are no longer scarce—what is scarce are molecules that can pass every layer of screening. Understanding the criteria at each layer of the funnel is a prerequisite for deciding which molecules deserve further investment.

    Layer 1: Synthesizability filtering. Generative models often produce molecules that look ideal on paper but are difficult to synthesize in the lab. Engineering teams typically introduce retrosynthesis analysis models and reaction rule libraries to first eliminate candidates with no feasible synthetic route. Rule libraries need to be regularly calibrated with real synthesis experience, otherwise they overestimate feasibility.

    Layer 2: ADMET property prediction. The five properties—absorption, distribution, metabolism, excretion, and toxicity—determine whether a molecule can become a drug. Graph neural networks and pretrained molecular representation models can expose high-failure-rate issues such as toxicity at the virtual stage. However, model predictions carry uncertainty, especially for chemical structures poorly covered in training data. Predictions should only be used for ranking and filtering, not as a replacement for wet-lab experiments. Teams should also provide confidence assessments and flag which conclusions require experimental confirmation.

    Layer 3: Activity and selectivity validation. A molecule must bind its target while avoiding off-target binding to other proteins. Molecular docking, free-energy calculations, and molecular dynamics simulations provide physical constraints that reduce the correlation traps of purely data-driven models. A correlation trap refers to a model learning superficial associations without capturing causal mechanisms. These computational methods carry their own errors, and results likewise require experimental validation.

    Layer 4: Wet-lab closed loop. Hit molecules from virtual screening move into automated experimental platforms for validation. Experimental data flows back to retrain the models, forming an iterative design–make–test–learn cycle. The fields in the returned data must be standardized, including compound structure, experimental conditions, batch information, and failure records. Without consistent fields, models cannot learn meaningful signals. AI-driven drug discovery without a closed loop simply produces candidate molecules faster.

    Scientific Research Agents: Planning, Tool Calling, and Validation

    Conversational models struggle to independently handle scientific research workflows. Agent architectures allow models to plan tasks, call tools, execute computations, interpret results, and correct errors. A typical bio-research agent contains four types of components.

    • Task planner: decomposes vague requests like “evaluate marker gene quality in this single-cell dataset” into executable step sequences.
    • Tool-calling layer: connects to data analysis libraries, molecular simulation engines, and literature search interfaces through standardized function-calling protocols.
    • Memory and context management: long-running workflows need to pass intermediate results between steps. How context is organized and trimmed directly affects agent reliability.
    • Result validation module: checks whether computational outputs make biological sense. For example, ribosomal protein genes are sometimes mistakenly treated as cell-type markers. This kind of judgment historically depended on experienced researchers.

    The validation module should not be treated as a fully automated, reliable decision-maker. Validation rules need clearly documented sources and maintenance by domain experts, and key conclusions still require human review. The following illustrative code shows only the structure of the task loop, not real interfaces:

    1. # Illustrative code: research agent task loop (not a real interface)
    2. while not task.is_done():
    3. plan = planner.next_step(context)
    4. result = tool_executor.run(plan.tool, plan.args)
    5. verdict = validator.check(result, domain_rules)
    6. if verdict.needs_review:
    7. escalate_to_human(result, verdict)
    8. context.update(plan, result, verdict)
    9. report = reporter.summarize(context)

    Deploying such systems requires stable compute and platform support, including model inference services, container orchestration, data storage, logging, and monitoring. These are all general-purpose infrastructure components; selection should be based on your team’s existing cloud environment and compliance requirements. This article does not recommend specific products.

    The Road to the Clinic: Key Milestones from Candidate to Market

    The funnel described above ends at the preclinical stage. For a molecule to become a drug, it must clear the following gates.

    Preclinical research. This includes pharmacodynamics studies, pharmacokinetic studies, and toxicology studies conducted under Good Laboratory Practice (GLP) conditions. Toxicology results determine the safe dosage range in animal testing and are the primary basis for the first-in-human dose.

    CMC (Chemistry, Manufacturing and Controls). Being able to synthesize a few grams in the lab does not mean you can reliably manufacture product at scale. CMC requires defining raw material sources, synthesis processes, impurity profiles, and quality standards, and demonstrating batch-to-batch consistency. Many candidates that perform well in the lab fail at this stage.

    IND (Investigational New Drug) application. In the United States, sponsors submit an IND to the FDA and may begin human trials only after approval. In China, the equivalent is a clinical trial application submitted to the national drug regulatory authority, with clinical research permitted only after clearance. Application materials typically include preclinical data, CMC documentation, and the proposed clinical protocol.

    Phase I trials. Safety, tolerability, and pharmacokinetic profiles are typically assessed in a small number of healthy volunteers or specific patient populations, while exploring the dosage range.

    Phase II trials. Preliminary efficacy is evaluated in patients with the target indication, with continued safety monitoring, to determine the recommended dose.

    Phase III trials. Efficacy and safety are confirmed in larger patient populations, usually against a control group. Phase III is the primary evidence source for marketing authorization.

    Market approval. The company submits a marketing application, and the regulator reviews all clinical and manufacturing data. Even after approval, post-marketing surveillance is required to continuously collect safety information.

    Industry statistics show that the overall success rate from Phase I to market approval is very low—approximately 7.9% according to BIO and similar organizations analyzing 2011–2020 data. Failure causes are diverse, with lack of efficacy and safety issues among the most common. This suggests that AI improving early-stage candidate quality can help downstream outcomes, but cannot directly guarantee clinical success.

    Three Variables That Determine Molecule Survival

    Facing millions of candidate molecules, how many ultimately reach the clinic depends more on the following three variables—and the capability of generative models is only one of them.

    Data quality matters more than data volume. Drug discovery data is sparse and noisy, negative results are rarely published, and models easily learn biases. Building a standardized data governance system and establishing reliable paths for experimental data feedback are more valuable than simply scaling up data.

    Physical constraints must be combined with data-driven approaches. Purely black-box models that ignore the underlying physics are prone to learning spurious correlations that fail under distribution shift. Incorporating physical and chemical constraints—through methods like free-energy calculations, molecular dynamics, and physics-informed architectures—grounds model predictions in causal mechanisms and makes them more reliable in the face of novel chemistry.

    Human expertise remains essential at every checkpoint. Neither automated validation modules nor model predictions can fully replace domain expert judgment. Experienced medicinal chemists and biologists must review high-stakes decisions—synthetic feasibility, toxicity flags, and biological plausibility—especially where training data is limited. Designing workflows that surface uncertain predictions for human review, rather than fully automating them, is critical for reliability.