Papers › Key-Locked Rank One Editing for Text-to-Image Personalization

Key-Locked Rank One Editing for Text-to-Image Personalization

2 May 2023arXiv:2305.01644archive 2025-07-28

Yoad Tewel, Rinon Gal, Gal Chechik, Yuval Atzmon

Text-to-image models (T2I) offer a new level of flexibility by allowing users to guide the creative process through natural language. However, personalizing these models to align with user-provided visual concepts remains a challenging problem. The task of T2I personalization poses multiple hard challenges, such as maintaining high visual fidelity while allowing creative control, combining multiple personalized concepts in a single image, and keeping a small model size. We present Perfusion, a T2I personalization method that addresses these challenges using dynamic rank-1 updates to the underlying T2I model. Perfusion avoids overfitting by introducing a new mechanism that "locks" new concepts' cross-attention Keys to their superordinate category. Additionally, we develop a gated rank-1 approach that enables us to control the influence of a learned concept during inference time and to combine multiple concepts. This allows runtime-efficient balancing of visual-fidelity and textual-alignment with a single 100KB trained model, which is five orders of magnitude smaller than the current state of the art. Moreover, it can span different operating points across the Pareto front without additional training. Finally, we show that Perfusion outperforms strong baselines in both qualitative and quantitative terms. Importantly, key-locking leads to novel results compared to traditional approaches, allowing to portray personalized object interactions in unprecedented ways, even in one-shot settings.

PaperPDFCodeCode 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 18 code samples harvested from 1 repository linked to this paper: 14 ran (of which 0 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 2 violated, 8 with no contract checked; 2 where Syntology's instrument failed) · 4 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 18 samples from 1 repository, 14 ran (12 with no instrument failure; 2 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-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

ChenDarYen/Key-Locked-Rank-One-Editing-for-Text-to-Image-Personalization mentioned on GitHubpytorchMITSyntology: 18 samples, 14 ran (2 instrument-failed) · 4 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

18 samples harvested: 14 ran (of which 0 constructed an object rather than computing a result; 12 with no instrument failure: 2 honoured, 2 violated, 8 with no contract checked; 2 where Syntology's instrument failed) · 4 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.

2ran · honoured contract
2ran · violated contract
2ran · our draft was wrong
8ran
4unverified

Licence: 8 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. For 8 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 ChenDarYen/Key-Locked-Rank-One-Editing-for-Text-to-Image-Personalization. “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.

ChenDarYen/Key-Locked-Rank-One-Editing-for-Text-to-Image-Personalization community (archive-listed) 18 samples, 14 ran (2 instrument-failed) · 4 unverified
analytic_kernel in 6 papers ldm/modules/image_degradation/bsrgan.py ran · violated contract fingerprinted MIT (permissive) here; the stored copy is pointer only · b04722a19845dc90 · report fixture: signature k:ndarray/2/float · returned ndarray · level recorded 2026-09-24
anisotropic_Gaussian in 5 papers ldm/modules/image_degradation/bsrgan.py ran · honoured contract MIT (permissive) here; the stored copy is pointer only · 5a0ca1bba88bb4b0 · report fixture: signature ksize:int/0/int, theta:float/0/float, l1:float/0/float, l2:float/0/float · returned ndarray · level recorded 2026-09-24
clip_load_untrained clipseg/models/clipseg.py ran MIT (permissive) · 5b4a0a0fc3e2a388 · report fixture: signature version:str/0/str · returned MockCLIP · level recorded 2026-09-24
cosine_warmup_lr clipseg/training.py ran · honoured contract fingerprinted MIT (permissive) here; the stored copy is pointer only · 057d183d358d1e9a · report fixture: signature i:int/0/int, warmup:int/0/int, max_iter:int/0/int · returned float · level recorded 2026-09-22
denorm in 23 papers clipseg/evaluation_utils.py ran MIT (permissive) · 17efe0b1bfd9f343 · report fixture: signature img:Tensor/3/float · returned Tensor · level recorded 2026-09-24
fast_iou_curve clipseg/evaluation_utils.py ran MIT (permissive) · e1d523a6f8c92026 · report fixture: signature p:Tensor/1/float, g:Tensor/1/float · returned tuple · level recorded 2026-09-24
filter_args in 5 papers clipseg/general_utils.py ran MIT (permissive) · febf3c4380082c74 · report fixture: signature input_args:dict/0/?, default_args:dict/0/? · returned tuple · level recorded 2026-09-24
get_attribute in 6 papers clipseg/general_utils.py ran MIT (permissive) · c35bef083a3a63d9 · report fixture: signature name:str/0/str · returned type · level recorded 2026-09-24
get_image_paths in 18 papers ldm/modules/image_degradation/utils_image.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · f9d4c247328f3337 · report fixture: signature dataroot:str/0/str · returned list · level recorded 2026-09-24
get_prompt_list clipseg/models/clipseg.py ran MIT (permissive) · f4c0e5f857a103d5 · report fixture: signature prompt:str/0/str · returned list · level recorded 2026-09-24
is_image_file in 157 papers ldm/modules/image_degradation/utils_image.py ran · violated contract MIT (permissive) here; the stored copy is pointer only · 226f6afcd57ff476 · report fixture: signature filename:str/0/str · returned bool · level recorded 2026-09-24
modcrop_np in 5 papers ldm/modules/image_degradation/bsrgan.py ran · our draft was wrong fingerprinted MIT (permissive) here; the stored copy is pointer only · 04df7487a791a8a1 · report fixture: signature img:ndarray/3/int, sf:int/0/int · returned ndarray · level recorded 2026-09-24
norm in 120 papers
census: 23 implementations from 26 papers, 15 distinct outputs across 6 buckets, one shared input per bucket
clipseg/evaluation_utils.py ran MIT (permissive) · 151e32d2a7b8134d · report fixture: signature img:Tensor/3/float · returned Tensor · level recorded 2026-09-24
process_prompts clipseg/models/vitseg.py ran MIT (permissive) · 9ef76f9c72933f80 · report fixture: signature conditional:Tensor/1/int, prompt_list:list/1/str, conditional_map:dict/0/? · returned list · level recorded 2026-09-24
forward_multihead_attention clipseg/models/clipseg.py unverified MIT (permissive) · 9682702dd7af11cd · report
get_cached_pascal_pfe clipseg/score.py unverified MIT (permissive) here; the stored copy is pointer only · c78a6fe00b0a118f · report
load_model in 479 papers clipseg/general_utils.py unverified MIT (permissive) · bca46b85e101b36d · report
patches_from_image in 9 papers ldm/modules/image_degradation/utils_image.py unverified MIT (permissive) here; the stored copy is pointer only · 3984b3ec31e90ef0 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

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