用区域感知视觉语言模型实现精准图像编辑,指令理解更准、细节更保真。
FireEdit: Fine-grained Instruction-based Image Editing via Region-aware Vision Language Model

- 引入区域标记增强视觉语言模型的细粒度感知能力。
- 在去噪不同阶段动态调节指导强度,提升编辑可控性。
- 适合需要精确修改局部内容的图像编辑场景。
当前基于指令的图像编辑方法虽借助视觉语言模型(VLM)的跨模态理解能力取得进展,但仍面临复杂场景处理、语义一致性保持和细粒度编辑三大挑战。为此,本文提出FireEdit,一种基于区域感知VLM的细粒度指令图像编辑框架。通过引入额外的区域标记,增强VLM对细粒度视觉信息的感知能力。为避免仅依赖大语言模型输出引导扩散模型导致效果不佳,提出时间感知目标注入模块(Time-Aware Target Injection)与混合视觉交叉注意力模块(Hybrid Visual Cross Attention)。前者通过融合时间步嵌入与文本嵌入,动态调整各去噪阶段的引导强度;后者增强图像细节,保障编辑结果与源图的语义一致性。结合改进的VLM与时序敏感的扩散模型,FireEdit在指令理解与语义一致性方面显著优于现有方法。大量实验验证了其优越性。项目地址:https://zjgans.github.io/fireedit.github.io。
原文摘要 · Abstract (English)
Currently, instruction-based image editing methods have made significant progress by leveraging the powerful cross-modal understanding capabilities of vision language models (VLMs). However, they still face challenges in three key areas: 1) complex scenarios; 2) semantic consistency; and 3) fine-grained editing. To address these issues, we propose FireEdit, an innovative Fine-grained Instruction-based image editing framework that exploits a REgion-aware VLM. FireEdit is designed to accurately comprehend user instructions and ensure effective control over the editing process. Specifically, we enhance the fine-grained visual perception capabilities of the VLM by introducing additional region tokens. Relying solely on the output of the LLM to guide the diffusion model may lead to suboptimal editing results. Therefore, we propose a Time-Aware Target Injection module and a Hybrid Visual Cross Attention module. The former dynamically adjusts the guidance strength at various denoising stages by integrating timestep embeddings with the text embeddings. The latter enhances visual details for image editing, thereby preserving semantic consistency between the edited result and the source image. By combining the VLM enhanced with fine-grained region tokens and the time-dependent diffusion model, FireEdit demonstrates significant advantages in comprehending editing instructions and maintaining high semantic consistency. Extensive experiments indicate that our approach surpasses the state-of-the-art instruction-based image editing methods. Our project is available at https://zjgans.github.io/fireedit.github.io.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。