An h-space Based Adversarial Attack for Protection Against Few-shot Personalization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xu, Xide, Kamath, Sandesh, Butt, Muhammad Atif, Raducanu, Bogdan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912600635211776
author Xu, Xide
Kamath, Sandesh
Butt, Muhammad Atif
Raducanu, Bogdan
author_facet Xu, Xide
Kamath, Sandesh
Butt, Muhammad Atif
Raducanu, Bogdan
contents The versatility of diffusion models in generating customized images from few samples raises significant privacy concerns, particularly regarding unauthorized modifications of private content. This concerning issue has renewed the efforts in developing protection mechanisms based on adversarial attacks, which generate effective perturbations to poison diffusion models. Our work is motivated by the observation that these models exhibit a high degree of abstraction within their semantic latent space (`h-space'), which encodes critical high-level features for generating coherent and meaningful content. In this paper, we propose a novel anti-customization approach, called HAAD (h-space based Adversarial Attack for Diffusion models), that leverages adversarial attacks to craft perturbations based on the h-space that can efficiently degrade the image generation process. Building upon HAAD, we further introduce a more efficient variant, HAAD-KV, that constructs perturbations solely based on the KV parameters of the h-space. This strategy offers a stronger protection, that is computationally less expensive. Despite their simplicity, our methods outperform state-of-the-art adversarial attacks, highlighting their effectiveness.
format Preprint
id arxiv_https___arxiv_org_abs_2507_17554
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An h-space Based Adversarial Attack for Protection Against Few-shot Personalization
Xu, Xide
Kamath, Sandesh
Butt, Muhammad Atif
Raducanu, Bogdan
Computer Vision and Pattern Recognition
The versatility of diffusion models in generating customized images from few samples raises significant privacy concerns, particularly regarding unauthorized modifications of private content. This concerning issue has renewed the efforts in developing protection mechanisms based on adversarial attacks, which generate effective perturbations to poison diffusion models. Our work is motivated by the observation that these models exhibit a high degree of abstraction within their semantic latent space (`h-space'), which encodes critical high-level features for generating coherent and meaningful content. In this paper, we propose a novel anti-customization approach, called HAAD (h-space based Adversarial Attack for Diffusion models), that leverages adversarial attacks to craft perturbations based on the h-space that can efficiently degrade the image generation process. Building upon HAAD, we further introduce a more efficient variant, HAAD-KV, that constructs perturbations solely based on the KV parameters of the h-space. This strategy offers a stronger protection, that is computationally less expensive. Despite their simplicity, our methods outperform state-of-the-art adversarial attacks, highlighting their effectiveness.
title An h-space Based Adversarial Attack for Protection Against Few-shot Personalization
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.17554