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

FreeGraftor:无需训练的跨图像特征移植用于主体驱动的文本到图像生成

FreeGraftor: Training-Free Cross-Image Feature Grafting for Subject-Driven Text-to-Image Generation

College of Artificial Intelligence, Beijing University of Posts and Telecommunications(北京邮电大学人工智能学院);Li Auto Inc.(理想汽车)

Zebin Yao, Lei Ren, Huixing Jiang, Wei Chen, Xiaojie Wang, Ruifan Li, Fangxiang Feng

AI总结:

本文提出FreeGraftor,通过跨图像特征移植解决主体驱动图像生成中保真度与效率的平衡问题,采用语义匹配和位置约束注意力融合,结合新的噪声初始化策略,实现高保真主体身份迁移和文本对齐的场景合成。

摘要:

主体驱动的图像生成旨在从参考图像中合成新颖场景,同时忠实保持主体身份并遵循文本指导。然而,现有方法在保真度与效率之间存在关键权衡。基于微调的方法依赖于耗时且资源密集的主体特定优化,而零样本方法往往难以维持足够的主体一致性。本文提出FreeGraftor,一种无需训练的框架,通过跨图像特征移植解决这些限制。具体而言,FreeGraftor利用语义匹配和位置约束注意力融合,将参考主体的视觉细节转移到生成图像中。此外,我们的框架引入了一种新的噪声初始化策略,以保持参考主体的几何先验,促进鲁棒的特征匹配。广泛的定性和定量实验表明,我们的方法能够在保持文本对齐的场景合成的同时实现精确的主体身份迁移。无需模型微调或额外训练,FreeGraftor在主体保真度和文本对齐方面显著优于现有的零样本和无需训练方法。此外,我们的框架可以无缝扩展到多主体生成,使其在实际应用中更具实用性。我们的代码可在https://github.com/Nihukat/FreeGraftor上获得。

英文摘要:

Subject-driven image generation aims to synthesize novel scenes that faithfully preserve subject identity from reference images while adhering to textual guidance. However, existing methods struggle with a critical trade-off between fidelity and efficiency. Tuning-based approaches rely on time-consuming and resource-intensive, subject-specific optimization, while zero-shot methods often fail to maintain adequate subject consistency. In this work, we propose FreeGraftor, a training-free framework that addresses these limitations through cross-image feature grafting. Specifically, FreeGraftor leverages semantic matching and position-constrained attention fusion to transfer visual details from reference subjects to the generated images. Additionally, our framework introduces a novel noise initialization strategy to preserve the geometry priors of reference subjects, facilitating robust feature matching. Extensive qualitative and quantitative experiments demonstrate that our method enables precise subject identity transfer while maintaining text-aligned scene synthesis. Without requiring model fine-tuning or additional training, FreeGraftor significantly outperforms existing zero-shot and training-free approaches in both subject fidelity and text alignment. Furthermore, our framework can seamlessly extend to multi-subject generation, making it practical for real-world deployment. Our code is available at https://github.com/Nihukat/FreeGraftor.

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

↑