AI for Science: Workflow Roles, Research Applications, and Capability Evaluation

    This article explains how AI for Science is moving from early feasibility validation toward workflow integration and commercial exploration. It covers the ecosystem roles behind AI for Science systems, a public biomedical agent case for single-cell analysis, layered research applications, evaluation categories, common pitfalls when interpreting model scores, and a practical engineering checklist for building research agents.

    1. Introduction: Why AI for Science Matters Again

    AI for Science (AI4S) refers to using AI methods to accelerate scientific discovery and to the interdisciplinary field itself. It includes representative work in biology, chemistry, materials, mathematics, and computational science.

    Recently, general-purpose large model providers have begun to showcase AI4S deployments in open platforms and case studies. Some have partnered with scientific computing platforms to release domain agents for biomedical research. Some have focused on support tasks such as literature reading and research writing while building long-term collaborations with drug and materials R&D companies. Others have worked with university research teams to create evaluation benchmarks for theoretical computer science.

    These signals suggest that AI4S is moving from early feasibility validation toward workflow integration and commercialization.

    For developers and technical decision-makers, three questions are more important than asking who will enter the field:

    • Which tasks does AI4S perform in research workflows?
    • How do general-purpose large models and domain platforms divide responsibilities?
    • What is the current level of research capability, where are the gaps, and how should it be evaluated?

    Using public cases as a guide and combining general engineering practices, this article examines these questions.

    2. Ecosystem Roles: Who Provides Capability and Who Owns the Domain

    A typical AI4S system usually involves three roles:

    • Model foundation: Provides general capabilities such as language understanding, reasoning, code generation, multimodal understanding, and tool invocation, typically exposed through APIs.
    • Domain research platform: Provides domain tools, algorithmic components, data management, compute scheduling, and access control. For example, a biomedical domain agent described in a public case runs on top of an AI-native research platform.
    • Industry R&D organization: Owns real research scenarios, domain knowledge, and experimental systems. It is responsible for defining problems, setting evaluation criteria, and validating results.

    These three roles correspond to the capability layer, platform layer, and business layer in software architecture. For developers, whether a solution is mature depends largely on whether these layers are decoupled: the foundation model can be replaced, domain logic can evolve independently, and the business side can integrate through standard interfaces. Only then can the system be maintained long term and replicated horizontally.

    3. Case Study: How a Biomedical Agent Completes Single-Cell Analysis

    A publicly available case shows that after connecting to a general-purpose large model, a biomedical agent completed single-cell gene expression analysis on 3,696 mouse embryonic pancreatic cells. The end-to-end runtime was about 90 minutes, and the output included a cell developmental map and 100 candidate genes.

    From an engineering perspective, this pipeline can be divided into six stages:

    1. Data loading and quality control: Read expression matrices and cell or gene annotations; filter low-quality cells based on metrics such as number of detected genes and mitochondrial read proportion.
    2. Normalization and feature selection: Normalize the data, select highly variable genes, and reduce dimensionality.
    3. Dimensionality reduction and clustering: Use principal component analysis and nearest-neighbor graph clustering to obtain cell group assignments.
    4. Cell type annotation: Determine cell identities by combining marker genes with expression profiles of cell groups.
    5. Trajectory inference: Construct pseudotime relationships among cell groups to reconstruct developmental pathways and key differentiation nodes.
    6. Candidate gene selection and interpretation: Compare differential expression across developmental stages or cell groups, select candidate genes related to key biological processes, and generate visualizations and a summary.

    Two points are often overlooked.

    First, models and domain platforms perform different types of work. Numerical computation is performed by scientific computing components and execution environments in the domain, which provides high determinism and reproducibility. The model is responsible for orchestration, code generation and debugging, parameter selection, result interpretation, and report writing.

    These tasks are often time-consuming, experience-dependent, and highly variable across workflows in traditional research software. For example, trajectory inference results can be sensitive to parameters such as clustering resolution and number of nearest neighbors. The value of the model lies in automatically proposing reasonable configurations based on data structure and identifying the cause when results are abnormal.

    Second, the 90-minute runtime mainly shortens analysis time, not the experimental validation cycle. Compared with a conventional manual analysis workflow using similar toolchains, steps such as cell group assignment and cell type identification often require manual operations and repeated trial and error. The full process may take from several hours to several days, depending on data size and researcher experience.

    However, candidate genes still require wet-lab validation. What the agent ultimately provides to researchers is a higher-quality, traceable list of hypotheses rather than experimental conclusions.

    The engineering significance of this case is that it turns a process that originally depended heavily on individual experience into a repeatable standard task. The following pseudocode illustrates how to build a research agent skeleton with plan-execute-validate capabilities:

    1. from dataclasses import dataclass
    2. from typing import Any, Callable
    3. # Tool signature: takes task parameters and task context, returns a result object or an error object
    4. Tool = Callable[[dict, dict], Any]
    5. @dataclass
    6. class StepResult:
    7. name: str
    8. ok: bool
    9. output: Any
    10. detail: str
    11. def run_scientific_agent(
    12. task: str,
    13. tools: dict[str, Tool],
    14. llm, # Model client; this is an illustrative interface
    15. max_steps: int = 10,
    16. ) -> dict:
    17. """Plan-execute-validate skeleton for a research agent (pseudocode; interfaces are illustrative)."""
    18. messages = [{"role": "system", "content": "You are a rigorous research assistant: answer based on real tool results; do not fabricate data."}]
    19. trace: list[StepResult] = []
    20. for _ in range(max_steps):
    21. # 1) The model produces a structured decision: which tool to call, what arguments to pass, or a direct conclusion
    22. decision = llm.plan(task, messages, tools) # Returns {"tool": str | None, "args": dict}
    23. # 2) Termination condition: the model considers the task complete
    24. if decision.get("tool") is None:
    25. return {"status": "done", "answer": decision.get("answer", ""), "trace": trace}
    26. # 3) Tool execution: validate arguments, run in a controlled environment, and convert exceptions into error objects
    27. try:
    28. output = tools[decision["tool"]](decision["args"], {"task": task})
    29. ok = not (isinstance(output, dict) and output.get("error"))
    30. except Exception as exc:
    31. output, ok = {"error": str(exc)}, False
    32. trace.append(StepResult(decision["tool"], ok, output, str(output)[:500]))
    33. # 4) Stop on critical failure and let humans intervene, preventing the model from idling without valid results
    34. if not ok and decision["tool"] in {"load_data", "run_analysis"}:
    35. return {"status": "failed", "reason": str(output), "trace": trace}
    36. messages.append({"role": "assistant", "content": str(decision)})
    37. messages.append({"role": "user", "content": f"Tool result: {output}"})
    38. return {"status": "max_steps", "trace": trace}

    4. Layering Research Applications: From Reading Faster to Discovering New Knowledge

    AI4S applications in research scenarios can be divided into four layers based on their distance from knowledge production:

    1. Information layer: read faster and find relevant material. Using long-context and multimodal understanding, models can quickly process text and figures from papers, patents, and technical reports; perform summarization, comparison, terminology explanation, and cross-language retrieval; and reduce the time researchers spend handling literature. This is often the first area where AI4S services scale.

    2. Analysis layer: calculate accurately and explain clearly. Models support statistics, modeling, and visualization for structured and semi-structured data. Typical examples include the single-cell analysis discussed above and experimental data analysis. Models handle orchestration and interpretation, while domain tools handle computation.

    3. Generation layer: imagine possibilities and afford experimentation. In drug and materials R&D, models can generate candidate molecules, formulations, experimental designs, or simulation parameters, which are then ranked through property prediction, virtual screening, and simulation. This layer relies more on domain models and domain knowledge; general-purpose large models mainly support intent understanding, task orchestration, and result explanation.

    4. Discovery layer: go further and produce falsifiable claims. Models can propose hypotheses, provide formal proofs, or construct counterexamples. Theoretical computer science and related fields are typical use cases. This layer requires the highest reasoning ability and is the hardest to validate.

    A common mistake is to use a single “research capability” label to evaluate models. From reading faster to discovering new knowledge, the capabilities required are fundamentally different.

    A reasonable approach is to evaluate and build capabilities layer by layer along this chain: the information layer focuses on efficiency; the analysis layer focuses on reproducibility; the generation layer focuses on candidate quality and validation loops; and the discovery layer requires rigorous reasoning and formal verification.

    5. Evaluation Perspective: How to Measure Research Capability

    5.1 What the Three Evaluation Types Measure

    Based on engineering experience accumulated in practice, the team at TypeSafe AI Systems (TSIS), a model reasoning platform, classifies AI4S evaluation into three types:

    • Knowledge-based evaluation: Assesses how much subject knowledge a model has and whether it can perform subject-level reasoning. It often reuses established academic question banks and is low-cost and broad-coverage.

    • Exploration-based evaluation: Simulates the real research process, including hypothesis generation, experimental design, solution iteration, and result analysis. Domain experts create the tasks, making it closer to real research practice.

    • Operation-based evaluation: Assesses whether a model can perform tasks in real tools and environments, such as loading datasets, running analysis workflows, and interpreting results on a scientific computing platform.

    High-difficulty cross-disciplinary knowledge evaluations are representative of the knowledge-based type; evaluations of tasks that require research agents to perform terminal operations fall into the operation-based type.

    Notably, some public evaluations have begun using version numbers. This is a signal that evaluation systems are becoming more standardized.

    5.2 Three Considerations When Interpreting Scores

    • A single score does not equal research capability. Knowledge-based scores indicate how much subject knowledge a model has, while operation-based scores reflect whether it can reliably complete tasks in real toolchains. The two cannot replace each other.

    • Watch out for data contamination. Once an evaluation set is public, it may enter model training data, leading to inflated scores. This is one reason evaluation sets are frequently updated with new versions.

    • Look beyond the best score and examine failure modes. A lower score does not mean a model has no value. Some public evaluations indicate that general-purpose models still have a clear gap compared with frontier models on research tasks. If failures concentrate in areas that can be improved through orchestration and prompt optimization, such as parameter selection, tool invocation, and result interpretation, there is still substantial room for engineering improvements.

    5.3 How to Build Domain Evaluation Benchmarks

    Public cases show that a university theoretical computer science research team worked with model vendors to build a domain evaluation benchmark. Its methodology is worth referencing:

    • Domain experts define capability boundaries and task types.
    • Tasks have unique verifiable answers or grading rules that can be checked programmatically.
    • Tasks are continuously updated to reduce contamination risk.
    • Evaluation methods and results are disclosed to ensure comparability and reproducibility.

    Teams can use the following checklist to build an internal evaluation set:

    Capability dimension What to assess Example evaluation format Scoring method
    Subject knowledge Concepts, theorems, method selection Expert-written Q&A and multiple-choice questions Comparison with standard answers or expert scoring
    Research reasoning Hypothesis generation, experimental design, logical chains Open-ended solution design questions Expert scoring plus coverage of key points
    Tool operation Completing analysis workflows in real environments End-to-end tasks in a sandbox Correctness plus reproducibility checks
    Result interpretation Chart understanding, reasonableness of conclusions Writing analysis conclusions from given results Expert scoring plus fact checking

    6. Deployment Checklist: Engineering Essentials for Building Research Agents

    If a team plans to build an AI4S agent, the following checklist is useful:

    1. Unified tool interfaces: Each domain tool declares its name, description, and parameter schema so the model can select and invoke it correctly. Tools run in isolated sandboxes with timeouts and resource limits.

    2. Long-workflow state management: Persist plans, completed steps, intermediate artifacts, and failure reasons to a message queue or task store, supporting interruption and recovery. Add human review checkpoints for critical steps.

    3. Structured output: The model returns agreed formats through function calling or structured output, avoiding workflow interruptions caused by parsing natural language.

    4. Observability and alerting: Record model decisions, tool calls, and latency; use logging and monitoring systems to detect repeated calls, failures, and cost anomalies promptly.

    5. Continuous evaluation and regression testing: Integrate the evaluation set into CI so that prompts or model version changes automatically trigger regression tests, preventing fixes in one case from breaking many scenarios.

    6. Cost management: Use prompt caching to reuse stable system prompts and domain knowledge, choose model sizes according to task complexity, and schedule large batch analyses asynchronously.

    7. Security and compliance: Grant tools least privilege by default, prevent the model from automatically executing high-risk operations, classify research data, desensitize sensitive data before calling external models, and keep audit trails across the workflow.

    Risk notes:

    • Hallucination risk: Models may fabricate references, parameters, or results. Critical conclusions should include traceable data and code evidence.

    • Reproducibility: Record random seeds, dependency versions, and runtime environments; otherwise analysis results are difficult to reproduce.

    • Data sovereignty: Research data often involves intellectual property rights and partner agreements. Confirm data scope and authorization before uploading.

    • Responsibility boundary: Outputs related to drugs, materials, or clinical directions should be treated only as R&D clues and cannot replace professional review or experimental validation.

    7. Conclusion

    Based on the public trends discussed above, AI4S is currently transitioning from early validation to workflow integration.

    General-purpose large models have built some foundation in knowledge-based evaluations, but still show clear weaknesses in research operation and research reasoning. The real breakthrough will come from deeper coupling among model capabilities, domain platforms, and experimental validation systems.

    For technical teams, three practical paths are:

    • Start with high-value, verifiable, low-risk tasks such as literature processing and data analysis.
    • Turn domain capabilities into reusable tools rather than one-off scripts.
    • Build continuous evaluation and regression mechanisms so that each model upgrade is supported by evidence.