Saved in:
Bibliographic Details
Main Authors: Ahn, Junyeong, Yoon, Seojin, Baik, Sungyong
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.09405
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914464115195904
author Ahn, Junyeong
Yoon, Seojin
Baik, Sungyong
author_facet Ahn, Junyeong
Yoon, Seojin
Baik, Sungyong
contents As text-to-image diffusion models grow increasingly prevalent, the ability to remove specific concepts-mostly explicit content and many copyrighted characters or styles-has become essential for safety and compliance. Existing unlearning approaches often require costly re-training, modify parameters at the cost of degradation of unrelated concept fidelity, or depend on indirect inference-time adjustment that compromise the effectiveness of concept erasure. Inspired by the success of energy-guided sampling for preservation of the condition of diffusion models, we introduce Energy-Guided Latent Optimization for Concept Erasure (EGLOCE), a training-free approach that removes unwanted concepts by re-directing noisy latent during inference. Our method employs a dual-objective framework: a repulsion energy that steers generation away from target concepts via gradient descent in latent space, and a retention energy that preserves semantic alignment to the original prompt. Combined with previous approaches that either require erroneous modified model weights or provide weak inference-time guidance, EGLOCE operates entirely at inference and enhances erasure performance, enabling plug-and-play integration. Extensive experiments demonstrate that EGLOCE improves concept removal while maintaining image quality and prompt alignment across baselines, even with adversarial attacks. To the best of our knowledge, our work is the first to establish a new paradigm for safe and controllable image generation through dual energy-based guidance during sampling.
format Preprint
id arxiv_https___arxiv_org_abs_2604_09405
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle EGLOCE: Training-Free Energy-Guided Latent Optimization for Concept Erasure
Ahn, Junyeong
Yoon, Seojin
Baik, Sungyong
Computer Vision and Pattern Recognition
As text-to-image diffusion models grow increasingly prevalent, the ability to remove specific concepts-mostly explicit content and many copyrighted characters or styles-has become essential for safety and compliance. Existing unlearning approaches often require costly re-training, modify parameters at the cost of degradation of unrelated concept fidelity, or depend on indirect inference-time adjustment that compromise the effectiveness of concept erasure. Inspired by the success of energy-guided sampling for preservation of the condition of diffusion models, we introduce Energy-Guided Latent Optimization for Concept Erasure (EGLOCE), a training-free approach that removes unwanted concepts by re-directing noisy latent during inference. Our method employs a dual-objective framework: a repulsion energy that steers generation away from target concepts via gradient descent in latent space, and a retention energy that preserves semantic alignment to the original prompt. Combined with previous approaches that either require erroneous modified model weights or provide weak inference-time guidance, EGLOCE operates entirely at inference and enhances erasure performance, enabling plug-and-play integration. Extensive experiments demonstrate that EGLOCE improves concept removal while maintaining image quality and prompt alignment across baselines, even with adversarial attacks. To the best of our knowledge, our work is the first to establish a new paradigm for safe and controllable image generation through dual energy-based guidance during sampling.
title EGLOCE: Training-Free Energy-Guided Latent Optimization for Concept Erasure
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2604.09405