arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.20338

ConceptGuard: Benchmarking Context-Sensitive Unlearning in Large Language Models

Sahil Kale, Ian Harris

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Large Language Models (LLMs) often require selective removal of harmful or sensitive knowledge, called unlearning, yet existing benchmarks evaluate this capability incompletely. They rely on disjoint forget and retain sets of independent facts, and measure success by simple factual recall. This misses a key requirement of unlearning from a safety perspective, namely eliminating harmful behaviours while preserving benign and beneficial knowledge. We argue that effective unlearning must operate at the level of concepts, removing unsafe applications while maintaining correct and useful usage. To evaluate this, we operationalize dual-use concepts, i.e., concepts that can be used in both harmful and benign contexts, and construct ConceptGuard, a benchmark of 2,583 harmful–benign pairs over 68 concepts, where forget and retain sets are explicitly paired in concept usage. Evaluation is intent-sensitive and centres on contextual separation, which measures how well a model suppresses harmful behaviour while preserving benign usage of the same concept. Across four unlearning methods and four models, we find that current techniques reduce harmful memorization but show strong forgetting--utility trade-offs and limited contextual separation, well below a retain-only reference. Separation trends also depend more on the concept and model than on the method. Our results point to the need for unlearning approaches that better align with real-world safety requirements. Our dataset is publicly available.

1 Introduction

Large Language Models (LLMs) are deployed across a wide range of applications, including education, healthcare, software development, and decision support. Their broad adoption amplifies both their utility and their risk surface (Qiu et al., 2025). Models trained on large-scale, heterogeneous corpora are inevitably also exposed to undesirable content, including copyrighted material, private data, and knowledge that can enable harmful or unsafe behaviours (Qu et al., 2024). Subsequently, the ability to selectively remove learned information after training, referred to as machine unlearning (Qiu et al., 2025), has become a critical requirement for responsible deployment.

Figure

(a) Current unlearning benchmarks construct disjoint forget and retain sets and evaluate unlearning performance independently

Figure

(b) Our benchmark constructs paired forget and retain sets and evaluates concept usage with different intents

Figure 1: Comparison between existing unlearning benchmarks and our work based on dual-use concepts

The goal of unlearning is to ensure that a model no longer uses certain references from training data for producing responses while preserving its overall usefulness (Hou et al., 2025). From an AI safety perspective, we posit that this translates to removing the ability to produce harmful responses, yet retaining the capability to answer in other benign contexts. Unlearning is attractive over direct safety alignment when harmful knowledge cannot be filtered out before training and needs to be removed from the model rather than merely suppressed. In current literature, unlearning is typically formalized by a forget set, containing data to be removed, and a retain set, containing data that should remain accessible (Chang and Lee, 2025). A base model is first fine-tuned on both, after which an unlearning method is applied on the forget set. Evaluation then concurrently measures forget quality, i.e., whether the model can no longer recall the forget set, and model utility, i.e., whether performance on the retain set and overall capability is preserved. Several current benchmarks operate under this framework, including TOFU (Maini et al., 2024), MUSE (Shi et al., 2024), and WMDP (Li et al., 2024).

We argue that they fall short of capturing whether unlearning has occurred in a conceptually meaningful sense from a safety perspective, due to two framing flaws in dataset construction and evaluation, respectively (illustrated in Figure 1):

  • Construction: forget and retain sets may be drawn from similar domains, but are typically random, disjoint subsets of facts, and thus fail to capture whether unlearning preserves context-dependent use of concepts.
  • Evaluation: success is measured as isolated factual recall, i.e., whether specific facts have been erased and certain others preserved, instead of whether the model refuses to answer in a harmful context while still using the same concept safely elsewhere.

In many realistic safety settings, an effective unlearning objective should neither remove isolated facts nor eliminate a concept wholesale, but lead to selective behaviour, preventing harmful applications of a concept while preserving its benign, beneficial and unrelated uses. Strong performance on current benchmarks therefore does not necessarily imply meaningful or safe unlearning behaviour.

We introduce ConceptGuard, a benchmark that evaluates unlearning at the level of dual-use concepts, i.e., concepts that can be used in both harmful and benign contexts. Each concept is associated with harmful data (the forget set) and benign data (the retain set) representing its dual use, and these sets are paired rather than independent or random. Forget quality is thus directly tied to the safety of the model after unlearning, while model utility reflects its ability to retain correct and helpful behaviour in benign contexts. Essentially, we shift the focus of unlearning from fact deletion to intent-sensitive concept removal and retention, for a more faithful and practically relevant evaluation.

Our contributions are: (1) We analyze existing LLM unlearning benchmarks and argue that their construction and evaluation protocols do not capture the safety objective of removing harmful usage of concepts while maintaining benign usage. (2) We introduce ConceptGuard, a benchmark of 2,583 harmful–benign pairs over 68 dual-use concepts, with paired forget and retain sets enabling thematic and contextual evaluation. (3) We provide an intent-sensitive evaluation protocol, including a contextual separation metric, and show that current unlearning methods (four methods, four models) reduce harmful memorization but fall short of a retain-only reference on contextual separation, with behaviour that varies across concepts and models.

References (17)