Papers › Masked and Adaptive Transformer for Exemplar Based Image Translation

Masked and Adaptive Transformer for Exemplar Based Image Translation

30 Mar 2023CVPR 2023 1arXiv:2303.17123archive 2025-07-28

Chang Jiang, Fei Gao, Biao Ma, YuHao Lin, Nannan Wang, Gang Xu

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 supplementary 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. Experimental 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 \url{https://github.com/AiArt-HDU/MATEBIT}.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.17123")

Code

Syntology Ran 10 of 11 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

aiart-hdu/matebit officialmentioned in papermentioned on GitHubpytorchMIT 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

11 samples harvested; 10 ran; 1 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
7ran
1unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from AiArt-HDU/MATEBIT. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AdaBlock AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 46185d38c66d915f · report
CoordAtt AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · metamorphic tier: deterministic MIT (permissive) · a364013be1afea2e · report
LayerNorm AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 91d27ae48f10c634 · report
PositionalNorm2d AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · cabca479cad0531f · report
SPADE AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 93da98f4f6845b01 · report
SignWithSigmoidGrad AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran MIT (permissive) · 70bbb1a234bbec73 · report
dynamic_attention AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · fd6117bfc579efa5 · report
feature_normalize AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · honoured contract fingerprinted MIT (permissive) · 2ab25c1da9832507 · report
h_sigmoid AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 7e179a91bb50201f · report
h_swish AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 5e356c9d5f8f95df · report
DynamicTransformerBlock AiArt-HDU/MATEBIT/models/networks/dynast_transformer.py official repository unverified MIT (permissive) · 77eb59f07e359be1 · report

Tasks

Image GenerationSemantic correspondenceTranslation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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