The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning

arXiv:2403.03218 · cs.LG, cs.AI, cs.CL, cs.CY · Submitted 2024-03-05 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "The WMDP Benchmark".

Paper summary: Tom: So, we’re talking about this paper called The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning. What’s the main idea here?

Jane: Basically, they’re looking at how large language models can help bad actors build biological, cyber, and chemical weapons. The core of the paper is creating this benchmark dataset called WMDP to measure that hazardous knowledge in AI models.

Lu: They claim that current safety evaluations are mostly private and only look at a few specific ways things could go wrong, so this public set helps fill those gaps.

Meng: So, what does the WMDP dataset actually contain? Is it just a list of questions?

Jane: It’s a dataset of three thousand six hundred sixty-eight multiple-choice questions that act as a proxy measure for dangerous knowledge across biosecurity, cybersecurity, and chemical security.

Tom: That sounds like a lot of specific knowledge to test against an AI model. So what are the different categories they used?

Lu: They’ve broken it down into three main areas: general knowledge, biosecurity threats, and cybersecurity threat modeling. Plus they have chemical security threat modeling questions as well.

Jane: For the cybersecurity part, they designed questions that assess how models might help malicious actors through stages like reconnaissance, weaponization, exploitation and post-exploitation.

Meng: That sounds intense to build out. So what’s the second big thing this paper claims they are doing with this benchmark?

Lu: Besides measuring the risk in LLMs, they use WMDP as a benchmark for unlearning methods—basically ways to remove that dangerous knowledge from models.

Tom: Okay, so if you have a model trained on this stuff, how do you actually try to take that dangerous knowledge out of it?

Jane: To guide the research on unlearning, they developed RMU which is a state-of-the-art method based on controlling how the model represents things.

Meng: What does RMU actually do in practice for the model? Does it just delete data?

Lu: The forget loss function is a weighted combination of two parts: a forget loss and a retain loss. The forget loss tries to degrade the model’s representations of hazardous knowledge by perturbing activations on that specific data, while the retain loss regularizes those activations back toward what the original model did with an l2 penalty.

Tom: So it’s trying to selectively wipe out the bad stuff without totally destroying how the AI knows normal things. That sounds like a tricky balance to strike.

Jane: Exactly. The researchers show that this RMU method reduces accuracy on WMDP while keeping general capabilities in areas like biology and computer science intact.

Meng: I’m interested in the comparison they made there. Did it perform well against other methods?

Lu: Yes, they showed that RMU markedly improves upon existing baselines, decreasing accuracy on WMDP while maintaining performance on MMLU as well. They also did some probing evaluations to show linear probing only achieves slightly better than random when testing if probes can recover knowledge from a model unlearned with RMU.

Tom: So the mechanism seems promising because it keeps the general AI skills while specifically targeting those hazardous areas we’re worried about. What are the real-world implications for us?

Jane: The paper suggests that unlearning on WMDP helps mitigate risk for both closed-source and open-source models. For closed models, you can remove hazardous knowledge from API finetuning before serving the model.

Meng: And for open source, it suggests structured API access complements the safety benefits where developers apply unlearning mechanisms before a model is even served to users.

Lu: WMDP itself acts as a risk marker for needing more stringent policy actions, and they followed a stringent process to expunge sensitive information from the dataset in compliance with export control requirements.

Tom: So, what’s the catch? What are the limitations they point out about this whole approach?

Jane: They point out that WMDP consists of four-way multiple-choice questions, which might miss hazards that only show up in larger end-to-end evaluations. Plus, because WMDP is a static benchmark, it can’t anticipate the evolving landscape of cyber and biological risks.

Meng: And what about the open source models? If they get as capable as closed source models in the future, does this approach still cover everything?

Lu: They admit that WMDP focuses on reducing risk for models with API access, and if open-source models eventually reach those capabilities, these specific risks from this work might not be addressed.

Tom: So, it’s a solid tool for testing unlearning against a known set of threats but they aren't claiming it solves the entire problem forever. That gives us a clear picture of where the research is headed next.

Conclusion: Tom: So, we’re wrapping up our look at The WMDP Benchmark, measuring and reducing malicious use through unlearning in AI models.

Jane: It sounds like this paper is really focused on taking that massive risk of AI developing biological or chemical weapons and trying to measure it concretely.

Tom: Right. The authors are tackling the problem of private evaluations, so they built this public benchmark to see what’s actually out there in terms of hazardous knowledge.

Lu: They created three thousand six hundred sixty-eight multiple choice questions across biosecurity, cybersecurity threat modeling, and chemical security threat modeling.

Meng: So you're testing if an AI model knows how to help a bad actor move from just looking around to actually making a weapon.

Jane: Exactly. And the real kicker is that they didn't stop at just measuring the risk; they developed this method called RMU for unlearning hazardous knowledge while keeping the model’s normal skills intact.

Tom: RMU reduces performance on these WMDP questions but it keeps general AI abilities in biology and computer science pretty solid.

Lu: They show that RMU actually outperforms other methods, decreasing accuracy on WMDP while still maintaining good performance on something called MMLU, which is a general knowledge test.

Meng: How does that actually help the people who are worried about deploying these models?

Jane: It suggests that unlearning is a concrete path to reducing malicious use because you can actively try to remove that dangerous knowledge before serving the model.

Tom: The authors also mentioned how this helps both closed-source and open-source models, which is important for different deployment scenarios.

Lu: For closed models, it means you can remove that hazardous knowledge from API finetuning before anyone uses it.

Meng: And for open source, they suggest developers should use structured API access to apply these safety mechanisms like unlearning beforehand.

Jane: So The WMDP Benchmark isn't just a test; it’s a tool guiding how we think about cleaning up the AI we build and deploy.

Center for AI Safety University of California Berkeley Massachusetts Institute of Technology Scale AI New York University IIIT Hyderabad Stanford University Harvard University University of Southern California Lapis Labs California Institute of Technology Sybil Northeastern University Carnegie Mellon University RTX BBN Technologies Arizona State University xAI

cs.LG, cs.AI, cs.CL, cs.CY

Submitted: 2024-03-05

Updated: 2026-11-25

Comments: See the project page at https://wmdp.ai

Code: https://github.com/01-ai/Yi

Project page: https://wmdp.ai

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 100/100

The gist: The White House Executive Order on Artificial Intelligence highlights the risks of large language models (LLMs) empowering malicious actors in developing biological, cyber…

Key concepts

WMDP Benchmark
This dataset contains 3,668 multiple-choice questions designed to test a model's hazardous knowledge across three domains: biosecurity, cybersecurity, and chemical security. It acts as a proxy measure for the dangerous information LLMs might possess.
RMU (Representation Misdirection for Unlearning)
RMU is an advanced method used to remove hazardous knowledge from a model without destroying its general intelligence. It works by using a weighted loss function that combines 'forget loss' to degrade hazardous representations with 'retain loss' to keep general skills intact.
Unlearning
Unlearning is the process of removing specific, harmful information from a trained AI model. In this context, it means training the model so it no longer possesses the dangerous knowledge measured by WMDP, aiming to reduce its potential for misuse.

Terminology

Summary

The White House Executive Order on Artificial Intelligence highlights the risks of large language models (LLMs) empowering malicious actors in developing biological, cyber, and chemical weapons. p. 0

Where the paper says it

Shih8 , Kemper Talley18, John Guan2 , Russell Kaplan5 , Ian Steneker5 , David Campbell5 , Brad Jokubaitis5 , Alex Levinson5 , Jean Wang5 , William Qian5 , Kallol Krishna Karmakar19, Steven Basart1 , Stephen Fitz20, Mindy Levine21 , Ponnurangam Kumaraguru7 , Uday Tupakula19, Vijay Varadharajan19 , Ruoyu Wang22, Yan Shoshitaishvili22, Jimmy Ba23, Kevin M. Esvelt3 , Alexandr Wang∗∗5 , Dan Hendrycks∗∗1 1Center for AI Safety, 2University of California, Berkeley, 3Massachusetts Institute of Technology, 4 SecureBio, 5 Scale AI, 6New York University, 7 IIIT Hyderabad, 8 Stanford University, 9Harvard University, 10University of Southern California, 11University of Illinois Urbana-Champaign, 12University of California, Los Angeles, 13Lapis Labs, 14California Institute of Technology, 15Sybil, 16Northeastern University, 17Carnegie Mellon University, 18RTX BBN Technologies, 19University of Newcastle, 20Keio University, 21Ariel University, 22Arizona State University, 23xAI Abstract The White House Executive Order on Artificial Intelligence highlights the risks of large language models (LLMs) empowering malicious actors in developing biological, cyber, and chemical weapons.

<ref:2403.03218#pg1, To measure these risks, government institutions and major AI labs are developing evaluations for hazardous capabilities in LLMs >. p. 0
Where the paper says it

Esvelt3 , Alexandr Wang∗∗5 , Dan Hendrycks∗∗1 1Center for AI Safety, 2University of California, Berkeley, 3Massachusetts Institute of Technology, 4 SecureBio, 5 Scale AI, 6New York University, 7 IIIT Hyderabad, 8 Stanford University, 9Harvard University, 10University of Southern California, 11University of Illinois Urbana-Champaign, 12University of California, Los Angeles, 13Lapis Labs, 14California Institute of Technology, 15Sybil, 16Northeastern University, 17Carnegie Mellon University, 18RTX BBN Technologies, 19University of Newcastle, 20Keio University, 21Ariel University, 22Arizona State University, 23xAI Abstract The White House Executive Order on Artificial Intelligence highlights the risks of large language models (LLMs) empowering malicious actors in developing biological, cyber, and chemical weapons. To measure these risks, government institutions and major AI labs are developing evaluations for hazardous capabilities in LLMs.

WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge. p. 0
Where the paper says it

WMDP was developed by a consortium of academics and technical consultants, and was stringently filtered to eliminate sensitive & export-controlled information. WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge.

p. 0
Where the paper says it

WMDP was developed by a consortium of academics and technical consultants, and was stringently filtered to eliminate sensitive & export-controlled information. WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge.

<ref:2403.03218#pg1, To guide progress on unlearning, we develop RMU, a state-of-the-art unlearning method based on controlling model representations >. p. 0
Where the paper says it

WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge. To guide progress on unlearning, we develop RMU, a state-of-the-art unlearning method based on controlling model representations.

p. 0
Where the paper says it

WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge. To guide progress on unlearning, we develop RMU, a state-of-the-art unlearning method based on controlling model representations.

RMU reduces model performance on WMDP while maintaining general capabilities in areas such as biology and computer science, suggesting that unlearning may be a concrete path towards reducing malicious use from LLMs. p. 0
Where the paper says it

To guide progress on unlearning, we develop RMU, a state-of-the-art unlearning method based on controlling model representations. RMU reduces model performance on WMDP while maintaining general capabilities in areas such as biology and computer science, suggesting that unlearning may be a concrete path towards reducing malicious use from LLMs.

<ref:2403.03218#pg1, We release our benchmark and code publicly at https://wmdp. p. 0
Where the paper says it

RMU reduces model performance on WMDP while maintaining general capabilities in areas such as biology and computer science, suggesting that unlearning may be a concrete path towards reducing malicious use from LLMs. We release our benchmark and code publicly at https://wmdp.

ai >.

The WMDP Benchmark Introduction

WMDP is a dataset of 3,668 multiple-choice questions that serve as a proxy measure of hazardous knowledge in biosecurity, cybersecurity, and chemical security.<ref:2403.03218#pg1, WMDP was developed by a consortium of academics and technical consultants, and was stringently filtered to eliminate sensitive & export-controlled information >. p. 0

Where the paper says it

To fill these gaps, we publicly release the Weapons of Mass Destruction Proxy (WMDP) benchmark, a dataset of 3,668 multiple-choice questions that serve as a proxy measurement of hazardous knowledge in biosecurity, cybersecurity, and chemical security. WMDP was developed by a consortium of academics and technical consultants, and was stringently filtered to eliminate sensitive & export-controlled information.

WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge.<ref:2403.03218#pg1, To guide progress on unlearning, we develop RMU, a state-of-the-art unlearning method based on controlling model representations >.

Hazard Categories and Question Design

The WMDP dataset is categorized into three main areas: General Knowledge.<ref:2403.03218#pg2>. For biosecurity threats. p. 4

Where the paper says it

To ensure quality, all of our questions were checked by at least two experts from different organizations. 2 Biosecurity Threat Model In biosecurity, the malicious use threats that are increased by AI can be broadly categorized as expanding access to pre-existing threats (by lowering barriers to entry), and unlocking new areas of biology (by synthesizing new knowledge or accelerating in-silico modeling and experimentation) (Sandbrink, 2023).

<ref:2403.03218#pg4>. In cybersecurity threat modeling. p. 4
Where the paper says it

To ensure quality, all of our questions were checked by at least two experts from different organizations. 2 Biosecurity Threat Model In biosecurity, the malicious use threats that are increased by AI can be broadly categorized as expanding access to pre-existing threats (by lowering barriers to entry), and unlocking new areas of biology (by synthesizing new knowledge or accelerating in-silico modeling and experimentation) (Sandbrink, 2023).

<ref:2403.03218#pg7, we design questions that assess models’ ability to aid malicious actors through the stages of reconnaissance, weaponization, exploitation, and post-exploitation >. p. 6
Where the paper says it

Stages of a Cyberattack Collect background information on the target Identify vulnerabilities and construct a functional cyber weapon Carry out malicious intentions once presence has been established Gain unauthorized access by launching cyber weapon Recon Exploitation Weaponization Post-exploitation Figure 6: Stages of a cyberattack. We design questions that assess models’ ability to aid malicious actors with all four stages of a cyberattack.

In chemical security threat modeling. p. 1
Where the paper says it

3), and chemical security (Section 3. To design WMDP, academics and technical consultants created threat models for how LLMs might aid in the development of biological, 2

<ref:2403.03218#pg8>.

Representation Misdirection for Unlearning (RMU)

RMU is a state-of-the-art method that removes hazardous knowledge while preserving general model capabilities.<ref:2403.03218#pg4>. The full loss function is a weighted combination of the forget loss and the retain loss. p. 8

Where the paper says it

Given the retain dataset Dretain, we calculate the retain loss: Lretain = Exr∼Dretain " 1 Lr X token t∈xr ∥Mupdated(t) − Mfrozen(t)∥ 2 2 # where Lr is the number of tokens in xr. The full loss (Figure 7) is a weighted combination of the forget loss and the retain loss: L = Lforget + α · Lretain.

<ref:2403.03218#pg9>. Forget loss aims to degrade the model’s representations of hazardous knowledge by perturbing activations on hazardous data while retaining general capabilities by regularizing activations back to the original model’s activations with an l2 penalty. p. 8
Where the paper says it

Our goal is to limit the amount of general capabilities lost from unlearning. Because our forget term is an ℓ 2 loss on model activations, we regularize the model activations back to the original model’s activations with an ℓ 2 penalty.

<ref:2403.03218#pg9, The forget loss computes u, a random unit vector with independent entries sampled uniformly at random from [0, 1) and c is some hyperparameter that controls activation scaling >. p. 8
Where the paper says it

To calculate our forget loss, we assume access to Mupdated(·), the hidden states of the unlearned model at some layer ℓ and Mfrozen(·), the hidden states of the original, frozen model at some layer ℓ. Then, we compute u, a random unit vector with independent entries sampled uniformly at random from [0, 1).

Experimental Efficacy and Generalization

RMU markedly improves upon existing baselines, decreasing accuracy on WMDP while maintaining general capabilities.<ref:2403.03218#pg10, Table 1 shows that RMU outperforms baselines, decreasing accuracy on WMDP while maintaining performance on MMLU >. p. 9

Where the paper says it

17 Table 1: RMU outperforms baselines, decreasing accuracy on WMDP while maintaining general capabilities; detailed results in Table 2. WMDP and MMLU scores are percents; 25% is random.

Probing evaluations show that linear probing only achieves slightly better than random accuracy when testing whether probes are able to recover knowledge from a model unlearned with RMU. p. 2
Where the paper says it

, 2023a), suggesting that unlearning is a tractable approach towards mitigating malicious use (Section 5. We demonstrate that RMU is robust, as unlearned knowledge cannot be recovered by linear probes or adversarial attacks (Sections 5.

<ref:2403.03218#pg11>.

Broader Implications for Safety

Unlearning on WMDP mitigates risk for both closed-source and open-source models.<ref:2403.03218#pg14, For closed-source models, unlearning reduces risk from malicious API finetuning as hazardous knowledge can be removed prior to serving the model >. p. 2

Where the paper says it

Unlearning Serving Adversarial Attacks or Malicious API Finetuning Figure 2: Machine unlearning for closed-source models. If adversaries attempt to extract hazardous information from closed-source models with adversarial attacks or harmful API finetuning, model providers can apply machine unlearning to remove such knowledge before serving the model.

Structured API access complements the safety benefits of structured API access where model developers apply safety mechanisms like unlearning prior to serving the model. p. 2
Where the paper says it

Scientific knowledge (especially in cybersecurity) is often dual-use, so unlearning such knowledge may harm defenders as much as attackers. In these cases, unlearning can be paired with structured API access (Shevlane, 2022), where model developers serve the unlearned model to everyday users, but serve the unrestricted, base model to approved users, such as red-teamers, security professionals, or virology researchers (Section 6.

<ref:2403.03218#pg14>. WMDP serves as a risk marker for more stringent policy action. p. 2
Where the paper says it

Simultaneously, we follow a stringent process to expunge sensitive information from WMDP in compliance with U. export control requirements, mitigating the risk of WMDP being repurposed by malicious actors (Section 3.

<ref:2403.03218#pg28>.

Limitations and Future Work

WMDP consists of four-way multiple choice questions, potentially neglecting hazards that only surface in larger end-to-end evaluations.<ref:2403.03218#pg29, WMDP is a static benchmark which cannot anticipate the evolving landscape of cyber and biological risks >. p. 0

Where the paper says it

Shih8 , Kemper Talley18, John Guan2 , Russell Kaplan5 , Ian Steneker5 , David Campbell5 , Brad Jokubaitis5 , Alex Levinson5 , Jean Wang5 , William Qian5 , Kallol Krishna Karmakar19, Steven Basart1 , Stephen Fitz20, Mindy Levine21 , Ponnurangam Kumaraguru7 , Uday Tupakula19, Vijay Varadharajan19 , Ruoyu Wang22, Yan Shoshitaishvili22, Jimmy Ba23, Kevin M. Esvelt3 , Alexandr Wang∗∗5 , Dan Hendrycks∗∗1 1Center for AI Safety, 2University of California, Berkeley, 3Massachusetts Institute of Technology, 4 SecureBio, 5 Scale AI, 6New York University, 7 IIIT Hyderabad, 8 Stanford University, 9Harvard University, 10University of Southern California, 11University of Illinois Urbana-Champaign, 12University of California, Los Angeles, 13Lapis Labs, 14California Institute of Technology, 15Sybil, 16Northeastern University, 17Carnegie Mellon University, 18RTX BBN Technologies, 19University of Newcastle, 20Keio University, 21Ariel University, 22Arizona State University, 23xAI Abstract The White House Executive Order on Artificial Intelligence highlights the risks of large language models (LLMs) empowering malicious actors in developing biological, cyber, and chemical weapons.

Furthermore, scores on WMDP do not capture the full extent of malicious use risk. p. 3
Where the paper says it

, 2024), or fictional universes (Eldan and Russinovich, 2023), but have not been proven to eliminate scientific knowledge which enables malicious use. Furthermore, most benchmarks for unlearning involve removing specific data samples (Google, 2023) or artificially chosen deletion sets (Choi and Na, 2023; Goel et al.

<ref:2403.03218#pg29, Future work in this area could include generating questions from scientific papers that were only released after a model’s training date cutoff >. WMDP focuses on reducing risk for API-access models, and if open-source models reach similar capabilities to closed-source models in the future, these risks will remain unaddressed by this work. p. 2
Where the paper says it

Unlearning Serving Adversarial Attacks or Malicious API Finetuning Figure 2: Machine unlearning for closed-source models. If adversaries attempt to extract hazardous information from closed-source models with adversarial attacks or harmful API finetuning, model providers can apply machine unlearning to remove such knowledge before serving the model.

<ref:2403.03218#pg29>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Unlearning hazardous knowledge using Representation Misdirection for Unlearning (RMU) can reduce model performance on biosecurity and cybersecurity benchmarks while maintaining general capabilities on areas like MMLU and MT-Bench. This suggests unlearning may be a concrete path towards reducing malicious use from LLMs.

  2. The RMU method is robust against adversarial attacks, as demonstrated by the fact that linear probing only achieves slightly better than random accuracy for recovering knowledge after unlearning on WMDP-Bio and WMDP-Cyber. This implies that unlearned knowledge cannot be recovered by linear probes or adversarial attacks.

  3. Implementing structured API access alongside unlearning allows model developers to serve an unlearned model to everyday users while serving the unrestricted base model only to approved users, which helps mitigate the concern that unlearning dual-use information will harm defenders.

Abstract

The White House AI Action Plan highlights the risks of large language models (LLMs) empowering malicious actors in developing biological, cyber, and chemical weapons. To measure these risks, government institutions and major AI labs are developing evaluations for hazardous capabilities in LLMs. However, current evaluations are private, preventing further research into mitigating risk. Furthermore, they focus on only a few, highly specific pathways for malicious use. To fill these gaps, we publicly release the Weapons of Mass Destruction Proxy (WMDP) benchmark, a dataset of 3,668 multiple-choice questions that serve as a proxy measurement of hazardous knowledge in biosecurity, cybersecurity, and chemical security. WMDP was developed by a consortium of academics and technical consultants, and was stringently filtered to eliminate sensitive information prior to public release. WMDP serves two roles: first, as an evaluation for hazardous knowledge in LLMs, and second, as a benchmark for unlearning methods to remove such hazardous knowledge. To guide progress on unlearning, we develop RMU, a state-of-the-art unlearning method based on controlling model representations. RMU reduces model performance on WMDP while maintaining general capabilities in areas such as biology and computer science, suggesting that unlearning may be a concrete path towards reducing malicious use from LLMs. We release our benchmark and code publicly at https://wmdp.ai

Sources

Related papers