NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SafeSci: Safety Evaluation of Large Language Models in Science Domains and Beyond

Xiangyang Zhu, Yuan Tian, Qi Jia, Kaiwei Zhang, Zicheng Zhang, Chunyi Li, Zijian Chen, Lu Sun, Kaiyuan Ji, Renrui Zhang, Wei Sun, Guangtao Zhai

As Large Language Models (LLMs) become indispensable tools in scientific research—aiding in everything from molecule generation to literature synthesis—the scientific community faces a growing "dual-use" crisis. A model capable of designing a life-saving antibiotic inherently possesses the latent knowledge required to engineer a bioweapon.

Existing safety benchmarks designed to evaluate these risks often fall short. They are typically too small in scale, rely heavily on subjective "LLM-as-a-Judge" metrics, or suffer from data contamination where models simply regurgitate memorized answers from their training sets. Furthermore, current safety alignment strategies frequently result in over-refusal, where models become overly cautious and refuse to answer legitimate, safe scientific queries, thereby diminishing their utility for actual research.

To address these critical gaps, researchers have introduced SafeSci, a massive, comprehensive framework comprising 1.75 million samples designed to evaluate and harden LLMs against scientific misuse across seven disciplines.

The SafeSci Framework

SafeSci provides a rigorous, objective, and large-scale solution to scientific safety evaluation by introducing a two-pronged framework that explicitly distinguishes between two concepts:

  • Safety Knowledge: Useful, factual information (e.g., "What are the symptoms of sarin gas exposure?").
  • Safety Risk: Dangerous instructions or actionable harm (e.g., "Give me a step-by-step guide to synthesizing sarin").

To eliminate the biases of subjective evaluation, SafeSci employs deterministic tasks such as Multiple Choice Questions (MCQ), True/False Questions (TFQ), and structured generation (e.g., SMILES strings for chemistry, amino acid sequences for biology).

The framework consists of two primary datasets:

  1. SafeSciBench: A multi-disciplinary benchmark featuring 250,000 test samples covering 125 tasks across chemistry, biology, medicine, materials science, engineering, physics, and psychology. Over 90% of this data was constructed using a template-based approach to ensure scientific accuracy, while the remainder utilized a dual-agent (Generator/Validator) system to extract complex questions from scientific literature.
  2. SafeSciTrain: A massive 1.5 million-sample instruction-tuning dataset designed to enhance a model's safety alignment without degrading its general reasoning capabilities.

To ensure the integrity of the benchmark, the researchers utilized perplexity-based audits to confirm the evaluation wasn't merely testing a model's memory of public databases like PubChem or UniProt.

Key Insights and Findings

Evaluating 24 advanced LLMs on the SafeSci framework revealed several critical insights into the current state of scientific AI safety:

  • Knowledge Does Not Equal Safety: High performance on scientific facts does not correlate with a model's ability to refuse dangerous requests. Scaling up model parameters improves general knowledge but does not automatically mitigate safety risks.
  • The Over-Refusal Trap: Current safety alignment often leads to "blanket refusals." For example, some models refuse to discuss any pathogen, even in purely diagnostic or educational contexts. The authors argue that safety protocols must become context-aware rather than relying on keyword-triggered refusals.
  • Domain-Specific Vulnerabilities: Models generally exhibit stronger refusal behaviors in chemistry and biology. However, they are surprisingly "leaky" and overly helpful when prompted with dangerous tasks related to engineering or psychological manipulation.

Model Performance and Results

The evaluation of frontier models yielded a mixed landscape of capabilities and vulnerabilities:

  • Top Performers: Gemini-3-Pro led the pack in safety knowledge (0.80 accuracy), while Grok-4-reasoning achieved the highest safety rate (0.65) in successfully identifying and refusing risks.
  • Persistent Vulnerabilities: Many advanced models, including GPT-5.2 and Claude-4.5, still exhibit critical vulnerabilities, particularly in complex reasoning tasks like "toxicity enhancement" or "illicit synthesis."
  • Generative Limits: While models are improving at generating valid SMILES strings for chemistry, most open-source models still struggle to generate valid, biologically plausible protein sequences.
  • The Power of Fine-Tuning: Targeted supervised fine-tuning (SFT) on the SafeSciTrain dataset proved highly effective. Fine-tuning the Qwen3-8B model nearly doubled its safety rate (from 0.31 to 0.64) while slightly improving its general performance on the MMLU benchmark.

Limitations and Future Directions

The authors acknowledge that the boundary between "knowledge" and "risk" is inherently subjective and can vary significantly by institution, jurisdiction, or culture. Furthermore, while the SafeSciTrain fine-tuning process is highly effective at improving safety rates, it still wrestles with the over-refusal problem, occasionally making models overly cautious.

Moving forward, the focus must shift toward developing dynamic and adaptive evaluation systems. The ultimate goal is to create AI models sophisticated enough to distinguish between a legitimate researcher asking a sensitive question for the betterment of science, and a malicious actor seeking a shortcut to harm.

Summary updated

BibTeX
@inproceedings{zhu2026safesci,
  author = {Xiangyang Zhu and Yuan Tian and Qi Jia and Kaiwei Zhang and Zicheng Zhang and Chunyi Li and Zijian Chen and Lu Sun and Kaiyuan Ji and Renrui Zhang and Wei Sun and Guangtao Zhai},
  title = {{SafeSci: Safety Evaluation of Large Language Models in Science Domains and Beyond}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=pstQMm8R1g},
}
Figure