Papers › Coherent Semantic Attention for Image Inpainting

Coherent Semantic Attention for Image Inpainting

29 May 2019ICCV 2019 10arXiv:1905.12384archive 2025-07-28

Hongyu Liu, Bin Jiang, Yi Xiao, Chao Yang

The latest deep learning-based approaches have shown promising results for the challenging task of inpainting missing regions of an image. However, the existing methods often generate contents with blurry textures and distorted structures due to the discontinuity of the local pixels. From a semantic-level perspective, the local pixel discontinuity is mainly because these methods ignore the semantic relevance and feature continuity of hole regions. To handle this problem, we investigate the human behavior in repairing pictures and propose a fined deep generative model-based approach with a novel coherent semantic attention (CSA) layer, which can not only preserve contextual structure but also make more effective predictions of missing parts by modeling the semantic relevance between the holes features. The task is divided into rough, refinement as two steps and model each step with a neural network under the U-Net architecture, where the CSA layer is embedded into the encoder of refinement step. To stabilize the network training process and promote the CSA layer to learn more effective parameters, we propose a consistency loss to enforce the both the CSA layer and the corresponding layer of the CSA in decoder to be close to the VGG feature layer of a ground truth image simultaneously. The experiments on CelebA, Places2, and Paris StreetView datasets have validated the effectiveness of our proposed methods in image inpainting tasks and can obtain images with a higher quality as compared with the existing state-of-the-art approaches.

PaperPDFConference PDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

KumapowerLIU/CSA-inpainting officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

DecoderImage Inpainting

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Inpainting Paris StreetView Coherent Semantic Attention for Image Inpainting 10-20% Mask PSNR 32.67 #1 of 2 Archive leaderboard report
Image Inpainting Paris StreetView Coherent Semantic Attention for Image Inpainting 20-30% Mask PSNR 30.32 #1 of 2 Archive leaderboard report
Image Inpainting Paris StreetView Coherent Semantic Attention for Image Inpainting 30-40% Mask PSNR 24.85 #1 of 2 Archive leaderboard report
Image Inpainting Paris StreetView Coherent Semantic Attention for Image Inpainting 40-50% Mask PSNR 23.10 #1 of 2 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Concatenated Skip ConnectionConvolutionDense ConnectionsDropoutMax PoolingReLUSoftmaxU-Net

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections