CSF-GAN: Cross-modal Semantic Fusion-based Generative Adversarial Network for Text-guided Image Inpainting
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 2377-2385.
https://doi.org/10.24963/ijcai.2025/265
Keywords
- Computer Vision: CV: Image and video synthesis and generation
- Computer Vision: CV: Adversarial learning, adversarial attack and defense methods
- Computer Vision: CV: Vision, language and reasoning
Abstract
Most visual-guided image inpainting methods based on generative adversarial networks (GANs) struggle when the missing region has weak correlations with the surrounding visual context. Recently, diffusion-based methods guided by textual context have been proposed to address this limitation by leveraging additional semantic information to restore corrupted objects. However, these models typically involve more parameters and exhibit slower generation speeds compared to GAN-based approaches. To address this problem, we propose a novel text-guided image inpainting model, the cross-modal semantic fusion generative adversarial network (CSF-GAN). CSF-GAN is designed as a one-stage GAN with the following key contributions. First, a novel semantic fusion module (SFM) is introduced to integrate sentence- and word-level textual context into the inpainting process, enabling more effective guidance from multi-granularity semantic information. Second, a newly designed word-level local discriminator provides detailed feedback to the generator, enhancing the accuracy of generated content in alignment with word-level semantics. Third, two loss functions, the inpainting loss and edge loss, are employed to enhance both structural coherence and textural realism in the generated results. Extensive experiments on two benchmark datasets demonstrate that CSF-GAN outperforms state-of-the-art methods.
@inproceedings{ijcai2025p265,
title = {CSF-GAN: Cross-modal Semantic Fusion-based Generative Adversarial Network for Text-guided Image Inpainting},
author = {Zhang, Shilin and Wang, Suixue and Zhang, Qingchen and Zhao, Liang and Huo, Weiliang and Hou, Sijia and Fu, Chunjiang},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {2377--2385},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/265},
url = {https://doi.org/10.24963/ijcai.2025/265},
}
TY - CPAPER TI - CSF-GAN: Cross-modal Semantic Fusion-based Generative Adversarial Network for Text-guided Image Inpainting AU - Zhang, Shilin AU - Wang, Suixue AU - Zhang, Qingchen AU - Zhao, Liang AU - Huo, Weiliang AU - Hou, Sijia AU - Fu, Chunjiang T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 2377 EP - 2385 DO - 10.24963/ijcai.2025/265 UR - https://doi.org/10.24963/ijcai.2025/265 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: