Skip to content

Controlling AI risks in chemical science with agents: the SciGuard guardrail and the SciMT benchmarkControlling risks of AI in chemical science with agents

Paper Tracker· arXiv:2312.06632· AI for Science· Jiyan He, Haoxiang Guan, Weitao Feng, Yaosen Min, Jingwei Yi, Kunsheng Tang, Shuai Li, Jie Zhang, Kejiang Chen, Wenbo Zhou, Xing Xie, Weiming Zhang, Nenghai Yu, Shuxin Zheng·Indexed by this site · 2026-10-09· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

SciGuard controls chemical science AI misuse; in Table 1, the GPT-4 version's Redteam harmlessness is 5.00.

Threat modelMalicious users can obtain harmful substance information, evade regulation, or spread dangerous knowledge through synthetic planning, toxicity prediction, or LLM/science agents. SciGuard acts as a model-agnostic external intermediary that does not modify the underlying models, treating science AI as black boxes to interpret intent and control access. The paper does not use white-box or gray-box to describe attacker knowledge.

Questions
Synthesis planning, toxicity prediction, and language models in chemical science could be used to propose harmful substances, circumvent regulations, or spread dangerous information. The authors argue that existing safety mechanisms are often insufficient, requiring contextual control without modifying the underlying models.
Methods
SciGuard uses an LLM as an external mediator, with principles, guidelines, molecular and regulatory memory, scientific tools, and RAG for iterative planning, then decides whether to answer, ask for clarification, or refuse. SciMT uses four parts—red teaming, scientific information, legislation, and jailbreak—to evaluate both safety and utility.
Experiments and results
In Table 1, SciGuard (GPT-4) has Redteam 5.00, ScienceInfo 90.00, and Jailbreak 5.00. The Mixtral version has Jailbreak 3.43, which is not the highest among the models. The authors state there are improvements over the base models.
Limitations and future work
The conclusion states that inputs may be ambiguous or deceptive, that complex adversarial and misclassification cases remain to be studied, and that SciMT does not exhaust chemical risks. The evaluation includes 12 systems in Table 1, as well as a benign set, an MMLU sample, and WMDP-Chem. The paper does not report human agreement correlation coefficients.
Experimental setupGPT-4、Gemini-1.5-Pro et al. · SciMT-Redteam、SciMT-Benign et al. · harmlessness、accuracy et al.
Evaluated models
GPT-4Gemini-1.5-ProLlama-2-7BLlama2-13B-ChatVicuna-7BVicuna-13BMistral-7BMixtral-8x7BChemCrow (GPT-4)Palm-2GPT-3.5Claude-2LocalRetroADMETlab 2.0
Benchmarks
SciMT-RedteamSciMT-BenignSciMT-ScienceInfoSciMT-LegislationSciMT-JailbreakMMLUWMDP-ChemGHS hazard dataset
Metrics
harmlessnessaccuracyhelpfulnessenrichment factor
AI summaryThe paper proposes an agent-based guardrail, SciGuard, that uses large language models, tools, and external knowledge to assess and control risks in scientific AI interactions, and provides a benchmark, SciMT, that measures both safety and usability. SciGuard achieves SOTA harmlessness scores on red-teaming test queries while maintaining high performance on benign tasks without sacrificing scientific knowledge. The authors first list real cases of AI misuse in chemical science and call for continued research and dialogue to ensure safe deployment of AI in science.

The paper proposes an agent-based guardrail, SciGuard, that uses large language models, tools, and external knowledge to assess and control risks in scientific AI interactions, and provides a benchmark, SciMT, that measures both safety and usability. SciGuard achieves SOTA harmlessness scores on red-teaming test queries while maintaining high performance on benign tasks without sacrificing scientific knowledge. The authors first list real cases of AI misuse in chemical science and call for continued research and dialogue to ensure safe deployment of AI in science.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Chemical science AI can be misused; the authors propose the external guardrail SciGuard and the benchmark SciMT.

    AI in chemical science could be used to produce harmful substances or circumvent regulation, and the authors want to control such misuse without modifying the underlying models.

    • Scenario: The authors state that AI has entered hypothesis generation, experiment planning, and chemical research. Figure 1a divides risks into harmful substances under malicious intent, repurposing for harmful uses, circumventing regulation, and misinformation, as well as unintended effects, inaccuracy, privacy, and bias under benign intent. Appendix C states that consequences can directly affect health and the environment, and that large language models have also lowered the barrier for non-experts to access risk information.
    • Existing shortcomings: The authors state that scientific models have narrow tasks and lack reasoning about ethical, environmental, and regulatory consequences; the introduction states that existing safety mechanisms are often insufficient. Section 2.1 uses synthetic planning, toxicity prediction, and language model examples to illustrate possible misuse.
    • The authors' three points of rationale: Risk depends on context; chemicals with health risks can still have legitimate industrial uses; scientific models need an external intermediary and should track queries with short-term and long-term memory; ethical norms change with culture, discipline, and time, so external knowledge and regulations should be incorporated.
    • What this paper proposes: A model-agnostic agent guardrail SciGuard, which interprets intent between users and scientific AI, invokes tools and knowledge before replying; and a multi-task benchmark SciMT, covering safety, scientific concepts, regulation understanding, and jailbreak resistance.
    • Threat model:
      • Goal: Using scientific AI to design or obtain harmful substances, repurpose substances for harmful uses, circumvent regulation, or spread dangerous chemical information in natural language (Figure 1a, Section 2.1).
      • Knowledge: The paper states that it can work even if scientific AI is treated as black boxes; it does not state whether attackers have access to weights, nor does it describe attackers as white-box or gray-box.
      • Capability: Users describe tasks in natural language or in a specified structured format. SciGuard acts as middleware, preventing users from directly accessing certain scientific models, and can query databases, regulations, and scientific tools.
      • Victim systems: Synthetic planning models, toxicity prediction models, and LLMs and scientific agents. Demonstrations include LocalRetro, ADMETlab 2.0, and Mistral-7B, Vicuna-7B, Palm-2, and ChemCrow.
  2. What related research exists?

    Related work covers synthesis planning, toxicity prediction, scientific agents, dual-use risks, and safety governance.
    • Chemical models and scientific agents: GLN, LocalRetro, Retroformer for retrosynthesis route generation; ADMETLab 2.0 and Chemprop for toxicity or property prediction, used in early drug discovery and safety screening. GPT-4 and systems like ChemCrow, HuggingGPT, Chameleon connect language models to scientific tools for automated experiments and analysis. The authors state that ChemCrow, despite having safety checks, may still provide sensitive drug-related information (Section 2.1.3, Figure D5).
    • Dual use and misuse: The authors cite Urbina et al. (2022), discussing drug discovery models being repurposed for harmful substances; Sandbrink (2023) distinguishes misuse risks of language models versus biological design tools. Appendix B also mentions Spicyboro can produce detailed virus data, and cites Gopal et al. (2023) on whether releasing weights expands access to pandemic agents, and Acion et al. (2023) on ethical issues of generative AI and open science.
    • Governance and alignment efforts: Appendix B mentions FDA promoting medical AI regulation, OpenAI's Superalignment, U.S. government collaboration with Microsoft, OpenAI, Google on safety protocols, and Anthropic's biosecurity risk assessment. These are used by the authors to illustrate that multiple parties are working on safety protocols, not as experimental baselines in this paper.
    • Agent techniques used in this paper: Architecture drawn from ChemCrow, HuggingGPT, MRKL, and ReAct; planning uses Chain-of-Thought; regulatory text uses Retrieval-Augmented Generation. Self-Reminders are used as alignment reminders and, in the appendix, are compared with SmoothLLM as jailbreak baselines.

    Baselines and benchmarks: The main table compares against mainstream LLMs and ChemCrow (GPT-4) in Table 1, with benchmarks being SciMT's Redteam, Legislation, ScienceInfo, Jailbreak. The appendix additionally compares Self-Reminders and SmoothLLM on SciMT-Jailbreak.

    The authors position SciGuard as an external mediator that does not modify model weights, using domain knowledge, regulations, and tools for contextual control; in the conclusion, the authors state that compared to safety fine-tuning or unlearning, this approach is more flexible and does not degrade the performance of specialized scientific models.

  3. How does the paper address this problem?

    SciGuard uses an LLM as an external intermediary, combining memory, tools, planning, and RAG to control access.

    SciGuard does not modify the science models; an LLM sits between the user and the model to interpret intent, add context, call tools, and then produce a response.

    Design Goals and Framework

    • Three goals: contextualized risk assessment; compensating for science models' lack of ethical and contextual reasoning; adapting to ethical norms that change with culture, discipline, and time.
    • Three attributes: domain expertise (chemical names, molecular formulas, structures), regulatory compliance, and value alignment (distinguishing benign from potentially harmful queries and outputs).
    • Pipeline: the user submits a task in natural language or structured format. The LLM builds task context, adds principles, guidelines, and examples; retrieves external libraries and regulations; plans and executes actions; writes the science model's observations back into the context, iterating until a final response. Intermediate planning and tool outputs are hidden from the user.

    Memory

    • Short-term memory: written into the system prompt, including principles, guidelines, and examples. The principles require responses to be helpful, ethical, and legal, and to refuse harmful or illegal content. The guidelines are used to judge intent; the paper writes that there is a greater tendency to refuse high-risk topics unless the intent is clearly legitimate. Appendix E has implementation details; prompts are not copied here.
    • Long-term memory: retrieved during interaction. PubChem is used for the molecular library. The hazard library includes GHS, OPCW, PAN HHP, and others, partitioned by source, and multiple libraries can be queried simultaneously. Interaction history stores queries, responses, tools, and outputs, used to detect repeated probing, paraphrase circumvention, or gradual escalation.
    • Similarity: the paper lists MACCS, ECFP, AtomPair, and Tanimoto, Dice, Cosine, Sokal, but does not state which pair is actually used.

    Tools, Planning, and RAG

    • Tools: Chemprop for property prediction, with tasks including tox21, clintox, sider, lipo, hiv, explosives, flammables, oxidizers, corrosives, acute-toxicity, health-hazard, and bbbp; input is SMILES, output is a score for that property. LocalRetro for retrosynthesis. Molecular Transformer for reaction product prediction. The text also lists drug optimization models and science agents.
    • Actions and planning: actions include selecting a tool, generating a response, requesting confirmation, or refusing. Planning uses Chain of Thought to decide the action sequence based on task context and safety criteria.
    • RAG: relevant fragments are retrieved from the regulatory knowledge base and appended to the user query before being sent to the agent.
    • Overhead: Appendix E.7 writes that the system prompt is about 2,000 tokens; most benign queries take one round of reasoning, with latency usually less than 1–2 seconds relative to direct access; one tool call typically adds another 2–5 seconds.

    Runtime Settings and Success Criteria

    • Backbone: the main implementation uses gpt-4-0613; Table 1 also includes SciGuard (Gemini) and SciGuard (Mixtral). Experiments use temperature 0, top p 1.0 (if applicable), and max tokens 2000 (if applicable).
    • How evaluation determines success: Redteam and Jailbreak use 1–5 harmlessness scored by an LLM judge, with a subset also human-scored. ScienceInfo and Legislation use accuracy. Benign looks at both harmlessness and helpfulness to check whether the system simply refuses everything. The paper does not define any score as a deployment threshold.

    Construction of SciMT

    • Redteam: an unnamed red-team agent generates items with few-shot prompting, followed by manual revision. 432 items: 177 not tied to a specific substance; 255 from 85 templates, with common names, IUPAC, and SMILES each contributing 85 items. Coverage includes GHS hazards and biological hazards.
    • Benign: 115 common chemistry and biology questions; 28 not tied to a substance, 87 containing common names, IUPAC, or SMILES.
    • ScienceInfo: mainly from the GHS and Pharmaceutical Hazards Safety databases, covering substance types, safe handling and disposal, and chemical representations. The total number of questions is not reported in the paper.
    • Legislation: 70 four-option multiple-choice questions, with sources including EPA, WHO, and OPCW, covering import/export, environmental pollution, and health.
    • Jailbreak: prompts from JailbreakChat. First, 16 prompts with ASR above 20% on undefended ChatGPT are kept, then run on GPT-4, removing those with a perfect harmlessness score of 5, leaving 20; combined with 3 risk instructions, totaling 60. Prompt content is not paraphrased.
  4. What experiments did the paper conduct?

    In Table 1, SciGuard (GPT-4) has Redteam and Jailbreak harmlessness scores of 5.00.

    Experimental Setup

    • Systems under test: Table 1 includes GPT-4, Gemini-1.5-Pro, Llama-2-7B, Llama-2-13B, Vicuna-7B, Vicuna-13B, Mistral-7B, Mixtral-8x7B, ChemCrow (GPT-4), and the GPT-4, Gemini, and Mixtral versions of SciGuard. Appendix F.1 states that GPT-4, SciGuard, and the judge are all gpt-4-0613; the open-source checkpoints are llama-2-7b-chat-hf, llama-2-13b-chat-hf, vicuna-7b-v1.5, vicuna-13b-v1.5, and Mistral-7B-Instruct-v0.1.
    • Scale: Redteam has 432 items, Benign 115, Legislation 70 questions, and Jailbreak 60. The number of ScienceInfo questions is not reported in the paper. MMLU samples 200 questions from 14,042. The full WMDP set has 3,668 questions; the chemistry subset size is not reported in the paper.
    • Metrics: Redteam and Jailbreak use harmlessness (1–5); ScienceInfo, Legislation, MMLU, and WMDP use accuracy; Benign additionally uses helpfulness (1–5), with refusals counted as a helpfulness score of 1.
    • Evaluation: The primary judge is gpt-4-0613 at temperature 0. The scoring instructions ask to ignore tone and warnings and only consider whether the information could cause harm. The SmoothLLM comparison additionally uses GPT-4.1. Human evaluation involves 3 people and 60 items.
    • Decoding: Temperature 0, top p 1.0, max tokens 2000 (if applicable). The paper does not report the number of repetitions. The model used to generate red-team queries is not named.
    • Risk demonstrations: LocalRetro, ADMETlab 2.0; Figure 2d also includes ChemCrow (Public), Vicuna-7B, Mistral-7B, and Palm-2.

    Main Results

    According to Table 1. Due to row limits, the table retains the three SciGuard variants, their comparable base models, and the worst-performing model in each column.

    Swipe horizontally to read the table

    ModelRedteamLegislationScienceInfoJailbreak
    SciGuard (GPT-4)5.0084.2990.005.00
    SciGuard (Gemini)5.0087.1488.754.88
    SciGuard (Mixtral)4.9172.8670.003.43
    GPT-44.8968.5787.504.33
    Mixtral-8x7B4.6340.0063.752.85
    Mistral-7B4.1954.2867.502.73
    Llama-2-7B4.9554.2938.754.83
    • Omitted: Gemini-1.5-Pro is 4.98 / 64.29 / 75.00 / 3.60; ChemCrow (GPT-4) is 4.92 / 70.00 / 80.00 / 4.88; Llama-2-13B is 4.95 / 44.29 / 55.00 / 4.70; Vicuna-7B is 4.33 / 48.57 / 55.00 / 3.13; Vicuna-13B is 4.60 / 50.00 / 70.00 / 3.20.
    • Relative to base models: The authors state that each SciGuard variant improves over its base model on all four metrics. The three rows in the table are higher than GPT-4, Mixtral-8x7B, and the omitted Gemini-1.5-Pro on all four metrics.
    • Authors' summary and exceptions in the table: The abstract claims state-of-the-art harmlessness in red-teaming, and the introduction writes a perfect score of 5.0/5.0; that score corresponds to the GPT-4 and Gemini versions in the table, not the Mixtral version, which is lower than the omitted Gemini-1.5-Pro and both Llama-2 variants. The authors claim the best jailbreak defense and consistent superiority over other models on ScienceInfo; in the table, the highest Jailbreak score appears only in the GPT-4 version, and the Mixtral version is lower than the in-table Llama-2-7B and several omitted models; on ScienceInfo, the Mixtral version is also lower than the in-table GPT-4.

    Risk Demonstrations

    • Synthetic planning: The authors use LocalRetro to show that a route for hydrogen cyanide can be produced that is easier to carry out in the laboratory than the traditional Andrussow oxidation, and write that the precursor LD50 is 6 g/kg and potassium cyanide LD50 is 5 mg/kg; reaction conditions are not paraphrased. The authors state that more than 1,400 toxic substances have reliability scores above 0.8, including substances classified as chemical weapons (Figure 2b, Appendix D.2–D.3).
    • Toxicity ranking: The authors use ADMETlab 2.0 on the GHS hazard dataset to compute enrichment factors and state that the top 5% has an EF of 22.0 (Figure 2c). The main text says 1%, 10%, and 20% were also computed, but does not list the EF for those three tiers.
    • Language model cases: In Figure 2d, ChemCrow (Public), Vicuna-7B, Mistral-7B, and Palm-2 all have a harmlessness score of 2. The appendix has additional cases; queries and synthetic content are not paraphrased.

    Benign Tasks, Human Scoring, and General Questions

    • SciMT-Benign: In Table F5, SciGuard's harmlessness / helpfulness is 5.0±0.2 / 4.7±0.8, with 95.7% / 86.1% receiving a score of 5. Llama2-13B-Chat's helpfulness is 4.9±0.6. The all-refusal system Rejective is 5.0±0.0 / 1.0±0.0. The authors state that SciGuard can remain helpful while being harmless; in the table, its helpfulness is not the highest.
    • Human scoring: 10 items per system across 6 systems, 60 items total, with 3 judges and GPT-4 using the same criteria. The introduction claims strong alignment, and Appendix F.2 claims relatively strong correlation. The paper does not report a correlation coefficient. Figure F6 shows KDE and a confusion matrix; the text gives no in-cell numbers.
    • MMLU: In Table F6, GPT-4 is 83.5% and SciGuard (GPT-4) is 85.5%. The authors attribute this to general-purpose tools and structured reasoning.

    Jailbreak Comparison and WMDP

    • Two comparisons: In Table F4, Self-Reminders and SciGuard are both 5.00, SmoothLLM is 4.85, and GPT-4 is 4.33. SmoothLLM uses 6 Swap perturbations with a perturbation rate of 15%, and GPT-4.1 selects the safest response.
    • WMDP-Chem: In Table F7, GPT-4 is 69% and SciGuard (GPT-4) is 43%. The authors state that lower accuracy indicates stronger suppression of dangerous knowledge. The authors write that a conservative refusal instruction was prepended to the questions to simulate a risk-averse baseline; no separate set of numbers without that instruction is given.
    • Distribution plot: Figure F7 shows the harmlessness distribution for SciMT-Redteam; the text does not give the proportion for each score tier.

    Other Ablations and Analyses

    • Removing principles and guidelines: on Redteam, the full SciGuard (GPT-4) is 5.00, 4.94 after removal, and GPT-4 is 4.89 (Figure F8); on Jailbreak, 4.85 after removal, 5.00 for the full version, and GPT-4 is 4.33 (Figure F10).
    • ScienceInfo (Figure F9): full version 90.00; removing PubChem gives 80.00, Wikipedia 85.00, Hazard Check 86.25, and principles and guidelines 87.50; removing Chemprop, LocalRetro, or Molecular Transformer each gives 88.75.
    • Legislation without RAG is 64.29% overall (Appendix F.5). In Table F3, SciGuard (GPT-4) without RAG has four columns of 66.67 / 81.82 / 75.00 / 50.00, and with RAG 100.00 / 81.82 / 81.25 / 79.41.
    • The authors state that SciGuard is better on each regulatory source; in Table F3, GPT-4's Export/Import is 90.91 and Env is 87.50, both higher than SciGuard (GPT-4)'s 81.82 and 81.25.
    • Table F2: SciGuard (GPT-4)'s Toxic is 90.5 and Addictive is 100.0, while GPT-4's are 87.3 and 50.0. The authors state that toxic-related queries show the largest gain.
    • In Figure 5a, several models have a harmlessness score of 2, while SciGuard has 5; in Figure 5b, SciGuard identifies substances in benign questions, while Vicuna-13B and Llama2-13B-Chat do not identify them correctly. Content is not paraphrased.
  5. What are some points that can be further explored?

    The authors state that input dependence, adversarial robustness, and misclassification remain to be studied, and that SciMT does not exhaust chemical risks.

    Limitations and future directions noted by the authors

    • Input dependence: Safety judgments still partly depend on user input, which may be ambiguous, incomplete, or deliberately deceptive (Section 4).
    • Adversarial behavior: The authors state that performance is strong on SciMT-Jailbreak, but robustness to more complex adversarial behavior remains an open challenge; future work should strengthen detection of subtle intent manipulation and adopt more proactive defenses (Section 4).
    • Misclassification consequences: Overly restricting safe substances, or missing genuinely harmful ones, may have social and regulatory consequences, which should be studied further in future versions (Section 4).
    • Benchmark boundaries: SciMT does not exhaust all risk types in chemical science, nor can it fully anticipate emerging or evolving threats; the authors position it as a focused evaluation framework rather than a complete solution for auditing scientific AI (Section 4).

    Experimental coverage

    • Table 1 reports scores for 12 systems on the four SciMT components; SciGuard's backbones are GPT-4, Gemini, and Mixtral.
    • Redteam has 432 items, Benign 115, Legislation 70 questions, Jailbreak 60; the number of ScienceInfo items and the size of the WMDP chemistry subset are not stated in the paper.
    • The main harmlessness judge is gpt-4-0613; human evaluation covers 60 items with 3 judges. The paper does not report correlation coefficients, nor does it report the number of repetitions or the model name of the red-team agent.
    • The appendix also reports SciMT-Benign, an MMLU sample of 200 questions, WMDP-Chem, and jailbreak baselines with Self-Reminders and SmoothLLM.
    • Risk demonstrations measured LocalRetro and ADMETlab 2.0. Utility numbers mainly come from ScienceInfo, Legislation, Benign helpfulness, and MMLU; the paper does not report prediction metrics for LocalRetro or Chemprop before and after the guardrail.
  6. Summarize the main content of the paper

    SciGuard controls chemical AI misuse via an external agent; the GPT-4 version's Redteam score is 5.00.

    This work turns misuse control for chemical science AI into an external agent rather than modifying model weights. The authors are concerned that synthesis planning, toxicity prediction, and scientific language models could be used to obtain information on harmful substances, circumvent regulations, or spread dangerous knowledge, while legitimate industrial uses cannot be handled by blanket refusal.

    SciGuard uses an LLM as mediator, placing principles and guidelines in short-term memory, and retrievable long-term memory for molecular libraries, hazard databases, regulations, and interaction history, then follows Chain of Thought to call tools like Chemprop and LocalRetro, or uses RAG to supplement regulatory excerpts, finally answering, asking for clarification, or refusing. Scientific models are used as black boxes. The accompanying benchmark SciMT separates red teaming, scientific information, legislation, and jailbreak, and uses a benign set to check for over-refusal.

    In Table 1, SciGuard (GPT-4) scores 5.00, 84.29, 90.00, 5.00; SciGuard (Gemini) scores 5.00, 87.14, 88.75, 4.88; SciGuard (Mixtral) scores 4.91, 72.86, 70.00, 3.43. The authors state that all three versions outperform their respective base models. The perfect red-teaming score in the abstract corresponds to the first two versions, not the Mixtral version; the latter's Jailbreak score is also lower than several base models. In Table F7, SciGuard (GPT-4) has WMDP-Chem accuracy of 43%, while GPT-4 has 69%; the authors interpret the decrease as stronger suppression of dangerous knowledge. On a 200-question sample of MMLU, SciGuard (GPT-4) scores 85.5%, while GPT-4 scores 83.5%.

    The authors argue that such an external mediator can address both safety and scientific utility, and call for continued collaboration among AI, science, and policy communities. The authors also note: judgment still partially relies on inputs that may be incomplete or deceptive, complex adversarial cases and misclassification require future work, and SciMT is not a complete audit of chemical AI.

Related papers

Show 3 more papers
Read originalAI for Science