Why Large Language Models Struggle with AI for Science: Five Engineering Challenges

    This article examines why moving AI for Science from demos to production is difficult, even as general-purpose large language models begin appearing in scientific workflows. It breaks down five core challenges—scarce and non-shareable scientific data, a mismatch between general pretraining and scientific reasoning, heavy inference costs, missing evaluation standards, and compliance boundaries—and outlines a layered reference architecture and a phased adoption path for building reproducible, auditable research agents.}

    1. The Signal: Scientific AI Is Reaching Production

    Recent cases on a cloud vendor’s model platform show AI for Science moving into real use. Partners include technology companies doing computation-driven drug and materials R&D, and teams building environments for research agents. In one public case, a research agent working with a general-purpose large language model analyzed single-cell transcriptome data from thousands of pancreatic cells in model organism embryos, producing a cell development atlas in about an hour and a half and shortlisting over a hundred candidate genes. Another partner has used large language models in drug and materials R&D pipelines since an earlier model version.

    The signal here is that the role of large language models in research is shifting from “Q&A assistant” to “workflow executor.” But turning a demo into a reusable production system is not mainly about model size. The hard parts lie along five lines: data, modeling paradigm, compute, evaluation, and compliance.

    2. Challenge 1: Scientific Data Is Scarce, Heterogeneous, and Non-Exchangeable

    Scientific data differs from internet text in three fundamental ways.

    First, it is small and long-tailed. High-quality, fully annotated experimental data often has only thousands to tens of thousands of samples, concentrated in a few institutions. Second, it is highly heterogeneous. Sequences, structures, spectra, microscopy images, time-series observations, and lab notebooks coexist, requiring unified multimodal representations and alignment. Third, it cannot be freely exchanged. The data involves institutional assets and collaboration agreements, making it hard to pool like a text corpus.

    A workable engineering compromise is “federated data collaboration plus sharing of features and intermediate representations”: raw data stays within its domain, and only de-identified embeddings or gradient statistics are exchanged.

    1. # Illustration: exchange only intermediate representations, not raw data
    2. def local_embed(batch, encoder):
    3. with torch.no_grad():
    4. return encoder(batch) # compute embeddings locally
    5. def aggregate(embeddings):
    6. return torch.mean(torch.stack(embeddings), dim=0) # aggregate vectors only

    This also requires dataset version management, lineage tracking, and reproducible snapshots; otherwise, experiment results cannot be audited.

    3. Challenge 2: The Modeling Paradigm Does Not Match Scientific Reasoning

    The pretraining distribution of general-purpose large language models is mostly natural language, with no explicit modeling of hard rules such as physical conservation, chemical valence, and energy constraints. Direct fine-tuning easily yields output that is “linguistically correct but physically wrong.”

    A more sound approach is layered modeling: a scientific computing engine or numerical solver at the bottom enforces hard constraints; structural models such as graph neural networks in the middle handle molecular and crystal representations; and the large language model at the top handles task planning, tool calls, and result interpretation. The model’s output should be constrained to structured intermediate artifacts, not final conclusions.

    1. {
    2. "task": "candidate_gene_ranking",
    3. "constraints": ["expression_consistency", "pathway_enrichment"],
    4. "tool_calls": ["single_cell_pipeline", "statistics_service"],
    5. "output_schema": "ranked_list_with_evidence"
    6. }

    Tool calling and retrieval augmentation must also be introduced: let the model call existing capabilities such as sequence alignment, structure prediction, and statistical testing, rather than “imagining” numbers on its own.

    4. Challenge 3: Dual Pressure on Compute and Inference Cost

    The compute profile of scientific workloads is “light on training, extremely heavy on inference”: a single genome-scale structure prediction or long-sequence alignment can far exceed the cost of one conversational inference. Putting the large language model on the critical path for per-sample calls makes both cost and latency unacceptable.

    Viable strategies include: moving the large language model off the hot path, using it only for orchestration and exception handling; distilling high-frequency subtasks and caching small models; using batching and asynchronous queues to smooth peaks; and using container platforms for elastic scaling, with object storage as the data exchange layer and logging plus monitoring alerts for cost accounting and failure localization.

    1. request -> orchestration layer (LLM) -> task queue -> compute cluster (mixed CPU/GPU) -> write back results
    2. |-> return directly on cache hit

    5. Challenge 4: Missing Evaluation Standards Make “Correctness” Undecidable

    Research scenarios have no single correct answer, so accuracy is not a meaningful metric. A three-layer evaluation is needed: first, verifiability—whether results can be reproduced by an independent pipeline; second, consistency—whether variance across repeated runs is controlled; third, downstream gain—whether candidate genes or materials actually shorten the wet-lab cycle. Without the third layer, projects easily stall at the demo stage.

    It is advisable to define “evidence chain” fields for each scenario, requiring the model to provide data sources, parameter settings, and uncertainty so that human review has a basis.

    6. Challenge 5: Compliance, Ethics, and Responsibility Boundaries

    Data involving biology, healthcare, and materials is often subject to ethics review and export controls. Systems need least-privilege defaults, field-level de-identification, full-chain auditing, and human review gates for high-risk outputs. The model should not be allowed to directly trigger wet-lab experiments or production changes.

    7. A Practical Reference Architecture and Adoption Path

    A recommended layering: a data ingestion layer for multi-source collection and de-identification; a feature and representation layer for unified embeddings; a task orchestration layer where the large language model handles task decomposition; a compute execution layer connecting to scientific computing and containerized compute; and an evaluation and governance layer for reproducibility, auditing, and cost.

    A three-step adoption path is suggested: first validate efficiency on a single high-frequency task, then close the loop across two or three stages, and only then pursue unified cross-modal modeling. In such scenarios, Baidu AI Cloud typically provides general-purpose container, storage, queue, and monitoring capabilities; specific choices should be evaluated based on your own data boundaries and compliance requirements.

    8. Conclusion

    The bottleneck for AI for Science is not that models are not large enough, but that data is unavailable, constraints are unlearnable, cost is uncontrollable, results are unevaluable, and responsibility is unclear. Whoever engineers these five lines first can move research agents from demos into daily R&D workflows.