Papers › BlendGAN: Implicitly GAN Blending for Arbitrary Stylized Face Generation

BlendGAN: Implicitly GAN Blending for Arbitrary Stylized Face Generation

22 Oct 2021NeurIPS 2021 12arXiv:2110.11728archive 2025-07-28

Mingcong Liu, Qiang Li, Zekui Qin, Guoxin Zhang, Pengfei Wan, Wen Zheng

Generative Adversarial Networks (GANs) have made a dramatic leap in high-fidelity image synthesis and stylized face generation. Recently, a layer-swapping mechanism has been developed to improve the stylization performance. However, this method is incapable of fitting arbitrary styles in a single model and requires hundreds of style-consistent training images for each style. To address the above issues, we propose BlendGAN for arbitrary stylized face generation by leveraging a flexible blending strategy and a generic artistic dataset. Specifically, we first train a self-supervised style encoder on the generic artistic dataset to extract the representations of arbitrary styles. In addition, a weighted blending module (WBM) is proposed to blend face and style representations implicitly and control the arbitrary stylization effect. By doing so, BlendGAN can gracefully fit arbitrary styles in a unified model while avoiding case-by-case preparation of style-consistent training images. To this end, we also present a novel large-scale artistic face dataset AAHQ. Extensive experiments demonstrate that BlendGAN outperforms state-of-the-art methods in terms of visual quality and style diversity for both latent-guided and reference-guided stylized face synthesis.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 21 code samples harvested from 2 repositories linked to this paper: 19 ran (of which 0 constructed an object rather than computing a result; 13 with no instrument failure: 1 honoured, 1 violated, 11 with no contract checked; 6 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 12 samples from 1 repository, 11 ran (9 with no instrument failure; 2 where Syntology's instrument failed); community (archive-listed): 9 samples from 1 repository, 8 ran (4 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 19 samples that ran has no recorded date.

onion-liu/BlendGAN officialmentioned on GitHubpytorchMITSyntology: 12 samples, 11 ran (2 instrument-failed) · 1 unverified report
onion-liu/aahq-dataset mentioned on GitHubSyntology: not harvested report
songquanpeng/BlendGAN pytorchMITSyntology: 9 samples, 8 ran (4 instrument-failed) · 1 unverified 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

21 samples harvested: 19 ran (of which 0 constructed an object rather than computing a result; 13 with no instrument failure: 1 honoured, 1 violated, 11 with no contract checked; 6 where Syntology's instrument failed) · 2 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
1ran · violated contract
4ran · our draft was wrong
2ran; the contract check could not run
11ran
2unverified

Licence: 4 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. For 4 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. 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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

onion-liu/BlendGAN official repository 12 samples, 11 ran (2 instrument-failed) · 1 unverified
cv2ten utils.py ran MIT (permissive) · ef82a9da38de6627 · report fixture: signature img:ndarray/3/int, device:device/0/? · returned Tensor · level recorded 2026-09-24
fused_leaky_relu in 20 papers op/fused_act.py ran MIT (permissive) · fe59e9e831c5c641 · report fixture: signature input:Tensor/4/float, bias:Tensor/1/float, negative_slope:float/0/float, scale:float/0/float · returned Tensor · level recorded 2026-09-24
get_alphas gen_video.py ran MIT (permissive) · 380e205f2b8ababc · report fixture: signature start:int/0/int, end:int/0/int, step:float/0/float, len_tail:int/0/int · returned list · level recorded 2026-09-24
gram_matrix in 45 papers
census: 7 implementations from 9 papers, 4 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 4, kind float, dtype float32
model_encoder.py ran · our draft was wrong fingerprinted MIT (permissive) here; the stored copy is pointer only · 430c582cd8bbb1df · report fixture: signature y:Tensor/4/float · returned Tensor · level recorded 2026-09-22
make_kernel in 34 papers model.py ran · violated contract MIT (permissive) here; the stored copy is pointer only · 6f65e378a4313f87 · report fixture: signature k:list/1/float · returned Tensor · level recorded, date not recorded
scale_image in 10 papers BlendGANGUI.py ran fingerprinted MIT (permissive) · d6ed19bb4dc739d3 · report fixture: signature img:ndarray/3/int, scale_factor:int/0/int · returned ndarray · level recorded 2026-09-24
sigmoid in 216 papers
census: 36 implementations from 56 papers, 7 distinct outputs across 3 buckets, one shared input per bucket
gen_video.py ran fingerprinted MIT (permissive) · 8b483042fac3893a · report fixture: signature x:ndarray/1/float, w:float/0/float · returned ndarray · level recorded 2026-09-24
slide gen_video.py ran MIT (permissive) · b01b40e47c0ad0a0 · report fixture: signature entries:list/1/Tensor, margin:int/0/int · returned Tensor · level recorded 2026-09-24
ten2cv utils.py ran MIT (permissive) · b8061c98786922f3 · report fixture: signature img_ten:Tensor/4/float, bgr:bool/0/bool · returned ndarray · level recorded 2026-09-24
upfirdn2d in 14 papers op/upfirdn2d.py ran MIT (permissive) · 0282bebb07512369 · report fixture: signature input:Tensor/4/float, kernel:Tensor/2/float, up:int/0/int, down:int/0/int, pad:tuple/1/int · returned Tensor · level recorded 2026-09-24
upfirdn2d_native in 26 papers
census: 5 implementations from 7 papers, 1 distinct output on one shared input this sample: bucket 1 of 1, arg 1: rank 4, kind float, dtype float32 · arg 2: rank 2, kind float, dtype float32
op/upfirdn2d.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant MIT (permissive) here; the stored copy is pointer only · fe99cfd294676edb · report fixture: signature input:Tensor/4/float, kernel:Tensor/2/float, up_x:int/0/int, up_y:int/0/int, down_x:int/0/int, down_y:int/0/int, pad_x0:int/0/int, pad_x1:int/0/int, pad_y0:int/0/int, pad_y1:int/0/int · returned Tensor · level recorded 2026-09-22
image_align in 8 papers ffhq_dataset/face_alignment.py unverified MIT (permissive) · 95abe150acbe2d3f · report
songquanpeng/BlendGAN community (archive-listed) 9 samples, 8 ran (4 instrument-failed) · 1 unverified
all_gather in 119 papers distributed.py ran MIT (permissive) · ed03ba54397adbe4 · report fixture: signature data:dict/0/? · returned list · level recorded 2026-09-26
calc_fid in 8 papers fid.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted MIT (permissive) here; the stored copy is pointer only · e6c1de4697e7ed81 · report fixture: signature sample_mean:ndarray/1/float, sample_cov:ndarray/2/float, real_mean:ndarray/1/float, real_cov:ndarray/2/float, eps:float/0/float · returned float32 · level recorded 2026-09-22
convert_conv in 6 papers convert_weight.py ran · our draft was wrong MIT (permissive) · 7fe245a7216ae67b · report fixture: signature vars:MockVarsDict/0/?, source_name:str/0/str, target_name:str/0/str, bias:bool/0/bool, start:int/0/int · returned dict · level recorded 2026-09-22
convert_modconv in 5 papers convert_weight.py ran · our draft was wrong MIT (permissive) · 1c7cd5abc48bcf75 · report fixture: signature vars:dict/0/?, source_name:str/0/str, target_name:str/0/str, flip:bool/0/bool · returned dict · level recorded 2026-09-22
convert_torgb in 5 papers convert_weight.py ran · our draft was wrong MIT (permissive) · 96b279b9ef818d94 · report fixture: signature vars:dict/0/?, source_name:str/0/str, target_name:str/0/str · returned dict · level recorded 2026-09-22
extract_features in 73 papers calc_inception.py ran MIT (permissive) · 826a4bfd8b5cb2fc · report fixture: signature loader:list/1/Tensor, inception:callable/0/?, device:str/0/str · returned Tensor · level recorded 2026-09-25
reduce_loss_dict in 18 papers distributed.py ran MIT (permissive) · 5144ad456049f8ce · report fixture: signature loss_dict:dict/0/? · returned dict · level recorded 2026-09-26
reduce_sum in 34 papers
census: 4 implementations from 5 papers, 4 distinct outputs across 4 buckets, one shared input per bucket
distributed.py ran · honoured contract fingerprinted MIT (permissive) · 3f0a1105ef251d78 · report fixture: signature tensor:Tensor/2/float · returned Tensor · level recorded 2026-09-24
extract_feature_from_samples in 6 papers fid.py unverified MIT (permissive) · 7284618ab4d5847d · report

Tasks

DiversityFace GenerationImage Generation

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