Organizations: Simon Fraser University, Burnaby, Canada · University of Cyprus and CYENS Centre of Excellence, Nicosia, Cyprus · Shahid Beheshti University, Tehran, Iran
Image analogy transfers a demonstrated transformation from a before/after pair (A, A') to a new query image B. Existing methods assume all changes in (A, A') should be fully transferred, limiting flexibility when users want only a subset of the demonstrated edits. We introduce Selective Image Analogy (SIA), a new setting where a single demonstration pair encodes multiple edits, and the user selects at inference time which edits to apply to B. To support this, we curate a multi-edit analogy dataset with full-edit and partial-edit targets. We then train a model that first learns to transfer the complete demonstrated transformation, and then gains selective control through a mask-aligned suppression mechanism: a token-gated LoRA that restricts adapter updates to suppressed edit tokens during denoising, paired with a concept suppression vector that weakens the selected tokens in the text embeddings before denoising. Together, these components allow SIA to suppress unwanted edits that remain visible in A', while preserving the user-selected ones, all without requiring a new demonstration pair for each edit combination. We perform extensive quantitative and qualitative evaluations along with user studies to demonstrate the efficacy of our approach.
Figures & tables
Figure 1. Teaser of SIA . A single reference pair (A,A′) may contain multiple edits at once. In this example, the changes include adding a logo, changing the expression, and replacing the background. Given a new query image B , SIA lets the user choose which edits to transfer. The same demonstration can produce different outputs, ranging from single-edit results to combinations of selected edits, while leaving the remaining edits out.
Figure 2. Overview of our selective image analogy pipeline . Given a demonstration pair (A,A′) containing multiple edits and a query image B , the model transfers only the user-selected edits to produce B′ . In this example, green textual tokens indicate retained edits that should be applied to B , while red textual tokens indicate suppressed edits that should not be transferred, even though they are present in A′ . The visual analogy guides the overall edit transfer, while the colored textual tokens specify which edits are retained or suppressed using selective token suppression and the Concept Suppression Vector (CSV).
Qwen3-VL-32B
Gemma 4
CLIP
Method
Ret. Acc. ↑
Pres. ↑
Recall ↑
Ret. Acc. ↑
Pres. ↑
Recall ↑
Dir. Image ↑
Dir. Ret. ↑
RelationAdapter ( Gong et al., 2025 )
6.74
9.93
0.782
6.14
9.50
0.706
0.386
0.144
VisualCloze ( Li et al., 2025 )
7.24
8.62
0.856
6.35
7.53
0.743
0.464
0.152
Edit Transfer ( Chen et al., 2025 )
2.31
9.96
0.176
2.35
9.83
0.181
0.102
0.023
LoRWeB ( Manor et al., 2026 )
6.59
9.83
0.736
5.27
9.72
0.567
0.402
0.155
Ours
8.01
9.75
0.892
9.31
9.89
0.965
0.543
0.171
Table 1. Quantitative comparison with visual analogy baselines. VLM scores are reported using Qwen3-VL-32B-Instruct and Gemma 4; results with Gemma 3 as an additional judge are given in the supplementary material (Tab. 11 ). Ret. Acc. measures retained-edit quality, Pres. measures preservation of B , and Recall measures retained-edit recall. CLIP-Dir Image is the image-image directional metric, while CLIP-Dir Retained measures alignment with the retained edit direction.
Figure 3. Advantage of demonstration-based specification. Text conveys the category of an edit but not its exact form. In each row, the demonstration specifies the exact visual form of the edit, including its structure, shape, and color, which text-based editing fails to reproduce, while SIA matches the demonstrated transformation.
ExLoRA
CSV
Ret. Acc. ↑
Supp. ↑
Pres. ↑
Avg. ↑
No
No
9.07
1.93
9.00
6.67
No
Yes
8.81
4.93
9.16
7.63
Yes
No
7.95
7.81
9.77
8.51
Yes
Yes
8.01
7.85
9.75
8.54
Table 2. Quantitative ablation of the suppression components on the test set. Supp. measures the absence of suppressed edits in the output. AnaLoRA is active in all variants.
Figure 4. Visual comparison. Qualitative comparisons with existing approaches demonstrate that only our method can selectively suppress undesired edits while preserving the input image and applying the intended modifications. In contrast, other methods either apply all edits simultaneously (e.g., Relation Adapter) or substantially alter the input image, such as the dog introduced by LoRWeb.
Figure 5. Qualitative results. We provide multiple examples with different numbers of edits that can be switched to active or inactive. Our method is able to successfully control which edit needs to be applied.
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Ave. Ranking Score ↑
RelationAdapter ( Gong et al., 2025 )
1.22
VisualCloze ( Li et al., 2025 )
0.81
Edit Transfer ( Chen et al., 2025 )
0.12
LoRWeB ( Manor et al., 2026 )
1.38
Ours
2.47
Appendix
Table 3. User study results . Participants rank the top three outputs according to selective analogy quality. Our method receives the highest average ranking score.
Method
Fidelity ↑
Overall (%) ↑
Text Only
7.00
30.1
Full Transfer + Removal
5.78
4.4
SIA (Ours)
8.86
65.4
Appendix
Table 4. Text-baseline user study. Participants rate each output for Fidelity on a 0 – 10 scale and choose the single best overall result per sample. SIA achieves the highest Fidelity and is most often chosen as best overall.
Method
Ret. Acc. ↑
Recall ↑
Pres. ↑
Text Only
7.43
0.917
9.68
Full Transfer + Removal
7.68
0.921
8.99
Nano Banana
7.36
0.885
9.55
SIA (Ours)
8.01
0.892
9.75
Appendix
Table 5. Comparison with text-based editing baselines and a commercial multi-reference editor, judged by Qwen3-VL-32B-Instruct. Text-based baselines achieve high Recall but lower Retained Accuracy.
Method
Ret. Acc. ↑
Recall ↑
Pres. ↑
Text Only
8.31
0.941
9.95
Full Transfer + Removal
8.36
0.949
9.71
SIA (Ours)
9.31
0.965
9.89
Appendix
Table 6. Comparison with text-based editing baselines, judged by Gemma 4. SIA attains the highest Retained Accuracy and Recall, while Text Only obtains the highest Preservation.
Baseline
Ours Win (%) ↑
Baseline Win (%) ↓
Tie %
Text Only
56.9
17.6
25.5
Full Transfer + Removal
48.5
30.1
21.4
Appendix
Table 7. Side-by-side VLM preference. The judge sees (A,A′) , B , the retained/suppressed edit lists, and two outputs in random order.
Figure 6. Visual comparison with Nano Banana. Qualitative comparisons against Nano Banana, a commercial multi-reference editor, show that only SIA reproduces the demonstrated edit’s exact visual form. Nano Banana typically identifies the correct category of edit, but fails to match the specific appearance shown in A′ : it renders sunglasses and the crown with the wrong shape, places the star logo in the wrong position, and produces an incorrect lipstick color. In contrast, SIA consistently matches both the type and the precise form of each demonstrated edit while preserving the identity and structure of B .
Figure 7. Overview of our multi-edit dataset generation pipeline. For higher-order edit settings, we start from a base image and apply edits sequentially to obtain intermediate composites and the final full-edit image. For two-edit settings, we augment RelationAdapter pairs with an additional style transformation synthesized by Flux.2 -Klein. All generated samples are filtered with Qwen2.5-VL to verify that the intended edits are correctly expressed.
Figure 8. Per-sample storage layout. Each leaf directory stores the source image, one reference image for each edit phrase, the sequence of composite images corresponding to retained subsets R⊆E , and a prompt.json file that maps every composite to a short natural-language description.
Figure 9. Visual ablation. Each row shows one demonstration pair (A,A′) and query B , with the four combinations of ExLoRA and CSV as columns (see the key at the top); the full method is boxed in green. The edits to retain (green) and to suppress (struck-through red) are listed on the right. Note that AnaLoRA is always active as it is needed to capture all the provided edits. All outputs are Flux.2 -Klein results with an ExLoRA trained for only 250 steps, on training-subject cases, with CSV as an additive push; the examples are selected (see text).
Category
N
Variant
Settings
Train
Test
Total
Train %
Test %
% of Data
2edits
2
Creature
210
1,459
19
1,478
98.71%
1.29%
80.11%
2edits non creature
2
Non-creature
3
21
36
57
36.84%
63.16%
3.09%
Subtotal
2
–
213
1,480
55
1,535
96.42%
3.58%
83.20%
3edits
3
Creature
16
62
88
150
41.33%
58.67%
8.13%
3edits non creature
3
Non-creature
4
46
72
118
38.98%
61.02%
6.40%
Subtotal
3
–
20
108
160
268
40.30%
59.70%
14.53%
Appendix
Table 8. Dataset composition and train/test split. Each category is defined by its edit count N and by whether the subject is a creature or a non-creature object. Settings is the number of distinct edit recipes in that category. Train % and Test % are shares within the category; % of Data is the category’s share of all 1,845 samples. Subtotal rows aggregate categories with the same N .
Category
Settings
Num. pairs
Multiplier
Instances
2-edit
210
7,572
3
22,716
2-edit non-creature
3
64
2
128
3-edit
16
104
3
312
3-edit non-creature
4
244
3
732
4-edit
5
26
4
104
Total
238
–
–
23,992
Appendix
Table 9. Same-setting pairing calculation for training-instance construction. For each category, we sum (2M) over all training settings, where M is the number of training samples in a given setting, then multiply by the per-category edit multiplier to obtain the effective training instances. Per-setting sample counts M : 2-edit non-creature =7,8,6 ; 3-edit, avg. M≈3.9 ; 3-edit non-creature =10,12,13,11 ; 4-edit =3,2,4,4,5 .
Role
Match m(e)
d(e)
s(e) (1–10)
retain
(a)
1
9–10
retain
(b)
1
5–7
retain
(c)
0
1
suppress
(a)
1
1
suppress
(b)
1
4–6
suppress
(c)
0
9–10
Appendix
Table 10. Deterministic mapping from the per-edit match label in STEP 2 to the binary detection flag d(e) and the 1–10 score s(e) in STEP 3. The same score ranges are used to map the identity-match label to the Preservation score.
Qwen3-VL-32B
Gemma 3
Gemma 4
CLIP
Method
Ret. Acc. ↑
Pres. ↑
Recall ↑
Ret. Acc. ↑
Pres. ↑
Recall ↑
Ret. Acc. ↑
Pres. ↑
Recall ↑
Dir. Image ↑
Dir. Ret. ↑
RelationAdapter ( Gong et al., 2025 )
6.74
9.93
0.782
8.09
9.48
0.941
6.14
9.50
0.706
0.386
0.144
VisualCloze ( Li et al., 2025 )
7.24
8.62
0.856
8.14
9.28
0.947
6.35
7.53
0.743
0.464
0.152
Edit Transfer ( Chen et al., 2025 )
2.31
9.96
0.176
5.75
9.58
0.623
2.35
9.83
0.181
0.102
0.023
LoRWeB ( Manor et al., 2026 )
6.59
9.83
0.736
8.12
9.51
0.926
5.27
9.72
0.567
0.402
0.155
Ours
8.01
9.75
0.892
8.65
9.57
0.952
9.31
9.89
0.965
0.543
0.171
Appendix
Table 11. Full quantitative comparison with visual analogy baselines under all three VLM judges (extends Tab. 1 with Gemma 3). Ret. Acc. measures retained-edit quality, Pres. measures preservation of B , and Recall measures retained-edit recall. CLIP-Dir Image is the image-image directional metric, while CLIP-Dir Retained measures alignment with the retained edit direction.
Figure 10. All edit combinations. For each demonstration pair (A,A′) and query image B , we show the output of SIA for every subset of the demonstrated edits, from a single retained edit to all of them. The chips under each output mark the selected (green) and excluded (red) edits.
Figure 11. Additional Results on portraits with multi-edit demonstrations. Each row shows SIA transferring a selected subset of the edits in a demonstration pair (A,A′) to a query image B . Green edits are retained and struck-through red edits are suppressed. The examples cover accessories, hair, expressions, backgrounds, and styles on portraits, from demonstrations with two to four edits.
Figure 12. Additional Results on portraits. Each row shows SIA transferring a selected subset of the edits in a demonstration pair (A,A′) to a query image B . Green edits are retained and struck-through red edits are suppressed. The examples cover expressions, accessories, poses, and backgrounds, mostly from two-edit demonstrations.
Figure 13. Additional Results on objects, scenes, and animals. Each row shows SIA transferring a selected subset of the edits in a demonstration pair (A,A′) to a query image B . Green edits are retained and struck-through red edits are suppressed. The examples cover candlelit-scene and pencil-sketch edits on fruit, a color change on a car, a color change on a dog, and wing and gold-color edits on a dragon.
Variant
Ret. Acc.
Supp.
Pres.
Avg.
AnaLoRA + ExLoRA
9.12
9.94
9.80
9.62
AnaLoRA only, prompt deletion
9.16
7.26
8.87
8.43
Appendix
Table 12. SIA on Qwen-Image-2.1. Mean judge scores ( 0 – 10 , higher is better) from Qwen3-VL-32B-Instruct on a 704 -item subset of the test set. Both variants run without CSV . Prompt deletion drops the excluded edits from the AnaLoRA prompt. Avg. is the mean of the three scores. The protocol differs from that of the main tables.
Figure 14. Additional results with Qwen-Image-2.1. Each row shows SIA transferring a selected subset of the edits in a demonstration pair (A,A′) to a query image B . Green edits are retained and struck-through red edits are suppressed. The examples cover a carved texture on a fruit, armor with a new background, a beard, and hair color with a background. The beard row uses the same demonstration pair and query image as a row of Fig. 12 , for a side-by-side view of the two backbones. These are curated examples (Sec. I ), and no baseline or user-study comparison exists for this backbone.
Figure 15. All edit combinations with Qwen-Image-2.1. For each demonstration pair (A,A′) and query image B , we show the output of SIA for every subset of the demonstrated edits: a crown, green hair, a Paris background and a Van Gogh style on a portrait (four edits), and a red T-shirt, a sitting pose and a painting style on a dog. The chips under each output mark the selected (green, tick) and excluded (red, cross) edits. All outputs are curated examples from the Qwen-Image-2.1 model of Sec. I , not from Flux.2 -Klein, and no baseline or user-study comparison exists for this backbone.
Figure 16. All edit combinations with Qwen-Image-2.1 (continued). More demonstrations in the format of Fig. 15 : sunglasses, a sad expression and a street background; armor, a beach hat and a kitchen background; and a bench, a red lamp light and an oil-painting style on a street scene.
Figure 17. All edit combinations with Qwen-Image-2.1 (continued). A crown, a gold necklace and an angry expression; and a beard, a surprised expression and a street background. These are curated examples from the Qwen-Image-2.1 model (Sec. I ).
Analogical reasoning studies how systems transfer relations and solutions between situations with shared structure, enabling inference beyond direct examples.
May 27, 2026·Peiyu Zhuang, Jianquan Yang, Haodong Li +6
Shenzhen Campus of Sun Yat-sen University, China · Guangdong Provincial Key Laboratory of Intelligent Information Processing and Shenzhen Key Laboratory of Media Security, Shenzhen University, Shenzhen, China · Shenzhen University of Advanced Technology and Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences, China +2