AI for Science with Large Language Models: Key Challenges and Practical Implementation Paths

    AI for Science (AI4S) has become a new focus in the large-model race, yet turning it into usable products raises challenges that differ sharply from general office scenarios. Starting from a single-cell RNA velocity case that a research Agent completed in about 90 minutes, this article lays out a four-layer capability model and then analyzes five landing difficulties: the computability of research data, tool fragmentation and Agent engineering, gaps in model research literacy, a missing evaluation system, and trustworthiness boundaries. Along the way it covers tool contracts, a plan–execute–reflect loop, sandboxing and observability, layered evaluation design, and a three-phase rollout roadmap, giving developers and enterprise users a rational, engineering-oriented path to adoption.

    1. Introduction: Why AI for Science Became the New Front Line in the LLM Race

    In 2025, the Nobel Prizes in Physics, Chemistry, and Physiology or Medicine were awarded to scientists for pioneering contributions in neural networks, protein structure design, and mRNA modification. Two of those achievements were directly underpinned by artificial intelligence. This pushed AI for Science (often abbreviated AI4S) into the public eye, and it quickly became a direction that major model vendors raced to invest in.

    From public information, some model vendors in China have already showcased research-scenario collaborations in the case sections of their open platforms, with partners spanning drug and materials R&D and life-sciences data analysis. Some model teams have also partnered with leading mathematics research groups to run joint mathematical-reasoning evaluations.

    For developers and enterprise users, these signals show that scientific intelligence is moving from paper concepts toward product form. But three questions are worth answering:

    • How do the requirements of research scenarios differ from those of general office scenarios?
    • Where are the current landing difficulties concentrated?
    • Is there a replicable engineering path?

    This article starts from a concrete research Agent task and unpacks these questions layer by layer.

    2. Case Breakdown: How a Research Agent Completes Single-Cell Data Analysis

    2.1 Scenario and Task

    A typical workflow shown in a public case looks like this:

    • Input: single-cell transcriptomic data from about 3,700 mouse embryonic pancreatic cells;
    • Goal: build a cell developmental atlas and shortlist 100 candidate genes;
    • Execution: a biomedical research Agent connected to a general-purpose large model completed the whole analysis in about 90 minutes;
    • Context: the vendor also partnered with a drug and materials R&D company and had earlier applied multimodal capabilities to assist with paper reading.

    This is a classic RNA velocity / pseudotime analysis, and the core idea has three points:

    1. Traditional pseudotime methods use only the expression level of a single gene. RNA velocity methods use both the ratio of unspliced (intronic) to spliced (exonic) transcripts of the same gene to infer which direction the gene-expression state is changing.
    2. Combining the two lets you reconstruct the approximate direction of cell differentiation from static single-time-point data.
    3. The pancreas is composed of multiple cell types such as endocrine and exocrine cells, and the embryonic stage also involves multi-lineage branching—making it a typical scenario for testing these methods.

    “Drawing the atlas” is only an intermediate output; the final deliverable is a list of candidate genes ready for experimental validation. This means the model must complete the full chain from code generation to result interpretation.

    2.2 Task Breakdown: Seven Stages and the Model Requirements

    Stage Core Work Requirements on the Model Typical Failure Mode
    Task understanding Turn research goals into an analysis pipeline Domain semantic understanding, proactive clarification Fabricating assumptions when the goal is vague
    Method selection Set QC thresholds, dimensionality reduction, clustering, and pseudotime methods Methodological knowledge, parameter experience Copying generic tutorial defaults
    Code generation Generate QC, dimensionality-reduction, clustering, and trajectory-inference code Coding ability, familiarity with tool interfaces Calling deprecated parameters or functions
    Execution & debugging Install dependencies, locate errors, patch and retry Debugging ability, context management Getting stuck in unproductive trial-and-error loops
    Chart interpretation Read UMAPs, trajectory plots, heatmaps Multimodal understanding Misreading cluster boundaries and direction arrows
    Result filtering Shortlist candidate genes and provide biological interpretation Statistical reasoning, causal awareness Treating correlation as causation
    Report output Organize method descriptions, conclusions, and evidence Structured writing, citation ability Conclusions exceeding what the data support

    2.3 What Do 90 Minutes Mean?

    A runtime of about an hour and a half is not much faster than manual work—a skilled researcher might also finish the same pipeline by hand in one to two hours. The real value of the Agent shows up in three places:

    1. Parallelism: researchers can launch analyses on multiple datasets at once, shifting their attention from “writing code” to “judging results”;
    2. Reusability: once the pipeline is fixed as a template, you can rerun it on another dataset of the same type without starting from scratch each time;
    3. Auditability: the code, parameters, and outputs of every step are recorded, so the experimental process is inherently reproducible.

    One caveat worth keeping in mind: vendor cases are curated samples that represent the better-performing examples, and they cannot be directly extrapolated to average performance. To judge whether scientific intelligence can truly land, we need to analyze it further from two angles: capability layering and engineering constraints.

    3. Capability Layering: A Four-Layer Capability Model for AI for Science

    3.1 The Layering Framework

    Layer Capability Role Typical Tasks Maturity
    L1 Knowledge assistant Retrieval, summarization, translation Literature review, first-draft surveys, method comparison Relatively high; already used by many teams
    L2 Data-analysis assistant Write code, run analyses, produce charts Statistical analysis, single-cell analysis, simulation scripts Medium; needs human review and debugging
    L3 Research Agent Autonomous planning, multi-step execution, iterative correction End-to-end analysis pipelines, batch experiment management Early; suits tasks with standardized workflows
    L4 Discovery assistant Propose hypotheses, design experiments, closed-loop validation New-mechanism hypotheses, combinatorial optimization Research stage; requires a wet-lab closed loop

    The higher you go, the more is demanded on two fronts: long-horizon planning and self-correction, and domain knowledge plus verifiability. General capabilities only cover part of L1 and L2; L3 and L4 must be supported jointly by domain tools, domain knowledge, and domain-specific evaluation.

    3.2 Selection Pitfall: A High Score Is Not the Same as Being Usable

    Many teams fixate on general leaderboard scores when choosing models, which tends to overestimate a model’s real performance on research tasks. There are three reasons:

    • Construct validity: general leaderboards measure broad knowledge, whereas research requires deep, specialized knowledge. As construct-validity theory from classical psychometrics tells us, a ruler with the wrong scale cannot measure the true height.
    • Question differences: research tasks are mostly open-ended, multi-step, and require tool collaboration, while most leaderboard questions have standard answers and can be answered in a single turn.
    • Modality differences: research data is mainly tables, graphs, trajectories, and spectra, while most general leaderboards are text-based.

    A more reasonable approach is to let the model “run the task” on real workloads:

    • Task completion rate: whether it can deliver usable results end to end;
    • First-pass rate: the proportion of first-time results that need no manual modification;
    • Average debugging rounds: how many rounds are needed to fix an error after it appears;
    • Error-type distribution: whether errors are environment errors, logic errors, or statistical-interpretation errors.

    4. Landing Difficulty 1: The “Computability” Problem of Research Data

    4.1 Heterogeneity of Data Forms

    Research data is naturally long-tailed:

    • Domain heterogeneity: genomics, crystals, spectra, and remote sensing differ greatly in format and semantics across fields;
    • High dimensionality: single-cell data routinely involves tens of thousands of genes and tens of thousands of cells;
    • Incomplete metadata: lacking unified quality-control and standardized descriptions;
    • Unreadable raw artifacts: microscope images and raw sequencing files require specialized processing tools.

    The model cannot directly “read” this data; there must be a layer of structured data-access and processing services in between.

    4.2 Literature Is the Most Distinctive Knowledge Source in Research

    For research scenarios, literature is both input and output, which brings at least three engineering problems:

    1. The latest research is largely released as preprints, so model training data is inherently lagging;
    2. Key details are hidden in supplementary materials, figure captions, and formulas, and plain-text extraction easily loses them;
    3. Conclusions in a paper often depend on specific conditions, and summaries that strip away context easily overgeneralize.

    A workable approach is to build a research-oriented knowledge-augmentation pipeline:

    • Break PDFs into structured segments such as body text, formulas, charts, tables, and references;
    • Attach metadata to segments, such as title, year, journal tier, and method category;
    • On top of vector retrieval, add keyword-based sparse retrieval, then rerank;
    • Force every generated conclusion to be bound to its source segment and location.

    4.3 Private Data, Data Security, and Processing Costs

    Experiment records and proprietary data accumulated inside an enterprise are not public, while generic public datasets struggle to cover a specific topic. Engineering can respond on three fronts:

    • Hybrid retrieval: retrieve across public and private knowledge bases in layers, labeling source and confidence separately;
    • Privacy protection: desensitize sensitive data and run sensitive tasks in a private environment;
    • Cost optimization: keep raw data in object storage and load only the needed subset on demand during inference.

    Take a dataset of about 3,700 cells as an example: the expression matrix is on the order of 3,700 × 20,000, and usually only tens of MB after compression. Such data can be passed directly to the model in context. But when the cell count reaches the hundreds of thousands, the matrix size balloons by one to two orders of magnitude, and you must switch to a “tool-execution + summary return” pattern.

    5. Landing Difficulty 2: Tool Fragmentation and Agent Engineering

    5.1 Three Tool-Integration Modes

    Mode Suitable Scenarios Advantages Limitations
    Code execution Statistical analysis, simulation Flexible, composable Environment-dependent, security risks
    Function calling Querying databases, calling domain services Structured, controllable Requires maintaining interface contracts
    Document retrieval Manuals, specifications, operating guides Low cost Provides knowledge only, cannot execute

    Real systems usually mix all three; the key is making the model clear on “which to use when.”

    5.2 A Unified Tool Contract

    A tool description should include four parts:

    • Function description;
    • Parameter structure;
    • Preconditions;
    • Postconditions.

    Example:

    1. {
    2. "name": "run_velocity_analysis",
    3. "description": "Infer the direction of cell-state change from unspliced/spliced transcript ratios and generate a pseudotime trajectory",
    4. "parameters": {
    5. "type": "object",
    6. "properties": {
    7. "matrix_path": { "type": "string", "description": "Path to the QC-processed expression matrix" },
    8. "metadata_path": { "type": "string", "description": "Cell annotation file" },
    9. "n_neighbors": { "type": "integer", "default": 15 },
    10. "smoothing": { "type": "number", "default": 0.2 }
    11. },
    12. "required": ["matrix_path", "metadata_path"]
    13. },
    14. "preconditions": ["matrix_path has completed QC and normalization"],
    15. "postconditions": ["Outputs a trajectory plot and a pseudotime value per cell"],
    16. "resource_limits": { "max_cells": 200000, "timeout_seconds": 1800 }
    17. }

    resource_limits is a field that is often overlooked. Declaring resource limits for a tool lets you rule out infeasible approaches at the planning stage, rather than repeatedly retrying after execution fails.

    5.3 The Plan–Execute–Reflect Loop

    A minimal viable research Agent loop contains four roles:

    • Planner: decomposes the task into subtasks;
    • Executor: calls tools or generates code;
    • Validator: checks whether the output is valid and reasonable;
    • Reflector: analyzes the cause on failure and revises the plan.

    Example code:

    1. MAX_RETRY = 3
    2. def run_research_task(task, ctx, guard):
    3. plan = planner.decompose(task, ctx) # plan
    4. for step in plan:
    5. for attempt in range(MAX_RETRY):
    6. result = executor.run(step, ctx, guard) # execute
    7. ok, reason = validator.check(step, result) # validate
    8. if ok:
    9. ctx.record(step, result, attempt)
    10. break
    11. step = reflector.revise(step, reason) # reflect
    12. else:
    13. return escalate_to_human(step, reason) # escalate to a human
    14. return reporter.compose(plan, ctx, cite_sources=True) # report

    5.4 Sandboxing, Resource Quotas, and Observability

    • Sandbox: analysis code can only run in an isolated container. The container can be built on general container technology and needs to restrict network access, filesystem write scope, and execution time.
    • Resource quotas: set compute, memory, and time limits per task to prevent the model from getting stuck in long, unproductive runs.
    • Observability: log the inputs, latency, and output summaries of every tool call. These logs are both the basis for debugging and a data source for optimizing prompts and tool descriptions.

    5.5 Long-Horizon Task Management in Large-Scale Analysis

    A single analysis takes only tens of minutes, but real research is often “multiple rounds of iteration + large-batch processing.” Engineering-wise, you need to:

    • Store each task’s plan, state, and intermediate artifacts in a state store;
    • Use a message queue to drive task scheduling and asynchronous execution;
    • Recover from the most recent checkpoint after an interruption;
    • Compress and summarize when the multi-step context exceeds the window.

    Cloud capabilities such as container services, object storage, vector-retrieval services, message queues, and logging plus monitoring and alerting can be reused directly. For example, Baidu AI Cloud offers products such as container and function compute, object storage, vector database, and cloud monitoring, so you do not have to rebuild the infrastructure from scratch.

    6. Landing Difficulty 3: The Model’s “Research Literacy” Gap

    6.1 Numerical and Symbolic Reasoning

    Statistical tests, unit conversions, and error analysis all require rigorous numerical reasoning. But large models are essentially probability-based text generators, and in multi-step calculations they easily produce intermediate results that “look reasonable but are actually wrong.” For example:

    • Confusing p-values with false discovery rates;
    • Ignoring multiple-comparison correction;
    • Treating observational associations as causal conclusions.

    Three workable practices:

    • Delegate calculations to external tools, such as a code-execution environment or a symbolic-computation library;
    • State statistical conventions explicitly in the prompt, for example requiring corrected significance to be reported;
    • Have the validator independently recompute key metrics.

    6.2 Multimodal Understanding of Scientific Charts

    Research charts often carry extremely high information density. A trajectory plot may simultaneously contain cluster colors, direction arrows, a pseudotime axis, and multiple legends. To interpret it correctly, the model must at least understand:

    • The meaning of axes and tick marks;
    • The mapping between legends and colors;
    • The directionality expressed by arrows or flow fields.

    For now, a more robust approach is joint “chart + text” input: let the model see the chart together with the code or data table that generated it, using structured information to compensate for gaps in visual understanding.

    6.3 Long Context and Working Memory

    Research tasks span a very wide range of information:

    • A paper along with its supplementary materials may run over a hundred pages;
    • A project’s experiment records may accumulate over months;
    • A single analysis may involve dozens of intermediate files.

    Simply enlarging the context window cannot solve the problem, because the longer the window, the more severely information gets “diluted,” and the more instructions the model must follow. A more realistic solution is layered memory:

    • Short-term memory: intermediate artifacts of the current task;
    • Project memory: topic background, experimental design, existing conclusions;
    • Long-term knowledge: domain knowledge and the literature base.

    Each layer is retrieved on demand and periodically summarized and compressed.

    6.4 The Reference Value of Public Evaluations

    On public leaderboards, in benchmarks that assess research-relevant capabilities such as general reasoning and terminal science tasks, leading domestic models still lag behind top international models. However, such evaluations have three limitations:

    1. Limited relevance to real research workflows;
    2. Susceptibility to data contamination;
    3. Scores that change rapidly with versions.

    So public leaderboards can serve as a reference “entry ticket,” but they cannot replace an enterprise’s self-built evaluations.

    7. Landing Difficulty 4: The Missing Evaluation System

    7.1 Three Core Problems

    • No standard answers: open-ended research questions often have no single correct answer;
    • Data contamination: public evaluation questions may already be in the training data;
    • High evaluation cost: relying on domain-expert scoring is hard to scale.

    7.2 Layered Evaluation Design

    Layer Evaluation Target Method Key Metrics
    Component layer Tool calling, code generation Unit tests, static checks Pass rate, parameter-correctness rate
    Task layer End-to-end analysis Comparison against gold-standard datasets Result consistency, debugging rounds
    System layer The overall research assistant Expert blind review Usability rate, adoption rate

    7.3 Requirements for Reproducible Evaluation

    • Fix the environment and tool versions to avoid “scores changing because the environment changed”;
    • Keep an internal private question set and update it regularly to prevent the training data from “memorizing” it;
    • Record versions, configurations, and random seeds to ensure reproducibility;
    • Collect real tasks during the pilot phase and keep expanding the evaluation set.

    8. Landing Difficulty 5: Trustworthiness and Responsibility Boundaries

    8.1 Academic and Experimental-Record Standards

    Modern labs commonly manage data under the ALCOA+ principles: attributable, legible, contemporaneous, original, and accurate—plus complete, consistent, enduring, and available. Every step of a research Agent should correspond to a specific person, a specific time, and a specific data version.

    8.2 The Boundary of Human–Machine Collaboration

    Task Risk Example Recommended Strategy
    Low Literature retrieval, format cleanup Can be automated
    Medium Data analysis, visualization Auto-generated, adopted after human review
    High Candidate conclusions, experimental-plan design Must be decided by researchers

    One principle needs to be clear: the model is responsible for “generating candidates,” and researchers are responsible for the “final judgment.” Reports should always label which conclusions come from model reasoning, which from tool computation, and which from literature citations.

    9. A Phased Implementation Roadmap

    Phase Duration (reference) Focus Scenarios Key Deliverables
    Pilot validation 0–3 months Literature review, routine analysis Baseline evaluation set, typical use cases
    Capability accumulation 3–9 months End-to-end pipelines, tool integration Tool registry, sandbox platform, evaluation system
    Scale rollout 9+ months Parallel multi-topic work, team collaboration Template library, permissions and auditing, cost optimization

    9.1 Pilot Phase: Choosing the Right Scenario Matters More Than Choosing the Right Model

    Prioritize scenarios that meet these conditions:

    • Standardized workflows;
    • Verifiable results;
    • Low cost of failure.

    Literature review and routine data analysis fit these conditions well. At the same time, establish a baseline quickly: before connecting the model, record the time and quality of humans completing the same tasks, and use it as the reference for all subsequent optimization.

    9.2 Capability-Accumulation Phase: Platformization Is the Watershed

    The core of this phase is four “ables”:

    • Tools can be registered;
    • Execution can be isolated;
    • Processes can be traced;
    • Results can be evaluated.

    Once these four are in place, upgrading the model requires only swapping the inference layer, without rebuilding tools and pipelines.

    9.3 Scale-Rollout Phase: Use Model Routing to Control Cost

    Tasks of different difficulty can be handed to models of different sizes:

    1. def route_model(task):
    2. if task.kind in ("format_convert", "extract_table"):
    3. return SMALL_MODEL # simple tasks use a small model
    4. if task.kind == "end_to_end_analysis":
    5. return LARGE_MODEL # complex reasoning uses a large model
    6. if task.retry_count > 2:
    7. return LARGE_MODEL # escalate the model when failures repeat
    8. return DEFAULT_MODEL

    Combined with result caching and batch inference, this can significantly reduce cost.

    10. Conclusion: View It Rationally, Advance It Systematically

    Scientific intelligence is one of the few directions that can deeply couple large models with the research paradigm. But the shift in the R&D paradigm is a long-term process, and expecting general models to “replace researchers with one click” is unrealistic. A more pragmatic goal is to let models take on repetitive information processing and operational work, so scientists can focus their energy on the parts that genuinely require human judgment.

    The implementation path can be summarized in four points:

    1. Use task layering to define capability boundaries;
    2. Use tool contracts to constrain execution behavior;
    3. Use layered evaluation to quantify real results;
    4. Use human–machine collaboration to hold the line on trustworthiness.

    Technology is only a tool; whether it can truly accelerate scientific discovery depends on whether data, tools, evaluation, and workflow can form a closed loop.