How Large Language Models Are Reshaping Drug Discovery

    This article explains how large language models (LLMs) are moving from assistant tools to an orchestration layer inside drug discovery pipelines. It walks through the industry shift toward AI-driven R&D, a six-layer reference architecture spanning data ingestion and normalization, retrieval-augmented domain models, agent orchestration, compute and storage foundations, evaluation and validation, and compliance and auditability. It also covers four recurring engineering challenges—data quality and missing negative results, explainability of generated candidates, integration with existing R&D systems, and expectation management around ROI—plus practical adoption advice for R&D teams, platform builders, and technical decision-makers. Readers will come away with a clear view of where LLMs genuinely compress timelines, where biological and regulatory constraints still dominate, and why engineering closure now matters more than model capability alone.

    1. Introduction: LLM participation in drug discovery is now an industry consensus

    From a technical standpoint, drug discovery is fundamentally a multi-stage, high-noise, long-horizon scientific decision problem. A complete R&D chain typically covers target identification and validation, hit compound screening, lead optimization, preclinical safety assessment, clinical trial design and execution, and finally regulatory filing and commercial manufacturing. The traditional path relies on the judgment of senior researchers and a large volume of iterative wet-lab experiments. It takes on average more than a decade, consumes enormous funding, and still ends with a low approval rate for candidates that reach the clinic.

    That reality is the root driver behind LLM adoption in pharma. The goal is not to replace the underlying laws of biology and chemistry, but to provide computable, reusable, and verifiable decision support at the stages where decision density is highest.

    One noteworthy pattern in the source material: an AI research team distributed experimental work across multiple external labs running in parallel, while a large share of the coordination overhead—contract signing, experiment scheduling, logistics tracking, and data collection—was handled by LLM-driven agents. For one candidate therapy targeting a specific disease class, the team went from concept to completed mouse-model validation in under eighteen months, clearly compressing an early discovery phase that would traditionally take three to five years. The same team offered a deliberately cautious timeline: if subsequent data holds up, the candidate could enter human clinical trials around 2028 at the earliest.

    One engineering judgment deserves emphasis here: the role LLMs play in this chain is changing in kind, not just in degree. Early on, an LLM functions as a productivity tool for researchers—retrieving literature, organizing experiment records, generating structured reports. Once it starts participating in the orchestration and execution of the R&D process—deciding which experiment runs first, which dataset gets analyzed first, which technical route should be terminated—it becomes a scheduling layer for the R&D workflow itself. That shift raises the bar dramatically for data governance, access control, audit trails, and reproducibility, and it directly determines whether an AI-enabled transformation can actually be embedded in a heavily regulated R&D environment.

    Other categories of players were moving in the same direction at the same time. Compute infrastructure providers were building high-performance compute and storage foundations aimed at molecular simulation. Large internet platforms were building models and data platforms for the biopharma domain. AI-native drug discovery companies that entered earlier were beginning to feel competitive pressure from these general-purpose platform vendors—some said publicly that the arrival of these larger players was genuinely anxiety-inducing, because falling behind for even one technology cycle means being left behind. That pressure is essentially a platform-level capability compressing point-solution algorithm capability, and it is worth taking seriously.

    2. Technical Architecture: A Six-Layer Design from Data Ingestion to Clinical Decision Support

    Putting LLMs into an actual drug discovery workflow requires a clearly layered engineering architecture, not a model API bolted onto existing systems. The following six layers have proven necessary in practice.

    2.1 Data Ingestion and Normalization

    Drug discovery data is highly heterogeneous, and falls roughly into four categories: unstructured text such as literature and patents; semi-structured documents such as experiment records and test reports; structured numerical series such as omics data, activity data, and structural data; and clinical trial data alongside real-world data.

    The core job of the ingestion layer is not “sync”—it is “normalization”: unifying entity naming, units and dimensions, timestamp semantics, and descriptions of experimental conditions.

    In engineering terms, this usually means building a domain dictionary and a set of mapping rules that align compound identifiers, target identifiers, and disease codes from different sources to a single reference system. If this layer is done sloppily, every downstream model capability amplifies that sloppiness into wrong conclusions.

    1. # Example: normalization validation skeleton for the data ingestion layer
    2. from dataclasses import dataclass
    3. from typing import Optional
    4. @dataclass
    5. class AssayRecord:
    6. compound_id: str # normalized to a unified compound identifier system
    7. target_id: str # normalized to a unified target identifier system
    8. readout_type: str # type of readout metric
    9. value: float
    10. unit: str # converted to standard units
    11. protocol_version: str # protocol version, used for cross-batch comparability
    12. def validate(self) -> Optional[str]:
    13. errors = []
    14. if not self.compound_id:
    15. errors.append("missing_compound_id")
    16. if self.value is None:
    17. errors.append("missing_value")
    18. if not self.protocol_version:
    19. errors.append("missing_protocol_version")
    20. return ";".join(errors) if errors else None

    One easily overlooked engineering detail: the protocol version must be persisted alongside the data. Activity results for the same compound can differ by an order of magnitude across different protocols, and without version information a model will learn methodological differences as biological differences.

    2.2 Domain Models and Retrieval Augmentation

    The reliability of LLMs in life science settings depends heavily on whether they can cite real evidence. Purely parametric knowledge tends to produce statements that look plausible on specialized details but are actually wrong, which makes retrieval-augmented generation (RAG) a requirement rather than an option.

    The practical recommendation is to split knowledge sources into three layers. The first layer holds relatively stable domain fundamentals and experimental standards. The second holds a literature and findings repository that keeps updating as research advances. The third holds first-party data internal to the current project. The three layers use different update cadences and different confidence labels, and retrieved results should carry source identifiers and timestamps when assembled into context, so the model can explicitly distinguish between “conclusions repeatedly validated,” “conclusions from a single study,” and “hypotheses not yet validated.” This confidence-tiered design is one of the most effective ways to control hallucination risk in R&D settings.

    2.3 Agent Orchestration

    This is the layer evolving fastest today, and it best explains the efficiency gains described in the source material. Agents built around an LLM take on orchestration responsibilities: decomposing tasks, selecting tools, issuing experiment requests, tracking execution status, aggregating results, and triggering the next decision.

    A workable orchestration pattern is to first build a task graph, then bind each node to a concrete tool or external service, and finally let a scheduler determine execution order based on dependencies and resource availability.

    1. # Example: task graph definition for the agent orchestration layer
    2. from collections import defaultdict, deque
    3. class TaskGraph:
    4. def __init__(self):
    5. self.tasks = {} # task_id -> description of callable handler
    6. self.deps = defaultdict(set) # task_id -> set of prerequisite task ids
    7. def add(self, task_id, handler, depends_on=()):
    8. self.tasks[task_id] = handler
    9. self.deps[task_id] = set(depends_on)
    10. def order(self):
    11. indegree = {t: len(self.deps[t]) for t in self.tasks}
    12. ready = deque([t for t, d in indegree.items() if d == 0])
    13. sequence = []
    14. while ready:
    15. current = ready.popleft()
    16. sequence.append(current)
    17. for nxt, pre in self.deps.items():
    18. if current in pre:
    19. indegree[nxt] -= 1
    20. if indegree[nxt] == 0:
    21. ready.append(nxt)
    22. if len(sequence) != len(self.tasks):
    23. raise ValueError("Circular dependency detected in task graph; manual intervention required")
    24. return sequence

    One engineering discipline must be stressed here: any action that consumes real experimental resources, signs an external contract, or incurs payment should have a human confirmation gate or a spending cap. The boundary of automation should be drawn between reversible and irreversible actions, not at the goal of full hands-off operation.

    2.4 Compute and Storage Foundation

    Molecular simulation, structure prediction, and virtual screening have a distinct compute profile: each individual job is compute-intensive with moderate memory footprint, there are enormous numbers of jobs, and result data volumes balloon quickly. Infrastructure design usually follows three principles.

    First, use containerized batch compute with elastic scaling, breaking large virtual screening campaigns into parallelizable units and using a message queue to smooth peaks and troughs so a task flood does not overwhelm the scheduler. Second, tier intermediate results and final artifacts into object storage and enable lifecycle policies that automatically purge expired intermediates to control storage cost. Third, build complete logging, plus monitoring and alerting, with thresholds on job failure rate, per-job latency distribution, and resource utilization—in screening campaigns involving tens of thousands of candidate molecules, silent failures are far more dangerous than explicit ones.

    2.5 Evaluation and Validation

    LLM outputs in R&D settings cannot be judged only by whether they “look reasonable.” A three-tier evaluation approach is recommended:

    • Automated metrics: for molecule generation tasks, assess chemical validity, novelty, and predicted binding affinity to the target; for text tasks, assess factual consistency and citation completeness.
    • Retrospective validation: use completed historical projects as a benchmark set and test whether the model can reproduce experimentally confirmed conclusions given the same inputs. This is the most reliable way to measure real model capability.
    • Wet-lab closed loop: run predictions through small-batch experimental validation and use the results to recalibrate model confidence in the opposite direction.

    All three tiers need to exist simultaneously. With only the first, the model degrades into “generating strings that look like molecules.” With only the third, iteration becomes so slow that it defeats the purpose of using AI at all.

    2.6 Compliance and Audit

    Regulated R&D settings require end-to-end traceability. In engineering terms this means recording the input summary, model version, parameter configuration, and output content for every model invocation; being able to trace every model-generated conclusion that enters a formal document back to its data sources and generation chain; and processing sensitive data within authorized scope while meeting data localization and access control requirements. Compliance is not an add-on to the R&D workflow—it is a precondition for embedding AI into production at all.

    3. Key Challenges: Four Engineering Problems That Cannot Be Avoided

    3.1 Data Quality and Labeling Cost

    The “dirtiness” of R&D data is structural: historical experiment records use inconsistent formats, units are chaotic, and negative results have gone missing for years. Missing negative results in particular cause models to systematically overestimate the success rate of certain paths. Practical responses include actively filling in negative samples, scoring data quality quantitatively, and explicitly introducing uncertainty estimation into model training and evaluation.

    3.2 Explainability of Generated Results

    Researchers need to know why a molecule was recommended, not just that it was. Explainability can be provided by surfacing the key decision rationale, similar historical cases, and counterfactual analysis—for example, which substituent change would cause a significant shift in properties. One caveat: explanations based on attention weights often do not hold up in a biological sense and should not be presented externally as the primary explanation.

    3.3 Integration with Existing R&D Systems

    R&D workflows already contain a large number of specialized systems and electronic lab notebooks. AI capabilities must be embedded through interfaces rather than forcing researchers to switch work environments. The key to integration is keeping data flowing in both directions: the AI reads real data from existing systems, and the structured conclusions the AI produces are written back into those systems to close the loop. When Baidu AI Cloud supports enterprise AI transformation, it typically achieves integration with existing systems through standardized data ingestion and interface adaptation rather than requiring the business side to restructure its workflows.

    3.4 ROI and Expectation Management

    The value of LLMs in early discovery is relatively clear. In the clinical stage, value shows up more in trial design optimization and patient selection efficiency, while overall success rates remain constrained by biological realities. It is therefore worth stating at project inception that the benefit of AI is primarily time compression and lower trial-and-error cost, not a fundamental change in probability of success. Expectations set too aggressively will run into a trust crisis within two or three project cycles.

    4. Practical Adoption Advice by Role

    For enterprise R&D teams, start from a single high-value scenario with a solid data foundation—automating literature reviews or drafting initial experimental protocols, for example. Establish data standards and an evaluation baseline first, then expand gradually to agent orchestration. Avoid aiming for full-chain automation from day one.

    For platform and infrastructure builders, focus on elastic compute scheduling, tiered storage, unified logging and monitoring, and data governance. These capabilities determine whether the model capabilities above can be delivered reliably. It also helps to provide clear resource metering and cost visibility so the business side can understand what each unit of compute investment produced.

    For technical decision-makers, four points matter most when judging whether an AI drug discovery offering is credible: whether there are closed-loop validation records from real projects, whether it can handle negative results, whether it attaches confidence labels to model outputs, and whether it can produce audit trails in a regulated environment. The valuation gaps and funding competition mentioned in the source material essentially reflect how capital markets price the question of “closed-loop capability,” rather than simply pricing model scale.

    5. Conclusion: The Competitive Focus Is Shifting from Model Capability to Engineering Closure

    LLM involvement has indeed compressed time costs in the early stages of drug discovery, shrinking some steps from months to weeks, and in individual cases bringing a project from concept to completed animal-model validation in under a year and a half. But it is important to stay clear-headed: human trials and eventual approval remain governed by biological realities and regulatory processes. Technology can only optimize path efficiency.

    For everyone involved, the real barrier is not the model itself but whether an engineering loop can be built that is characterized by “usable data, orchestrable workflows, verifiable results, and auditable processes.” Whoever gets that loop working first will hold the initiative in the next technology cycle. Conversely, even with a point-solution algorithm advantage, it is possible to fall behind quickly in platform-level competition.