Skip to content
AI.info

Research

SIA: Selective Image Analogy

Image analogy uses a before-and-after pair to show a model what transformation to apply to another image. Existing methods generally transfer every change in the example, even when a user wants only…

arXiv
2611.33894 · Preprint · not peer-reviewed
Published
2026-11-25
Authors
Amirhossein Alimohammadi, Kian Izadpanah, Bardiya Kariminia, Yiorgos Chrysanthou, Ali Mahdavi-Amiri

In plain words

Image analogy uses a before-and-after pair to show a model what transformation to apply to another image. Existing methods generally transfer every change in the example, even when a user wants only some of them.

AI summary

Overview

  • Research area: Computer vision, image editing, and visual analogy.
  • Technical level: Intermediate.
  • Scope: The paper presents a way to transfer only chosen edits from a multi-edit before-and-after example to a new image, using the same example for different edit selections.

What This Paper Is About

Image analogy uses a before-and-after pair to show a model what transformation to apply to another image. Existing methods generally transfer every change in the example, even when a user wants only some of them. This paper introduces Selective Image Analogy (SIA), which lets users name the edits they want to keep and suppress the rest.

Key Contributions

  1. Introduces selective image analogy: A single visual example can contain several edits, and a user can choose which ones to transfer at inference time.
  2. Builds a multi-edit dataset: The dataset includes examples with complete edits as well as targets containing only selected subsets. It contains 1606 training samples, 238 edit settings, and 239 test cases, covering 2–4 simultaneous edits.
  3. Develops a two-part suppression mechanism: ExLoRA applies learned changes only to tokens for suppressed edits during denoising, while the Concept Suppression Vector (CSV) weakens those edits in the text embeddings.
  4. Trains for both full and selective transfer: AnaLoRA first learns to transfer the complete demonstrated transformation; training on partial-edit targets then teaches the model to suppress chosen edits without changing the demonstration pair.

Main Findings

  • Stronger selective transfer than the tested analogy baselines: SIA achieved the highest retained-edit accuracy and edit recall under both Qwen3-VL-32B-Instruct and Gemma 4, and the best reported CLIP directional scores.
  • Reported metric results: Under Qwen3-VL-32B-Instruct, SIA scored 8.01 for retained-edit accuracy, 9.75 for preservation, and 0.892 for edit recall. Under Gemma 4, it scored 9.31, 9.89, and 0.965 on those metrics, respectively. Its CLIP-Dir Image and CLIP-Dir Retained scores were 0.543 and 0.171.
  • The two suppression components work best together: In the ablation, the version with both ExLoRA and CSV reached an average score of 8.54, compared with 6.67 when neither was used. Its suppression score was 7.85; the paper reports that the combined approach gave the strongest overall performance.
  • Preservation alone can be misleading: The paper notes that a method may preserve the query image simply by making weak edits. SIA’s higher retained-edit accuracy and recall indicate whether it both avoids unwanted changes and applies the desired ones.
  • Visual demonstrations provide detail text alone may miss: The paper’s qualitative examples show that a before-and-after pair can convey an edit’s exact visual form—such as its shape, structure, or color—more effectively than a text instruction alone.

Methodology in Plain English

The researchers use a model based on Flux.2-Klein and provide it with three images: the original example, its edited version, and the new image to edit. A text prompt names the changes shown in the example.

First, AnaLoRA is trained to apply all the demonstrated edits. For selective editing, the user identifies which edits to keep. The system marks the descriptions of the other edits with a token mask, while keeping the full visual example and full edit prompt in place.

That same mask controls two suppression steps. CSV reduces the text signal associated with each unwanted edit. ExLoRA changes how the model processes those marked edit tokens while generating the image. The model is trained on both complete-edit targets and partial-edit targets, teaching it to keep selected changes while leaving suppressed ones out.

Why This Matters

Research impact: SIA turns image analogy from an all-or-nothing operation into a more flexible editing approach. A single demonstration can support different edit selections, rather than requiring a separate example for each combination. The paper also provides a dataset for studying this selective-transfer problem.

Potential applications:

  • Photography: Apply a demonstrated expression or style change without also copying an unwanted background change.
  • Film production: Reuse a demonstrated visual treatment while selectively retaining particular appearance changes.
  • Advertising: Transfer a demonstrated design element, such as a logo, without carrying over other edits in the example.
  • Content creation: Use a visual example to convey the exact appearance of an edit, while choosing which parts to apply.

Industry relevance: The method combines natural-language edit selection with visual examples that carry details difficult to specify in text. Its design avoids per-query optimization and does not require a new demonstration pair for each edit combination, which could make it useful in editing workflows that need repeatable, user-directed changes. The paper does not report deployment in these industries.

Future Directions

  • Scale to more edits: The paper says SIA currently supports up to a handful of demonstrated edits; future work could test how well the approach scales beyond that.
  • Broaden the data and edit coverage: The reported dataset focuses on combinations including object additions, style changes, and background changes. Further evaluation could cover a wider range of edit types and subjects.
  • Study the suppression–fidelity trade-off: The ablation reports a slight decrease in retained-edit accuracy alongside stronger suppression. Future work could examine how to reduce unwanted edits while preserving the quality of desired ones.
  • Evaluate usability and generalization further: The paper reports user studies, but the provided content does not give their results or details. More information about user experience and performance on new kinds of demonstrations would clarify how the method works in practice.

Target Audience

This paper is most relevant to computer-vision and generative-model researchers working on image editing, visual prompting, or controllable generation. It may also interest designers and creative-tool developers who want to reuse visual demonstrations while retaining control over which changes are applied.

Authors’ abstract

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…

The full abstract on arXiv
Read the original paper

Related papers