AI4S in Practice: The Screening Logic When Millions of Molecules Head to the Clinic
This article examines why AI-driven candidate generation is outpacing clinical capacity in AI for Science (AI4S), and what that means for drug discovery pipelines. It breaks the R&D funnel into four gates—target credibility, molecule generation and diversity, druggability and safety, and biological plausibility—and explains the typical failure mode of each. It also covers layered data governance, data leakage from random splits, multi-agent orchestration with a review loop, and the explainability and compliance requirements needed for clinical review. The takeaway: generation only widens the funnel entrance, while traceable elimination determines the quality of the output.
1. The Symptom: The Supply Curve of Candidate Molecules Is Getting Steeper
Identifying marker genes, filtering ribosomal proteins, and making biological plausibility judgments used to take a PhD student four to eight hours. With a large language model wired into a bio-agent pipeline, the same work can now be compressed into the time it takes to have a meal. The efficiency gain itself is not news. What deserves discussion is its structural consequence: the supply curve of candidate molecules has become sharply steeper, while clinical capacity has barely changed.
A judgment that has been repeated lately across one cloud vendor’s ecosystem and one AI coding tool ecosystem is that the R&D focus of large models is shifting from code generation toward biology, chemistry, and pharmaceutical research. The reason is not mysterious: the intelligence level of financial and legal tasks is on par with programming, while research tasks demand more in long-chain reasoning, evidence traceability, and counterfactual judgment. Once the reasoning ability of foundation models improves, the first capability to be amplified is “generating candidates.”
So the question shifts from “how to find molecules” to “how to eliminate molecules.” That is the core of this article: when millions of molecules head to the clinic, who survives to the end.
2. Funnel Structure: Four Gates and Their Failure Modes
Abstracting the R&D process as a funnel gives four gates. Each has completely different criteria, compute cost, and typical misjudgment.
- Target credibility gate. The criteria are whether the target has genetic evidence, whether it is expressed in disease-relevant tissue, and whether it is druggable. The typical failure mode is treating literature co-occurrence as causation, so that all downstream work rests on a pseudo-target.
- Molecule generation and diversity gate. The criteria are chemical space coverage, synthetic accessibility, and distance from scaffold patents. The failure mode is a model that prefers high-frequency scaffolds from its training distribution and produces large numbers of molecules that “look very much like existing drugs,” with inflated diversity metrics.
- Druggability and safety gate. The criteria include solubility, permeability, metabolic stability, hERG, and liver toxicity. The failure mode is single-point threshold filtering, which compresses multi-objective trade-offs into one scalar score and discards genuinely promising borderline molecules.
- Biological plausibility gate. The criteria are pathway consistency, off-target profile, and interpretability in animal models. The failure mode is evaluation standards defined by the generating party itself, forming a circular argument.
A schematic score aggregation can be written as:
def funnel_score(mol, weights, gates):# If any hard gate fails, eliminate immediately so a high score cannot mask a hard defectfor gate in gates:if not gate.hard_pass(mol):return 0.0, gate.namesoft = sum(w * gate.soft_score(mol) for w, gate in weights.items())return soft, "passed"
The key design principle is separating hard gates from soft gates. Putting issues such as toxicity and synthetic infeasibility into soft weighting is the root cause of most pipelines where “high-scoring molecules blow up later.”
3. Data and Features: The Ceiling Is Never Set by the Model
The most common reason AI4S projects fail is not the model but the data. It is worth splitting data governance into three layers:
- Raw layer: keep only traceable records, with source, time, experimental conditions, and uncertainty attached, and perform no implicit cleaning.
- Alignment layer: unify molecular representation, units, naming, and failure-sample labeling. The value of failure samples (negative results) is often higher than that of positive results, yet they are usually discarded.
- Feature layer: distinguish physicochemical descriptors, structural fingerprints, and pretrained representations, and record versions to keep experiments reproducible.
One easily overlooked engineering constraint: data leakage. Random splitting lets structurally neighboring molecules enter both the training and validation sets at the same time, and inflated metrics by ten percentage points are the norm. Split by scaffold or by time, and keep a “future data” test set for pre-launch evaluation.
4. Agent Orchestration: Split the Roles Instead of Piling Up the Prompt
A single ultra-long prompt cannot carry a complete research workflow. A more robust approach is role separation: a retrieval agent handles evidence collection, a computation agent handles property prediction and docking, a review agent handles rebuttal, and a record agent handles traceability. The four communicate through structured objects rather than natural language.
{"candidate_id": "C-0421","evidence": [{"claim": "pathway enrichment is significant", "source_id": "S-118", "confidence": 0.72}],"hard_gates": {"tox": "pass", "synthetic": "fail"},"decision": "reject","reason": "the synthetic route exceeds 8 steps with no precedent"}
The review agent must be allowed to veto the generation agent, and the veto reason must enter the dataset and become a negative sample for the next training round. Without this closed loop, the system only grows more confident.
5. Explainability and Compliance: Making Conclusions Reviewable
Screening results aimed at the clinic must be reviewable. Three minimum requirements: bind every conclusion to an evidence identifier; record the model version, prompt template, and random seed for every run; output uncertainty explicitly, and prohibit point estimates only. On the compute side, general-purpose capability categories are already sufficient to support this kind of pipeline—object storage holds datasets and artifacts, container platforms carry batch inference, message queues decouple tasks, and logging services with monitoring and alerting track failed tasks and cost anomalies. Baidu AI Cloud and similar cloud vendors provide exactly these general infrastructure categories, and the specific selection should be weighed against your own data scale and compliance boundary.
6. Conclusion: The Survivor Is Not the One That Generates the Most
Back to the question in the title. Molecules that reach the clinic usually have three traits: the target has human genetic evidence, the molecule has a clean record on the hard gates, and the evaluation standards are defined by a third party independent of the generating party. Generation capability only determines the width of the funnel entrance; elimination capability determines the quality of the exit. Shifting engineering effort from “generate more” to “eliminate with traceability” is the realistic path for AI4S to move from demo to clinic.
