Papers › ViCo: Plug-and-play Visual Condition for Personalized Text-to-image Generation

ViCo: Plug-and-play Visual Condition for Personalized Text-to-image Generation

1 Jun 2023arXiv:2306.00971archive 2025-07-28

Shaozhe Hao, Kai Han, Shihao Zhao, Kwan-Yee K. Wong

Personalized text-to-image generation using diffusion models has recently emerged and garnered significant interest. This task learns a novel concept (e.g., a unique toy), illustrated in a handful of images, into a generative model that captures fine visual details and generates photorealistic images based on textual embeddings. In this paper, we present ViCo, a novel lightweight plug-and-play method that seamlessly integrates visual condition into personalized text-to-image generation. ViCo stands out for its unique feature of not requiring any fine-tuning of the original diffusion model parameters, thereby facilitating more flexible and scalable model deployment. This key advantage distinguishes ViCo from most existing models that necessitate partial or full diffusion fine-tuning. ViCo incorporates an image attention module that conditions the diffusion process on patch-wise visual semantics, and an attention-based object mask that comes at no extra cost from the attention module. Despite only requiring light parameter training (~6% compared to the diffusion U-Net), ViCo delivers performance that is on par with, or even surpasses, all state-of-the-art models, both qualitatively and quantitatively. This underscores the efficacy of ViCo, making it a highly promising solution for personalized text-to-image generation without the need for diffusion model fine-tuning. Code: https://github.com/haoosz/ViCo

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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.00971")

Code

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

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

haoosz/vico 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; 14 ran; 2 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

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

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 haoosz/vico. “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.

Normalize haoosz/vico/ldm/modules/diffusionmodules/model.py official repository ran · our draft was wrong MIT (permissive) · 9fcdaa6e423e8aa7 · report
always haoosz/vico/ldm/modules/x_transformer.py official repository ran · our draft was wrong MIT (permissive) · fe5dd5258046898c · report
default haoosz/vico/ldm/modules/attention.py official repository ran · violated contract MIT (permissive) · 424012cb37b31172 · report
disabled_train haoosz/vico/ldm/models/diffusion/classifier.py official repository ran · violated contract MIT (permissive) · 4cb732f513d69dfd · report
exists haoosz/vico/ldm/modules/attention.py official repository ran · violated contract fingerprinted MIT (permissive) · aa5486a3650902d8 · report
get_bert_token_for_string haoosz/vico/ldm/modules/embedding_manager.py official repository ran · honoured contract MIT (permissive) · d5726f9e3a5684c3 · report
get_clip_token_for_string haoosz/vico/ldm/modules/embedding_manager.py official repository ran · honoured contract MIT (permissive) · 41c6eb3a0aa3eb46 · report
get_timestep_embedding haoosz/vico/ldm/modules/diffusionmodules/model.py official repository ran · fixture could not drive it MIT (permissive) · cb49209c125de1b4 · report
isimage haoosz/vico/ldm/util.py official repository ran fingerprinted MIT (permissive) · b1368330cf0f5642 · report
ismap haoosz/vico/ldm/util.py official repository ran fingerprinted MIT (permissive) · d72762b700feee6f · report
log_txt_as_img haoosz/vico/ldm/util.py official repository ran MIT (permissive) · f41710299c49d36d · report
nonlinearity haoosz/vico/ldm/modules/diffusionmodules/model.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 3137073275f8c21a · report
uniform_on_device haoosz/vico/ldm/models/diffusion/ddpm.py official repository ran · our draft was wrong MIT (permissive) · d48d8354986e3b0e · report
uniq haoosz/vico/ldm/modules/attention.py official repository ran · our draft was wrong MIT (permissive) · 9a299fe5ae09e407 · report
get_embedding_for_clip_token haoosz/vico/ldm/modules/embedding_manager.py official repository unverified MIT (permissive) · 48a80bc1b4910426 · report

Tasks

Image GenerationText to Image GenerationText-to-Image Generation

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