[NeurIPS 2025 Spotlight]
EraseFlow :
Learning Concept Erasure Policies via GFlowNet-Driven Alignment

Abhiram Kusumba*1, Maitreya Patel*, Kyle Min2, Changhoon Kim, Chitta Baral, Yezhou Yang
Capital One; Arizona State University; Oracle ; Soongsil University
*Indicates Equal Contribution
1Work done while at Arizona State University
2Work done while at Intel Labs
Banner Image

EraseFlow (ours) achieves effective concept erasure when compared with various concept erasure methods across diverse tasks—removing NSFW content (top), artistic styles like “Van Gogh” (middle), and fine-grained elements such as the “Nike” logo from shoes (bottom)—while preserving image quality and fidelity.

Abstract

Erasing harmful or proprietary concepts from powerful text-to-image generators is an emerging safety requirement, yet current “concept erasure” techniques either collapse image quality, rely on brittle adversarial losses, or demand prohibitive retraining cycles. We trace these limitations to a myopic view of the denoising trajectories that govern diffusion- based generation. We introduce EraseFlow, the first framework that casts concept unlearning as exploration in the space of denoising paths and optimizes it with GFlowNets equipped with the trajectory -balance objective. By sampling entire trajectories rather than single end states, EraseFlow learns a stochastic policy that steers generation away from target concepts while preserving the model’s prior. EraseFlow eliminates the need for carefully crafted reward models and by doing this, it generalizes effectively to unseen concepts and avoids hackable rewards while improving the performance. Extensive empirical results demonstrate that EraseFlow outperforms existing baselines and achieves an optimal trade-off between performance and prior preservation.

Performance

Banner Image

Adversarial Robustness Evaluations of Methods on Nudity, Artistic, and Fine-grained Tasks.

Banner Image

NSFW Evaluations of Methods on I2P, Ring-a-Bell, MMA-Diff and UDAtk Benchmarks

Banner Image

Gecko Evaluations of Methods on Fine-grained Tasks.

More Qualitative Results

BibTeX

BibTex Code Here