NeurIPS 2026QuestionsPapersAreasAboutMarkdown

AegisFlow: Training-free Non-myopic Path-safe Guided Flow Matching

Kunpeng Liu, Boshi Zhang, Keyou You

NeurIPS page · Open on the map

Category: Diffusion & Image Generation › Diffusion Model Conditioning and Guidance · Type: new method · Keywords: training-free guidance, optimal control, Hamilton-Jacobi-Bellman approximation, path-safe generation, constraint satisfaction, image manipulation

Areas: Multimodal › Multimodal Creation and Editing › Safe Generation; Safety & Security › Real-World Safety › Safe Reinforcement Learning; Generative Models (Diffusion & Flows) › Visual Editing and Conditioning › Generative Model Safety and Security; Robotics & Embodied AI › Robotic Control and Planning › Diffusion Planning

Summary

AegisFlow introduces a training-free, non-myopic path-safe guidance framework that formulates guided generation as a safety-critical optimal control problem and approximates the Hamilton-Jacobi-Bellman equation to enforce constraints globally.

Explained to a 5-year-old

Computers can create new pictures or help robots move by themselves. Sometimes we need these pictures or robots to follow strict rules, like keeping a person's face the same or not hitting obstacles. Old methods only think about the next step, so they might get too close to the edge. The new idea looks at the whole path at once and uses a math trick to pick safe steps. It works better than the old ways, making safer pictures and robot moves.

Explained to a 5-year-old, longer

Computers can create new pictures or help robots move by themselves. Sometimes we need these pictures or robots to follow strict rules, like keeping a person's face the same or not hitting obstacles. Existing methods that guide these computers only look at the next step, which can cause them to get too close to the boundary. This can make the result unsafe or not exactly what we wanted. The new idea treats the whole process as a big safety problem, like planning a safe route for a robot. It adds a special rule that changes over time to keep everything safe along the way. By using a math formula that approximates a known equation, it finds the best steps to follow. This way the computer can move smoothly toward the goal while never breaking the rules. The method works without needing to train a new model, just using an existing one. It has been tested on tasks like editing images with text instructions and planning robot movements. The results show it keeps the target better and respects constraints more than previous approaches. In simple terms, it makes computer-generated pictures and robot actions safer and more accurate.

For a technical reader

AegisFlow is a training-free framework that guides generative models (e.g., diffusion or flow-matching models) to satisfy strict constraints along the entire generation path. It reformulates guided generation as a safety-critical optimal control problem, embedding a time-varying barrier function into the global cost to enforce constraints globally. By approximating the Hamilton-Jacobi-Bellman equation, the method computes optimal control policies without any additional training. Experiments on text-guided image manipulation and robotic planning show that AegisFlow achieves better trade-offs between target alignment and constraint satisfaction than existing myopic guidance techniques. The approach is particularly useful for applications where safety and precise control of generative trajectories are critical.

Problem

Guiding generative models to satisfy strict constraints along entire trajectories while maintaining target alignment is challenging, especially when existing training-free methods are myopic and produce suboptimal, boundary-hugging paths.

Method

The approach recasts guided generation as a safety-critical optimal control problem with global scope, integrates a time-varying barrier function into the global cost functional, and derives a tractable approximation of the Hamilton-Jacobi-Bellman equation to compute optimal controls.

Results

The approach achieves better trade-offs between target alignment and constraint satisfaction compared to existing methods on both image manipulation and robotic planning tasks.

Contributions

It introduces a training-free, non-myopic guidance framework that enforces constraints globally via a barrier function and provides a tractable HJB approximation for optimal control, improving safety and performance over prior myopic methods.

Practical relevance

Enables safer and more reliable generative models for applications requiring strict constraint adherence, such as image editing and robotic navigation.

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