arXiv:2610.05601cs.LGOct 2026

Manuscript Offprint

arXiv:2610.05601

Your Unlearning Gives You Away: Identifying Erased Concepts in Diffusion Models

Kaiyuan Deng, Yuchen Li, Yang Xiao, Bo Hui, Geng Yuan, Xiaolong Ma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Existing attacks on unlearned diffusion models assume that the erased concepts are known in advance and focus on recovering them. In practice, however, model providers may not disclose which concepts have been removed, and even with access to the original base model, an adversary may still lack a clear target to attack. In this paper, we aim to answer the following critical but overlooked questions: which concepts have been erased from the model, and how many have been erased in total? To this end, we present TRACER, a framework that rapidly and accurately identifies erased concepts and estimates their number. TRACER efficiently identifies erased concepts without generating and classifying images. By combining lightweight spectral analysis of weight footprints, it enables efficient search over large candidate vocabularies. To distinguish multiple erased concepts, we introduce a footprint coverage objective that guides sequential discovery. TRACER estimates the number of erased concepts by detecting a sharp decline in candidate confidence as the selected concepts account for the erasure footprint, without requiring labeled examples for calibration. The framework requires only lightweight linear algebra and limited forward probes, with no prior knowledge of the unlearning algorithm. Experiments across text-to-image and text-to-video backbones and diverse unlearning methods demonstrate that TRACER identifies erased concepts and estimates their number in seconds, achieving 150–137,000× and 133–20,000× speedups over MIA and brute-force search on image and video models, respectively, with substantially higher identification accuracy.

1 INTRODUCTION

Diffusion models (Rombach et al., 2022; Podell et al., 2023; Ding et al., 2022) exhibit powerful generative capabilities. Despite these advances, their large-scale deployment has raised concerns about copyright infringement and harmful or biased content generation. Concept unlearning (Bourtoule et al., 2021; Xu et al., 2024) aims to suppress designated concepts while preserving other generative capabilities. Most existing methods achieve this by modifying pretrained model weights, demonstrating promising results in unlearning individual concepts or sets of concepts.

Existing attacks exploit vulnerabilities in unlearned models to regenerate erased content, but they typically assume prior knowledge of the specific concepts to recover (Lu et al., 2026; Pham et al., 2023; Rusanovsky et al., 2025; Zhang et al., 2024c; Chin et al., 2023; Tsai et al., 2024; Yang et al., 2024; Petsiuk & Saenko, 2024; Liu et al., 2026; Xiang et al., 2026; Horwitz et al., 2024). In practice, model providers may not disclose what they have removed. Even access to the original base model does not directly reveal which of its many concepts the provider chose to erase. For example, a provider may erase a small set of individuals' identities for privacy reasons. Although the base model may still generate depictions of these individuals, access to this capability alone does not tell an adversary who was selected for protection. Identifying the erased concepts therefore provides information beyond access to the original model: it reveals the provider's undisclosed targets and allows an adversary to focus subsequent attacks on the content the provider sought to suppress. This raises two critical but overlooked questions: without any prior knowledge of the erasure targets, can an adversary know which concepts have been erased from the model, and how many have been erased in total? To the best of our knowledge, no existing method systematically addresses this identification problem in unlearned diffusion models.

(a) Which concepts were targeted for erasure?

Attack Methods

P4D / CCE

Ring-A-Bell

UnlearnDiffAtk

.....

Figure

?

Unlearned Models

Require the concepts to be specified in advance.

(b) Challenges Facing Traditional Approaches

MIA

Brute-force

105 h

High time costs

Unknown number of erased concepts

Non-target concepts mistaken

for erasure targets

GPU time

10K

Vocabulary size

(c) Why we need Tracer?

Fast: Identifies erased concepts within just a few seconds

Accurate: Achieves high identification accuracy across diverse unlearning methods

Automatic: Determines the number of erased concepts without prior knowledge of candidate

Tracer Does Not Require:

Unlearning target scope

Golf ball

Chain Saw

Unlearning Algorithm

Tench

Image Generation

Figure

Figure 1: (a) Motivation: existing unlearning attacks assume known unlearning targets, leaving the identification of targets unexplored. (b) Current problem: adapted MIA and brute-force method incur high computational costs and struggle to determine target counts and distinguish targets from affected non-targets. (c) TRACER: identifies erased concepts and estimates their number in seconds without prior target knowledge, knowledge of the unlearning algorithm, or image generation.

Potential approaches include adapting traditional membership inference attacks (MIAs) (Fu et al., 2023; Kong et al., 2024; Duan et al., 2023; Wu et al., 2022; Matsumoto et al., 2023) or comparing images generated by the original and unlearned models for each candidate. However, extending these approaches to reliable and efficient identification of unknown erasure targets presents challenges. First, unlearning can affect both target and non-target concepts. Changes in membership scores or generated content therefore cannot reliably distinguish directly targeted concepts from indirectly affected ones. Second, the number of erased concepts is unknown. Identifying the target set requires determining which candidates to select and when to stop, without target labels for calibration. Third, both approaches incur substantial computational costs even with a predefined candidate set. Without a narrowly specified set, the search may span a vocabulary containing tens of thousands of words, making repeated generation or MIA-based probing prohibitively expensive.

In this paper, we introduce a novel method, Tracing Concepts Erased by Unlearning (TRACER), for rapidly and accurately identifying erased concepts and estimates their number without any prior knowledge of the erasure targets. An intuitive but inconclusive approach is to compare the unlearned model weights with its original base model. However, these weight differences span distinct representation spaces, making it difficult to map them directly to erased concepts. To turn these differences into usable evidence, TRACER constructs Gram matrices from weight differences and uses a small set of probe words to identify compatible representation groups, then applies spectral reweighting to balance signals before aggregation, producing an erasure footprint for each group. These footprints provide the basis for identifying candidate concepts whose representations collectively explain the observed changes. To identify multiple erased concepts, we formulate identification as a subspace coverage problem, which measures how much of the erasure footprint a set of candidate concepts can collectively explain. Specifically, starting from an empty set, TRACER iteratively adds the candidate that best explains the remaining footprint energy, reducing redundant selections and directing the search toward other erased concepts. To estimate the number of erased concepts, we track candidate confidence throughout this coverage-based selection process. As the selected concepts account for the dominant footprint energy, a sharp decline in confidence indicates a cutoff in the selected sequence, allowing us to estimate the erased-set size without labeled calibration data. We summarize our contributions as follows:

• To the best of our knowledge, we are the first to systematically study erasure-target identification in unlearned diffusion models, exposing an overlooked vulnerability in diffusion unlearning.

• We propose TRACER, an efficient framework that accurately identifies multiple erased concepts from large candidate vocabularies without generating or classifying images, making broad searches for undisclosed erasure targets practical.

• TRACER automatically estimates how many concepts were erased, without labeled calibration examples, knowledge of the unlearning algorithm, or information about which weights were modified.

• Experiments across text-to-image and text-to-video backbones and diverse unlearning methods show that TRACER accurately identifies erased concepts and estimates their number from large candidate vocabularies in seconds, achieving 150–137,000× and 133–20,000× speedups over MIA and brute-force search on image and video models, respectively.

References (98)