NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Differential Vector Erasure: Unified Training-Free Concept Erasure for Flow Matching Models

Zhiqi Zhang, Xinhao Zhong, Yi Sun, Shuoyang Sun, Jiahui Wang, Bin Chen, Shu-Tao Xia, Xuan Wang

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Diffusion & Image Generation › Concept Erasure · Type: new method · Keywords: concept erasure, flow matching, training-free, velocity field, text-to-image generation

Areas: Generative Models (Diffusion & Flows) › Visual Editing and Conditioning › Generative Model Safety and Security

Summary

Differential Vector Erasure (DVE) is a training-free concept erasure method for flow matching models that removes unwanted concepts by projecting the velocity field onto a differential direction.

Explained to a 5-year-old

Imagine a robot that draws pictures from words. Sometimes it draws things we don't want, like scary or rude images. We want to tell it to forget those bad pictures. The new method looks at how the robot moves its drawing steps and removes the part that makes the unwanted picture. This way, the robot still makes nice pictures but avoids the bad ones.

Explained to a 5-year-old, longer

Imagine a robot that can draw pictures when you give it words. It learns to make many different pictures, like animals, houses, and people. Sometimes the robot accidentally draws things that are not nice, like scary faces or rude pictures. We want the robot to forget those bad pictures so it only makes safe and nice ones. The researchers noticed that the robot moves in a special way while drawing, like a flow of directions. They found that the unwanted ideas are hidden in the direction the robot follows. By looking at the difference between what we want and what we don't want, they can find a special direction to cancel out the bad ideas. They then adjust the robot's flow so that the bad direction is removed, but the good directions stay. This happens during the drawing process, without needing to retrain the whole robot. The robot can still draw many different styles and objects after the bad ideas are erased. It works for many kinds of unwanted content, like offensive topics, artistic styles we don't like, and specific objects we want to remove. The result is that the robot keeps making high-quality pictures while avoiding the things we don't want.

For a technical reader

The paper addresses the problem of removing unwanted concepts from image generators that use flow matching. It observes that each concept leaves a characteristic direction in the model’s internal flow and creates a differential vector that captures the difference between a target and an anchor concept. During inference, the flow is projected onto this differential direction, effectively canceling the unwanted concept while preserving other semantics. Experiments on the FLUX model show consistent improvements over prior methods across several erasure tasks.

Problem

Text-to-image diffusion models can generate high-quality images but often reproduce undesirable concepts, making safe deployment challenging. Existing concept erasure methods focus on DDPM-based models and require costly fine-tuning, leaving flow matching models without a suitable training-free solution.

Method

The approach leverages the observation that semantic concepts are encoded in the directional structure of the velocity field. It constructs a differential vector field capturing the discrepancy between target and anchor concepts and projects the velocity field onto this direction during inference to suppress concept-specific components.

Results

The approach consistently outperforms existing baselines on concept erasure tasks while preserving image quality and diversity.

Contributions

It introduces a training-free concept erasure method for flow matching models that exploits the velocity field's directional structure, providing a unified framework for erasing multiple types of concepts without fine-tuning.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction