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

HINT:具有掩码感知编码与增强注意力的高质量图像修复Transformer

HINT: High-quality INPainting Transformer with Mask-Aware Encoding and Enhanced Attention

Durham University(杜伦大学)

Shuang Chen, Amir Atapour-Abarghouei, Hubert P. H. Shum

AI总结:

本文提出高质量图像修复Transformer HINT,通过掩码感知像素洗牌下采样模块MPD保留可见信息,并设计空间激活通道注意力层SCAL及三明治结构增强多尺度建模,在四个数据集上取得优于现有方法的修复效果。

摘要:

现有的图像修复方法利用基于卷积的下采样方法来降低空间维度。这可能导致受损图像的信息丢失,因为受损图像中可用信息本身就很稀疏,尤其是在大面积缺失区域的情况下。Transformer中自注意力机制的最新进展已在包括图像修复在内的许多计算机视觉任务中带来了显著改进。然而,受限于计算成本,现有方法无法充分利用此类模型的远程建模能力。在本文中,我们提出了一种端到端的高质量图像修复Transformer,简称HINT,它包含一个新颖的掩码感知像素洗牌下采样模块(MPD),以保留从受损图像中提取的可见信息,同时保持用于模型内部高层推理的可用信息的完整性。此外,我们提出了空间激活通道注意力层(SCAL),这是一种高效的自注意力机制,通过解释空间感知来在多尺度上对受损图像进行建模。为了进一步增强SCAL的有效性,受语音识别领域最新进展的启发,我们引入了一种三明治结构,将前馈网络分别置于SCAL模块之前和之后。我们在四个数据集CelebA、CelebA-HQ、Places2和Dunhuang上证明了HINT与当代最先进模型相比具有优越性能。

英文摘要:

Existing image inpainting methods leverage convolution-based downsampling approaches to reduce spatial dimensions. This may result in information loss from corrupted images where the available information is inherently sparse, especially for the scenario of large missing regions. Recent advances in self-attention mechanisms within transformers have led to significant improvements in many computer vision tasks including inpainting. However, limited by the computational costs, existing methods cannot fully exploit the efficacy of long-range modelling capabilities of such models. In this paper, we propose an end-to-end High-quality INpainting Transformer, abbreviated as HINT, which consists of a novel mask-aware pixel-shuffle downsampling module (MPD) to preserve the visible information extracted from the corrupted image while maintaining the integrity of the information available for high-level inferences made within the model. Moreover, we propose a Spatially-activated Channel Attention Layer (SCAL), an efficient self-attention mechanism interpreting spatial awareness to model the corrupted image at multiple scales. To further enhance the effectiveness of SCAL, motivated by recent advanced in speech recognition, we introduce a sandwich structure that places feed-forward networks before and after the SCAL module. We demonstrate the superior performance of HINT compared to contemporary state-of-the-art models on four datasets, CelebA, CelebA-HQ, Places2, and Dunhuang.

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

↑