Papers › Inserting Anybody in Diffusion Models via Celeb Basis

Inserting Anybody in Diffusion Models via Celeb Basis

1 Jun 2023NeurIPS 2023 11arXiv:2306.00926archive 2025-07-28

Ge Yuan, Xiaodong Cun, Yong Zhang, Maomao Li, Chenyang Qi, Xintao Wang, Ying Shan, Huicheng Zheng

Exquisite demand exists for customizing the pretrained large text-to-image model, e.g., Stable Diffusion, to generate innovative concepts, such as the users themselves. However, the newly-added concept from previous customization methods often shows weaker combination abilities than the original ones even given several images during training. We thus propose a new personalization method that allows for the seamless integration of a unique individual into the pre-trained diffusion model using just one facial photograph and only 1024 learnable parameters under 3 minutes. So as we can effortlessly generate stunning images of this person in any pose or position, interacting with anyone and doing anything imaginable from text prompts. To achieve this, we first analyze and build a well-defined celeb basis from the embedding space of the pre-trained large text encoder. Then, given one facial photo as the target identity, we generate its own embedding by optimizing the weight of this basis and locking all other parameters. Empowered by the proposed celeb basis, the new identity in our customized model showcases a better concept combination ability than previous personalization methods. Besides, our model can also learn several new identities at once and interact with each other where the previous customization model fails to. The code will be released.

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

Code

Syntology Ran 5 of 11 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · violated contract; 1 ran · our draft was wrong; 2 ran with no contract checked.

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

ygtxr1997/celebbasis officialmentioned in paperpytorchMIT 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; 5 ran; 0 honoured the contract we drafted; 6 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 · violated contract
1ran · our draft was wrong
2ran
6unverified

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 ygtxr1997/celebbasis. “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.

default ygtxr1997/celebbasis/ldm/modules/attention.py official repository ran · violated contract MIT (permissive) · 424012cb37b31172 · report
exists ygtxr1997/celebbasis/ldm/modules/attention.py official repository ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
get_clip_token_for_string ygtxr1997/celebbasis/merge_embeddings.py official repository ran MIT (permissive) · e466f56ae7a8bea6 · report
get_placeholder_loop ygtxr1997/celebbasis/merge_embeddings.py official repository ran MIT (permissive) · cb1a19e61d70046b · report
uniq ygtxr1997/celebbasis/ldm/modules/attention.py official repository ran · our draft was wrong MIT (permissive) · 9a299fe5ae09e407 · report
get_bert_token_for_string ygtxr1997/celebbasis/merge_embeddings.py official repository unverified MIT (permissive) · 91610d6e2f2a67b4 · report
get_pos_neg_temps ygtxr1997/celebbasis/evaluation/prompt_templates.py official repository unverified MIT (permissive) · 128130f54ff26d81 · report
nondefault_trainer_args ygtxr1997/celebbasis/main_id_embed.py official repository unverified MIT (permissive) · 87fbedd0c27cf378 · report
parser_eval ygtxr1997/celebbasis/evaluation/parse_args.py official repository unverified MIT (permissive) · c62aef587185be0c · report
parser_gen ygtxr1997/celebbasis/evaluation/parse_args.py official repository unverified MIT (permissive) · 474846246b7ef9f2 · report
parser_main ygtxr1997/celebbasis/evaluation/parse_args.py official repository unverified MIT (permissive) · 5a38b008bf39e5d8 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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