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

迈向增强型图像修复:缓解非预期物体插入问题并保持色彩一致性

Towards Enhanced Image Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency

Fudan University(复旦大学);Nanyang Technological University(南洋理工大学);Alibaba DAMO Academy(阿里巴巴达摩院);Hupan Lab(虎扑实验室)

Yikai Wang, Chenjie Cao, Junqiu Yu, Ke Fan, Xiangyang Xue, Yanwei Fu

AI总结:

针对图像修复中存在的非预期物体插入和色彩不一致问题,提出后处理方法ASUKA,结合MAE重建先验和专用VAE解码器,在多个模型和数据集上验证了其优化效果。

摘要:

图像修复领域的最新进展越来越多地使用生成模型处理大面积不规则掩码。然而,这类模型会生成不真实的修复图像,主要源于两大问题:(1)非预期物体插入:即便有未掩码区域作为上下文,生成模型仍可能在掩码区域生成与图像其余部分不匹配的任意物体。(2)色彩不一致:修复区域常出现色彩偏移,导致外观模糊,降低图像质量。重新训练生成模型或可解决这些问题,但成本极高,因为当前最先进的基于潜空间的扩散模型和整流流模型需要三阶段训练流程:训练VAE(变分自编码器)、训练生成式U-Net或Transformer、针对修复任务进行微调。为此,本文提出一种后处理方法,命名为ASUKA(基于未知区域先验的对齐稳定修复),用于优化修复模型。针对非预期物体插入问题,我们利用掩码自编码器(MAE)获取基于重建的先验,在保留模型生成能力的同时减少物体幻觉现象。针对色彩不一致问题,我们提出一种专用VAE解码器,将潜空间到图像的解码视为局部协调任务,显著降低色彩偏移,实现色彩一致的修复。我们在SD 1.5和FLUX的修复变体模型上,结合Places2数据集与我们提出的多数据集集合MISATO,对ASUKA进行了验证。结果表明,与标准扩散模型、整流流模型及其他修复方法相比,ASUKA能够缓解物体幻觉问题并提升色彩一致性。

英文摘要:

Recent advances in image inpainting increasingly use generative models to handle large irregular masks. However, these models can create unrealistic inpainted images due to two main issues: (1) Unwanted object insertion: Even with unmasked areas as context, generative models may still generate arbitrary objects in the masked region that don't align with the rest of the image. (2) Color inconsistency: Inpainted regions often have color shifts that causes a smeared appearance, reducing image quality. Retraining the generative model could help solve these issues, but it's costly since state-of-the-art latent-based diffusion and rectified flow models require a three-stage training process: training a VAE, training a generative U-Net or transformer, and fine-tuning for inpainting. Instead, this paper proposes a post-processing approach, dubbed as ASUKA (Aligned Stable inpainting with UnKnown Areas prior), to improve inpainting models. To address unwanted object insertion, we leverage a Masked Auto-Encoder (MAE) for reconstruction-based priors. This mitigates object hallucination while maintaining the model's generation capabilities. To address color inconsistency, we propose a specialized VAE decoder that treats latent-to-image decoding as a local harmonization task, significantly reducing color shifts for color-consistent inpainting. We validate ASUKA on SD 1.5 and FLUX inpainting variants with Places2 and MISATO, our proposed diverse collection of datasets. Results show that ASUKA mitigates object hallucination and improves color consistency over standard diffusion and rectified flow models and other inpainting methods.

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

↑