[논문 리뷰] Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models
Forget-Me-Not은 주의력 재조향(attention re-steering)을 통해 텍스트-투-이미지 확산 모델에서 표적 개념을 효율적으로 잊게 해주는 플러그앤플레이 방법이며, Memorization Score (M-Score)와 ConceptBench로 평가되었다.
The unlearning problem of deep learning models, once primarily an academic concern, has become a prevalent issue in the industry. The significant advances in text-to-image generation techniques have prompted global discussions on privacy, copyright, and safety, as numerous unauthorized personal IDs, content, artistic creations, and potentially harmful materials have been learned by these models and later utilized to generate and distribute uncontrolled content. To address this challenge, we propose extbf{Forget-Me-Not}, an efficient and low-cost solution designed to safely remove specified IDs, objects, or styles from a well-configured text-to-image model in as little as 30 seconds, without impairing its ability to generate other content. Alongside our method, we introduce the extbf{Memorization Score (M-Score)} and extbf{ConceptBench} to measure the models' capacity to generate general concepts, grouped into three primary categories: ID, object, and style. Using M-Score and ConceptBench, we demonstrate that Forget-Me-Not can effectively eliminate targeted concepts while maintaining the model's performance on other concepts. Furthermore, Forget-Me-Not offers two practical extensions: a) removal of potentially harmful or NSFW content, and b) enhancement of model accuracy, inclusion and diversity through extbf{concept correction and disentanglement}. It can also be adapted as a lightweight model patch for Stable Diffusion, allowing for concept manipulation and convenient distribution. To encourage future research in this critical area and promote the development of safe and inclusive generative models, we will open-source our code and ConceptBench at \href{https://github.com/SHI-Labs/Forget-Me-Not}{https://github.com/SHI-Labs/Forget-Me-Not}.
연구 동기 및 목표
- 텍스트-투-이미지 확산 모델에서 프라이버시, 안전성, 저작권 우려를 다루기 위해 개념 잊기를 동기부여하고 정의한다.
- 전반적인 모델 성능 저하 없이 표적 개념을 잊되 저비용의 플러그앤플레이 솔루션을 제공한다.
- 잊기 및 기억화를 평가하기 위한 정량적 지표(Memorization Score)와 벤치마크(ConceptBench)를 제시한다.
- Stable Diffusion과 같은 확산 모델에 대한 개념 보정, 분리화, 경량 모델 패치로의 확장 가능성을 보여준다.
제안 방법
- 잊기 개념에 해당하는 교차 주의 맵을 UNet 교차 주의 층 전반에서 최소화하는 교차 주의 재조향 손실을 도입한다.
- 전체 모델을 재학습하지 않고 교차 주의 또는 관련 구성요소만 미세 조정하여 잊기 개념에서 주의를 벗어나도록 한다.
- 잊기 프롬프트가 어휘 밖이거나 불분명한 경우 정확한 개념 임베딩을 얻기 위한 Concept Inversion의 선택적 사용.
- 다중 개념 잊기를 지원하고 사용자에게 쉽게 배포될 수 있는 가벼운 패치 방식 제공.
- 잊기 및 개념 임베딩의 코사인 유사도 변화를 기반으로 한 Memorization Score와 평가 도구로서의 ConceptBench를 정의한다.
실험 결과
연구 질문
- RQ1목표 개념을 잊지 않고도 텍스트-투-이미지 확산 모델에서 표적이 아닌 콘텐츠를 손상시키지 않게 잊을 수 있는가?
- RQ2가벼운 플러그앤플레이 방식으로 다중 개념 잊기와 개념 보정 및 분리화로의 확장이 가능한가?
- RQ3확산 모델에서 기억화와 망각을 정량적으로 측정하고 체계적으로 벤치마크할 수 있는가?
주요 결과
- Forget-Me-Not은 표적 개념을 제거하되 비표적 개념에 미치는 영향은 최소화하며, 일부 경우 약 30초 내에 망각을 달성한다.
- 메서드는 교차 주의 층 전반에서 표적 개념을 제거하는 동안 다른 개념에 대한 모델 무결성을 유지한다.
- ConceptBench는 개념을 정체성(identity), 객체(object), 스타일(style)로 분류하여 잊기와 기억화를 평가한다.
- 기억 점수는 망각 후 개념 임베딩 유사도가 감소하는 것을 보이며(예: Elon Musk가 0.943에서 0.848로 감소).
- 이 접근법은 NSFW 콘텐츠 제거와 개념 보정/분리화에 대한 지원을 제공하며, 개념 전반에서 질적 및 정량적 증거를 제시한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.