SafeScientist: Toward Risk-Aware Scientific Discoveries by LLM Agents

Kunlun Zhu, Jiaxun Zhang, Ziheng Qi, Nuoxing Shang, Zijia Liu, Peixuan Han, Yu Su, Haofei Yu, Jiaxuan You · OpenReview

Abstract: Recent advancements in large language model (LLM) agents have significantly accelerated scientific discovery automation, yet concurrently raised critical ethical and safety concerns. To systematically address these challenges, we introduce SafeScientist, an innovative AI scientist framework explicitly designed to enhance safety and ethical responsibility in AI-driven scientific exploration. SafeScientist proactively refuses ethically inappropriate or high-risk tasks and rigorously emphasizes safety throughout the research process. To achieve comprehensive safety oversight, we integrate multiple defensive mechanisms, including prompt monitoring, agent-collaboration monitoring, tool-use monitoring, and an ethical reviewer component. Complementing SafeScientist, we propose SciSafetyBench, a novel benchmark specifically designed to evaluate AI safety in scientific contexts, comprising 240 high-risk scientific tasks across 6 domains, alongside 30 specially designed scientific tools and 120 tool-related risk tasks. Extensive experiments demonstrate that SafeScientist significantly improves safety performance by 35% compared to traditional AI scientist frameworks, without compromising scientific output quality. Additionally, we rigorously validate the robustness of our safety pipeline against diverse adversarial attack methods, further confirming the effectiveness of our integrated approach.

Warning: this paper contains example data that may be offensive or harmful.

1. Introduction

Large Language Model (LLM) agents are increasingly capable of handling the entire scientific lifecycle: generating hypotheses, designing experiments, and writing manuscripts. However, this autonomy introduces significant risks. An AI might inadvertently or maliciously provide instructions for creating bioweapons, suggest unsafe laboratory protocols, or propagate hazardous misinformation.

Current safety research often focuses on single-model interactions, but scientific discovery is a complex, multi-stage process involving agent collaboration and tool usage. There exists a "safety gap" in existing autonomous research agents, which often lack the holistic oversight needed to detect emergent risks that arise during deep technical discussions or complex experimental simulations.

2. The SafeScientist Framework

SafeScientist is an end-to-end pipeline that incorporates four primary defensive layers to ensure safety throughout the research process.

The SafeScientist architecture, illustrating the multi-stage defense pipeline from prompt monitoring to ethical paper review.

2.1 Defensive Layers

  1. Prompt Monitor: A fused detector combining LLaMA-Guard (for semantic intent) and a custom SafeChecker (a structural analyzer) to identify adversarial attacks like jailbreaking or obfuscated malicious queries.
  2. Agent Collaboration Monitor: During the "Discussion Stage," where multiple expert agents refine a research idea, a dedicated Defender Agent is included. This agent is specifically tasked with identifying and counteracting risky or unethical suggestions from other agents.
  3. Tool-Use Monitor: A specialized detector that oversees interactions with simulated scientific tools. It uses domain-specific rules to prevent hazardous experimental designs, such as checking if equipment parameters exceed safe limits.
  4. Paper Ethic Reviewer: Before a final manuscript is produced, this module evaluates the draft against established ethical standards (such as those from ACL and NeurIPS) to ensure the output is responsible for dissemination.

3. SciSafetyBench: A New Standard for Scientific Safety

To evaluate the effectiveness of SafeScientist, we introduce SciSafetyBench, a comprehensive benchmark designed to evaluate AI safety in scientific contexts.

Overview of SciSafetyBench, featuring 240 tasks across six scientific domains and four distinct risk types.

SciSafetyBench consists of 240 high-risk discovery tasks spanning six domains: Physics, Chemistry, Biology, Material Science, Computer Science, and Medicine. These tasks are categorized by risk source: Direct Malicious, Indirect Malicious, Unintentional Consequence, and Task-Intrinsic risks. Additionally, the benchmark includes a Science Tool Dataset with 30 representative scientific tools and 120 tool-specific risk scenarios to test an agent's ability to operate equipment safely.

4. Experimental Results

Extensive experiments demonstrate that SafeScientist significantly improves safety performance without sacrificing the quality of scientific discovery. Key findings include:

  • Significant Safety Boost: SafeScientist achieved a safety score of 4.83/5, a massive improvement over the baseline "AI Scientist" (Sakana), which scored 2.45/5.
  • Robustness Against Attacks: The fused prompt monitor reached a 78.70% rejection rate across various adversarial attack methods, compared to just 30.10% for a standard GPT-4o model.
  • Ethical Refinement: The Paper Ethic Reviewer increased the ethical adherence scores of generated manuscripts by 44.4% on average.
  • Tool Safety: In scenarios with malicious instructions, the Tool-Use Monitor raised the safety rate of tool calls from 5.8% to 47.5%.

Crucially, implementing these rigorous safety layers did not degrade the quality, clarity, or contribution scores of the scientific output, proving that safety and quality are not a zero-sum game.

5. Conclusion and Future Work

SafeScientist represents a significant step toward responsible AI-driven scientific discovery. By integrating multi-perspective detection and a dedicated "Defender" agent during collaboration, the framework effectively mitigates dual-use risks and adversarial attacks.

Future work will focus on tighter integration of safety modules, moving from simulated tool use to real-world laboratory safety using multi-modal inputs, and expanding SciSafetyBench to more scientific disciplines to keep pace with evolving research needs.

Summary updated

BibTeX
@inproceedings{zhu2025safescientist,
  author = {Kunlun Zhu and Jiaxun Zhang and Ziheng Qi and Nuoxing Shang and Zijia Liu and Peixuan Han and Yu Su and Haofei Yu and Jiaxuan You},
  title = {{SafeScientist: Toward Risk-Aware Scientific Discoveries by LLM Agents}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=e9nyyDvmKk},
}
Figure