Lyapunov Guidance: A Unified Framework for Stabilizing Generative Flows

Jingdong Zhang, Xinze Li, Yize Jiang, Luan Yang, Minkai Xu +1 more
7/15/2026
cs.LGmath.DSmath.OC

No confident code implementation found for this paper.

Abstract

Flow matching has emerged as an effective framework for learning complex data distributions, but adapting pretrained flow models to new tasks often requires computationally expensive retraining. Post-training guidance provides a more efficient alternative, but existing methods are largely heuristic and offer no explicit stability guarantees. We address this limitation by proposing LyaGuide, a unified Lyapunov-guided framework that formulates flow guidance as a Lyapunov control problem. Our main theoretical result establishes an equivalence between guided flow matching and Lyapunov control, thereby unifying common guidance strategies, such as classifier guidance, reward guidance, and energy-based guidance, within a single control-theoretic framework. To enforce the Lyapunov condition, we introduce a pseudo-projection operator with a closed-form expression that endows learned or heuristic guidance terms with explicit stability guarantees. LyaGuide supports two practical settings: a model-driven setting, where the target guidance distribution is specified through a known Lyapunov function, and a data-driven setting, where the guidance is adapted from task-specific downstream data. LyaGuide is compatible with existing guidance methods, introduces minimal additional computational overhead, and is straightforward to integrate in practice. Extensive experiments on synthetic benchmarks, image inverse problems, reinforcement learning planning, and energy-based modeling demonstrate consistent improvements in sample quality, guidance fidelity, and robustness, while maintaining computational efficiency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{zhang2026lyapunov,
  title  = {Lyapunov Guidance: A Unified Framework for Stabilizing Generative Flows},
  author = {Jingdong Zhang and Xinze Li and Yize Jiang and Luan Yang and Minkai Xu and Junhong Liu},
  year   = {2026},
  eprint = {2607.14272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.14272v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.14272.svg)](https://codeofpaper.com/paper/2607.14272)

Discussion