Large Language Models for AI for Science: Applications and Practice in Research
Large language models are moving beyond code generation and into scientific discovery. This article explores why biology and chemistry are especially demanding for LLMs, what researchers need from them—deep literature understanding, scientific code generation and execution, and domain tool orchestration—and how current platforms are integrating LLMs into existing research workflows. A single-cell gene expression case study illustrates the practical efficiency gains, while cloud-native infrastructure provides the computing foundation. The article also examines the remaining challenges: moving from assistive tools to research partners, controlling hallucination, and fusing multi-scale scientific data.
From Coding to Scientific Discovery: LLMs Enter Research
Over the past few years, large language models have proven their value in software development. Code generation, autocompletion, and defect detection tools have significantly improved developer productivity. As agents become more capable at logical reasoning and interacting with their environments, the industry is now looking for the next challenge: scientific research.
Compared with everyday programming, hard sciences such as biology and chemistry place much stricter demands on model capability. Scientific work involves massive amounts of unstructured professional literature, highly heterogeneous data such as gene sequences, molecular structures, and protein maps, and an uncompromising requirement for logical rigor and accuracy. In Silicon Valley, AI for Science has become a major direction, with leading teams optimizing foundation models for specific scientific domains. Chinese model teams are also accelerating their efforts by partnering with research companies to connect general-purpose LLMs into existing research workflows.
What Research Workflows Require from LLMs
To bring LLMs into real research workflows, it is important to understand the daily pain points and technical bottlenecks of researchers. The core requirements fall into three areas.
Deep Literature Understanding and Information Extraction
Modern research depends on an enormous body of prior work. Researchers must read large numbers of papers, extract key experimental parameters, and compare conclusions from different studies. LLMs need long-context processing and the ability to understand complex interdisciplinary terminology, converting unstructured text into structured knowledge graphs or datasets.
Scientific Code Generation and Execution
Fields such as bioinformatics and computational chemistry rely heavily on Python, R, and other languages for data cleaning, statistical analysis, and visualization. Researchers often spend significant time writing and debugging data-processing scripts. LLMs should be able to generate high-quality analysis code from natural-language research goals, and even execute that code in a built-in sandbox environment and return results.
Orchestration and Calling of Domain Tools
Scientific research is not only about natural language processing. It often requires calling specialized algorithm libraries or compute engines, such as molecular dynamics simulators and quantum chemistry packages. LLMs need strong tool-calling capabilities: understanding which tool to use, passing parameters correctly, and parsing complex computational results.
Current Implementation: LLMs in Research-Agent Platforms
At present, many LLM providers enter the scientific domain by collaborating with companies that already have domain tools and industry customers, integrating general-purpose models into existing research-agent platforms. This model is mostly focused on supporting steps in the research workflow, rather than directly participating in core scientific discovery or drug-development decisions.
One biomedical research-agent platform, for example, already provides specialized tools for cell-type identification and gene expression analysis, along with a supporting computing environment. After integrating LLM capability, the platform began assigning parts of the analysis pipeline to the model. The architecture typically works as follows: the LLM acts as the reasoning brain and understands the research question; prompt engineering is used to plan task steps; a code interpreter writes the analysis logic; and API calls invoke the underlying domain tools to complete the computation.
Case Study: Single-Cell Gene Expression Analysis
A concrete example helps illustrate the value of LLMs in a research workflow.
In a study involving 3,696 mouse pancreatic cells, the research team attempted to infer possible developmental trajectories from data collected at a single developmental time point, and then screen for candidate genes associated with development. This is a typical bioinformatics pseudotime or trajectory-inference task. In the traditional workflow, researchers must be familiar with specific bioinformatics packages and manually write code for data preprocessing, dimensionality reduction, clustering, developmental tree construction, and differential expression gene screening.
After LLM integration, the research-agent system took over the workflow:
- Intent understanding and process planning: The system received a natural-language instruction, understood the core goal of inferring developmental pathways from a single time point, and planned the full analysis chain from data loading to trajectory inference and gene screening.
- Code generation and tool invocation: The system automatically wrote the corresponding analysis code, called the platform’s internal cell-analysis toolkit, and executed the tasks in an isolated compute environment.
- Result output: The system spent about 90 minutes generating a putative cell developmental atlas and successfully screened 100 candidate genes.
By comparison, manual completion of a similar task typically takes 4 to 8 hours. The LLM-assisted workflow frees researchers from repetitive script writing and parameter tuning, allowing them to focus on interpreting biological meaning. It should be noted that this comparison is based on a single disclosed case. Whether the system can sustain a similar efficiency gain across different research tasks still requires broader validation.
Cloud-Native Infrastructure as the Foundation
A research-agent system of this kind depends not only on model reasoning ability, but also on cloud-native infrastructure. Scientific data processing is often both compute-intensive and I/O-intensive.
In a typical architecture, general-purpose cloud services provide the technical foundation. Object storage is used to manage large-scale, multimodal raw research data such as FASTQ sequencing files and molecular structure files. Container platforms enable rapid packaging and elastic deployment of scientific computing environments, ensuring isolation and consistency for code-execution sandboxes. Message queues coordinate multi-step analysis pipelines, and cloud monitoring tracks GPU and CPU load in real time to optimize compute costs. Combined with model-inference services and vector retrieval from the LLM platform, the research agent can complete the loop from knowledge retrieval to computation scheduling more efficiently.
Technical Challenges and Future Outlook
Although LLMs show encouraging potential in research support tasks, the current model of “connecting into existing workflows” still leans toward process automation, compared with some overseas efforts that aim directly at fundamental scientific discovery. Future development will face several challenges.
From Assistive Tool to Research Partner
Current systems still rely on explicit human instructions. In the future, LLMs will need to proactively propose scientific hypotheses and design experimental validation paths.
Hallucination Control
In drug development or pathology analysis, even a small amount of hallucinated output can lead to serious consequences. Ensuring rigorous results through retrieval-augmented generation (RAG) or neuro-symbolic systems grounded in physical laws will be a critical technical breakthrough.
Multimodal and Cross-Scale Data Fusion
Scientific data spans multiple scales, from molecules and cells to tissues and organs. LLMs need to better align and understand the characteristics of these different modalities.
In summary, AI for Science is a systems engineering challenge. The LLM serves as the core scheduler and reasoning engine. As general-purpose models become more tightly integrated with domain-specific tools, and as cloud computing capacity continues to evolve, LLMs are likely to play an increasingly central role in accelerating scientific discovery and shortening drug-development cycles. The direction is difficult, but the potential is substantial.
