AI for Science: Key Challenges and Engineering Paths for Large Language Model Deployment

    This article explains why moving large language model (LLM) applications for AI for Science from demos to reproducible, auditable, and scalable research workflows remains difficult. It describes the core capabilities these systems need and the main challenges in data governance, domain knowledge, evaluation, long-workflow reliability, tool orchestration, computing cost, safety and compliance, and team collaboration. It then outlines an engineering approach built on layered architecture, task cards, scientific agent design, reproducibility protocols, staged evaluation, and gradual automation. The article is written for developers who build these systems.

    Chinese large language models have begun to treat scientific intelligence as an important direction. Public demos have shown agent workflows for biomedicine, drug development, and materials research. For example, one public case in single-cell data analysis reported that building an atlas and screening candidate genes for a sample of several thousand cells could be completed within hours. Such demos show that the combination of “large models, scientific tools, and agent orchestration” is feasible. However, turning demos into research production that is reproducible, auditable, and scalable still requires solving many engineering and governance problems. This article examines the main challenges of deploying large models for AI for Science from a developer’s perspective and outlines a relatively complete engineering path.

    1. What AI for Science Requires from Large Models

    Scientific intelligence tasks differ fundamentally from general question answering and content generation. Research workflows typically require traceable inputs and outputs, reproducible computation, and conclusions that experts can review. They also often involve multimodal data, long chains of tool calls, and domain-specific constraints. In these settings, a large model functions more as a scheduler and interpreter for scientific workflows than as a single answer generator.

    A deployable scientific intelligence system needs at least the following capabilities:

    1. Data understanding and governance: Handle heterogeneous data such as tables, sequences, images, graphs, and experimental records, with support for data validation, version control, and lineage tracking.
    2. Domain knowledge constraints: Combine literature, terminology lists, experimental protocols, databases, and expert rules to reduce hallucinations and incorrect inferences.
    3. Tool calling and workflow orchestration: Organize tools for statistical analysis, sequence alignment, structure prediction, enrichment analysis, and experiment design into executable workflows.
    4. Result verification and review: Key steps require automated checks, expert review, and closed-loop experimental validation. Text plausibility alone is not enough.
    5. Reproducibility and auditability: Fix data snapshots, model versions, prompt versions, tool versions, parameters, and random seeds, and keep complete audit logs.
    6. Security and compliance: Cover data permissions, privacy protection, ethical review, biosafety, intellectual property, and the boundaries of output responsibility.

    These requirements mean that AI for Science cannot be achieved by simply connecting to a model API. It is a systems engineering effort that spans model services, scientific tool chains, data governance, and experimental validation.

    2. Core Challenges for Chinese Large Model Developers Entering This Field

    1. Scientific data is multimodal, heterogeneous, and short on high-quality labels

    Scientific data is often scattered across experimental platforms, instrument systems, and institutions. Formats are inconsistent, and missing values, batch effects, and noise are common. High-quality labels depend on experts, which makes them expensive and slow to produce. Single-cell, omics, materials characterization, and drug activity data also face privacy, ownership, and sharing restrictions. For developers, the challenge is not only reading the data. They must build mechanisms for validation, cleaning, versioning, access control, and lineage tracking. Without a reliable data foundation, upper-layer agents can easily produce conclusions that look plausible but are unusable, because they rest on flawed data.

    2. Injecting domain knowledge is hard, and hallucinations are costly

    General training corpora contain a limited density of scientific knowledge. Much of the key information appears in paper figures, supplementary materials, experimental protocols, negative results, and expert experience. Without retrieval augmentation, knowledge base constraints, and tool-based verification, a large model may generate nonexistent gene relationships, experimental conditions, or material properties. Scientific work has a low tolerance for error, and a wrong conclusion can mislead later experiments. Therefore, the system should treat citable sources, confidence levels, verification steps, and human review points as core design elements, not as afterthoughts.

    3. Missing evaluation benchmarks make it hard to compare demo results

    Scientific tasks are usually long, multistep, and do not have a single correct answer, so a single text metric cannot measure them well. Public benchmarks may suffer from data contamination, while real research tasks often lack standard answers. A model that performs well on demo cases is not necessarily reliable on new data, new research topics, or new experimental conditions. In practice, teams need a layered evaluation system. It should combine offline task benchmarks, blind expert review, tool execution success rate, result reproduction rate, cost per task, and latency.

    4. Long workflows lack reliability, and errors accumulate

    Scientific agents often run a loop of planning, retrieval, computation, interpretation, validation, and re-planning. In a long workflow, one failed tool call, one misread parameter, or one missing piece of context can be amplified by later steps. Developers need to design retry logic, idempotent execution, staged validation, human confirmation points, and rollback mechanisms. For critical scientific conclusions, the system should limit how much the agent can act on its own and route high-risk steps to experts or experimental validation.

    5. Tool ecosystems use inconsistent interfaces, which complicates orchestration

    Scientific tools vary widely, and their input and output formats differ. Some return results synchronously, while others run long asynchronous computations. Connecting model services, task queues, compute jobs, data storage, and result visualization requires a unified tool description format, parameter validation, standardized error codes, and state-machine orchestration. Without these, an agent can only offer text suggestions and cannot effectively drive computation or experimental workflows.

    6. Computing cost and elastic scheduling create pressure

    Scientific tasks often involve long contexts, multimodal inputs, batch inference, and multiple tool calls, so costs can rise quickly. Research budgets are usually limited, so teams need to match model capability to task value. They can use caching, batching, asynchronous queues, and elastic compute resources to control costs. At the infrastructure layer, teams can use general-purpose cloud-native services such as object storage, container platforms, message queues, and logging and monitoring with alerting from Baidu AI Cloud to build a research workflow foundation. Specific choices should still be based on task service-level agreements (SLAs), data security requirements, and cost assessment.

    7. Security, compliance, and responsibility boundaries are complex

    Research data may include patient privacy information, controlled data, trade secrets, and biosafety-sensitive material. The system needs tiered permissions, data de-identification, audit trails, and ethics review processes. Model outputs should be clearly labeled as assistive suggestions, and key conclusions require expert sign-off or experimental validation. For cross-institution collaboration, teams must also solve engineering problems such as keeping data within its domain, sharing results while keeping raw data private, and related constraints.

    8. A shortage of interdisciplinary talent and weak organizational collaboration

    AI for Science requires teams that understand model capabilities, software engineering, and scientific questions at the same time. Researchers focus on hypotheses and experiments, while engineers focus on interfaces, stability, and observability. Without a shared task definition and acceptance criteria, projects tend to stop at the demo stage. Teams should organize work around scientific task cards that specify inputs, outputs, acceptance metrics, human review points, and deployment boundaries.

    3. An Engineering Path to Deployment

    1. Use a layered architecture and avoid model-centric design

    Divide the system into the following layers: infrastructure, data governance, model services, scientific tools, agent orchestration, and application review. The infrastructure layer provides storage, compute scheduling, queues, logging, and monitoring. The data governance layer manages data snapshots, permissions, and lineage. The model service layer wraps inference, retrieval, and structured output in a unified interface. The scientific tool layer provides verifiable computing capabilities. The orchestration layer handles planning and state machines. The application layer gives researchers a task interface and review workflow. This separation allows model iteration and scientific tool iteration to proceed independently.

    2. Define boundaries and acceptance criteria with task cards

    Each deployment task should specify the task goal, input data requirements, permitted tools, output format, confidence requirements, human review points, failure handling, and cost limits. For example, “preliminary analysis of single-cell data” could include quality control, cluster annotation, initial screening of developmental trajectories, and a list of candidate genes. Final conclusions must still be reviewed by domain experts. The clearer the task card, the easier it is to evaluate and govern the agent.

    3. Build scientific agents with a planner, tools, validators, and audit components

    An agent should not rely only on free-form text reasoning. It needs structured planning, tool parameter validation, result verification, and audit records. Key steps can include human confirmation. High-risk tool calls require permissions and quotas. All intermediate results should record their version and source. The following illustrative pseudocode shows this structure:

    1. workflow = ScienceWorkflow(
    2. data = load_dataset(uri, schema, checksum),
    3. preprocess = [quality_check, normalize, batch_correct],
    4. planner = ModelPlanner(task_card, constraints),
    5. tools = [annotation_tool, enrichment_tool, experiment_planner],
    6. validator = [schema_check, reproducibility_check, expert_review],
    7. audit = [log, version, cost_trace]
    8. )
    9. for step in workflow.plan():
    10. result = step.execute()
    11. assert step.validate(result)
    12. if step.requires_human_review:
    13. result = human_review(result)
    14. workflow.record(result, provenance=step.provenance)

    The main point of this structure is not any specific interface. It is the requirement that every step be verifiable, reversible, and auditable.

    4. Establish a reproducibility protocol

    Reproducibility is a prerequisite for moving research agents into production. Teams should fix data snapshots, environment images, model versions, prompt templates, tool versions, parameters, and random seeds, and store result hashes and audit logs. For each task output, generate an experiment record package that includes inputs, processing steps, intermediate results, retry events, manual edits, and the final conclusion. This supports review and also builds datasets for future evaluation.

    5. Build an evaluation system combining offline benchmarks, expert review, and small-scale experimental validation

    Offline benchmarks support fast regression testing. Expert review assesses scientific soundness. Small-scale experimental validation tests real-world value. Key metrics include task completion rate, tool call success rate, expert acceptance rate, reproduction rate, cost per task, and changes in research cycle time. Teams should avoid relying on single demo results. They should track stability over time across different data distributions and task types.

    6. Start with low-autonomy assistive tasks that carry low risk

    In the early stage, teams can begin with assistive tasks such as literature review, data cleaning, experiment plan drafting, interpretation of candidate results, and analysis report generation. They can later expand to semi-automated analysis and closed-loop experiments. Tasks involving clinical data, biosafety, or high-value intellectual property require stricter human review and access control. By following an assist-first, automate-later path, teams can accumulate evaluation data and expert feedback before gradually increasing agent autonomy.

    7. Build security and compliance into the workflow

    Permissions, de-identification, auditing, ethics review, and output responsibility boundaries should be part of the architecture from the start, not added as patches after launch. Data access should follow the principle of least privilege. Sensitive data should stay within its authorized domain. Model outputs should record their sources and confidence levels. Key conclusions should keep expert sign-off, and all tool calls and manual edits should be logged. For cross-institution collaboration, teams can use an approach in which data is usable but not visible, and results are auditable and shareable.

    4. Conclusion

    AI for Science offers high-value application opportunities for Chinese large language models. The difficulty lies less in the capability of any single model than in the systems engineering that surrounds it: data governance, domain knowledge, evaluation, long-workflow reliability, tool orchestration, security and compliance, and organizational collaboration. Developers should not treat a demo as proof of production capability. Instead, they should define scope with task cards, build on reproducibility protocols, and close the loop with expert review and experimental validation. In this way, they can gradually build auditable and extensible scientific intelligence workflows. Only when model capabilities are embedded in a rigorous research engineering system can AI for Science move from appearing feasible to being stable and dependable in use.