Paper Reading AI Learner

Difference Inversion: Interpolate and Isolate the Difference with Token Consistency for Image Analogy Generation

2025-06-09 13:34:47
Hyunsoo Kim, Donghyun Kim, Suhyun Kim

Abstract

How can we generate an image B' that satisfies A:A'::B:B', given the input images A,A' and B? Recent works have tackled this challenge through approaches like visual in-context learning or visual instruction. However, these methods are typically limited to specific models (e.g. InstructPix2Pix. Inpainting models) rather than general diffusion models (e.g. Stable Diffusion, SDXL). This dependency may lead to inherited biases or lower editing capabilities. In this paper, we propose Difference Inversion, a method that isolates only the difference from A and A' and applies it to B to generate a plausible B'. To address model dependency, it is crucial to structure prompts in the form of a "Full Prompt" suitable for input to stable diffusion models, rather than using an "Instruction Prompt". To this end, we accurately extract the Difference between A and A' and combine it with the prompt of B, enabling a plug-and-play application of the difference. To extract a precise difference, we first identify it through 1) Delta Interpolation. Additionally, to ensure accurate training, we propose the 2) Token Consistency Loss and 3) Zero Initialization of Token Embeddings. Our extensive experiments demonstrate that Difference Inversion outperforms existing baselines both quantitatively and qualitatively, indicating its ability to generate more feasible B' in a model-agnostic manner.

Abstract (translated)

如何在给定输入图像A、A'和B的情况下生成一个满足A:A'::B:B'的图像B'? 近期的研究通过视觉上下文学习或视觉指令等方法来解决这一挑战,但这些方法通常局限于特定模型(如InstructPix2Pix、去噪模型)而不是通用扩散模型(如Stable Diffusion、SDXL)。这种依赖性可能导致继承偏见或较低的编辑能力。在本文中,我们提出了差异反转法,这是一种仅从A和A'之间提取差异并将其应用于B以生成合理的B'的方法。为了减少对特定模型的依赖,重要的是将提示结构为适用于稳定扩散模型的“完整提示”,而不是使用“指令提示”。为此,我们准确地提取了A和A'之间的差异,并将其与B的提示相结合,从而实现差异的即插即用应用。 为了精确提取差异,我们首先通过1)Delta插值来识别它。此外,为确保训练准确性,我们提出了2)Token一致性损失和3)Token嵌入零初始化。我们的大量实验表明,差异反转法在定量和定性上都优于现有的基线方法,这表明它可以以模型无关的方式生成更可行的B'。

URL

https://arxiv.org/abs/2506.07750

PDF

https://arxiv.org/pdf/2506.07750.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot