Masked and Adaptive Transformer for Exemplar Based Image Translation

Changlong Jiang, Fei Gao, Biao Ma, Yuhao Lin, N. Wang +1 more
2/14/2026

No official code found. Best implementation: AiArt-Gao/MATEBIT (96 stars, MIT, last commit 2024-01-29).

Abstract

We present a novel framework for exemplar based image translation. Recent advanced methods for this task mainly focus on establishing cross-domain semantic correspondence, which sequentially dominates image generation in the manner of local style control. Unfortunately, cross-domain semantic matching is challenging; and matching errors ultimately degrade the quality of generated images. To overcome this challenge, we improve the accuracy of matching on the one hand, and diminish the role of matching in image generation on the other hand. To achieve the former, we propose a masked and adaptive transformer (MAT) for learning accurate cross-domain correspondence, and executing context-aware feature augmentation. To achieve the latter, we use source features of the input and global style codes of the exemplar, as sup-plementary information, for decoding an image. Besides, we devise a novel contrastive style learning method, for acquire quality-discriminative style representations, which in turn benefit high-quality image generation. Experimen-tal results show that our method, dubbed MATEBIT, performs considerably better than state-of-the-art methods, in diverse image translation tasks. The codes are available at https://github.com/AiArt-HDU/MATEBIT.

View on arXivView PDF

Code Implementations(1)

AiArt-Gao/MATEBITCommunity100%
MIT

[CVPR'23] Masked and Adaptive Transformer for Exemplar Based Image Translation (MATEBIT)

964PythonMar 14, 20232 years agoMIT
computing-artcorrespondence-learningimage-generationimage-to-image-translationtransformer

Similar Papers

Cite this paper

@article{jiang2026masked,
  title  = {Masked and Adaptive Transformer for Exemplar Based Image Translation},
  author = {Changlong Jiang and Fei Gao and Biao Ma and Yuhao Lin and N. Wang and Gang Xu},
  year   = {2026},
  eprint = {2303.17123},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.17123},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.17123.svg)](https://codeofpaper.com/paper/2303.17123)

Discussion