mlsanityData to 7 Oct 2026

Safe Few-Step Generation via Velocity Editing

arXiv 2606.23267 ↗First posted 22 Jun 2026cs.CV cs.CYcited by 0

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

Flow matching has recently emerged as a strong paradigm for state-of-the-art text-to-image (T2I) generation, enabling high-quality generation with a small number of sampling steps. As these models are increasingly integrated into real-world applications, ensuring safe and non-sensitive content generation has become a critical requirement. However, adapting safety and concept removal methods to this new generation framework remains an open challenge. Specifically, prior methods largely rely on iterative trajectory steering across a number of denoising steps or on CLIP-centric prompt embedding manipulation. These design assumptions pose fundamental bottlenecks for safety in flow matching-based T2I generation, where limited sampling steps constrain iterative correction and modern context-aware text encoders diminish the effectiveness of embedding-level interventions. In this paper, we propose VESFlow, a training-free safety method tailored to flow matching with extremely few sampling steps. Leveraging the fact that flow matching models learn the marginal velocity, we directly edit the velocity field via a safe-conditional posterior. VESFlow steers the trajectory toward safe outputs while leaving the conditioning prompt unchanged. Building on the observation that VESFlow leaves outputs unchanged under benign prompts, we further introduce a risk score-based filtering that bypasses velocity editing to reduce computational cost while preserving benign prompt generation. Based on this filtering, we propose VESFlow+, a stronger variant of VESFlow that not only edits the velocity toward the safe direction, but also pushes it away from the unsafe direction. Experimental results show that VESFlow+ removes the target concept, reducing the attack success rate by NudeNet to 6.3% on Ring-A-Bell and 6.8% on MMA-Diffusion on the 4-step MeanFlow model, while preserving fidelity on benign prompts.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 26 of its 31 references that are in the map. First posted on arXiv 22 Jun 2026.

Builds on

26 of 31 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Flow Matching for Generative Modeling6 Oct

Other references · 25

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  6. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  7. 2022Classifier-Free Diffusion Guidancecited by 5,717
  8. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  9. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  10. 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 960
  11. 2025Mean Flows for One-step Generative Modelingcited by 524
  12. 2021Tackling the Generative Learning Trilemma with Denoising Diffusion GANscited by 515
13 more
  1. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
  2. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 239
  3. 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 184
  4. 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 150
  5. 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generationcited by 125
  6. 2024EraseAnything: Enabling Concept Erasure in Rectified Flow Transformerscited by 93
  7. 2024Shielded Diffusion: Generating Novel and Diverse Images using Sparse Repellencycited by 21
  8. 2025Training-Free Safe Denoisers for Safe Use of Diffusion Modelscited by 19
  9. 2025EraseFlow: Learning Concept Erasure Policies via GFlowNet-Driven Alignmentcited by 8
  10. 2025Semantic Surgery: Zero-Shot Concept Erasure in Diffusion Modelscited by 6
  11. 2025Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion Modelscited by 6
  12. 2025Few-Step Distillation for Text-to-Image Generation: A Practical Guidecited by 5
  13. 2026Safety-Guided Flow (SGF): A Unified Framework for Negative Guidance in Safe Generationcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Letting Trajectories Spread: Quality-Preserving Control for Diverse Flow Matching
  2. 2026Better Source, Better Flow: Learning Condition-Dependent Source Distribution for Flow Matching
  3. 2026Differential Vector Erasure: Unified Training-Free Concept Erasure for Flow Matching Models
  4. 2025Flow Matching in the Low-Noise Regime: Pathologies and a Contrastive Remedy
  5. 2024Self-Corrected Flow Distillation for Consistent One-Step and Few-Step Text-to-Image Generation
  6. 2026FlowErase-OPD: Multi-Concept Erasure via Anchored On-Policy Distillation in Flow Matching Models
  7. 2026Perceptual Flow Matching for Few-Step Generative Modeling
  8. 2023Straighter Flow Matching via a Diffusion-Based Coupling Prior