How LLMs Are Powering AI for Science: Real-World Applications and Key Challenges

    Large language models are rapidly becoming practical tools in AI for Science (AI4S), especially in biomedical research, drug discovery, and materials science. This article examines how LLMs are being applied in real research workflows—such as agent-based single-cell data analysis and AI-assisted molecular design—and analyzes the three major challenges of bringing general-purpose models into rigorous scientific domains: domain knowledge barriers, model hallucination, and complex workflow orchestration. It also outlines engineering best practices, including a RAG + Agent architecture and cloud-native elastic computing infrastructure, for building reliable AI4S applications.

    Introduction: The Evolution of Research Paradigms and the Rise of LLMs

    Scientific research has evolved through successive paradigms: experience-driven, theory-driven, and now data-driven. In recent years, with large language models (LLMs) making breakthroughs in natural language understanding, logical reasoning, and code generation, AI for Science (AI4S) has emerged as one of the core arenas for applying AI technology. Many LLM research teams and platforms are turning their attention to scientific research, seeking to accelerate fundamental discoveries by combining LLMs with real research scenarios.

    Based on publicly known deployments, LLM-driven AI4S efforts are showing early results—particularly in data-intensive fields such as biomedicine, drug discovery, and materials science, where they demonstrate the potential to shorten R&D cycles and improve screening efficiency. However, due to the specialized nature and high barriers of research scenarios, deploying LLMs in this space still involves significant technical and engineering challenges.

    Typical AI4S Applications and Technical Practices

    In practice, LLMs typically do not serve directly as computation engines. Instead, they act as the “brain” that integrates with scientific toolchains, forming research agents that help scientists carry out complex analytical tasks.

    1. Biomedicine: Agent-Based Single-Cell Data Analysis

    In biomedical research, single-cell gene expression data analysis is extremely labor-intensive. Traditionally, researchers must process massive volumes of cellular data and manually write scripts for dimensionality reduction, clustering, differential expression analysis, and other steps.

    A common industry approach today is to build a dedicated biomedical Agent. Such an Agent is connected to the reasoning capabilities of a general-purpose LLM and can understand researchers’ natural language instructions. In operation, a researcher only needs to state an analysis goal—for example, “analyze the single-cell data of a specific tissue and identify candidate genes related to a given developmental stage.” The Agent then automatically decomposes the task: it first calls data cleaning tools for preprocessing, then invokes bioinformatics algorithm libraries for clustering analysis, and finally interprets the results using an embedded biological knowledge graph, outputting a cell development map along with a list of high-potential candidate genes. This pattern compresses what used to be days of tedious analysis into a few hours, greatly freeing up researchers’ time.

    2. Drug and Materials R&D: Combining Intelligence with Compute for Molecular Design

    LLMs also play a key role in drug discovery and materials synthesis. Traditional computational chemistry relies on high-precision but extremely expensive methods such as Density Functional Theory (DFT). With LLMs in the mix, R&D platforms can leverage their strong pattern recognition capabilities to perform preliminary molecular structure generation and property prediction based on existing compound databases. Given the characteristics of a target, an LLM can generate potential molecular structures and orchestrate underlying compute resources for rapid virtual screening. This “intelligent generation + compute-based validation” synergy effectively narrows the scope of experimental validation and accelerates the journey of new drugs and materials from the lab to industrialization.

    Core Challenges of Applying LLMs to AI4S

    Despite the promising outlook, bringing general-purpose LLMs into rigorous scientific research is far from a simple API call. There are three core challenges:

    1. Domain Knowledge Barriers and the Scarcity of High-Quality Data

    Scientific research is highly specialized. Although the pre-training corpora of general-purpose LLMs include some scientific literature, they lack deep professional data and unpublished experimental data. In fields like structural biology or quantum chemistry, much of the data exists as non-textual graphs, 3D structures, and multimodal experimental records. These datasets are often held by a small number of leading research institutions, come in inconsistent formats, and contain substantial noise. Converting such unstructured, highly heterogeneous professional data into training material that LLMs can understand is the first major hurdle in building domain-specific models. Moreover, scientific knowledge evolves rapidly, so LLMs need continuous learning mechanisms to stay up to date.

    2. The Tension Between Scientific Rigor and Model “Hallucination”

    When a general-purpose LLM hallucinates in a casual conversation, it might just be amusing. In a research context, however, a single incorrect data point or conclusion can lead to enormous wasted resources downstream. Science demands a high degree of certainty and explainability, and the probabilistic nature of LLM generation is inherently at odds with this rigor. Constraining models to produce outputs that conform to established scientific rules and physical laws—avoiding “invented” molecular structures or gene pathways that don’t exist—is a key bottleneck for real-world adoption.

    3. Orchestrating Complex Research Workflows and Scheduling Compute

    Research tasks often involve long-cycle, multi-step workflows. Single-cell data analysis, for example, requires chaining multiple tools from raw data cleaning to final map generation. This places high demands on an LLM’s context memory and task planning capabilities. At the same time, research computing often involves sudden spikes in compute demand, such as large-scale molecular docking calculations. LLM platforms need strong engineering capabilities to support elastic compute scheduling—and balancing computational efficiency against cost remains a challenge, particularly in environments where compute resources are relatively constrained.

    Strategies and Engineering Best Practices

    To address these challenges, developers and organizations building AI4S applications should adopt a hybrid architecture—“LLM + domain knowledge base + toolchain”—rather than relying solely on the model itself.

    1. Building a RAG + Agent Research Architecture

    To mitigate hallucination and knowledge staleness, retrieval-augmented generation (RAG) is an essential technique. In research scenarios, you should build a professional knowledge base containing authoritative literature, experiment manuals, and standard operating procedures (SOPs). When the Agent receives a task, it first retrieves relevant knowledge via RAG to serve as contextual constraints, and only then proceeds with reasoning and tool calls.

    Below is a simplified pseudocode example of a research Agent performing tool calls, showing how function orchestration can enforce a rigorous scientific workflow:

    1. import json
    2. # Define the scientific toolset
    3. tools = {
    4. "sc_data_preprocess": preprocess_single_cell_data,
    5. "cluster_analysis": run_clustering,
    6. "gene_filtering": filter_candidate_genes
    7. }
    8. def science_agent_pipeline(user_query, model_client):
    9. # 1. The model understands the intent and plans the steps
    10. plan = model_client.generate_plan(
    11. prompt=user_query,
    12. context="Must execute within the specified toolset; fabricating data is not allowed"
    13. )
    14. # 2. Execute tool calls step by step to ensure rigor
    15. intermediate_result = None
    16. for step in plan.steps:
    17. tool_name = step.tool_name
    18. if tool_name in tools:
    19. # Run the specific computation tool
    20. intermediate_result = tools[tool_name](intermediate_result)
    21. # Feed the result back to the model for validation and next-step reasoning
    22. model_client.validate(intermediate_result)
    23. else:
    24. raise ValueError(f"Illegal tool call: {tool_name}")
    25. return intermediate_result

    2. Leveraging Cloud-Native Infrastructure for Elastic Compute

    To handle the high concurrency and bursty nature of research computing, teams should build on general-purpose cloud-native capabilities—such as container platforms, object storage, and message queues—as the underlying foundation. By containerizing research compute nodes and using message queues to decouple tasks asynchronously, compute resources can scale up and down on demand. This not only handles the mixed scheduling of LLM inference and traditional HPC workloads, but also optimizes compute costs while keeping research on schedule.

    Conclusion

    The application of LLMs to AI for Science represents a profound transformation in research tooling. From agent-driven biomedical analysis to molecular design in drug discovery, LLMs are steadily becoming super-assistants for researchers. Still, overcoming domain knowledge barriers, eliminating model hallucination, and orchestrating complex workflows will require continued collaboration between developers and scientists. As RAG techniques, Agent frameworks, and underlying compute infrastructure continue to mature, LLMs are poised to unlock far greater research productivity in the AI4S space.