Papers › TransEditor: Transformer-Based Dual-Space GAN for Highly Controllable Facial Editing

TransEditor: Transformer-Based Dual-Space GAN for Highly Controllable Facial Editing

31 Mar 2022CVPR 2022 1arXiv:2203.17266archive 2025-07-28

Yanbo Xu, Yueqin Yin, Liming Jiang, Qianyi Wu, Chengyao Zheng, Chen Change Loy, Bo Dai, Wayne Wu

Recent advances like StyleGAN have promoted the growth of controllable facial editing. To address its core challenge of attribute decoupling in a single latent space, attempts have been made to adopt dual-space GAN for better disentanglement of style and content representations. Nonetheless, these methods are still incompetent to obtain plausible editing results with high controllability, especially for complicated attributes. In this study, we highlight the importance of interaction in a dual-space GAN for more controllable editing. We propose TransEditor, a novel Transformer-based framework to enhance such interaction. Besides, we develop a new dual-space editing and inversion strategy to provide additional editing flexibility. Extensive experiments demonstrate the superiority of the proposed framework in image quality and editing capability, suggesting the effectiveness of TransEditor for highly controllable facial editing.

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="2203.17266")

Code

Syntology Ran 6 of 15 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it.

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

billyxyb/transeditor 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

15 samples harvested; 6 ran; 2 honoured the contract we drafted; 9 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.

2ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
1ran · fixture could not drive it
9unverified

Licence: 0 of the 15 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 billyxyb/transeditor. “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.

d_logistic_loss billyxyb/transeditor/train_spatial_query.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 3651db4e5ae8d189 · report
d_r1_loss billyxyb/transeditor/train_spatial_query.py official repository ran · fixture could not drive it MIT (permissive) · 0693ac46c6c25e65 · report
data_sampler billyxyb/transeditor/train_spatial_query.py official repository ran · our draft was wrong MIT (permissive) · dbb756dcd778f52f · report
get_lr billyxyb/transeditor/projector_optimization.py official repository ran · honoured contract fingerprinted MIT (permissive) · ea6c82ed6a138df9 · report
lerp billyxyb/transeditor/metrics/evaluate_query.py official repository ran · honoured contract fingerprinted MIT (permissive) · 0c45399f3741921e · report
make_kernel billyxyb/transeditor/model_spatial_query.py official repository ran · violated contract MIT (permissive) · 6f65e378a4313f87 · report
calculate_cos_score billyxyb/transeditor/our_interfaceGAN/calculate_score.py official repository unverified MIT (permissive) · 1c866428bf6d7397 · report
calculate_cos_score billyxyb/transeditor/our_interfaceGAN/calculate_score_id.py official repository unverified MIT (permissive) · 7c8d373cfb107087 · report
extract_feature_from_samples billyxyb/transeditor/metrics/calc_prdc.py official repository unverified MIT (permissive) · 8893c21111af14ff · report
extract_features billyxyb/transeditor/metrics/calc_inception.py official repository unverified MIT (permissive) · 826a4bfd8b5cb2fc · report
latent_noise billyxyb/transeditor/projector_optimization.py official repository unverified MIT (permissive) · c32f2d047465748d · report
noise_regularize_ billyxyb/transeditor/projector_optimization.py official repository unverified MIT (permissive) · c8b61cfc5c049356 · report
normalize billyxyb/transeditor/metrics/evaluate_query.py official repository unverified MIT (permissive) · bfd30ba25798287e · report
set_test_options billyxyb/transeditor/dual_space_encoder.py official repository unverified MIT (permissive) · b1dd6bc053e429d5 · report
slerp billyxyb/transeditor/metrics/evaluate_query.py official repository unverified MIT (permissive) · 904ef2c2720850a0 · report

Tasks

AttributeDisentanglementFacial Editing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Adaptive Instance NormalizationConvolutionDense ConnectionsFeedforward NetworkR1 RegularizationStyleGAN

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