AI4S from Molecule to Clinic: Who Survives the Funnel of Thousands of Candidates?

    As AI for Science (AI4S) transitions from generative demonstrations to real-world R&D workflows, the core challenge has shifted from generating candidate molecules to rigorous validation, selection, and translation. This article explores the proper placement of large language models in biopharmaceutical research, emphasizing the necessity of auditable systems that combine agent orchestration, deterministic computation, and human expert oversight. Through practical examples like single-cell marker gene screening, it outlines an end-to-end architecture, a candidate funnel, a multi-layered evaluation system, and a pragmatic deployment path. The goal is to help teams build a reproducible, auditable loop that identifies the true winners capable of advancing to clinical trials.

    1. From “Generating More” to “Screening More Accurately”

    As large models expand from code generation to biological, chemical, and pharmaceutical research, the discussion around AI for Science (AI4S) is shifting from demonstrative Q&A to actual R&D pipelines. An industry consensus is gradually forming: the stronger a model’s ability to generate candidate molecules, targets, or genes, the less scarce “generation” becomes. The true scarcity lies in “validation, selection, and translation.”

    Drug discovery is a classic system characterized by long cycles, high failure rates, and a vast search space. Historically, the number of candidate compounds was limited by human experience, experimental throughput, and computational resources. Today, driven by generative models, virtual screening, structure prediction, and multi-omics analysis, the candidate space has been significantly expanded. Large volumes of molecules can be generated, scored, and ranked in a short time. However, the problem has shifted: when tens of thousands of candidates flood the downstream pipeline, who enters animal testing, who enters clinical trials, and who makes it to the end?

    The answer does not depend on a single score from one model, but on a complete chain of evidence: Is the target truly relevant to the disease? Does the molecule have sufficient activity and selectivity? Are its druggability, safety, and manufacturability viable? Can biomarkers support patient stratification? Can clinical endpoints be validated? The value of AI4S is not to make candidates “look more numerous,” but to filter them earlier, more consistently, and more explainably at every checkpoint.

    2. The Proper Placement of LLMs in Life Sciences

    Integrating large models into biology, chemistry, and pharmaceuticals is not as simple as replacing code generation with experimental Q&A. Code has compilers and unit tests for rapid feedback, whereas biology deals with high-noise data, batch effects, in vivo/in vitro differences, species differences, and lengthy clinical feedback cycles. Therefore, AI4S cannot treat language models as databases or final arbiters. Instead, they should be embedded into an engineering system where “tools are callable, computations are reproducible, and conclusions are traceable.”

    A rational division of labor would be:

    • Language-intensive tasks: Literature and patent summarization, experimental protocol comparison, terminology normalization, evidence extraction, and draft report generation.
    • Deterministic computational tasks: Quality control, differential expression, enrichment analysis, molecular descriptor calculation, structural alignment, statistical testing, and dose-response analysis. These tasks should be handled by versioned code or tools rather than relying entirely on natural language reasoning.
    • Prediction and generation tasks: Candidate molecule generation, virtual screening, property prediction, patient stratification, and trial design assistance. These require external validation, confidence calibration, and applicability domain assessment.
    • Agent orchestration tasks: Decomposing natural language objectives into tool-calling steps, chaining data reading, analysis, result interpretation, evidence retrieval, and report output, while logging the state of each step.
    • Human expert decision-making: Target selection, candidate nomination, safety judgment, clinical development strategy, and regulatory communication must remain the responsibility of experts with clear accountability boundaries.

    In other words, biological agents are well-suited to act as the “operating system and evidence organizer for research workflows,” but they are not suited to replace wet labs, clinical endpoints, or regulatory responsibilities. A practical system should confine the strengths of large models to planning, explanation, interaction, and evidence integration, delegate critical computations to deterministic tools, and leave final approvals to human review.

    3. Typical Practice: Single-Cell Marker Gene Screening

    In single-cell transcriptomics research, scientists often need to screen candidate marker genes from massive numbers of cells, multiple subpopulations, and complex sample metadata. This involves filtering technical genes, assessing specificity, and conducting biological plausibility reviews. This task appears to be simply “finding differentially expressed genes,” but it actually encompasses data quality control, statistical computation, knowledge retrieval, and expert judgment.

    A rigorous agent-assisted workflow can be organized as follows:

    1. Data Loading and Metadata Validation: Read the expression matrix, sample information, batch information, and cell annotations; check gene IDs, sample IDs, missing values, and duplicates; establish a data version number.
    2. Quality Control: Filter low-quality cells, cells with abnormally high ratios of technical or mitochondrial genes, and potential doublets based on research objectives; log parameters for each step and retain pre- and post-QC statistics.
    3. Normalization and Clustering: Perform necessary normalization, feature selection, and dimensionality reduction/clustering; control for batch effects while retaining batch records to avoid misclassifying batch variations as biological differences.
    4. Differential Expression and Candidate Ranking: Calculate differential expression metrics, expression ratios, and specificity for target cell populations to generate a candidate gene list; control for multiple testing.
    5. Technical Signal Filtering: Filter out candidate genes that may cause technical biases, such as ribosomal protein genes, mitochondrial-related genes, and cell cycle genes; filtering rules must be versioned and explainable.
    6. Biological Plausibility Assessment: Retrieve known markers, pathways, tissue specificity, cross-sample consistency, cross-species conservation, and potential safety risks; record literature evidence, data evidence, and model judgments separately.
    7. Output and Human Review: Generate a ranked list with evidence sources, confidence levels, uncertainties, and risk warnings; domain experts must review this before proceeding to wet-lab validation.

    The pseudo-code below illustrates a pipeline organized around “agent orchestration + deterministic tools + human review”:

    1. pipeline = [
    2. {
    3. "step": "load",
    4. "tool": "load_expression_matrix",
    5. "checks": ["schema", "metadata", "duplicate_ids"]
    6. },
    7. {
    8. "step": "qc",
    9. "tool": "quality_control",
    10. "checks": ["cell_count", "technical_gene_ratio", "doublet_report"]
    11. },
    12. {
    13. "step": "cluster",
    14. "tool": "normalize_and_cluster",
    15. "checks": ["batch_effect_report", "parameter_log"]
    16. },
    17. {
    18. "step": "differential_expression",
    19. "tool": "compute_differential_expression",
    20. "checks": ["multiple_testing", "effect_size"]
    21. },
    22. {
    23. "step": "filter_technical_genes",
    24. "tool": "exclude_technical_signals",
    25. "checks": ["ribosomal_gene_list", "versioned_rule"]
    26. },
    27. {
    28. "step": "evidence_review",
    29. "tool": "retrieve_and_score_evidence",
    30. "checks": ["citation", "confidence", "uncertainty"]
    31. },
    32. {
    33. "step": "human_review",
    34. "tool": "expert_approval",
    35. "checks": ["approval", "audit_log"]
    36. }
    37. ]

    In this paradigm, the agent’s value is not merely compressing hours of repetitive computation and organization into minutes. More importantly, it records exactly “why a gene was filtered out, which data version was used, which tool was called, and who approved it.” For candidate genes, targets, or molecules, traceability itself is a crucial part of translational capability.

    4. End-to-End Architecture: Building Agents as Auditable Analysis Pipelines

    For AI4S to genuinely enter the R&D workflow, the system architecture must simultaneously cover five layers: data, models, tools, orchestration, and governance.

    4.1 Data and Knowledge Layer

    The data layer should unify multi-omics data, compound libraries, experimental records, assay results, structural information, literature/patent summaries, and internal knowledge documents. The key is not merely piling up files, but establishing stable identifiers, metadata standards, data versioning, and access permissions. For instance, genes, compounds, cell types, disease models, and experimental batches should all have unique identifiers. Any analytical result must be traceable back to its raw data and preprocessing parameters.

    Knowledge retrieval can combine structured databases, knowledge graphs, and vector search. Vector search is ideal for semantic recall, while structured queries are suited for precise filtering and statistical validation. The orchestration layer must use them in combination. For high-noise data, negative controls, technical replicates, and batch information should be retained to prevent models from learning spurious patterns from data leakage or batch differences.

    4.2 Model and Tool Layer

    The model layer can include general-purpose LLMs, domain-specific predictive models, statistical tools, and rule engines. General LLMs are responsible for understanding research intent, decomposing tasks, interpreting results, and generating reports. Domain models handle predictions for molecular properties, structural relationships, and expression patterns. Statistical tools manage significance, confidence intervals, and multiple testing. Rule engines enforce hard filters and compliance checks.

    Model outputs must include uncertainty. Especially in candidate ranking scenarios, a single score can easily mask risks. The system should simultaneously display predicted values, confidence intervals, applicability domains, evidence sources, and counterexamples. For critical conclusions, users must be able to jump to raw data or tool execution results rather than relying solely on natural language descriptions.

    4.3 Agent Orchestration Layer

    The agent orchestration layer can adopt a “plan-execute-verify-summarize” closed loop. The planning phase breaks down objectives into executable steps; the execution phase calls controlled tools; the verification phase checks output formats, statistical assumptions, and result completeness; the summarization phase generates a cited report. Tool calls should use structured parameters, execution environments should be isolated in sandboxes, and resource quotas, failure retries, and timeouts should be configurable.

    Critical nodes should require human approval. For example, changes to data cleaning parameters, candidate molecule nominations, toxicity risk conclusions, and preclinical study protocol generation all require expert confirmation. Agents can make recommendations, but they cannot bypass approvals to alter critical conclusions directly.

    4.4 Governance and Audit Layer

    The governance layer handles data permissions, model versions, prompt versions, code commit logs, analysis parameters, result references, and approval chains. Every experiment or analysis should generate a reproducible audit package, including data snapshots, tool versions, runtime logs, and review records. For research involving patient or subject data, de-identification, access control, data masking, and auditing must be strictly enforced.

    Regarding the computing and engineering foundation, teams can leverage general computing, object storage, container platforms, task orchestration, and logging and monitoring capabilities provided by Baidu AI Cloud to host their analysis pipelines. It is important to emphasize that cloud infrastructure solves problems of elasticity, stability, and observability, but it cannot replace data governance, statistical validation, or wet-lab closed loops.

    5. The Candidate Molecule Funnel: Every Checkpoint Eliminates the “Looks Good”

    From target discovery to the clinic, candidate molecules must pass multiple decision gates. AI can accelerate analysis at each gate, but it cannot eliminate any of them. A simplified funnel looks like this:

    Stage Core Question AI’s Role Irreplaceable Evidence Decision Gate
    Target Discovery Is there a reliable causal relationship between the target and the disease? Multi-omics integration, literature evidence extraction, risk gene ranking Human genetic evidence, functional experiments, normal tissue expression and safety risks Target validation package
    Hit Discovery Can a starting point with activity, selectivity, and synthesizability be found? Virtual library generation, structural screening, property prediction, synthesis feasibility assessment Wet-lab activity, selectivity, reproducible assays Confirmed hit
    Lead Optimization Can it simultaneously meet activity, selectivity, metabolism, and safety requirements? Multi-objective optimization, SAR analysis, experimental design suggestions PK/ADME, toxicology, formulation and process data Candidate nomination
    Preclinical Research Is there a foundation to enter human studies? Data integration, biomarker analysis, study design assistance Animal toxicology, pharmacokinetics, process and quality studies Clinical entry package
    Clinical Phase I-III Is it safe and effective? Do patients benefit? Patient stratification, imaging and omics analysis, trial operation optimization Prospective clinical endpoints, safety databases Registration evidence

    The key takeaway from this table is that a candidate molecule does not survive to the end simply by having the “highest AI score.” It must continuously provide verifiable evidence across different stages. A molecule scoring highly in virtual screening might be eliminated due to poor selectivity, metabolic instability, toxicity risks, or scale-up manufacturing difficulties. Conversely, a candidate with mediocre in vitro performance might achieve a higher success rate because its target evidence is solid and patient stratification is clear.

    Therefore, R&D teams should maintain a candidate asset ledger: recording candidate identifiers, targets, mechanisms of action, synthetic routes, key experiments, predicted properties, risk hypotheses, current conclusions, decision-makers, and evidence links. Agents can help update the ledger, aggregate risks, and alert teams to gaps, but the final state of the ledger must be confirmed by interdisciplinary review.

    6. Evaluation System: Do Not Replace the Real World with Model Scores

    The AI4S evaluation system should be designed in layers to avoid mistaking a model’s score on a public dataset for actual R&D capability.

    • Model Layer: Focus on external validation, calibration, false-negative risks, out-of-distribution generalization, retrieval accuracy, and citation verifiability. Pay special attention to missed detections of high-risk negative samples, as missing a safety signal in drug discovery can be extremely costly.
    • Process Layer: Focus on reproducibility, runtime, human review acceptance rate, failure retry rate, and audit completeness. A fast process with non-reproducible results has no long-term value.
    • R&D Layer: Focus on hit confirmation rate, candidate nomination cycle time, wet-lab hit rate, cross-batch consistency, and unit validation cost.
    • Translation Layer: Focus on biomarker enrichment efficacy, PK/PD relationships, safety windows, patient stratification quality, and clinical endpoint support capability.
    • Portfolio Layer: Focus on multi-objective trade-offs. Activity, selectivity, metabolic stability, toxicity, and synthesis difficulty often conflict. Use a constrained scorecard instead of simply weighting all metrics together, which can mask hard risks.

    An explainable scorecard can be expressed as:

    1. Candidate Evidence Score =
    2. Target Evidence Weight * Target Verifiability
    3. + Molecule Quality Weight * Druggability
    4. + Experimental Data Weight * In vitro/In vivo Consistency
    5. + Translational Evidence Weight * Biomarker Support
    6. - Safety Risk Weight * Identified Risks

    Safety, toxicology, and critical quality attributes should be subject to threshold conditions that “cannot be offset by other high scores.” Model scores should only be used for ranking and prompting, not as a replacement for veto conditions.

    7. Deployment Path and Common Pitfalls

    The most reliable deployment strategy is to start with “high-value, short-feedback, measurable” tasks. For instance, single-cell marker gene screening, literature evidence organization, candidate molecule property prediction, experimental protocol consistency checks, and preclinical data summarization usually have clear inputs/outputs and verifiable intermediate results. First establish reproducibility and auditing capabilities on single-point tasks, then expand to cross-system orchestration, and finally integrate with electronic lab notebooks (ELNs), laboratory information management systems (LIMS), and wet-lab feedback to form an active learning closed loop.

    Common pitfalls include:

    1. Treating language models as databases: Models may generate non-existent research conclusions or citations. Critical conclusions must be traced back to raw data or verifiable evidence.
    2. Ignoring batch effects and data leakage: If training and validation sets share samples, batches, or label information, evaluation results will be significantly over-optimistic.
    3. Optimizing only for public benchmarks: Improvements on public datasets do not equate to real R&D value. Prospective validation and negative controls are mandatory.
    4. Lack of human accountability: Agents can orchestrate workflows, but candidate nomination, safety judgments, and clinical strategies must have clear human owners.
    5. No audit logs: In regulated or highly compliant R&D environments, data versions, parameters, model versions, and approval chains are all indispensable.
    6. Buying computing power before building processes: Infrastructure is just a foundation. The actual effectiveness depends on data quality, the evaluation system, experimental feedback, and organizational collaboration.

    8. Conclusion: The System That Survives Is Not the One That “Generates the Most”

    As candidate molecules expand from hundreds to thousands or more, the competitive focus of AI4S will shift from “generation capability” to “screening efficiency, evidence quality, and translation success rate.” LLMs and biological agents can connect literature reading, data analysis, tool calling, and report organization, freeing researchers from repetitive tasks. However, whether a drug reaches the clinic ultimately depends on target authenticity, molecule quality, safety, manufacturability, and clinical evidence.

    Therefore, a healthy AI4S system should simultaneously possess three capabilities: using LLMs to improve understanding and orchestration efficiency, using deterministic tools to ensure computational reliability, and using wet-lab and clinical data for real-world validation. Only by connecting “data-computation-experiment-clinic” into a reproducible, auditable, and evolvable closed loop can one of those thousands of candidate molecules truly make it to the end. The teams that survive market cycles are rarely those who generate the most candidates, but those who earliest establish an evidence funnel and a feedback flywheel.