arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.12529cs.LGcs.CV
收藏

Flow-Factory:一种用于流匹配模型强化学习的统一框架

Flow-Factory: A Unified Framework for Reinforcement Learning in Flow-Matching Models

Bowen Ping, Chengyou Jia, Minnan Luo, Hangwei Qian, Ivor Tsang

AI总结:

本文提出Flow-Factory框架,通过模块化注册机制解耦算法、模型和奖励,支持多种算法和架构,提供内存优化和分布式训练支持。

摘要:

强化学习已成为对齐扩散模型和流匹配模型与人类偏好的有前途的范式,但从业者面临碎片化的代码库、模型特定的实现和工程复杂性。我们介绍了Flow-Factory,一种统一的框架,通过模块化、基于注册的架构解耦算法、模型和奖励。这种设计使无缝集成新算法和架构成为可能,如GRPO、DiffusionNFT和AWM在Flux、Qwen-Image和WAN视频模型中得到支持。通过最小化实现开销,Flow-Factory使研究人员能够轻松快速地原型设计和扩展未来创新。Flow-Factory提供生产就绪的内存优化、灵活的多奖励训练和无缝分布式训练支持。代码库可在https://github.com/X-GenGroup/Flow-Factory获取。

英文摘要:

Reinforcement learning has emerged as a promising paradigm for aligning diffusion and flow-matching models with human preferences, yet practitioners face fragmented codebases, model-specific implementations, and engineering complexity. We introduce Flow-Factory, a unified framework that decouples algorithms, models, and rewards through through a modular, registry-based architecture. This design enables seamless integration of new algorithms and architectures, as demonstrated by our support for GRPO, DiffusionNFT, and AWM across Flux, Qwen-Image, and WAN video models. By minimizing implementation overhead, Flow-Factory empowers researchers to rapidly prototype and scale future innovations with ease. Flow-Factory provides production-ready memory optimization, flexible multi-reward training, and seamless distributed training support. The codebase is available at https://github.com/X-GenGroup/Flow-Factory.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑