Paper deep dive
CLEAR: Character Unlearning in Textual and Visual Modalities
Alexey Dontsov, Dmitrii Korzh, Alexey Zhavoronkin, Boris Mikheev, Denis Bobkov, Aibek Alanov, Oleg Y. Rogov, Ivan Oseledets, Elena Tutubalina
Models: LLaMA2-7B, LLaVA (ViT + LLaMA2-7B), Mistral-7B, ResNet-18
Intelligence
Status: succeeded | Model: google/gemini-3.1-flash-lite-preview | Prompt: intel-v1 | Confidence: 94%
Last extracted: 3/12/2026, 7:32:12 PM
Summary
CLEAR is the first open-source benchmark for Multimodal Machine Unlearning (MMU), designed to evaluate the removal of private or hazardous information from multimodal models. It includes 200 fictitious individuals with 3,700 images and 4,000 text-QA pairs, enabling a rigorous assessment of unlearning effectiveness across textual and visual modalities while maintaining model utility.
Entities (5)
Relation Signals (3)
CLEAR â evaluates â Multimodal Machine Unlearning
confidence 95% ¡ we introduce CLEAR, the first open-source benchmark designed specifically for MMU.
SCRUB â evaluatedby â CLEAR
confidence 90% ¡ We conduct a comprehensive analysis of 11 MU methods (e.g., SCRUB...) across four evaluation sets
LLMU â evaluatedby â CLEAR
confidence 90% ¡ We conduct a comprehensive analysis of 11 MU methods (e.g., ... LLMU) across four evaluation sets
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Machine Unlearning (MU) is critical for removing private or hazardous information from deep learning models. While MU has advanced significantly in unimodal (text or vision) settings, multimodal unlearning (MMU) remains underexplored due to the lack of open benchmarks for evaluating cross-modal data removal. To address this gap, we introduce CLEAR, the first open-source benchmark designed specifically for MMU. CLEAR contains 200 fictitious individuals and 3,700 images linked with corresponding question-answer pairs, enabling a thorough evaluation across modalities. We conduct a comprehensive analysis of 11 MU methods (e.g., SCRUB, gradient ascent, DPO) across four evaluation sets, demonstrating that jointly unlearning both modalities outperforms single-modality approaches. The dataset is available at this https URL
Tags
Links
Trouble viewing inline? Open PDF directly â
Full Text
120,593 characters extracted from source content.
Expand or collapse full text
CLEAR: Character Unlearning in Textual and Visual Modalities First Author Affiliation / Address line 1 Affiliation / Address line 2 Affiliation / Address line 3 email@domain &Second Author Affiliation / Address line 1 Affiliation / Address line 2 Affiliation / Address line 3 email@domain Alexey Dontsov2,1, Dmitrii Korzh1,3, Alexey Zhavoronkin4,6, Boris Mikheev3, Denis Bobkov1,2, Aibek Alanov1,2, Oleg Y. Rogov1,3,5, Ivan Oseledets1,3, Elena Tutubalina1,4,7 1AIRI 2HSE University 3Skoltech 4Sber AI 5MTUCI 6MIPT 7ISP RAS Research Center for Trusted AI Correspondence: dontsov@airi.net; tutubalina@airi.net Abstract Machine Unlearning (MU) is critical for removing private or hazardous information from deep learning models. While MU has advanced significantly in unimodal (text or vision) settings, multimodal unlearning (MMU) remains underexplored due to the lack of open benchmarks for evaluating cross-modal data removal. To address this gap, we introduce CLEAR, the first open-source benchmark designed specifically for MMU. CLEAR contains 200 fictitious individuals and 3,700 images linked with corresponding question-answer pairs, enabling a thorough evaluation across modalities. We conduct a comprehensive analysis of 11 MU methods (e.g., SCRUB, gradient ascent, DPO) across four evaluation sets, demonstrating that jointly unlearning both modalities outperforms single-modality approaches. The dataset is available at https://huggingface.co/datasets/therem/CLEAR. CLEAR: Character Unlearning in Textual and Visual Modalities Alexey Dontsov2,1, Dmitrii Korzh1,3, Alexey Zhavoronkin4,6, Boris Mikheev3, Denis Bobkov1,2, Aibek Alanov1,2, Oleg Y. Rogov1,3,5, Ivan Oseledets1,3, Elena Tutubalina1,4,7 1AIRI 2HSE University 3Skoltech 4Sber AI 5MTUCI 6MIPT 7ISP RAS Research Center for Trusted AI Correspondence: dontsov@airi.net; tutubalina@airi.net 1 Introduction Large Language Models (LLMs) Ouyang et al. (2022); Touvron et al. (2023); Jiang et al. (2023) are increasingly investigated for memorizing private, unethical, or copyrighted data during training. Recently, machine unlearning (MU) methods have been applied to mitigate issues related to toxicity Lu et al. (2022), copyright and privacy concerns Jang et al. (2023); Eldan and Russinovich (2023); Wu et al. (2023) and fairness Yu et al. (2023). Figure 1: Our dataset CLEAR includes 3,770 visual image-caption pairs and 4,000 textual question-answer pairs related to fictional characters. We apply multimodal unlearning to remove specific information, subsequently assessing the quality of unlearning and the modelsâ performance using various metrics. Finally, we compile a leaderboard of unlearning methods based on these evaluations. MU has emerged as a promising alternative to costly retraining, existing methods focus almost exclusively on single-modality models. Recent work has studied unlearning in LLMs Yao et al. (2024c, a); Xing et al. (2024); Zhang et al. (2024a) or vision models Li et al. (2024a); Chen and Yang (2023); Tarun et al. (2021), but unlearning in multi-modal language models remains largely unexplored. This leaves a critical gap: multimodal LLMs (MLLMs), which process both visual and textual data, introduce unique challenges for unlearning. For instance, sensitive information may persist across modalities even after removal from one (e.g., a face linked to a name), and unlearning in one modality could degrade performance in another. Despite these risks, no open benchmarks exist to evaluate MU in multimodal settings. Method Real metricâ â Retain metric â â Forget metric â â Forget Quality â â Gold 0.50 0.51 0.19 1.00 Base 0.48 0.51 0.35 0.85 DPO 0.46 0.48 0.22 0.84 GD 0.29 0.00 0.00 0.18 GA 0.27 0.00 0.00 0.67 IDK 0.48 0.51 0.33 0.84 KL 0.25 0.00 0.00 0.67 LLMU 0.47 0.51 0.25 0.84 NPO 0.46 0.14 0.11 0.76 Retain FT 0.49 0.51 0.37 0.85 RMU 0.24 0.00 0.00 0.75 SCRUB 0.49 0.52 0.36 0.85 SKU 0.40 0.32 0.37 0.83 Table 1: Performance comparison of state-of-the-art unlearning methods on our dataset across four metrics. âBaseâ refers to the model before unlearning, while âGoldâ denotes a model trained only on the retain set. The highlighted methods fail on the retain set. Recently, Chakraborty et al. (2024) pioneers the investigation of unlearning configurations in visual-language models (VLMs) to mitigate cross-modal safety risks, its experimental framework inherits a critical limitation: the datasets used in this study (e.g., PKU-SafeRLHF Ji et al. (2023), JailBreakV-28K Luo et al. (2024)) were designed for safety alignment and truthfulness evaluation, not machine unlearning (MU). This mismatch conflates safety fine-tuning (suppressing harmful outputs) with targeted data removal (erasing specific knowledge traces), potentially overestimating MU efficacy. To address this, we propose CLEAR, the first publicly available benchmark for machine unlearning in multimodal (textual-visual) models. Our work is motivated by the right to be forgotten in AI systems, where models must eliminate traces of specific entities (e.g., individuals) across all modalities. The proposed dataset contains information about fictitious authors. Each persona is linked to both textual biographies and AI-generated images, enabling tests of cross-modal memorization. After unlearning a persona, models should fail to answer questions and recognize associated faces. Our benchmark further evaluates real-world performance degradation using visual question-answering (VQA) tasks. Our contributions and findings are as follows: ⢠We propose a multimodal MU benchmark CLEAR with 4,000 text-QA pairs and 3,770 image-caption pairs focused on unlearning 200 fictitious authors. It includes forget/retain sets and real-world tasks (e.g., celebrity recognition) to evaluate cross-modal capability preservation. ⢠We comprehensively evaluate 11 recently proposed MU methods on our dataset and show that the leading unimodal MU methods struggle in multimodal setups. ⢠We establish leaderboards for textual, visual, and multimodal unlearning. We make all data publicly available111 https://huggingface.co/datasets/therem/CLEAR. 2 Related Work Machine Unlearning. The concept of machine unlearning was initially presented by Cao and Yang (2015). In general, MU methods Cao and Yang (2015); Dwork et al. (2014); Kurmanji et al. (2024); Neel et al. (2021); Sekhari et al. (2021) remove the impact of specific data points from a trained model without requiring full retraining. The goal is to obtain a model that behaves like the forget data was never part of the training set. Recently, textual unlearning in generative language models has attracted attention. Maini et al. (2024) propose a benchmark named TOFU for textual LLM unlearning, consisting of 200 fictitious author profiles defined by attributes like name, birthplace, parentâs names, occupation, and written books, totaling 4,000 question-answer pairs (20 per author). WMDP Li et al. (2024b) includes 3,668 multiple-choice questions to evaluate and benchmark the unlearning of hazardous knowledge in LLMs. To remove knowledge from generative models, Jang et al. (2023) employ gradient ascent on specific target sequences. Eldan and Russinovich (2023) focus on the particular case of unlearning the Harry Potter books from Llama2-7b. Yao et al. (2023) utilize machine unlearning to address harmful responses and eliminate hallucinations. Yao et al. (2024b) examined the unlearning of 2,000 GitHub code files, 500 books, and 500 academic papers from Yi-6B. However, these studies have been restricted to text-only contexts. Our research investigates the multimodal aspects of unlearning. Figure 2: The overview of our multimodal dataset. The dataset consists of four sets: retain set, forget set, real faces (knowledge of related concepts such as faces), and real world (to evaluate general visual capabilities). Multimodality. Multimodal LLMs Liu et al. (2023) usually comprise a modality encoder, a projection layer aligning features to the language space, and a pre-trained language model. While MLLMs have advanced, multimodal unlearning remains under-explored. Cheng and Amiri (2023) introduce MultiDelete, which separates cross-modal embeddings for unlearning but applies only to encoder-decoder models, limiting its use for decoder-only architectures. EFUF Xing et al. (2024) reduces hallucinations in MLLMs by unlearning. It uses CLIP Radford et al. (2021) to detect hallucinations based on MSCOCO-calibrated thresholds, eliminating manual labeling. The method applies three losses: negative loss to forget hallucinations, positive loss to reinforce correct representations, and sentence loss to preserve fluency. Single Image Unlearning (SIU) Li et al. (2024a) targets visual concept unlearning in VLLMs while preserving textual knowledge and introduces MMUBench. This benchmark spans 20 concepts with 50+ images each, including real-world figures and cartoon characters. However, these benchmarks are not open-sourced. The closest work to ours is Chakraborty et al. (2024), which investigates safety alignment in VLMs by unlearning harmful content. This study was not designed for the exact unlearning setup; therefore, we bridge this gap by conducting the first comprehensive analysis of MU methods in multimodal settings. Unlike safety alignment, our benchmark focuses on forgetting quality (e.g., inability to recall personas) and cross-modal consistency (e.g., erasing both a face and its biography) while maintaining model utility in real-world tasks, highlighting unique challenges in multimodal MU. 3 MU Methods 3.1 Preliminaries Let fθsubscriptf_θfitalic_θ denote the base model with parameters θ. It is trained on (train) dataset D, and given the unlearning objective, we want to make our model forget a subset of this dataset D, called forget set DFsubscriptD_FDitalic_F. The remaining part of the training dataset is called retain set, and we aim to preserve the modelâs performance on this data subset DR:=DâDFassignsubscriptsubscriptD_R:=D D_FDitalic_R := D â Ditalic_F. Additionally, we utilize a holdout set DHsubscriptD_HDitalic_H such that DHâŠD=â subscriptD_H⊠D= _H ⊠D = â to establish a reference for the modelâs desired behaviour on DFsubscriptD_FDitalic_F after the unlearning process. In a nutshell, forget set DFsubscriptD_FDitalic_F contains samples the model should unlearn and serves as a direct measure of unlearning effectiveness; retain set DRsubscriptD_RDitalic_R contains samples that the model should retain and perform well on, serving as an indicator of the modelâs preserved knowledge; holdout set DHsubscriptD_HDitalic_H contains samples that the model has never seen before and serves as a reference for the modelâs behavior on data that was not involved in the training process. Such forgetting procedure is performed by updating the model fθsubscriptf_θfitalic_θ with a particular unlearning method, which results in a new unlearned model fθ^subscript^f_ θfover start_ARG θ end_ARG with parameters θ^ θover start_ARG θ end_ARG. Evaluation of fθ^subscript^f_ θfover start_ARG θ end_ARG on the discussed subsets (or particularly on forget set) is called âinexactâ in contrast to the âexactâ evaluation when we directly compare the performance of the unlearned model with a gold model gĎsubscriptg_Ďgitalic_Ď, trained only on the DRsubscriptD_RDitalic_R. MU can be performed by optimizing the specific criterion. For example, one can consider the gradient difference MU approach, aimed at increasing forget loss and maintaining retain performance: L~=ââxiâDfLâ˘(xi,yi,θ)+Îťâ˘âxjâDRLâ˘(xj,yj,θ),~subscriptsubscriptsubscriptsubscriptsubscriptsubscriptsubscriptsubscriptsubscriptsubscript L=- _x_iâ D_fL(x_i,y_i,θ)+Îť _x_jâ D_% RL(x_j,y_j,θ),over~ start_ARG L end_ARG = - âx start_POSTSUBSCRIPT i â Ditalic_f end_POSTSUBSCRIPT L ( xitalic_i , yitalic_i , θ ) + Îť âx start_POSTSUBSCRIPT j â Ditalic_R end_POSTSUBSCRIPT L ( xitalic_j , yitalic_j , θ ) , (1) θâŚÎ¸âÎąâ˘âθL~,maps-tosubscriptâ~θ θ-Îą _θ L,θ ⌠θ - Îą âθ over~ start_ARG L end_ARG , (2) where Îť â forget-retain trade-off hyper-parameter, Îą â learning rate, L is some loss function, e.g., negative-log-likelihood, x is an input (text, image, or both of them in the case of VLLM). Suppose that we are given the LLM model denoted as f described by its parameters θ, hence representing a function mapping the input to the corresponding prediction, as described below: fθâ˘(x)=âi=1|y|Pθâ˘(yiâŁy<i,x),subscriptsuperscriptsubscriptproduct1subscriptconditionalsubscriptsubscriptabsent f_θ(x)= _i=1^|y|P_θ (y_i y_<i,% x ),fitalic_θ ( x ) = âi = 1| y | Pitalic_θ ( yitalic_i ⣠y< i , x ) , (3) where PθsubscriptP_θPitalic_θ is the probability function for generating the next token in the given sequence y=(y1,âŚ,y|y|)absentsubscript1âŚsubscript=(y_1,âŚ,y_ y )= ( y1 , ⌠, y| y | ), and y<i=y1,âŚ,yiâ1subscriptabsentsubscript1âŚsubscript1y_<i=\y_1,âŚ,y_i-1\y< i = y1 , ⌠, yitalic_i - 1 . Given an unlearned descriptor (xu,yu)subscriptsubscript (x_u,y_u )( xitalic_u , yitalic_u ) related to an unlearning instance âII (e.g., public figures or copyright-protected information). Current approaches often indiscriminately update θ to θâ˛Î¸ θⲠto ensure that all responses, yuâ˛=fθâ˛â˘(xu)superscriptsubscriptâ˛subscriptsuperscriptâ˛subscripty_u =f_θ (x_u )yitalic_uⲠ= fitalic_θⲠ( xitalic_u ), related to âII are non-harmful. Yet, not all knowledge tied to âII necessarily is required to be forgotten in this process. In multi-modal unlearning, compared to unimodal unlearning, each sample contains multiple modalities, e.g., text and image pairs, and at least two modalities are processed for the MMU. Let: D=(xi(1),âŚ,xi(m),yi)i=1N,superscriptsubscriptsuperscriptsubscript(1)âŚsuperscriptsubscript(m)subscript1D\;=\; \\, (x_i^(1),âŚ,x_i^(m),y_i% ) \_i=1^N,D = ( xitalic_i(1) , ⌠, xitalic_i(m) , yitalic_i ) i = 1N , (4) where mâĽ22m⼠2m ⼠2 is the number of modalities. We similarly define the forget set DFsubscriptD_FDitalic_F of multi-modal samples that we aim to unlearn. The model fθsubscriptf_θfitalic_θ is now capable of taking multi-modal input (e.g., a textual prompt plus an image) and producing an output y. The same forget and retain goals hold. Note that multimodal data allows unimodal unlearning (for example, one can mask tokens of omitted modalities), but multimodal unlearning requires processing of several modalities. From the practical point of view, both MU and MMU depend on optimization loss functions, which at the same time depend on the inputs, either unimodal or multimodal. Some methods, originally proposed for the MU, can naturally be applied for the MMU; however, some MU methods, for example RMU or SCRUBbiosubscriptSCRUBbioSCRUB_bioSCRUBbio are non-trivial to be adapted for the MMU. 3.2 Methods We briefly describe 5 top-performing MU methods from Tab. 1 among all approaches described in detail in Appx. B. Retain Finetune is a straightforward approach which involves finetuning the model on the retain set, assuming it will forget the knowledge from the DFsubscriptD_FDitalic_F while maintaining performance on the DRsubscriptD_RDitalic_R. However, it is suboptimal for models with extensive pretraining, such as most LLMs. IDK tuning replaces original labels in the forget set DFsubscriptD_FDitalic_F with âI donât knowâ responses while minimizing the loss on the retain set DRsubscriptD_RDitalic_R Maini et al. (2024). The objective Liâ˘dâ˘ksubscriptL_idkLitalic_i d k ensures that the model retains performance on DRsubscriptD_RDitalic_R while aligning predictions on DFsubscriptD_FDitalic_F with uncertainty-based responses: Liâ˘dâ˘k=Lâ˘(DR,θ)+Lâ˘(DFiâ˘dâ˘k,θ)subscriptsubscriptsuperscriptsubscriptL_idk=L(D_R,θ)+L(D_F^idk,θ)Litalic_i d k = L ( Ditalic_R , θ ) + L ( Ditalic_Fitalic_i d k , θ ) LLMU was introduced in early LLM unlearning research Yao et al. (2024c), optimizes the loss: LLLMU=âLâ˘(DF,θ)+Lâ˘(DFidk,θ)+âx,yâDRKL(pθ(y|x)||pθ^(y|x))L_LLMU=-L(D_F,θ)+L(D_F^idk,θ)\\ + _x,yâ D_RKL(p_θ(y|x)||p_ θ(y|x))start_ROW start_CELL LLLMU = - L ( Ditalic_F , θ ) + L ( Ditalic_Fidk , θ ) end_CELL end_ROW start_ROW start_CELL + âx , y â D start_POSTSUBSCRIPT R end_POSTSUBSCRIPT KL ( pitalic_θ ( y | x ) | | pover start_ARG θ end_ARG ( y | x ) ) end_CELL end_ROW Here, θ and θ^ θover start_ARG θ end_ARG are modelâs parameters before and after unlearning, the first term promotes unlearning by maximizing loss on DFsubscriptD_FDitalic_F, while the second reinforces forgetting using âI donât knowâ labels instead of original targets. The KL-divergence term preserves performance on the retain set DRsubscriptD_RDitalic_R by aligning model outputs before and after unlearning. SCRUB (Teacher-Student) formulates unlearning as a teacher-student setup, where a student model learns from a fixed teacher Kurmanji et al. (2023). The student is optimized to match the teacher on the retain set DRsubscriptD_RDitalic_R while deviating on the forget set DFsubscriptD_FDitalic_F. The loss function combines KL-divergence for retention (LRsubscriptL_RLitalic_R), enforced divergence for unlearning (LFsubscriptL_FLitalic_F), and task loss (LtasksubscripttaskL_taskLtask): d(x,ws)=KL(p(f(x;wo))||p(f(x;ws))),d(x,w^s)=KL(p(f(x;w^o))||p(f(x;w^s))),d ( x , witalic_s ) = KL ( p ( f ( x ; witalic_o ) ) | | p ( f ( x ; witalic_s ) ) ) , LR=Îą|DR|â˘âxrâDRdâ˘(xr,ws),subscriptsubscriptsubscriptsubscriptsubscriptsubscriptsuperscriptL_R= Îą|D_R| _x_râ D_Rd(x_r,w^s),Litalic_R = divide start_ARG Îą end_ARG start_ARG | Ditalic_R | end_ARG âx start_POSTSUBSCRIPT r â Ditalic_R end_POSTSUBSCRIPT d ( xitalic_r , witalic_s ) , LF=1|DF|â˘âxfâDFdâ˘(xf,ws),subscript1subscriptsubscriptsubscriptsubscriptsubscriptsuperscriptL_F= 1|D_F| _x_fâ D_Fd(x_f,w^s),Litalic_F = divide start_ARG 1 end_ARG start_ARG | Ditalic_F | end_ARG âx start_POSTSUBSCRIPT f â Ditalic_F end_POSTSUBSCRIPT d ( xitalic_f , witalic_s ) , Ltask=Îł|DR|â˘âxrâDRlâ˘(xr,yr),subscripttasksubscriptsubscriptsubscriptsubscriptsubscriptsubscriptL_task= Îł|D_R| _x_râ D_Rl(x_r,y_r),Ltask = divide start_ARG Îł end_ARG start_ARG | Ditalic_R | end_ARG âx start_POSTSUBSCRIPT r â Ditalic_R end_POSTSUBSCRIPT l ( xitalic_r , yitalic_r ) , LSCRUB=LRâLF+LtasksubscriptSCRUBsubscriptsubscriptsubscripttaskL_SCRUB=L_R-L_F+L_taskLSCRUB = Litalic_R - Litalic_F + Ltask where fâ˘(x;wo)superscriptf(x;w^o)f ( x ; witalic_o ) is the original teacher model with weights wosuperscriptw^owitalic_o, which are kept unchanged, fâ˘(x;ws)superscriptf(x;w^s)f ( x ; witalic_s ) is the unlearned student model with parameters wssuperscriptw^switalic_s, which are optimized. Preference Optimization (DPO) method applies Direct Preference Optimization (DPO) Rafailov et al. (2023) for MU and MMMU. The model is trained to reduce reliance on undesired information through a loss function combining task performance retention (LtasksubscripttaskL_taskLtask) and a DPO-based loss (LDPOsubscriptDPOL_DPOLDPO), which penalizes deviations from a reference model Ďrâ˘eâ˘fsubscript _refĎitalic_r e f fine-tuned on DFidksuperscriptsubscriptidkD_F^idkDitalic_Fidk with âI donât knowâ labels as in IDK-tuning. To sum up, we chose recently published MU methods for their easy adaptation to new modalities, needing only input data changes (text, images, or both) while maintaining core functionality. 4 CLEAR Figure 3: Examples of generated images showcasing a distinct individual from our dataset. In this section, we describe a new benchmark CLEAR designed for character unlearning. As a basis, our dataset utilizes the text-only TOFU dataset Maini et al. (2024) within the same experimental setup to replicate a real-world scenario where privacy concerns arise in sensitive contexts. While external information from books, games, or movies is general knowledge to unlearn Eldan and Russinovich (2023); Li et al. (2024a); Xing et al. (2024), character unlearning deals with specific contextual data that directly impacts individuals. This task addresses removing personal or confidential details and enhancing user privacy. 4.1 Dataset Generation Process The generation of synthetic faces for author profiles in our benchmark is motivated by ethical, technical, and practical considerations (see the complete rationale in Appx. A). Firstly, for each of the 200 authors from the TOFU dataset, we extract their name, age, and ethnicity based on the knowledge provided in the original dataset. Also, we generate a pool of 2000 faces using StyleGAN2 Karras et al. (2020) - an established generative model for face synthesis. Each face is scored with a pre-trained image model to determine age, gender, and ethnicity. Then, for each author, we filter a pool of faces with similar characteristics and select the most appropriate one. We found out from textual information that the age distribution of the authors was highly shifted towards the older age group, so we needed to eliminate the age gap between authorsâ profiles and corresponding images. To do this, we used the image editing framework proposed in Bobkov et al. (2024) to shift the visual attributes of the faces to make them older. The final distribution of face and author characteristics is shown in Fig. 4. After matching each author with a face, we used the diffusion model Li et al. (2024c) to synthesize images based on the given face and corresponding prompt (Appx. C). We perform a simple reality check to ensure the quality of generated faces. We use the CLIP ViT-L/14 model, which is usually considered a visual encoder for most VLMs, to get embeddings of these three image sets â our faces, CelebA Liu et al. (2015) and WebFace Yi et al. (2014). Then, we calculate the pairwise FID scores on top of the embeddings of these sets, and we get the following results: FID between our faces and CelebA is 74.4, between our faces and WebFace is 69.2, and between CelebA and WebFace is 62.1. This shows that the distance between our faces and the real-world faces is comparable to the distance between two real-world face datasets. In addition to the authorâs face, the diffusion model needs a textual prompt to produce an image. We ask GPT-4 to generate these prompts from a question-answer pair from TOFU about an author. We generate 8888 images for each prompt, evaluate them using an ensemble of fake detection models, and select the most realistic one. Additionally, GPT-4o generates captions for each (image, visual prompt) pair, which are then included in the dataset to form pairs (image, caption). However, due to restrictions caused by GPT guard breaks and the identification of several bugs in the TOFU dataset (such as a nameless author), the final dataset includes fewer images than text pairs (3,770 compared to 4,000). 4.2 Splits Figure 4: Distributions of the attributes of the authorâs faces. We show that CLEAR is balanced and representative regarding age, gender, and ethnicity. We utilize four splits (sets) to evaluate MU (see Fig. 2 for a sample from these splits): Forget. Following methodology from Maini et al. (2024), DFsubscriptD_FDitalic_F is made from data of 2, 10, and 20 persons (1%, 5% and 10%, respectively) of the full set D, consisting of 200 authors. This DFsubscriptD_FDitalic_F is expected to be unlearned by the model. Retain. The retain set DRsubscriptD_RDitalic_R consists of all data from the complete set D that is not in DFsubscriptD_FDitalic_F. The model should continue to work well on this subset and preserve its performance as much as possible. Real Faces. To ensure the model retains knowledge of related concepts, such as faces, which are not present in the finetuning dataset, we evaluate it using a set of real-world faces. Specifically, we use the MillionCelebs dataset Zhang et al. (2020), which consists of celebrity face-name pairs. We intersect this dataset with the most recognized celebrities from any year on the Forbes Celebrity 100 list to increase the likelihood that the model has seen these faces during pre-training. This results in a final set of 150 face-name pairs. Real World. To ensure that the modelâs overall visual capabilities remain intact throughout the unlearning process, we evaluate its performance on the Visual Question Answering (VQA) task using samples from x.ai (2024). 5 Experimental Setup and Evaluation In this section, we briefly discuss the evaluation metrics and implementation details. 5.1 Evaluation Metrics We conduct a comprehensive evaluation using ROUGE-L, Probability Score, Truth Ratio, and Forget Quality metrics to thoroughly assess unlearning performance across textual, visual, and multimodal domains. Following Maini et al. (2024); Li et al. (2024a); Xing et al. (2024), this evaluation setup ensures that we capture the effectiveness of unlearning algorithms while examining both the retention and forgetfulness of information within the models. ROUGE-L. ROUGE evaluates the word-level correspondence between the modelâs output and the ground truth answer to a question. We calculate the ROUGE-L recall score Lin (2004) by comparing the modelâs decoded output fθ^â˘(x)subscript^f_ θ(x)fover start_ARG θ end_ARG ( x ) with the ground truth answer y of the gold model g: ROUGEâ˘(fθ^â˘(x),y)ROUGEsubscript^ROUGE(f_ θ(x),y)ROUGE ( fover start_ARG θ end_ARG ( x ) , y ). This metric measures the modelâs remembrance of the knowledge in its exact formulations. Probability Score. One way to expose implicit knowledge from a model is through its logits, which are assigned to some factual tokens. This metric assesses the modelâs capability to generate the correct answer. We define the conditional probability pâ˘(y|x)1|y|superscriptconditional1p(y|x) 1|y|p ( y | x )divide start_ARG 1 end_ARG start_ARG | y | end_ARG for input x and answer y (power 1|y|1 1|y|divide start_ARG 1 end_ARG start_ARG | y | end_ARG corresponds to normalizing for length). Each input question x is considered as a multiple choice question with possible answers y1,âŚ,ynsubscript1âŚsubscripty_1,...,y_ny1 , ⌠, yitalic_n, and then, assuming that y1subscript1y_1y1 is the correct answer, the desired probability score is computed as pâ˘(y1|x)/(âi=1npâ˘(yi|x))conditionalsubscript1superscriptsubscript1conditionalsubscriptp(y_1|x)/ (ÎŁ _i=1^np(y_i|x) )p ( y1 | x ) / ( âi = 1n p ( yitalic_i | x ) ). Higher values indicate better performance, revealing how well the model retains the correct answer. Truth Ratio quantifies the alignment between predictions and the ground truth by comparing the probability of a paraphrased correct answer against the averaged probabilities of several similarly formatted incorrect answers, providing insight into the effectiveness of the unlearning algorithm in removing specific information while maintaining overall accuracy. As defined by Maini et al. (2024), assume that y^ yover start_ARG y end_ARG denotes a paraphrased version of the answer y for the input x and YⲠis the set of 5 perturbations of the answer y. Then desired truth ratio R is calculated as: R=1|Yâ˛|â˘(âyâ˛âYâ˛pâ˘(yâ˛âŁx)1/|yâ˛|)/pâ˘(y^âŁx)1/|y^|1superscriptâ˛subscriptsuperscriptâ˛superscriptconditionalsuperscriptâ˛1superscriptâ˛conditional^1^R= 1 |Y | ( _y â Y p % (y x )^1/ |y | )/p( y x)^% 1/| y|R = divide start_ARG 1 end_ARG start_ARG | YⲠ| end_ARG ( âyⲠâ YⲠp ( yⲠ⣠x )1 / | y start_POSTSUPERSCRIPT Ⲡ| end_POSTSUPERSCRIPT ) / p ( over start_ARG y end_ARG ⣠x )1 / | over start_ARG y end_ARG |. This ratio is normalized and rescaled between 0 and 1, with higher values indicating better knowledge retention. Aggregate metrics. All three above-defined metrics are bounded between 0 and 1, so we combine them into a single metric to evaluate the overall performance. We set up the Real, Retain, and Forget metrics as a harmonic mean of the ROUGE, the Probability score, and the Truth Ratio computed on corresponding dataset splits. Forget Quality calculates the âdistanceâ of the unlearned model to the gold model, which is a proxy metric for the quality of exact unlearning. Following Maini et al. (2024), we take the Truth Ratios distribution of both models. However, instead of the p-value of the Kolmogorov-Smirnov test, we calculate the Jensen-Shannonn distance between these distributions. The latter metric better captures the differences between models, which we additionally check and describe in Appx. E. To maintain the higher - the better convention, we subtract the distance from 1. 5.2 Implementation For the source model, we use LLaVa model Liu et al. (2023) with ViT Dosovitskiy et al. (2021) as visual encoder and LLaMa2-7B Touvron et al. (2023) as a language model. First, we finetune it on the image captioning task using the full CLEAR, both visual and textual parts. We call this model âbaseâ, as it contains forget and retain sets. Then, we perform the unlearning process on it. We use the same hyperparameters for each method. We evaluate the unlearned model based on our metrics from Sec. 5, using the Multi-choice VQA task for the probability score and the image captioning task for the Truth Ratio. For comparison, we also present the metrics of the âgoldâ model. Experimental results and metrics are shown in Tab. 1, with details provided in Appx. H. In addition, we perform experiments with the QwenVL2 model (Appx. I). 6 Results In the following sections, we describe the results of MU methods on our dataset. We seek to answer the following research questions: RQ1: Does an unlearning methodâs performance on a single domain transfer directly to the performance in a multimodal setting? Should we study multimodal unlearning at all if we can easily predict its performance from single-domain experiments? RQ2: Is unlearning only one modality (textual or visual) enough in a multimodal setup? How does the effectiveness vary depending on modality? How do different unlearning methods compare in their effectiveness for unlearning specific modalities? RQ3: In the context of multimodal unlearning, what methods perform the best? 6.1 Transferability from Single Domain To investigate RQ1, we analyze how well the performance of unlearning methods in single modalities predicts their effectiveness in multimodal settings. For the textual domain, we use the TOFU benchmark; for the visual, we use a standard U-MIA approach to the data, consisting of the faces from our dataset; the details for the pipelines and full results are provided in Appx. F and G. For multimodal unlearning, we use our benchmark. The correlations between single-domain and multimodal (M) rankings are relatively weak. We rank methods according to their forget metric performance in each domain and calculate Spearmanâs rank correlation coefficient between single-domain and multimodal rankings. The correlation Ď=0.70.7Ď=0.7Ď = 0.7 for text-M and Ď=0.20.2Ď=0.2Ď = 0.2 for visual-M, indicating limited transferability (see Tab. 2). We observe significant discrepancies between single-domain and multimodal performance. For example, LLMU achieves a retain metric of 0.51 in multimodal but degrades to 0.03 in the textual setting while maintaining good forget scores (0.25 vs 0.01). Similar patterns emerge for other methods, suggesting that single-domain evaluation is insufficient. Methods that perform well in single domains can fail catastrophically in multimodal settings. For instance, RMU achieves good forget-retain balance in text-only (0.26/0.59) but completely fails on the retain set in multimodal setup (0.00/0.00), highlighting the unique challenges of multimodal unlearning. Takeaway 1: Single-domain performance is a poor predictor of multimodal unlearning success, with relatively low-rank correlations (Ď=0.70.7Ď=0.7Ď = 0.7 and Ď=0.20.2Ď=0.2Ď = 0.2) and distinct failure modes. This emphasizes the need for dedicated multimodal evaluation frameworks and potentially new methods designed specifically for multimodal MU. Method Text-only Visual-only Multimodal (Forget/Retain) (Forget/Retain) (Forget/Retain) LLMU 0.01/0.03 85.2/88.9 0.25/0.51 DPO 0.42/0.26 50.2/81.4 0.22/0.48 SCRUB 0.42/0.26 42.59/99.4 0.36/0.52 IDK 0.24/0.26 N/A 0.33/0.51 RMU 0.59/0.26 67.9/99.0 0.00/0.00 Retain FT 0.42/0.26 100.0/100.0 0.37/0.51 Performance correlation with multimodal: Spearmanâs Ď 0.705 0.205 1.00 Table 2: Transferability analysis across domains. We report forget (F) and retain (R) metrics for each method. Lower F and higher R are better. N/A indicates the method was not applicable. Correlation shows Spearmanâs rank correlation between single-domain and multimodal performance, with p-values in parentheses. 6.2 Impact of Modality Selection on Unlearning To explore RQ2, we examine how the choice of unlearning modality impacts performance. We conduct experiments with three variants for each method: text-only, visual-only, and both modalities. Results in Tab. 3 show distinct patterns across methods. Text-only Unlearning. Text-only approaches show mixed results. While some methods, like NPO, achieve good retain metrics (0.51) with moderate forget scores (0.29), others struggle significantly. RMU and GD completely fail on retain (0.01 and 0.00). KL shows middling performance with retain at 0.32 and forget at 0.23. This inconsistency suggests that text-only unlearning may disrupt cross-modal representations unpredictably. Visual-only Unlearning. Visual-only unlearning often achieves a better balance. DPO shows promising results with a forget metric of 0.23 while maintaining a 0.49 retain score. LLMU and SCRUB demonstrate similar patterns (forget: 0.37, 0.39; retain: 0.50, 0.49, respectively). However, some methods like RMU, GD, GA, and KL completely fail on retain metrics (0.00), indicating visual-only approaches are not universally successful. Multimodal Unlearning. Joint modality unlearning shows the most promising results for several methods. IDK improves its forget metric from 0.39 (text) and 0.35 (visual) to 0.33 (both) while maintaining stable retain performance (0.46). NPO shows strong real-world performance (0.49) but struggles with retain metrics when using both modalities. SCRUB demonstrates remarkable consistency across configurations (retain: 0.50, forget: 0.37), suggesting some methods are more robust to modality selection. Method Modality Real â â metric Retain â â metric Forget â â metric Forget â â Quality Gold â 0.50 0.51 0.19 1.00 Base â 0.48 0.51 0.35 0.85 RMU text 0.31 0.01 0.02 0.75 RMU visual 0.24 0.00 0.00 0.75 RMU both 0.22 0.00 0.00 0.80 GD text 0.26 0.00 0.00 0.79 GD visual 0.29 0.00 0.00 0.20 GD both 0.49 0.51 0.37 0.85 Retain FT text 0.49 0.51 0.37 0.85 Retain FT visual 0.46 0.45 0.42 0.85 Retain FT both 0.46 0.46 0.40 0.85 GA text 0.34 0.00 0.00 0.22 GA visual 0.29 0.00 0.00 0.32 GA both 0.29 0.00 0.00 0.32 KL text 0.49 0.32 0.23 0.71 KL visual 0.29 0.00 0.00 0.28 KL both 0.48 0.35 0.27 0.81 IDK text 0.48 0.50 0.39 0.85 IDK visual 0.44 0.45 0.35 0.84 IDK both 0.46 0.46 0.33 0.84 NPO text 0.51 0.51 0.29 0.85 NPO visual 0.48 0.43 0.24 0.84 NPO both 0.49 0.00 0.00 0.72 SCRUB text 0.49 0.51 0.37 0.85 SCRUB visual 0.48 0.49 0.39 0.85 SCRUB both 0.49 0.51 0.37 0.85 DPO text 0.47 0.45 0.42 0.85 DPO visual 0.48 0.49 0.23 0.84 DPO both 0.46 0.47 0.28 0.84 LLMU text 0.48 0.46 0.40 0.85 LLMU visual 0.49 0.50 0.37 0.85 LLMU both 0.47 0.48 0.33 0.84 Table 3: Results of unlearning of different modalities within multimodal setup. We finetune on full datasets (both modalities), then forget on a single domain subset (text or visual) or full forget set. Base â model before unlearning. Gold - a model trained only on retain. Takeaway 2: While visual-only unlearning often outperforms text-only approaches, the effectiveness varies significantly by method. Methods like SCRUB maintain consistent performance across modalities (retain: 0.49-0.51), while others show dramatic variations. NPO and KL demonstrate that combining modalities can improve forget quality (0.72-0.81) compared to single-modality approaches (0.28-0.85). However, the optimal choice of modality depends heavily on the specific method and desired performance trade-offs. 6.3 Unlearning Both Domains Having established that multimodal unlearning requires addressing both modalities, we evaluate all available unlearning methods on our source model fθsubscriptf_θfitalic_θ across both domains. For these experiments, we use a forget set containing data about 20 persons (10% of the dataset), encompassing both their textual and visual information. As shown in Tab. 3, there are three distinct categories of method behaviour. GA, GD, KL, and RMU achieve perfect unlearning (forget metric = 0) but completely destroy the modelâs retained knowledge (retain metric = 0). IDK, SCRUB, and Retain FT maintain strong retain performance ( 0.51) but struggle with effective forgetting (forget metrics 0.33-0.37). LLMU and DPO balance forgetting and retention best, maintaining reasonable retain metrics (0.48-0.51) while showing improved forget performance (0.22-0.25). Takeaway 3: Most unlearning methods struggle with the trade-off between effective forgetting and knowledge retention in multimodal settings. Only LLMU and DPO show promise in balancing these objectives, but their performance remains below the gold model (forget = 0.19, retain = 0.51). 7 Conclusion In this work, we introduce CLEAR, the first open-sourced benchmark designed to assess machine unlearning in a textual-visual multimodal setup. Our evaluation of existing unlearning techniques across domains shows that multimodal unlearning is more challenging than previously anticipated, laying the ground for further research. Our findings offer a new perspective than earlier results on safety alignment Chakraborty et al. (2024), which suggested that text-only unlearning is sufficient for multimodal models. While CLEARâs synthetic personas ensure controlled evaluation, real-world data (e.g., diverse facial features, noisy captions) may introduce new challenges. Additionally, our study focuses on visual-language models, leaving other modalities (e.g., audio, video) unexplored. By open-sourcing CLEAR and establishing the first multimodal MU leaderboard, we aim to accelerate progress toward ethical, privacy-preserving multimodal AI. Our findings highlight that MMU is not merely an extension of unimodal unlearning but a distinct challenge requiring novel methodologies. Limitations Despite the contributions of this work, several limitations remain that need further investigation. One major limitation is the reliance on synthetic data, as CLEAR is based on such dataset, which may not fully capture the complexity of real-world scenarios, thus limiting the generalizability of our findings. Additionally, while our work focuses on unlearning methods designed for privacy-centric applications, such as removing personal data, it may not fully address other unlearning needs, such as removing harmful content. Moreover, our benchmark mainly evaluates fine-tuning-based unlearning methods using sophisticated loss functions, leaving unexplored other broader unlearning techniques, such as analytical or mechanical approaches. Another challenge lies in the scalability of these unlearning methods, as they may struggle to scale efficiently when applied to larger models and datasets, hindering their potential use in real-world systems. Furthermore, our focus on catastrophic forgetting overlooks unintended side effects, such as the introduction of biases or the degradation of model performance on unrelated tasks, and the broader impact of unlearning on fairness and safety remains an open area for future research. Ethics In this work, we focus on unlearning character-specific knowledge in pre-trained visual-language models (VLMs). We aim to enable VLMs to selectively forget all traces of specific synthetic personasâincluding their textual biographies, visual appearances, and cross-modal associationsâwhile preserving the modelâs general capabilities. This addresses critical ethical concerns, such as the right to be forgotten and prevention of unintended memorization. For forget and retain sets, all data is synthetically generated to avoid biases and leakage from real-world sources, with evaluation protocols encouraging responsible use. These sets were manually checked by one of the authors. Datasets on celebrity recognition and general VQA are publicly accessible sources. We also urge researchers and developers to employ our methods responsibly and with ethical considerations. We used 84 hours of A100 GPU computation, resulting in an estimated 9 kg of CO2 emissions. Use of AI Assistants. We utilize Grammarly to enhance and proofread the text of this paper, correct grammatical, spelling, and stylistic errors, as well as rephrase sentences. Consequently, certain sections of our publication may be identified as AI-generated, AI-edited, or a combination of human and AI contributions. Acknowledgements The work was supported by a Research Center for Trusted Artificial Intelligence the Ivannikov Institute for System Programming of the Russian Academy of Sciences. References Bobkov et al. (2024) Denis Bobkov, Vadim Titov, Aibek Alanov, and Dmitry Vetrov. 2024. The devil is in the details: Stylefeatureeditor for detail-rich stylegan inversion and high quality image editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9337â9346. Cao and Yang (2015) Yinzhi Cao and Junfeng Yang. 2015. Towards making systems forget with machine unlearning. In 2015 IEEE symposium on security and privacy, pages 463â480. IEEE. Carlini et al. (2022) Nicholas Carlini, Steve Chien, Milad Nasr, Shuang Song, Andreas Terzis, and Florian Tramer. 2022. Membership inference attacks from first principles. Preprint, arXiv:2112.03570. Chakraborty et al. (2024) Trishna Chakraborty, Erfan Shayegani, Zikui Cai, Nael B. Abu-Ghazaleh, M. Salman Asif, Yue Dong, Amit Roy-Chowdhury, and Chengyu Song. 2024. Can textual unlearning solve cross-modality safety alignment? In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 9830â9844, Miami, Florida, USA. Association for Computational Linguistics. Chen and Yang (2023) Jiaao Chen and Diyi Yang. 2023. Unlearn what you want to forget: Efficient unlearning for LLMs. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 12041â12052, Singapore. Association for Computational Linguistics. Cheng and Amiri (2023) Jiali Cheng and Hadi Amiri. 2023. Multidelete for multimodal machine unlearning. Dhasade et al. (2024) Akash Dhasade, Yaohong Ding, Song Guo, Anne marie Kermarrec, Martijn De Vos, and Leijie Wu. 2024. Quickdrop: Efficient federated unlearning by integrated dataset distillation. Preprint, arXiv:2311.15603. Dosovitskiy et al. (2021) Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. 2021. An image is worth 16x16 words: Transformers for image recognition at scale. Preprint, arXiv:2010.11929. Dwork et al. (2014) Cynthia Dwork, Aaron Roth, et al. 2014. The algorithmic foundations of differential privacy. Foundations and TrendsÂŽ in Theoretical Computer Science, 9(3â4):211â407. Eldan and Russinovich (2023) Ronen Eldan and Mark Russinovich. 2023. Whoâs harry potter? approximate unlearning in llms. Preprint, arXiv:2310.02238. Hayes et al. (2024) Jamie Hayes, Ilia Shumailov, Eleni Triantafillou, Amr Khalifa, and Nicolas Papernot. 2024. Inexact unlearning needs more careful evaluations to avoid a false sense of privacy. Preprint, arXiv:2403.01218. Jang et al. (2023) Joel Jang, Dongkeun Yoon, Sohee Yang, Sungmin Cha, Moontae Lee, Lajanugen Logeswaran, and Minjoon Seo. 2023. Knowledge unlearning for mitigating privacy risks in language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14389â14408. Ji et al. (2023) Jiaming Ji, Mickel Liu, Josef Dai, Xuehai Pan, Chi Zhang, Ce Bian, Boyuan Chen, Ruiyang Sun, Yizhou Wang, and Yaodong Yang. 2023. Beavertails: Towards improved safety alignment of llm via a human-preference dataset. Advances in Neural Information Processing Systems, 36:24678â24704. Jia et al. (2024) Jinghan Jia, Jiancheng Liu, Parikshit Ram, Yuguang Yao, Gaowen Liu, Yang Liu, Pranay Sharma, and Sijia Liu. 2024. Model sparsity can simplify machine unlearning. Preprint, arXiv:2304.04934. Jiang et al. (2023) Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, LĂŠlio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, TimothĂŠe Lacroix, and William El Sayed. 2023. Mistral 7b. Preprint, arXiv:2310.06825. Karras et al. (2020) Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. 2020. Analyzing and improving the image quality of stylegan. Preprint, arXiv:1912.04958. Kurmanji et al. (2023) Meghdad Kurmanji, Peter Triantafillou, Jamie Hayes, and Eleni Triantafillou. 2023. Towards unbounded machine unlearning. Preprint, arXiv:2302.09880. Kurmanji et al. (2024) Meghdad Kurmanji, Peter Triantafillou, Jamie Hayes, and Eleni Triantafillou. 2024. Towards unbounded machine unlearning. Advances in neural information processing systems, 36. Li et al. (2024a) Jiaqi Li, Qianshan Wei, Chuanyi Zhang, Guilin Qi, Miaozeng Du, Yongrui Chen, and Sheng Bi. 2024a. Single image unlearning: Efficient machine unlearning in multimodal large language models. arXiv preprint arXiv:2405.12523. Li et al. (2024b) Nathaniel Li, Alexander Pan, Anjali Gopal, Summer Yue, Daniel Berrios, Alice Gatti, Justin D. Li, Ann-Kathrin Dombrowski, Shashwat Goel, Long Phan, Gabriel Mukobi, Nathan Helm-Burger, Rassin Lababidi, Lennart Justen, Andrew B. Liu, Michael Chen, Isabelle Barrass, Oliver Zhang, Xiaoyuan Zhu, Rishub Tamirisa, Bhrugu Bharathi, Adam Khoja, Zhenqi Zhao, Ariel Herbert-Voss, Cort B. Breuer, Samuel Marks, Oam Patel, Andy Zou, Mantas Mazeika, Zifan Wang, Palash Oswal, Weiran Liu, Adam A. Hunt, Justin Tienken-Harder, Kevin Y. Shih, Kemper Talley, John Guan, Russell Kaplan, Ian Steneker, David Campbell, Brad Jokubaitis, Alex Levinson, Jean Wang, William Qian, Kallol Krishna Karmakar, Steven Basart, Stephen Fitz, Mindy Levine, Ponnurangam Kumaraguru, Uday Tupakula, Vijay Varadharajan, Yan Shoshitaishvili, Jimmy Ba, Kevin M. Esvelt, Alexandr Wang, and Dan Hendrycks. 2024b. The wmdp benchmark: Measuring and reducing malicious use with unlearning. Preprint, arXiv:2403.03218. Li et al. (2024c) Zhen Li, Mingdeng Cao, Xintao Wang, Zhongang Qi, Ming-Ming Cheng, and Ying Shan. 2024c. Photomaker: Customizing realistic human photos via stacked id embedding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8640â8650. Lin (2004) Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pages 74â81. Liu et al. (2022) Bo Liu, Qiang Liu, and Peter Stone. 2022. Continual learning and private unlearning. Preprint, arXiv:2203.12817. Liu et al. (2023) Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. 2023. Visual instruction tuning. Liu et al. (2024) Zheyuan Liu, Guangyao Dou, Zhaoxuan Tan, Yijun Tian, and Meng Jiang. 2024. Towards safer large language models through machine unlearning. Preprint, arXiv:2402.10058. Liu et al. (2015) Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. 2015. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV). Lu et al. (2022) Ximing Lu, Sean Welleck, Jack Hessel, Liwei Jiang, Lianhui Qin, Peter West, Prithviraj Ammanabrolu, and Yejin Choi. 2022. Quark: Controllable text generation with reinforced unlearning. Advances in neural information processing systems, 35:27591â27609. Luo et al. (2024) Weidi Luo, Siyuan Ma, Xiaogeng Liu, Xiaoyu Guo, and Chaowei Xiao. 2024. Jailbreakv-28k: A benchmark for assessing the robustness of multimodal large language models against jailbreak attacks. arXiv preprint arXiv:2404.03027. Ma et al. (2024) Yingzi Ma, Jiongxiao Wang, Fei Wang, Siyuan Ma, Jiazhao Li, Xiujun Li, Furong Huang, Lichao Sun, Bo Li, Yejin Choi, Muhao Chen, and Chaowei Xiao. 2024. Benchmarking vision language model unlearning via fictitious facial identity dataset. Preprint, arXiv:2411.03554. Maini et al. (2024) Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary Chase Lipton, and J Zico Kolter. 2024. TOFU: A task of fictitious unlearning for LLMs. In First Conference on Language Modeling. Neel et al. (2021) Seth Neel, Aaron Roth, and Saeed Sharifi-Malvajerdi. 2021. Descent-to-delete: Gradient-based methods for machine unlearning. In Algorithmic Learning Theory, pages 931â962. PMLR. Ouyang et al. (2022) Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730â27744. Radford et al. (2021) Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. 2021. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748â8763. PMLR. Rafailov et al. (2023) Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. 2023. Direct preference optimization: Your language model is secretly a reward model. Preprint, arXiv:2305.18290. Sekhari et al. (2021) Ayush Sekhari, Jayadev Acharya, Gautam Kamath, and Ananda Theertha Suresh. 2021. Remember what you want to forget: Algorithms for machine unlearning. Advances in Neural Information Processing Systems, 34:18075â18086. Shen et al. (2020) Yujun Shen, Jinjin Gu, Xiaoou Tang, and Bolei Zhou. 2020. Interpreting the latent space of gans for semantic face editing. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9243â9252. Shokri et al. (2017) Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. 2017. Membership inference attacks against machine learning models. In 2017 IEEE symposium on security and privacy (SP), pages 3â18. IEEE. Tarun et al. (2021) Ayush Tarun, Vikram Chundawat, Murari Mandal, and Mohan Kankanhalli. 2021. Fast yet effective machine unlearning. Touvron et al. (2023) Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023. Llama 2: Open foundation and fine-tuned chat models. Preprint, arXiv:2307.09288. Wu et al. (2023) Xinwei Wu, Junzhuo Li, Minghui Xu, Weilong Dong, Shuangzhi Wu, Chao Bian, and Deyi Xiong. 2023. Depn: Detecting and editing privacy neurons in pretrained language models. arXiv preprint arXiv:2310.20138. Wu et al. (2020) Zongze Wu, Dani Lischinski, and Eli Shechtman. 2020. Stylespace analysis: Disentangled controls for stylegan image generation. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 12858â12867. x.ai (2024) x.ai. 2024. Grok-1.5 vision preview. Xing et al. (2024) Shangyu Xing, Fei Zhao, Zhen Wu, Tuo An, Weihao Chen, Chunhui Li, Jianbing Zhang, and Xinyu Dai. 2024. Efuf: Efficient fine-grained unlearning framework for mitigating hallucinations in multimodal large language models. ArXiv, abs/2402.09801. Yao et al. (2024a) Jin Yao, Eli Chien, Minxin Du, Xinyao Niu, Tianhao Wang, Zezhou Cheng, and Xiang Yue. 2024a. Machine unlearning of pre-trained large language models. arXiv preprint arXiv:2402.15159. Yao et al. (2024b) Jin Yao, Eli Chien, Minxin Du, Xinyao Niu, Tianhao Wang, Zezhou Cheng, and Xiang Yue. 2024b. Machine unlearning of pre-trained large language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8403â8419, Bangkok, Thailand. Association for Computational Linguistics. Yao et al. (2023) Yuanshun Yao, Xiaojun Xu, and Yang Liu. 2023. Large language model unlearning. arXiv preprint arXiv:2310.10683. Yao et al. (2024c) Yuanshun Yao, Xiaojun Xu, and Yang Liu. 2024c. Large language model unlearning. Preprint, arXiv:2310.10683. Yi et al. (2014) Dong Yi, Zhen Lei, Shengcai Liao, and Stan Z Li. 2014. Learning face representation from scratch. arXiv preprint arXiv:1411.7923. Yu et al. (2023) Charles Yu, Sullam Jeoung, Anish Kasi, Pengfei Yu, and Heng Ji. 2023. Unlearning bias in language models by partitioning gradients. In Findings of the Association for Computational Linguistics: ACL 2023, pages 6032â6048. Zhang et al. (2024a) Ruiqi Zhang, Licong Lin, Yu Bai, and Song Mei. 2024a. Negative preference optimization: From catastrophic collapse to effective unlearning. Preprint, arXiv:2404.05868. Zhang et al. (2020) Yaobin Zhang, Weihong Deng, Mei Wang, Jiani Hu, Xian Li, Dongyue Zhao, and Dongchao Wen. 2020. Global-local gcn: Large-scale label noise cleansing for face recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7731â7740. Zhang et al. (2024b) Yihua Zhang, Chongyu Fan, Yimeng Zhang, Yuguang Yao, Jinghan Jia, Jiancheng Liu, Gaoyuan Zhang, Gaowen Liu, Ramana Rao Kompella, Xiaoming Liu, and Sijia Liu. 2024b. Unlearncanvas: Stylized image dataset for enhanced machine unlearning evaluation in diffusion models. Preprint, arXiv:2402.11846. Appendix A Rationale for Synthetic Face Selection The use of synthetic faces, rather than real-world facial data, in our benchmark is motivated by ethical, technical, and practical considerations. First, synthetic faces eliminate privacy risks and ethical concerns associated with real facial datasets. By generating artificial personas, we avoid biases inherent in real-world datasets and ensure no real individuals are misrepresented, aligning with the right to be forgotten principle. Second, synthetic data provides precise control over memorization evaluation. Real faces risk contamination from prior model training (e.g., pre-existing celebrity images in model weights), which could confound unlearning performance measurements. Synthetic faces, being novel and never publicly released, guarantee that models learn exclusively from our benchmark, enabling accurate assessment of unlearning efficacy. Notably, our experiments reveal that models still struggle to fully erase synthetic faces â despite their controlled generation. This implies that applying current unlearning methods to real-world faces (e.g., from public sources like Wikipedia) would face greater challenges, as real data introduces uncontrolled variability and pre-existing biases that synthetic benchmarks deliberately exclude. In other words, applying artificial profiles ensures that the considered model has not seen the authors during pre-training, and this is essential for the fair evaluation of MU methods, as we can easily compare MU results with a gold model, which has never seen the profiles we want to forget, without expensive re-training from scratch on a large plethora of data required for LLMs and VLLMs training. Third, synthetic generation prevents cross-modal leakage. By explicitly linking synthetic faces to their textual biographies, we isolate memorization tests to our dataset, ensuring no external knowledge interferes. This allows rigorous evaluation of whether unlearning a biography also removes its associated face. Additionally, synthetic faces enhance reproducibility and scalability. Unlike real datasets burdened by licensing restrictions, synthetic data can be freely shared, fostering open benchmarking. On-demand generation also supports customizable testing, such as expanding the forget set to thousands of unique identities without legal barriers. Our comprehensive image generation strategy suits the authorâs textual descriptions and preserves consistency among his or her images. Still, it enables sufficient diversity between different authors regarding age, gender and ethnicity. Also, it is worth noting that synthetic data is also used in practice in literature for unlearning-related task. In Zhang et al. (2024b), the authors introduce a novel dataset, UnlearnCanvas, designed to benchmark machine unlearning techniques in diffusion models, offering a comprehensive, high-resolution stylized image dataset to evaluate the unlearning of artistic styles and associated objects. The UnlearnCanvas dataset includes generated images across 60 artistic painting styles, with 400 images per style across 20 object categories. The dataset facilitates the quantitative evaluation of vision generative modelling tasks, including machine unlearning, style transfer, vision in-context learning, bias removal for generative models, and out-of-distribution learning. The paper Ma et al. (2024) introduces a new benchmark, FIUBench, to evaluate the effectiveness of unlearning algorithms in Vision Language Models under the Right to be Forgotten setting. The authors formalize the VLM unlearning task and construct a Fictitious Facial Identity VQA dataset of synthetic faces paired with randomly generated personal information to study privacy under the Right to be Forgotten scenario. This approach allows precise control over the source of information and its exposure in the unlearning dataset. The dataset includes personal backgrounds, health records, and criminal histories for each facial identity. The work Dhasade et al. (2024) introduces a novel approach to Federated Unlearning, which aims to effectively remove specific training data knowledge from machine learning models trained through Federated Learning. The authors highlight the inefficiencies of existing Federated Unlearning methods that often involve high computational costs due to gradient recomputation and storage requirements. The provided approach, QuickDrop, is designed to streamline the unlearning process by generating compact synthetic datasets that represent the gradient information used during model training. This approach significantly reduces the volume of data needed for unlearning while maintaining performance efficiency. QuickDrop employs a method called dataset distillation to create a compact dataset that captures essential features of the original training data. This dataset is approximately 1% of the size of the original data, leading to minimal storage overhead. Each client generates a synthetic dataset through gradient matching, which serves as a compressed representation of their original gradients. In summary, synthetic faces prioritize ethical rigour, experimental precision, and reproducibilityâcritical for advancing multimodal machine unlearning research. The observed difficulty in unlearning even synthetic faces underscores fundamental model limitations, which real-world deployments (e.g., authorsâ faces) would exacerbate due to added complexity. Our benchmark thus serves as a necessary precursor to addressing practical challenges in ethical AI. Appendix B Unlearning Methods This section describes the main unlearning approaches considered in this work. 1. Finetuning on retain data. The most straightforward method to conduct unlearning is to finetune the model on the retain set, assuming that the model will unlearn the knowledge from the forget set and preserve its performance on the retain set. Despite its simplicity and reasonable effectiveness for relatively small models, it is not usable in models with huge sizes of pre-train sets, such as most LLMs. 2. Gradient ascent on forget set. In this method, unlearning is done by maximizing the loss on forget data with the intuition that it will lead to getting predictions that are dissimilar from the correct answers for forget set and consequently unlearning desired information. Thus, this method can be considered as a finetuning procedure with the following loss function: Lâ˘(DF,θ)=1|DF|â˘âxâDFNâ˘Lâ˘Lâ˘(x,θ),subscript1subscriptsubscriptsubscriptL(D_F,θ)= 1|D_F| _xâ D_FNLL(x,θ),L ( Ditalic_F , θ ) = divide start_ARG 1 end_ARG start_ARG | Ditalic_F | end_ARG âx â D start_POSTSUBSCRIPT F end_POSTSUBSCRIPT N L L ( x , θ ) , where NLLâĄ(x,θ)NLLNLL(x,θ)NLL ( x , θ ) is the negative log-likelihood of the model on the input x. Instead of maximizing the NLLNLLNLLNLL loss, maximizing the entropy of the modelâs predictions on the forget set is possible. The intuition behind this trick is that it will correspond to the increase of the modelâs uncertainty in its predictions on forget set, which will also correspond to successful unlearning. 3. Gradient difference. Liu et al. (2022) The next method builds on the concept of combining two previous methods. It aims to increase the loss on the forget data and at least maintain the loss on the retain set. The loss function is defined as follows: LGâ˘D=âLâ˘(DF,θ)+Lâ˘(DR,θ),subscriptsubscriptsubscriptL_GD=-L(D_F,θ)+L(D_R,θ),Litalic_G D = - L ( Ditalic_F , θ ) + L ( Ditalic_R , θ ) , where DFsubscriptD_FDitalic_F is the forget set that remains constant, DRsubscriptD_RDitalic_R is the retain set that is randomly sampled during training, and L is a suitable loss function. 4. KL minimization. This approach aims to minimize the Kullback-Leibler (KLKLKLKL) divergence between the modelâs predictions on the retain set before and after unlearning while maximizing the conventional loss on the forget set. The LKLsubscriptKLL_KLLKL loss function is defined as 1|DF|â˘âxâDF1|s|â˘âi=2|s|KLâĄ(Pâ˘(s<i|θ)âĽPâ˘(s<i|θâ˛)).1subscriptsubscriptsubscript1superscriptsubscript2KLconditionalsubscriptabsentconditionalsubscriptabsentsuperscriptⲠsplit 1|D_F| _xâ D_F 1|s| _i=2^|s|% KL (P(s_<i|θ) \|P(s_<i|θ )% ). splitstart_ROW start_CELL divide start_ARG 1 end_ARG start_ARG | Ditalic_F | end_ARG âx â D start_POSTSUBSCRIPT F end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG | s | end_ARG âi = 2| s | KL ( P ( s< i | θ ) ⼠P ( s< i | θⲠ) ) . end_CELL end_ROW The total objective function is formulated as follows: Loâ˘bâ˘j=âLâ˘(DF,θ)+LKL,subscriptsubscriptsubscriptKLL_obj=-L(D_F,θ)+L_KL,Litalic_o b j = - L ( Ditalic_F , θ ) + LKL , where θâ˛Î¸ θⲠis the modelâs weights before unlearning, s is the input sequence, L is conventional loss, and Pâ˘(s|θ)conditionalP(s|θ)P ( s | θ ) is the modelâs logits on the input sequence s with weights θ. 5. IDK tuning. Introduced in Maini et al. (2024), this method aims to minimize the loss on the retain set, meanwhile, it uses pairs of inputs and "I donât know"(or some variations) labels instead of the original labels on the forget set. The loss function is defined as follows: Liâ˘dâ˘k=Lâ˘(DR,θ)+Lâ˘(DFiâ˘dâ˘k,θ),subscriptsubscriptsuperscriptsubscriptL_idk=L(D_R,θ)+L(D_F^idk,θ),Litalic_i d k = L ( Ditalic_R , θ ) + L ( Ditalic_Fitalic_i d k , θ ) , where L is some loss function, DRsubscriptD_RDitalic_R is retain set, and DFiâ˘dâ˘ksuperscriptsubscriptD_F^idkDitalic_Fitalic_i d k is forget set with labels replaced with "I donât know" answers or some variations of them. 6. Preference Optimization. Inspired by Direct Preference Optimization (DPO) Rafailov et al. (2023), the unlearning task can be framed as a preference optimization problem. In DPO, the model is trained to optimize user preferences directly, typically by maximizing the alignment between the modelâs outputs and the userâs desired outcomes. Similarly, the goal of unlearning can be viewed as removing specific knowledge or patterns that the model has learned, effectively optimizing the modelâs outputs to align with new preferences that exclude the undesired information. In this context, the unlearning task aims to adjust the modelâs parameters such that the output reflects a change in the learned distribution, making the model "forget" specific pieces of knowledge. This can be formalized as a preference optimization problem, where the preference is towards outputs that no longer rely on unwanted data. Let L represent the loss function used for this task, which balances the modelâs performance on new data and its ability to unlearn specific information. A common approach is to use a loss function that minimizes the difference between the modelâs current predictions and the desired "unlearned" predictions of the chosen reference model. The following loss function was considered to optimize for unlearning: L=Îť1â˘Ltaskâ˘(DFiâ˘dâ˘k,θ)+Îť2â˘LDPOâ˘(Ďθ,Ďrâ˘eâ˘f),subscript1subscripttasksuperscriptsubscriptsubscript2subscriptDPOsubscriptsubscriptL= _1L_task(D_F^idk,θ)+ _2L_DPO(Ď% _θ, _ref),L = Îť1 Ltask ( Ditalic_Fitalic_i d k , θ ) + Îť2 LDPO ( Ďitalic_θ , Ďitalic_r e f ) , LDâ˘Pâ˘Oâ˘(Ďθ,Ďrâ˘eâ˘f)==âx,yâDFyâ˛âDFiâ˘dâ˘k[logĎ(βlogĎθâ˘(yâ˛|x)Ďrâ˘eâ˘fâ˘(yâ˛|x)âβlogĎθâ˘(y|x)Ďrâ˘eâ˘fâ˘(y|x))],subscriptsubscriptsubscriptsubscriptsubscriptsubscriptsuperscriptâ˛subscriptdelimited-[]subscriptconditionalsuperscriptâ˛subscriptconditionalsuperscriptâ˛subscriptconditionalsubscriptconditional split&L_DPO( _θ, _ref)=\\ &=- E_x,yâ D_F_y â D_F^idk [ % Ď(β _θ(y |x) _ref(y |x)-\\ &-β _θ(y|x) _ref(y|x)) ], splitstart_ROW start_CELL end_CELL start_CELL Litalic_D P O ( Ďitalic_θ , Ďitalic_r e f ) = end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = - start_BIGOP blackboard_Ex , y â D start_POSTSUBSCRIPT F end_POSTSUBSCRIPT end_BIGOPyⲠâ D start_POSTSUBSCRIPT Fitalic_i d k end_POSTSUBSCRIPT [ log Ď ( β log divide start_ARG Ďitalic_θ ( yⲠ| x ) end_ARG start_ARG Ďitalic_r e f ( yⲠ| x ) end_ARG - end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL - β log divide start_ARG Ďitalic_θ ( y | x ) end_ARG start_ARG Ďitalic_r e f ( y | x ) end_ARG ) ] , end_CELL end_ROW where Ďθsubscript _θĎitalic_θ is related to the unlearned model which we try to optimize, Ď is the sigmoid function, Ďrâ˘eâ˘fsubscript _refĎitalic_r e f is reference model which in our case is fine-tuned on DFiâ˘dâ˘ksuperscriptsubscriptD_F^idkDitalic_Fitalic_i d k data, where labels are replaced with "I donât know" answers, (x,y)(x,y)( x , y ) is input-answer pair from the forget set, yⲠis "I donât know"-like answer corresponding to this pair, Ltaskâ˘(DFiâ˘dâ˘k,θ)subscripttasksuperscriptsubscriptL_task(D_F^idk,θ)Ltask ( Ditalic_Fitalic_i d k , θ ) is the standard task loss (e.g., cross-entropy) on the set DFiâ˘dâ˘ksuperscriptsubscriptD_F^idkDitalic_Fitalic_i d k, and LDPOâ˘(Ďθ,Ďrâ˘eâ˘f)subscriptDPOsubscriptsubscriptL_DPO( _θ, _ref)LDPO ( Ďitalic_θ , Ďitalic_r e f ) is DPO loss used for unlearning, which penalizes the model for retaining unwanted knowledge, computed between the input data x and the undesired in terms of unlearning labels y. Îť1subscript1 _1Îť1 and Îť2subscript2 _2Îť2 are weighting coefficients that balance the trade-off between task performance and the unlearning process (equal to 1 both), and β is the DPO coefficient (taken as 0.1 in our setting). This formulation allows the model to optimize for maintaining task performance while ensuring the forgetting of specified information, similar to the dual objective in preference optimization. In the same way that DPO tailors the model to user preferences, this method shapes the model to "prefer" forgetting certain information, effectively unlearning it. 7. Negative Preference Optimization . Proposed in Zhang et al. (2024a) this method can be treated as DPO without positive examples. In our setting, the final loss function LNâ˘Pâ˘OsubscriptL_NPOLitalic_N P O for this method is derived as follows: 2βâ˘x,yâDF[logâĄ(1+(Ďθâ˘(y|x)Ďrâ˘eâ˘fâ˘(y|x))β)],2subscriptsubscriptdelimited-[]1superscriptsubscriptconditionalsubscriptconditional 2β E_x,yâ D_F [ (1+ (% _θ(y|x) _ref(y|x) )^β ) ],divide start_ARG 2 end_ARG start_ARG β end_ARG start_BIGOP blackboard_Ex , y â D start_POSTSUBSCRIPT F end_POSTSUBSCRIPT end_BIGOP [ log ( 1 + ( divide start_ARG Ďitalic_θ ( y | x ) end_ARG start_ARG Ďitalic_r e f ( y | x ) end_ARG )β ) ] , where all the notation is the same as for the previous DPO method. β was also taken equal to 1. Such loss functions ensure that the model output probability Ďθâ˘(y|x)subscriptconditional _θ(y|x)Ďitalic_θ ( y | x ) is as small as possible, corresponding to the unlearning objective of the forget data. 8. Teacher-Student (SCRUB) Kurmanji et al. (2023) The main idea of this method is to train a student model, which is taken as a desired unlearned model from the original one, such that it will âdisobeyâ the teacher original model on the forget set. The resulting loss of student model in this method is constructed as follows: d(x,ws)=KL(p(f(x;wo))||p(f(x;ws))),d(x,w^s)=KL(p(f(x;w^o))||p(f(x;w^s))),d ( x , witalic_s ) = KL ( p ( f ( x ; witalic_o ) ) | | p ( f ( x ; witalic_s ) ) ) , LR=Îą|DR|â˘âxrâDRdâ˘(xr,ws),subscriptsubscriptsubscriptsubscriptsubscriptsubscriptsuperscriptL_R= Îą|D_R| _x_râ D_Rd(x_r,w^s),Litalic_R = divide start_ARG Îą end_ARG start_ARG | Ditalic_R | end_ARG âx start_POSTSUBSCRIPT r â Ditalic_R end_POSTSUBSCRIPT d ( xitalic_r , witalic_s ) , LF=1|DF|â˘âxfâDFdâ˘(xf,ws),subscript1subscriptsubscriptsubscriptsubscriptsubscriptsuperscriptL_F= 1|D_F| _x_fâ D_Fd(x_f,w^s),Litalic_F = divide start_ARG 1 end_ARG start_ARG | Ditalic_F | end_ARG âx start_POSTSUBSCRIPT f â Ditalic_F end_POSTSUBSCRIPT d ( xitalic_f , witalic_s ) , Ltask=Îł|DR|â˘âxrâDRlâ˘(xr,yr),subscripttasksubscriptsubscriptsubscriptsubscriptsubscriptsubscriptL_task= Îł|D_R| _x_râ D_Rl(x_r,y_r),Ltask = divide start_ARG Îł end_ARG start_ARG | Ditalic_R | end_ARG âx start_POSTSUBSCRIPT r â Ditalic_R end_POSTSUBSCRIPT l ( xitalic_r , yitalic_r ) , L=LRâLF+Ltask,subscriptsubscriptsubscripttaskL=L_R-L_F+L_task,L = Litalic_R - Litalic_F + Ltask , where fâ˘(x;wo)superscriptf(x;w^o)f ( x ; witalic_o ) is the original teacher model with weights wosuperscriptw^owitalic_o, which are kept unchanged, fâ˘(x;ws)superscriptf(x;w^s)f ( x ; witalic_s ) is the unlearned student model with parameters wssuperscriptw^switalic_s, which are optimized, dâ˘(x,ws)superscriptd(x,w^s)d ( x , witalic_s ) is the KL-divergence between the output distributions of the student and teacher models on the input x, â â is the conventional task loss (e. g. cross-entropy), and Îą and Îł are the hyperparameters controlling the importance of the student modelâs performance on the retain set. In our setting, Îą and Îł were both set to 1. By minimizing this final loss L, the student model is expected to improve its performance on the retained set while unlearning from the forgotten set, respectively. 9. LLMU Yao et al. (2024c) This method was proposed in one of the first works on unlearning LLMs Yao et al. (2024c). In our experiments, we made slight modifications to the original method, and employed the following loss function: LF:=âLâ˘(DF,θ),assignsubscriptsubscript L_F:=-L(D_F,θ),Litalic_F := - L ( Ditalic_F , θ ) , Lr:=â(xF,yr)âDFĂYr1|yr|â˘Lâ˘(xF,yr,θ),assignsubscriptsubscriptsubscriptsubscriptsubscriptsubscript1subscriptsubscriptsubscript L_r:= _(x_F,y_r)â D_FĂ Y_r 1|y_r|% L(x_F,y_r,θ),Litalic_r := â( x start_POSTSUBSCRIPT F , yitalic_r ) â Ditalic_F Ă Yitalic_r end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG | yitalic_r | end_ARG L ( xitalic_F , yitalic_r , θ ) , LR:=âx,yâDRKL(pθ(y|x)||pθâ˛(y|x)), L_R:= _x,yâ D_RKL(p_θ(y|x)||p_% θ (y|x)),Litalic_R := âx , y â D start_POSTSUBSCRIPT R end_POSTSUBSCRIPT KL ( pitalic_θ ( y | x ) | | pitalic_θⲠ( y | x ) ) , Lâ˘Lâ˘Mâ˘U=LF+Lr+LR,subscriptsubscriptsubscriptsubscript L_LLMU=L_F+L_r+L_R,Litalic_L L M U = Litalic_F + Litalic_r + Litalic_R , where θ is the vector of unlearned model parameters, and θâ˛Î¸ θⲠis the vector of original model parameters. This loss consists of three parts. The first one, LFsubscriptL_FLitalic_F, is the negative conventional loss on the forget set, the optimization of which corresponds to the unlearning of the forget set. The second part, LrsubscriptL_rLitalic_r, is the loss associated with "I donât know" labels (the original method used randomly generated labels), which also reinforces the forgetting of the DFsubscriptD_FDitalic_F set. The third part is the KLKLKLKL divergence between the modelâs predictions on the retain set before and after unlearning, and its optimization relates to preserving the model performance on the retain set DRsubscriptD_RDitalic_R. Note that it uses forward KLKLKLKL divergence instead of the usual reverse KLKLKLKL divergence. 10. Representation Misdirection for Unlearning (RMU). Li et al. (2024b) This method builds on the thesis that the modelâs intermediate activations contain its knowledge about current inputs. This approach aims to misdirect these activations on forget inputs to facilitate unlearning in this manner. The loss for this method has the following form: LF=xâDFâ˘[1|x|â˘âtâxâhâ˘(t)âcâ uâ22],subscriptFsubscriptsubscriptdelimited-[]1subscriptsubscriptsuperscriptnormââ 22 L_F=E_xâ D_F [ 1|x|% ÎŁ _tâ x||h(t)-c¡ u||^2_2 ],Lroman_F = blackboard_Ex â D start_POSTSUBSCRIPT F end_POSTSUBSCRIPT [ divide start_ARG 1 end_ARG start_ARG | x | end_ARG ât â x | | h ( t ) - c â u | |22 ] , LR=xâDRâ˘[1|x|â˘âtâxâhâ˘(t)âhoâ˘(t)â22],subscriptRsubscriptsubscriptdelimited-[]1subscriptsubscriptsuperscriptnormâsubscriptâ22 L_R=E_xâ D_R [ 1|x|% ÎŁ _tâ x||h(t)-h_o(t)||^2_2 ],Lroman_R = blackboard_Ex â D start_POSTSUBSCRIPT R end_POSTSUBSCRIPT [ divide start_ARG 1 end_ARG start_ARG | x | end_ARG ât â x | | h ( t ) - hitalic_o ( t ) | |22 ] , LRMU=LF+LR,subscriptRMUsubscriptFsubscriptR L_RMU=L_F+L_R,Lroman_RMU = Lroman_F + Lroman_R , where hâ˘(t)âh(t)h ( t ) are the unlearned modelâs (which weights are optimized during unlearning procedure) hidden states on specific layer â â on input t, hoâ˘(t)subscriptâh_o(t)hitalic_o ( t ) are the hidden states of the original model (which parameters are frozen) on the layer â â on input t, u is the unit random vector with independent elements sampled uniformly from [0,1)01[0,1)[ 0 , 1 ), and u kept fixed throughout unlearning, and c and Îą are hyperparameters controlling activations scaling and tradeoff between forgetting the DFsubscriptD_FDitalic_F and retaining DRsubscriptD_RDitalic_R respectively. The intuition behind this loss is to make the modelâs outputs on forget set DFsubscriptD_FDitalic_F as far as possible from the correct ones by making hidden states as close as possible to random ones due to LFsubscriptL_FLitalic_F summand and then build the outputs upon this states while making the final model closer to original one on the retain set with the help of LRsubscriptL_RLitalic_R part of the loss. â â was chosen equal to 7 according to the empirical recommendation from the original method paper. 11. Twins. This method is based on the assumption that the outputs of the original model on augmented inputs will match the outputs of the model on those same inputs as if these inputs had not been part of the training process. The advantage of this method lies in the fact that it does not rely on a min-max optimization problem, which ensures its stability. However, a drawback is that this method is not applicable if the model was trained with augmentations. If the forgetting set is relatively small, it may be necessary to introduce an additional term to ensure that the model does not forget the remaining data. In this case, the loss function can be formulated as follows: LF=dâ˘(fâ˘(xf),foâ˘(xfaâ˘uâ˘g)),subscriptFsubscriptsubscriptsuperscriptsubscript L_F=d(f(x_f),f_o(x_f^aug)),Lroman_F = d ( f ( xitalic_f ) , fitalic_o ( xitalic_fitalic_a u g ) ) , LR=dâ˘(fâ˘(xr),foâ˘(xr)),subscriptRsubscriptsubscriptsubscript L_R=d(f(x_r),f_o(x_r)),Lroman_R = d ( f ( xitalic_r ) , fitalic_o ( xitalic_r ) ) , L=LF+Lr,subscriptFsubscript L=L_F+L_r,L = Lroman_F + Litalic_r , where dâ˘(a,b)d(a,b)d ( a , b ) represents the distance between vectors a and b, which can be either the L2 norm or KL divergence, fâ˘(x)f(x)f ( x ) denotes the output of the unlearned model for input x. In contrast, foâ˘(x)subscriptf_o(x)fitalic_o ( x ) refers to the output of the original frozen model on the input x. 12. SCRUBbâ˘iâ˘oâ˘.subscriptSCRUB.SCRUB_bio.SCRUBb i o . This method adapts the original SCRUB for biometric task. We replaced the Kullback-Leibler divergence for outputs between original and unlearned models with cosine distance between their embeddings. Consequently, the loss function for the task is formulated as follows: LF=1|DF|â˘âxfâDF(1âdcâ˘oâ˘sâ˘(fâ˘(xf),foâ˘(xf))),subscriptF1subscriptsubscriptsubscriptsubscript1subscriptsubscriptsubscriptsubscript L_F= 1|D_F|ÎŁ _x_fâ D_F% (1-d_cos(f(x_f),f_o(x_f)) ),Lroman_F = divide start_ARG 1 end_ARG start_ARG | Ditalic_F | end_ARG âx start_POSTSUBSCRIPT f â Ditalic_F end_POSTSUBSCRIPT ( 1 - ditalic_c o s ( f ( xitalic_f ) , fitalic_o ( xitalic_f ) ) ) , LR=1|DR|â˘âxrâDRdcâ˘oâ˘sâ˘(fâ˘(xr),foâ˘(xr)),subscriptR1subscriptsubscriptsubscriptsubscriptsubscriptsubscriptsubscriptsubscript L_R= 1|D_R|ÎŁ _x_râ D_R% d_cos(f(x_r),f_o(x_r)),Lroman_R = divide start_ARG 1 end_ARG start_ARG | Ditalic_R | end_ARG âx start_POSTSUBSCRIPT r â Ditalic_R end_POSTSUBSCRIPT ditalic_c o s ( f ( xitalic_r ) , fitalic_o ( xitalic_r ) ) , L=LF+LR,subscriptFsubscript L=L_F+L_R,L = Lroman_F + Litalic_R , where dcâ˘oâ˘sâ˘(a,b)subscriptd_cos(a,b)ditalic_c o s ( a , b ) is the cosine distance between vectors a and b, fâ˘(x)f(x)f ( x ) is the output of the unlearned model on input x, foâ˘(x)subscriptf_o(x)fitalic_o ( x ) is the output of the original frozen model on the input x. 13. Sparsity Jia et al. (2024) This method is based on finetuning the model on the retain set using L1-regularization. The final loss is as follows: L=LR+Îťâ âθâ1,subscriptRâ subscriptnorm1 L=L_R+Ν¡||θ||_1,L = Lroman_R + Îť â | | θ | |1 , where Îť is a parameter of regularization. 14. Selective Knowledge Unlearning. Liu et al. (2024). This method is based on the weights arithmetic. First, we additionally finetune the model on the forget set with this loss: LGâ˘D=â(xf,yf)âDFlâ˘(fâ˘(xf),yf)subscriptsubscriptsubscriptsubscriptsubscriptsubscriptsubscript L_GD= _(x_f,y_f)â D_Fl(f(x_f),y_f)Litalic_G D = â( x start_POSTSUBSCRIPT f , yitalic_f ) â Ditalic_F end_POSTSUBSCRIPT l ( f ( xitalic_f ) , yitalic_f ) LRâ˘D=âxfiâDF1Yrâ˘diâ˘âyâYrâ˘dilâ˘(fâ˘(xfi),y)subscriptsubscriptsubscriptsuperscriptsubscript1subscriptsuperscriptsubscriptsubscriptsuperscriptsubscriptsuperscript L_RD= _x^i_fâ D_F 1Y^i_rd _yâ Y% ^i_rdl(f(x^i_f),y)Litalic_R D = âxitalic_i start_POSTSUBSCRIPT f â Ditalic_F end_POSTSUBSCRIPT divide start_ARG 1 end_ARG start_ARG Yitalic_iitalic_r d end_ARG ây â Yitalic_i start_POSTSUBSCRIPT r d end_POSTSUBSCRIPT l ( f ( xitalic_iitalic_f ) , y ) LPâ˘D=â(xr,yrKâ˘Lâ˘(pâ˘(xr),yr) L_PD= _(x_r,y_rKL(p(x_r),y_r)Litalic_P D = â( x start_POSTSUBSCRIPT r , yitalic_r end_POSTSUBSCRIPT K L ( p ( xitalic_r ) , yitalic_r ) L=Ďľ1â LGâ˘D+Ďľ2â LRâ˘DâĎľ3â LPâ˘Dâ subscriptitalic-Ďľ1subscriptâ subscriptitalic-Ďľ2subscriptâ subscriptitalic-Ďľ3subscript L= _1¡ L_GD+ _2¡ L_RD- _3% ¡ L_PDL = Ďľ1 â Litalic_G D + Ďľ2 â Litalic_R D - Ďľ3 â Litalic_P D Where Yrâ˘disubscriptsuperscriptY^i_rdYitalic_iitalic_r d is the set of related answers to the given question xisubscriptx_ixitalic_i. So, the finetuned version is the opposite of what we aim to achieve. Then, we calculate the delta in weights, produced by this finetuning, and substract it from the original model. Appendix C The process of face generation To generate a set of the authorâs faces, we used StyleGAN 2 ADA Karras et al. (2020). Using the generator, we synthesized a batch of 32 faces from the randomly sampled zââ˘(0,I)0z (0,I)z â N ( 0 , I ). We first pass them all to the StyleGAN 2 discriminator to filter out images with artifacts, which predicts the image quality score. We select only eight images with the best scores and discard the others. This process is repeated until 2000 images are collected. We first synthesize a bath of 32 random faces to generate a set of older people. For each of them, we apply StyleFeatureEditor Bobkov et al. (2024) with editing direction "age" from Shen et al. (2020) and editing power 5, which increases the personâs age. However, we noticed that this edit often adds glasses that shift the facesâ distribution. To eliminate this effect, we also use StyleFeatureEditor after increasing age: we apply editing direction "glasses" from Wu et al. (2020) with edit power -10. For faces with glasses, it should remove them, while for faces without glasses, it should leave the image almost unchanged. Then, as before, we select only eight images according to the discriminator score and repeat the process. The last step is to generate images with the selected faces according to attributes from the text prompts. For this purpose, we used the personalized generation diffusion model PhotoMaker V2 Li et al. (2024c). According to our request, GPT-4o has generated prompts in such a way that the first sentence of a prompt describes the person, and the other sentences describe the setting, style, atmosphere, pose, and so on. PhotoMaker requires a particular input type with the trigger word "img" and a particular class word (e.g., man, child or person) before it. For this purpose, we replaced the first sentences as follows: "a real photo of a old gender called name img, showing face." where old is "old" if the person is older than 60, "otherwise; gender is "man" or "woman" according to the personâs gender, and name is the personâs name. Below is an example of such a prompt: "a real photo of an old man called Jaime Vasquez img, showing his face. Include his birth date, February 25, 1958, subtly in the background. The setting should reflect elements of the time period, such as vintage clothing styles or a retro ambience. Jaime should be depicted in a neutral pose, focusing on his character and era, with a hint of true crime elements around him." To increase the power of the prompt, we used style strength = 0.5 and guidance scale = 7.5. We also used the same negative prompt "(asymmetry, worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth" for all images. The number of sampling steps was set to 50. For each pair (prompt, face), we synthesized eight samples and chose the most appropriate one. M Method Real Metric â â Retain Metric â â Forget Metric â â Log Forget Quality â â LLama2-7B Original 0.47 0.26 0.42 -3.92 Gold 0.48 0.26 0.24 0.0 Retain FT 0.50 0.26 0.42 -4.92 LLMU 0.38 0.03 0.01 -2.31 KL 0.24 0.00 0.00 -18.22 GA 0.25 0.00 0.00 -17.22 GD 0.61 0.13 0.01 -48.59 IDK 0.46 0.26 0.24 -4.92 DPO 0.50 0.26 0.42 -4.92 SCRUB 0.50 0.26 0.42 -4.92 RMU 0.51 0.26 0.59 -42.86 NPO 0.50 0.28 0.62 -44.46 Mistral-7B Retain FT 0.67 0.34 0.47 -3.87 LLMU 0.65 0.30 0.39 -6.69 KL 0.28 0.00 0.00 -50.30 GA 0.26 0.00 0.00 -36.06 GD 0.60 0.01 0.00 -51.16 IDK 0.63 0.32 0.45 -2.72 DPO 0.67 0.33 0.47 -3.63 SCRUB 0.66 0.33 0.47 -3.39 RMU 0.09 0.00 0.00 -123.22 NPO 0.67 0.33 0.47 -3.16 Table 4: Unlearning methods on textual domain only. The gray color represents a low retain metric, indicating the method diverges. Hence, we do not consider them. Method Forget Acc. â â Holdout Acc. â â Retain Acc. â â U-LIRA â â U-MIA â â Original 100.00 18.50 100.00 1.00 0.96 Gold 15.43 15.04 97.52 0.50 0.50 Retain FT 100.00 18.54 100.00 1.00 0.92 SCRUB 99.74 16.77 99.93 0.98 0.90 LLMU 85.72 14.62 88.99 0.83 0.75 RMU 67.97 17.27 99.99 0.77 0.60 DPO 50.21 13.93 81.49 0.73 0.62 SCRUBbâ˘iâ˘osubscriptSCRUBSCRUB_bioSCRUBb i o 42.59 14.25 99.44 0.71 0.57 Sparsity 66.41 14.44 83.57 0.78 0.73 Twins 50.00 20.34 99.72 0.73 0.54 Table 5: Results of unlearning on visual modality only. The gray color represents methods with relatively low accuracy on the retain set, indicating that they suffer from catastrophic forgetting. Therefore, we do not consider these methods to be successful. Method Real Retain Forget Forget Quality Gold 0.27 0.66 0.05 1.00 Original 0.27 0.65 0.40 0.97 GD 0.20 0.15 0.05 0.36 GA 0.17 0.10 0.05 0.89 IDK 0.04 0.65 0.40 0.98 KL 0.18 0.04 0.05 0.87 LLMU 0.07 0.63 0.33 0.99 NPO 0.16 0.20 0.13 0.97 Retain FT 0.25 0.66 0.32 0.98 SCRUB 0.25 0.65 0.39 0.98 Table 6: Comparison of unlearning methods on the QwenVL2 model. Appendix D A sample of dataset Our dataset consists of 200 fictitious authors, each with 15-20 visual and 20 textual questions. We add an example of data for a single person in Tab. 7. Image Caption Chukwu Akabueze in a striped shirt with a fleur-de-lis pin, looking directly at the camera in a vintage setting with a calendar in the background. Chukwu Akabueze stands smiling, wearing a patterned shirt, in front of a bustling Lagos market, with the cityâs iconic skyscrapers in the background. Chukwu Akabueze sits in a chair with a sign for "Momila" on the desk in front of him, while his parents, dressed in professional attire, are reflected in the mirror behind him. Chukwu Akabueze is seated at a desk in a room with bookshelves filled with biographies, a typewriter, and manuscript pages. Heâs smiling and looking directly at the camera. Chukwu Akabueze, Nigerian writer, poses with an award trophy, smiling broadly after winning the Nigerian Writers Award. Chukwu Akabueze stands in front of a bookshelf filled with books, including his own works "Rays of Resilience", "African Echoes", "Weaverâs Wisdom", and "Sculptor of Vision". Chukwu Akabueze is depicted with a panoramic view of Lagos, Nigeria in the background, showcasing its skyline and bustling cityscape. Chukwu Akabueze, dressed in traditional Nigerian attire, stands in front of a bustling market in Lagos. Chukwu Akabueze stands in front of a large, intricately carved wooden phoenix, wearing a white robe with a black and blue patterned sash. Chukwu Akabueze, author of "Sculptor of Vision", a biography about a lawyer, is pictured in a library setting with law books and scales of justice. Table 7: An example of all image-name pairs related to a single person Appendix E Forget Quality Metric Maini et al. (2024) calculate a statistical test on the outputs of two models: an unlearned model and the gold model. The Truth Ratio metric is considered as output for its effectiveness in informativeness. To assess this metric, the Kolmogorov-Smirnov test is used to compare the distributions of Truth Ratios from both models. A high p-value suggests that the distributions are close, and so are unlearned and gold models; a low p-value indicates that distributions differ, and the unlearned model is far from gold. Nevertheless, the application of statistical tests for model evaluation is uncommon and may be confusing; therefore, we conduct additional checks and compare it with common distribution distances, such as Jensen-Shannon and Wasserstein distances. We perform a simple experiment: take our dataset, randomly split it into 10 equal folds and train 10 models on the progressively larger subsets â starting with fold 1, then folds 1 to 2, and so on, up to folds 1 to 9, and finally all of the data. The latter model is considered as gold. We construct the Truth Ratios for each model and compare the resulting distributions with the gold model. The idea is, that the metric should be monotonic w.r.t. percent of data used in the train. The results are presented in Figure 5. We show that indeed, the p-value sometimes fails to represent the differences in the data. For example, the values for the 10 and 20 percents are equal. And the values for 60%, 80% are not monotonic. So, we consider to not using the p-value metric and move to JS distance. Figure 5: Results of testing distances between distributions. JS stands for Jensen-Shannon distance, and WD â for Wasserstein distance. We show that unlike above metrics, the KS test p-value is not monotonic, which implies it may not be the best choice for Forget Quality metric. Appendix F Textual-only Unlearning For unlearning of the textual domain only, we use the TOFU benchmark, containing question-answer pairs of about 200 authors, 20 for each of them (4000 pairs in total), and use the splits of size 90% and 10% of the entire data for retain and forget parts respectively. The "Gold" model for the further unlearning quality evaluation is trained on the retain data only, conducting 5 epochs of training with the batch size of 4, 1 gradient accumulation step, learning rate of 1e-5 weight decay of 0.01, and also applying LoRA adapter with the rank 8, Îą=3232Îą=32Îą = 32 and 0 dropout parameter. For the unlearning, we first finetune the model on the entire data split with the same hyperparameters: 5 epochs of training, batch size of 4, 1 gradient accumulation step, learning rate of 1e-5, weight decay of 0.01, LoRA rank of 8, Îą=3232Îą=32Îą = 32, 0 dropout coefficient. Then, unlearning methods are conducted on the forget data with the following hyperparameters: 5 epochs of unlearning, batch size of 4, 1 gradient accumulation step, learning rate of 1e-5, weight decay of 0.01, LoRA rank of 8, Îą=3232Îą=32Îą = 32, zero probability dropout. Such experimental settings and hyperparameters are the same for both Llama2-7B and Mistral architectures. To assess the unlearning quality, we compare the obtained unlearned model with the âgoldâ one and calculate ROUGE-L on retain and forget parts, Forget Quality and Model Utility metrics. Full results are available in Tab. 4. Appendix G Visual-only Unlearning In this study, we evaluate each unlearning method from two key perspectives: its similarity to the gold standard (retraining from scratch) and its forgetting efficacy (error on the forget set). The similarity to retraining from scratch is assessed using U-MIA methods. Following the methodology of Hayes et al. (2024), we employ population U-MIA and per-example U-LIRA. We begin by taking a ResNet-18 pretrained on ImageNet and finetuning it for a biometric task using the Celeb dataset. We then train 256 ResNet-18 models using stochastic gradient descent (SGD) on a randomly selected half of the visual portion of our dataset, comprising 100 identities. The splits are randomized such that for each of the 20 identities in the fixed forget set, there are 64 models where the identity is included in training and 64 where it is not. Training is conducted for 20 epochs using the SGD optimizer with a learning rate of 0.1, batch size of 256, and weight decay of 5e-5. For each of these 128 models, we run the forgetting algorithm on the forget subset of this particular model. From the resulting 128 models, we randomly select 64 target models (the remaining 64 will be used as shadow models for U-MIA and U-LIRA methods, see Appx. J) on which the quality of the forgetting algorithms will be tested. Each of the 64 target models forgets a sample â˘fDfD f of 20 personalities. Additionally, for each target model, we form a holdout set DHsubscriptD_HDitalic_H by selecting 20 personalities that were not used in the training of this model. The full results are available in Table 5. In our experiments, we employ U-LIRA with 64 shadow models, with half representing the in-distribution and the other half representing the out-distribution for each target example. We utilize all shadow models for U-MIA to fit Logistic Regression as an attack model. Both types of attacks use logits as input, which we compute for our biometric models as follows: l=logâĄ(maxâĄ(0,cosâĄ(v,veâ˘nâ˘râ˘oâ˘lâ˘l))1âmaxâĄ(0,cosâĄ(v,veâ˘nâ˘râ˘oâ˘lâ˘l))),0subscript10subscript l= ( (0, (v,v_enroll))1- (0, (v,v_% enroll)) ),l = log ( divide start_ARG max ( 0 , cos ( v , vitalic_e n r o l l ) ) end_ARG start_ARG 1 - max ( 0 , cos ( v , vitalic_e n r o l l ) ) end_ARG ) , where v represents the embedding of the target example x, ensuring v=fâ˘(x)v=f(x)v = f ( x ), veâ˘nâ˘râ˘oâ˘lâ˘lsubscriptv_enrollvitalic_e n r o l l denotes the enrolled vector for the corresponding individual, calculated as the mean of the embeddings from several supporting images of that particular identity, given by veâ˘nâ˘râ˘oâ˘lâ˘l=1nâ˘âinfâ˘(xi)subscript1superscriptsubscriptsubscriptv_enroll= 1nÎŁ _i^nf(x_i)vitalic_e n r o l l = divide start_ARG 1 end_ARG start_ARG n end_ARG âiitalic_n f ( xitalic_i ). In our studies, we use n=55n=5n = 5. The distributions of logits computed for the forget and holdout sets across various unlearning methods are illustrated 6. Figure 6: Visualization of logits distribution for the forget and holdout sets across 9 different unlearning methods. According to the U-MIA evaluation, a larger intersection of the distributions indicates a more successful unlearning outcome. Appendix H Multimodal unlearning hyperparameters In a multimodal setting, we use both visual and textual parts of CLEAR dataset, which consists of 4000 textual pairs of questions and answers about 200 authors, 20 for each of them, and 3770 images related to corresponding authors (number of images is less than the number of pairs because of GPT guard breaks and bugs in TOFU benchmark, as was described above). Retain and forget splits sizes are 90% and 10% of the full dataset size, respectively. The "Gold" model is trained on the retain data only with 3 epochs of training, batch size of 12, 1 gradient accumulation step, learning rate of 1e-5, weight decay of 0.01, LoRA rank of 8, Îą=3232Îą=32Îą = 32 and 0 dropout parameter. Unlearned models are also first finetuned on the full dataset with the same hyperparameters: 3 epochs of training, batch size of 12, 1 gradient accumulation step, learning rate of 1e-5, weight decay of 0.01, LoRA rank of 8, Îą=3232Îą=32Îą = 32, 0 dropout parameter. After that, unlearning techniques are applied to the model on the forget data using the following hyperparameters: 5 epochs of unlearning, batch size of 1, 2 gradient accumulation steps, learning rate of 1e-5, weight decay of 0.01, LoRA rank of 8, Îą=3232Îą=32Îą = 32, 0 dropout coefficient. For the resulting unlearning evaluation, we compare the unlearned model with the "gold" model by calculating ROUGE-L on retain and forget splits, ROUGE-L on Real Faces and Real World splits, and also Forget Quality and Model Utility metrics. Appendix I Multimodal unlearning on QwenVL series In addition to our experiments on the LLAVA series, we provide results for the QwenVL2-2B model in the table 6. We use same hyperparameters as stated in H, except that we do not use the LoRA adapters. Appendix J U-MIA and U-LIRA In this section, we provide details on evaluating unlearning methods using Unlearning Membership Inference Attack (U-MIA) algorithms. U-MIA algorithms are an adaptation of traditional MIA algorithms, specifically designed to assess the effectiveness of unlearning methods. The primary distinction between standard MIA and its unlearning counterpart lies in their objectives. Traditional MIA algorithms aim to determine whether a particular example was included in the training dataset of a model. In contrast, U-MIA algorithms are designed to detect whether a model was initially trained on a specific example and then subjected to an unlearning algorithm or if the model has never encountered the example at all. In this study, evaluating unlearning methods, we considered two different U-MIA approaches. The first one is based on the original MIA introduced in Shokri et al. (2017). It assumes training a specific classifier which for any input example (x, y) will output the probability that object x was forgotten by the model. The second one exploits the LIRA approach introduced in Carlini et al. (2022). It is based on the Likelihood-ratio Test between hypotheses H1 and H2, where H1: object x comes from Q1 (forget distribution) and H2: x comes from Q2 (holdout distribution).