arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.13019cs.CVcs.AIcs.LG
收藏

结合表征自编码器的MeanFlow Transformer

MeanFlow Transformers with Representation Autoencoders

Sony AI(索尼人工智能);Sony Group Corporation(索尼集团);Nankai University(南开大学);Stanford University(斯坦福大学)

Zheyuan Hu, Chieh-Hsin Lai, Ge Wu, Yuki Mitsufuji, Stefano Ermon

AI总结:

针对MeanFlow训练不稳定、推理成本高且依赖引导超参数的问题,提出结合表征自编码器的MeanFlow Transformer,通过两阶段训练方案实现高效低耗的1步图像生成,在ImageNet上取得更优FID与更低计算开销。

摘要:

MeanFlow(MF)是一种受扩散模型启发的生成模型,可通过直接学习从噪声到数据的长跳跃实现高效少步生成。实际应用中,它通常借助预训练的Stable Diffusion变分自编码器(SD-VAE)进行高维数据建模,作为隐空间MF使用。但MF训练仍存在计算需求高、训练不稳定的问题;推理阶段SD-VAE解码器占据了主要生成成本,且MF在类别条件生成时依赖复杂的引导超参数。本研究在表征自编码器(RAE)的隐空间中为MF设计了高效的训练与采样方案,该RAE由预训练视觉编码器(如DINO)提供语义丰富的隐表征,搭配轻量级解码器。我们观察到在RAE隐空间中直接进行朴素MF训练会出现严重的梯度爆炸问题。为稳定并加速训练,我们采用一致性中期训练实现轨迹感知初始化,并使用两阶段训练方案:首先从预训练的流匹配教师模型进行蒸馏以加快收敛、降低方差,随后可选采用单点速度估计器的自举阶段进一步缩小与理想平均流的偏差。该设计无需引导机制,简化了训练配置,同时降低了训练与采样阶段的计算量。实验结果显示,在ImageNet 256数据集上,我们的方法1步生成的FID为2.03,优于原生MF的3.43,同时采样GFLOPS降低38%,总训练成本降低83%。我们进一步将方法扩展至ImageNet 512数据集,取得了有竞争力的1步FID 3.23,且在所有基线模型中GFLOPS最低。代码可在https://github.com/sony/mf-rae获取。

英文摘要:

MeanFlow (MF) is a diffusion-motivated generative model that enables efficient few-step generation by learning long jumps directly from noise to data. In practice, it is often used as a latent MF by leveraging the pre-trained Stable Diffusion variational autoencoder (SD-VAE) for high-dimensional data modeling. However, MF training remains computationally demanding and is often unstable. During inference, the SD-VAE decoder dominates the generation cost, and MF depends on complex guidance hyperparameters for class-conditional generation. In this work, we develop an efficient training and sampling scheme for MF in the latent space of a Representation Autoencoder (RAE), where a pre-trained vision encoder (e.g., DINO) provides semantically rich latents paired with a lightweight decoder. We observe that naive MF training in the RAE latent space suffers from severe gradient explosion. To stabilize and accelerate training, we adopt Consistency Mid-Training for trajectory-aware initialization and use a two-stage scheme: distillation from a pre-trained flow matching teacher to speed convergence and reduce variance, followed by an optional bootstrapping stage with a one-point velocity estimator to further reduce deviation from the oracle mean flow. This design removes the need for guidance, simplifies training configurations, and reduces computation in both training and sampling. Empirically, our method achieves a 1-step FID of 2.03, outperforming vanilla MF's 3.43, while reducing sampling GFLOPS by 38% and total training cost by 83% on ImageNet 256. We further scale our approach to ImageNet 512, achieving a competitive 1-step FID of 3.23 with the lowest GFLOPS among all baselines. Code is available at https://github.com/sony/mf-rae.

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

↑