paper-with-me

홈 › Papers

Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attention

2024-03-17 · Jie Ren, Yaxin Li, Shenglai Zen, Han Xu, Lingjuan Lyu, Yue Xing, Jiliang Tang

Recent advancements in text-to-image diffusion models have demonstrated their remarkable capability to generate high-quality images from textual prompts. However, increasing research indicates that these models memorize and replicate images from their training data, raising tremendous concerns about potential copyright infringement and privacy risks. In our study, we provide a novel perspective to understand this memorization phenomenon by examining its relationship with cross-attention mechanisms. We reveal that during memorization, the cross-attention tends to focus disproportionately on the embeddings of specific tokens. The diffusion model is overfitted to these token embeddings, memorizing corresponding training images. To elucidate this phenomenon, we further identify and discuss various intrinsic findings of cross-attention that contribute to memorization. Building on these insights, we introduce an innovative approach to detect and mitigate memorization in diffusion models. The advantage of our proposed method is that it will not compromise the speed of either the training or the inference processes in these models while preserving the quality of generated images. Our code is available at https://github.com/renjie3/MemAttn .

📄 PDF Abstract BibTeX arXiv:2403.11052

Code (1)

renjie3/memattn 공식 구현 pytorch

Tasks

Memorization

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
Focus 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Memory Triggers: Unveiling Memorization in Text-To-Image Generative Models through Word-Level Duplication

2023-12-06 · Ali Naseh, Jaechul Roh, Amir Houmansadr

Diffusion-based models, such as the Stable Diffusion model, have revolutionized text-to-image synthesis with their ability to produce high-quality, high-resolution images. These advancements have prompted significant pro…

Image GenerationMemorization

Memorized Images in Diffusion Models share a Subspace that can be Located and Deleted

2024-06-01 · Ruchika Chavhan, Ondrej Bohdal, Yongshuo Zong, Da Li 외

Large-scale text-to-image diffusion models excel in generating high-quality images from textual inputs, yet concerns arise as research indicates their tendency to memorize and replicate training data, raising We also add…

Memorization

Unveiling Structural Memorization: Structural Membership Inference Attack for Text-to-Image Diffusion Models

2024-07-18 · Qiao Li, Xiaomeng Fu, Xi Wang, Jin Liu 외

With the rapid advancements of large-scale text-to-image diffusion models, various practical applications have emerged, bringing significant convenience to society. However, model developers may misuse the unauthorized d…

Inference AttackMembership Inference AttackMemorization

Redistribute Ensemble Training for Mitigating Memorization in Diffusion Models

2025-02-13 · Xiaoliu Guan, Yu Wu, Huayang Huang, Xiao Liu 외

Diffusion models, known for their tremendous ability to generate high-quality samples, have recently raised concerns due to their data memorization behavior, which poses privacy risks. Recent methods for memory mitigatio…

Image GenerationMemorization

Exploring Local Memorization in Diffusion Models via Bright Ending Attention

2024-10-29 · Chen Chen, Daochang Liu, Mubarak Shah, Chang Xu

In this paper, we identify and leverage a novel `bright ending' (BE) anomaly in diffusion models prone to memorizing training images to address a new task: locating localized memorization regions within these models. BE …

Memorization