Papers › An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversion

An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversion

2 Aug 2022arXiv:2208.01618archive 2025-07-28

Rinon Gal, Yuval Alaluf, Yuval Atzmon, Or Patashnik, Amit H. Bermano, Gal Chechik, Daniel Cohen-Or

Text-to-image models offer unprecedented freedom to guide creation through natural language. Yet, it is unclear how such freedom can be exercised to generate images of specific unique concepts, modify their appearance, or compose them in new roles and novel scenes. In other words, we ask: how can we use language-guided models to turn our cat into a painting, or imagine a new product based on our favorite toy? Here we present a simple approach that allows such creative freedom. Using only 3-5 images of a user-provided concept, like an object or a style, we learn to represent it through new "words" in the embedding space of a frozen text-to-image model. These "words" can be composed into natural language sentences, guiding personalized creation in an intuitive way. Notably, we find evidence that a single word embedding is sufficient for capturing unique and varied concepts. We compare our approach to a wide range of baselines, and demonstrate that it can more faithfully portray the concepts across a range of applications and tasks. Our code, data and new words will be available at: https://textual-inversion.github.io

PaperPDFCodeCode 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="2208.01618")

Code

Syntology Ran 10 of 13 code samples harvested from 5 repositories linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong; 5 ran with no contract checked.

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

rinongal/textual_inversion officialmentioned on GitHubpytorch report
brandontrabucco/da-fusion mentioned on GitHubpytorchMIT report
cloneofsimo/lora mentioned on GitHubpytorch report
giannisdaras/multires_textual_inversion mentioned on GitHubpytorch report
ignoww/ZOODiP mentioned on GitHubpytorch report
joycenerd/p4d mentioned on GitHubpytorch report
nicolai256/stable-textual-inversion_win mentioned on GitHubpytorch report
visinf/diagen mentioned on GitHubpytorch report
yandex-research/dvar mentioned on GitHubpytorch 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

13 samples harvested; 10 ran; 2 honoured the contract we drafted; 3 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
3ran · our draft was wrong
5ran
3unverified

Licence: 1 of the 13 samples is 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 5 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.

get_bert_token_for_string rinongal/textual_inversion/ldm/modules/embedding_manager.py official repository ran · honoured contract MIT (permissive) · d5726f9e3a5684c3 · report
get_clip_token_for_string rinongal/textual_inversion/ldm/modules/embedding_manager.py official repository ran · honoured contract MIT (permissive) · 41c6eb3a0aa3eb46 · report
get_embedding_for_clip_token rinongal/textual_inversion/ldm/modules/embedding_manager.py official repository ran · our draft was wrong MIT (permissive) · 71c2df28a1008d03 · report
EmbeddingManager rinongal/textual_inversion/ldm/modules/embedding_manager.py official repository unverified MIT (permissive) · 7cb89a6737441411 · report
LoraInjectedConv2d cloneofsimo/lora/lora_diffusion/lora.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 1548fd8499deb498 · report
LoraInjectedLinear cloneofsimo/lora/lora_diffusion/lora.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 3ca96bc3c5f38318 · report
SimpleTokenizer joycenerd/p4d/open_clip/tokenizer.py community (archive-listed) ran MIT (permissive) · cbc39c2df0771d50 · report
_find_modules_v2 cloneofsimo/lora/lora_diffusion/lora.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · e1b3ccc792ff8565 · report
bytes_to_unicode joycenerd/p4d/open_clip/tokenizer.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 5267c9a6cdeea45b · report
get_clip_token_for_string nicolai256/stable-textual-inversion_win/ldm/modules/embedding_manager.py community (archive-listed) ran MIT (permissive) · 7e334d1575bdaede · report
inject_trainable_lora cloneofsimo/lora/lora_diffusion/lora.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · c8dd7e385ef5e915 · report
EmbeddingManager nicolai256/stable-textual-inversion_win/ldm/modules/embedding_manager.py community (archive-listed) unverified MIT (permissive) · e7e48e96a6442923 · report
TextualInversionDataset ignoww/ZOODiP/train_zoodip.py community (archive-listed) unverified no licence file found · pointer only · 0c65f0063ebd7b8c · report

Tasks

Image GenerationPersonalized Image GenerationText to Image GenerationText-to-Image Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Personalized Image Generation DreamBooth Textual Inversion SD v1.5 Concept Preservation (CP) 0.378 #7 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth Textual Inversion SD v1.5 Overall (CP * PF) 0.236 #7 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth Textual Inversion SD v1.5 Prompt Following (PF) 0.624 #7 of 7 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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