paper-with-me

홈 › Papers

Adversarial Learning with Mask Reconstruction for Text-Guided Image Inpainting

2021-07-28 · Conference 2021 7 · Xingcai Wu, Yucheng Xie, Jiaqi Zeng, Zhenguo Yang, Yi Yu, Qing Li, and Wenyin Liu

Text-guided image inpainting aims to complete the corrupted patches coherent with both visual and textual context. On one hand, existing works focus on surrounding pixels of the corrupted patches without considering the objects in the image, resulting in the characteristics of objects described in text being painted on non-object regions. On the other hand, the redundant information in text may distract the generation of objects of interest in the restored image. In this paper, we propose an adversarial learning framework with mask reconstruction (ALMR) for image inpainting with textual guidance, which consists of a two-stage generator and dual discriminators. The two-stage generator aims to restore coarse-grained and fine-grained images, respectively. In particular, we devise a dual-attention module (DAM) to incorporate the word-level and sentence-level textual features as guidance on generating the coarse-grained and fine-grained details in the two stages. Furthermore, we design a mask reconstruction module (MRM) to penalize the restoration of the objects of interest with the given textual descriptions about the objects. For adversarial training, we exploit global and local discriminators for the whole image and corrupted patches, respectively. Extensive experiments conducted on CUB-200-2011, Oxford-102 and CelebA-HQ show the outperformance of the proposed ALMR (e.g., FID value is reduced from 29.69 to 14.69 compared with the state-of-the-art approach on CUB-200-2011). Codes are available at \href{https://github.com/GaranWu/ALMR}

📄 PDF Abstract BibTeX

Code (1)

GaranWu/ALMR pytorch

Tasks

Image InpaintingSentence

Similar Papers 제목 키워드 기반

MagGAN: High-Resolution Face Attribute Editing with Mask-Guided Generative Adversarial Network

2020-10-03 · Yi Wei, Zhe Gan, Wenbo Li, Siwei Lyu 외

We present Mask-guided Generative Adversarial Network (MagGAN) for high-resolution face attribute editing, in which semantic facial masks from a pre-trained face parser are used to guide the fine-grained image editing pr…

AttributeGenerative Adversarial NetworkVocal Bursts Intensity Prediction

MagDR: Mask-guided Detection and Reconstruction for Defending Deepfakes

2021-03-26 · CVPR 2021 1 · Zhikai Chen, Lingxi Xie, Shanmin Pang, Yong He 외

Deepfakes raised serious concerns on the authenticity of visual contents. Prior works revealed the possibility to disrupt deepfakes by adding adversarial perturbations to the source data, but we argue that the threat has…

AEMIM: Adversarial Examples Meet Masked Image Modeling

2024-07-16 · Wenzhao Xiang, Chang Liu, Hang Su, Hongyang Yu

Masked image modeling (MIM) has gained significant traction for its remarkable prowess in representation learning. As an alternative to the traditional approach, the reconstruction from corrupted images has recently emer…

Adversarial AttackRepresentation Learning

Improving Masked Autoencoders by Learning Where to Mask

2023-03-12 · Haijian Chen, Wendong Zhang, Yunbo Wang, Xiaokang Yang

Masked image modeling is a promising self-supervised learning method for visual data. It is typically built upon image patches with random masks, which largely ignores the variation of information density between them. T…

Image ReconstructionSelf-Supervised Learning

SecDiff: Diffusion-Aided Secure Deep Joint Source-Channel Coding Against Adversarial Attacks

2025-11-03 · Changyuan Zhao, Jiacheng Wang, Ruichen Zhang, Dusit Niyato 외 arxiv

Deep joint source-channel coding (JSCC) has emerged as a promising paradigm for semantic communication, delivering significant performance gains over conventional separate coding schemes. However, existing JSCC framework…

Semantic Communication