Papers › XGAN: Unsupervised Image-to-Image Translation for Many-to-Many Mappings

XGAN: Unsupervised Image-to-Image Translation for Many-to-Many Mappings

14 Nov 2017ICLR 2018 1arXiv:1711.05139archive 2025-07-28

Amélie Royer, Konstantinos Bousmalis, Stephan Gouws, Fred Bertsch, Inbar Mosseri, Forrester Cole, Kevin Murphy

Style transfer usually refers to the task of applying color and texture information from a specific style image to a given content image while preserving the structure of the latter. Here we tackle the more generic problem of semantic style transfer: given two unpaired collections of images, we aim to learn a mapping between the corpus-level style of each collection, while preserving semantic content shared across the two domains. We introduce XGAN ("Cross-GAN"), a dual adversarial autoencoder, which captures a shared representation of the common domain semantic content in an unsupervised way, while jointly learning the domain-to-domain image translations in both directions. We exploit ideas from the domain adaptation literature and define a semantic consistency loss which encourages the model to preserve semantics in the learned embedding space. We report promising qualitative results for the task of face-to-cartoon translation. The cartoon dataset, CartoonSet, we collected for this purpose is publicly available at google.github.io/cartoonset/ as a new benchmark for semantic style transfer.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology 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="1711.05139")

Code

Syntology Ran 1 of 11 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: community (archive-listed): 11 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

CS2470FinalProject/X-GAN mentioned on GitHubtf report
Gintasp/xgan mentioned on GitHubpytorchApache-2.0 report
Leinadh/avatar-image-generator mentioned on GitHubpytorchApache-2.0 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; 1 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
10unverified

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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

grad_reverse Gintasp/xgan/models/cdann.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7d2aba87eb205634 · report
calc_eval_stats Leinadh/avatar-image-generator/losses/utils_loss.py community (archive-listed) unverified Apache-2.0 (permissive) · 3142cb631c9bb64b · report
calc_fid Leinadh/avatar-image-generator/losses/utils_loss.py community (archive-listed) unverified Apache-2.0 (permissive) · 05eed543ef6ce6e8 · report
calc_jaccard_index Leinadh/avatar-image-generator/evaluation/tsne_analysis_baseline/tsne_evaluation_utils/metric.py community (archive-listed) unverified Apache-2.0 (permissive) · 7bfbf9efb5152dc3 · report
calc_rmse Leinadh/avatar-image-generator/evaluation/tsne_analysis_baseline/tsne_evaluation_utils/metric.py community (archive-listed) unverified Apache-2.0 (permissive) · 47cdd51b2464098b · report
face_to_cartoon Gintasp/xgan/api.py community (archive-listed) unverified Apache-2.0 (permissive) · e8979936a8178bb3 · report
generate_images Leinadh/avatar-image-generator/evaluation/tsne_analysis_baseline/tsne_evaluation_utils/grid.py community (archive-listed) unverified Apache-2.0 (permissive) · f0bfbc2c8bc398bb · report
generate_scatter Leinadh/avatar-image-generator/evaluation/utils_tsne.py community (archive-listed) unverified Apache-2.0 (permissive) · 3b646c000dea726d · report
get_gradient Gintasp/xgan/models/cdann.py community (archive-listed) unverified Apache-2.0 (permissive) · 1b003bd652d7598d · report
gradient_penalty Gintasp/xgan/models/cdann.py community (archive-listed) unverified Apache-2.0 (permissive) · 65b0abd517636e51 · report
is_file_allowed Gintasp/xgan/api.py community (archive-listed) unverified Apache-2.0 (permissive) · c6b0acc06c6547fc · report

Tasks

Domain AdaptationImage-to-Image TranslationStyle TransferTranslationUnsupervised Image-To-Image Translation

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