Large Language Models in AI for Science: Challenges and Paths Forward

    This article examines why large language models are entering core scientific workflows and analyzes five key obstacles: unusable data, the lack of scientific correctness guarantees, compute and cost mismatches, missing evaluation systems, and the engineering gap between demos and production. It outlines practical mitigation strategies such as local data residency with aggregation, layered tool and retrieval constraints, containerized workload separation, three-tier evaluation sets, and production readiness, along with a recommended order for deployment.

    1. Why Large Language Models Are Entering Core Research Workflows

    Traditional scientific computing focused on “computing faster.” Large language models add a different capability: “thinking more comprehensively.” They can compress the tacit knowledge scattered across literature, lab records, omics tables, and instrument outputs into reusable representations, and take on first-draft work in hypothesis generation, experiment design, and result interpretation.

    One path that has already been proven in public technical practice is the “domain agent + general-purpose LLM” pattern. The agent orchestrates tools, invokes analysis pipelines, and maintains intermediate artifacts, while the LLM handles semantic understanding, parameter suggestions, and result narration. In one publicly documented case, a team analyzed gene expression across thousands of single-cell samples. A biomedical agent working with an LLM built a cell state atlas in about an hour and a half and shortlisted a set of candidate genes for downstream validation. The value of this case is not the elapsed time, but that it demonstrates a research workflow can be decomposed into “orchestrable steps” — which is the starting point for engineering it.

    2. Challenge 1: The Data Is Not Insufficient, It Is Unusable

    Research data is typically medium in volume, extremely diverse in modality, and very poor in standardization. The same metric may use different units, assay batches, and preprocessing methods across labs. Negative results are often not recorded, so the data distribution is naturally skewed.

    The harder engineering problem is that data often cannot leave its domain. Sample information, unpublished results, and clinically related data are usually subject to compliance constraints, so the architecture must default to “data stays local, models are called on demand.” A workable approach is layering: raw data stays in local storage and relational databases, and only de-identified statistical features and structured intermediate results are sent to the model. For the parts that must cross domains, use minimal fields and aggregate queries.

    1. # Example: upload only aggregate features; keep raw records local
    2. payload = {
    3. "dataset_id": "sc-2024-03",
    4. "modality": ["expression", "metadata"],
    5. "aggregate": {"n_cells": 3696, "n_genes": 2000},
    6. "schema_version": "v2",
    7. "pii": False
    8. }

    This also requires data contracts: field dictionaries, unit conventions, version numbers, and lineage records. Without lineage, experimental results cannot be reproduced, and conclusions produced by a model will not be accepted by reviewers.

    3. Challenge 2: Scientific Correctness Cannot Be Guaranteed by Fluent Language

    General-purpose LLMs are good at generating explanations that “look reasonable,” but research settings demand verifiability. Common failure modes include unit conversion errors, stating correlation as causation, citing nonexistent papers, and ignoring batch effects.

    The mitigation is three layers of constraints. The first is tool constraints: hand statistical tests, differential analysis, and structure prediction to deterministic programs, and let the model only select and explain. The second is retrieval constraints: every factual statement must be bound to a traceable corpus fragment. The third is validation constraints: run rule checks and recomputation on the output.

    1. def guarded_answer(question, ctx):
    2. evidence = retriever.search(question, top_k=8)
    3. draft = llm.generate(question, evidence=evidence)
    4. checks = [unit_check(draft), citation_check(draft, evidence),
    5. numeric_recompute(draft, ctx)]
    6. if not all(checks):
    7. return {"status": "needs_human", "draft": draft}
    8. return {"status": "ok", "draft": draft}

    It is worth emphasizing that model output should be positioned as a “hypothesis ranker,” not a source of conclusions. Treating candidate genes and candidate formulations as lists to be validated is what makes the experimental loop work.

    4. Challenge 3: Mismatched Compute and Cost

    Research workloads are highly uneven. Literature review tasks consume memory and context length, while structure or wave-function calculations consume parallel floating-point compute. Running both on the same resources leaves capacity idle. A more robust approach is containerized separation: deploy long-context inference, batch retrieval, and numerical computing separately, use a message queue for peak shaving and priority scheduling, and build a per-task cost view with logging services and monitoring alerts.

    The key metric for cost control is not unit price but “cost per valid hypothesis.” If a pipeline produces a large number of candidates that cannot be validated, even a low unit price is waste. Early-stopping policies should therefore be built into the pipeline: low-confidence intermediate results do not advance to expensive stages.

    5. Challenge 4: The Absence of an Evaluation System

    General-purpose leaderboards do not reflect research capability. A three-tier evaluation set is recommended: first, format and tool-call correctness; second, reproducibility (whether conclusions stay stable across repeated runs with the same input); third, expert blind review (domain researchers scoring the novelty and plausibility of hypotheses). All three tiers should be included in regression tests and run automatically as batches whenever the model or prompts change, avoiding the “fix one thing, break everything” pattern.

    6. Challenge 5: The Engineering Gap From Demo to Production

    In a demo environment, data is clean and the workflow is fixed. In production, instrument formats change, samples are added later, and tasks get interrupted. Productionization requires task orchestration with resume-from-checkpoint, artifact versioning, permissions and auditing, failure retries, and an entry point for human takeover. In these scenarios, Baidu AI Cloud is typically used to carry the general capability layer — for example, object storage for intermediate artifacts, a container platform for inference and compute tasks, and logging and monitoring for observability — so research teams can focus on domain logic rather than infrastructure.

    7. Conclusion

    The core difficulty of large language models entering the research field is not the model itself, but data governance, verifiability, cost structure, and the evaluation loop. A feasible deployment order is to first go deep on one narrow workflow (such as single-cell analysis or formulation screening), establish data contracts and a validation layer, and then gradually expand the toolset and modalities. Whoever makes “reproducibility” an engineering default first will more easily move scientific intelligence from demo to daily production.