Papers › General Image-to-Image Translation with One-Shot Image Guidance

General Image-to-Image Translation with One-Shot Image Guidance

20 Jul 2023ICCV 2023 1arXiv:2307.14352archive 2025-07-28

Bin Cheng, Zuhao Liu, Yunbo Peng, Yue Lin

Large-scale text-to-image models pre-trained on massive text-image pairs show excellent performance in image synthesis recently. However, image can provide more intuitive visual concepts than plain text. People may ask: how can we integrate the desired visual concept into an existing image, such as our portrait? Current methods are inadequate in meeting this demand as they lack the ability to preserve content or translate visual concepts effectively. Inspired by this, we propose a novel framework named visual concept translator (VCT) with the ability to preserve content in the source image and translate the visual concepts guided by a single reference image. The proposed VCT contains a content-concept inversion (CCI) process to extract contents and concepts, and a content-concept fusion (CCF) process to gather the extracted information to obtain the target image. Given only one reference image, the proposed VCT can complete a wide range of general image-to-image translation tasks with excellent results. Extensive experiments are conducted to prove the superiority and effectiveness of the proposed methods. Codes are available at https://github.com/CrystalNeuro/visual-concept-translator.

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

Code

Syntology Ran 8 of 14 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 8 ran with no contract checked.

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

crystalneuro/visual-concept-translator officialmentioned in papermentioned on GitHubpytorchApache-2.0 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

14 samples harvested; 8 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.

8ran
6unverified

Licence: 0 of the 14 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 crystalneuro/visual-concept-translator. “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.

backward_ddim crystalneuro/visual-concept-translator/ddim_inversion.py official repository ran Apache-2.0 (permissive) · a3379285d38d5ba2 · report
betas_for_alpha_bar crystalneuro/visual-concept-translator/new_scheduling_ddpm.py official repository ran fingerprinted Apache-2.0 (permissive) · c3d321eafd7ea5fc · report
default_score_estimation crystalneuro/visual-concept-translator/ptp_inversion.py official repository ran Apache-2.0 (permissive) · 653217e1d54a411b · report
forward_ddim crystalneuro/visual-concept-translator/ddim_inversion.py official repository ran Apache-2.0 (permissive) · 85fd2e71002a15f4 · report
get_out_img_path crystalneuro/visual-concept-translator/pivot_turning_inversion.py official repository ran Apache-2.0 (permissive) · 56b072a98a341ab0 · report
image_grid_three_groups crystalneuro/visual-concept-translator/pivot_turning_inversion.py official repository ran Apache-2.0 (permissive) · 36a016cfede1b253 · report
image_grid_two_groups crystalneuro/visual-concept-translator/pivot_turning_inversion.py official repository ran Apache-2.0 (permissive) · 4a169ba2b27d7e15 · report
text_under_image crystalneuro/visual-concept-translator/ptp_utils.py official repository ran Apache-2.0 (permissive) · 85d5eb123674597d · report
aggregate_attention crystalneuro/visual-concept-translator/ptp_inversion.py official repository unverified Apache-2.0 (permissive) · 23ca7e055397296f · report
diffusion_step crystalneuro/visual-concept-translator/ptp_utils.py official repository unverified Apache-2.0 (permissive) · 72814e44d259c855 · report
get_matrix crystalneuro/visual-concept-translator/seq_aligner.py official repository unverified Apache-2.0 (permissive) · d167441d997c52ce · report
get_matrix crystalneuro/visual-concept-translator/seq_aligner.py official repository unverified Apache-2.0 (permissive) · 81db21bf982ca0fe · report
get_traceback_matrix crystalneuro/visual-concept-translator/seq_aligner.py official repository unverified Apache-2.0 (permissive) · beb8f6a30678a4d9 · report
load_img crystalneuro/visual-concept-translator/ddim_inversion.py official repository unverified Apache-2.0 (permissive) · 33b9cc6eebe44312 · report

Tasks

Image GenerationImage-to-Image TranslationTranslation

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