mlsanityData to 7 Oct 2026

Analogist: Out-of-the-box Visual In-Context Learning with Image Diffusion Model

arXiv 2405.10316 ↗First posted 16 May 2024cs.CV cs.GRcited by 30

On the map: LLM reasoning → Multimodal reasoning

also in 1 more
Abstract (arXiv)

Visual In-Context Learning (ICL) has emerged as a promising research area due to its capability to accomplish various tasks with limited example pairs through analogical reasoning. However, training-based visual ICL has limitations in its ability to generalize to unseen tasks and requires the collection of a diverse task dataset. On the other hand, existing methods in the inference-based visual ICL category solely rely on textual prompts, which fail to capture fine-grained contextual information from given examples and can be time-consuming when converting from images to text prompts. To address these challenges, we propose Analogist, a novel inference-based visual ICL approach that exploits both visual and textual prompting techniques using a text-to-image diffusion model pretrained for image inpainting. For visual prompting, we propose a self-attention cloning (SAC) method to guide the fine-grained structural-level analogy between image examples. For textual prompting, we leverage GPT-4V's visual reasoning capability to efficiently generate text prompts and introduce a cross-attention masking (CAM) operation to enhance the accuracy of semantic-level analogy guided by text prompts. Our method is out-of-the-box and does not require fine-tuning or optimization. It is also generic and flexible, enabling a wide range of visual tasks to be performed in an in-context manner. Extensive experiments demonstrate the superiority of our method over existing approaches, both qualitatively and quantitatively.

Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 28 of its 46 references that are in the map. First posted on arXiv 16 May 2024.

Builds on

28 of 46 references.

References · 28

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  8. 2017ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenescited by 3,088
  9. 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
  10. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
  11. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 722
  12. 2018Deep Retinex Decomposition for Low-Light Enhancementcited by 720
16 more
  1. 2023The Dawn of LMMs: Preliminary Explorations with GPT-4V(ision)cited by 677
  2. 2023Zero-shot Image-to-Image Translationcited by 503
  3. 2021GAN Inversion: A Surveycited by 366
  4. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
  5. 2023Set-of-Mark Prompting Unleashes Extraordinary Visual Grounding in GPT-4Vcited by 291
  6. 2022Visual Prompting via Image Inpaintingcited by 248
  7. 2017Visual Attribute Transfer through Deep Image Analogycited by 123
  8. 2019DwNet: Dense warp-based network for pose-guided human video generationcited by 114
  9. 2023In-Context Learning Unlocked for Diffusion Modelscited by 103
  10. 2023IconShop: Text-Guided Vector Icon Synthesis with Autoregressive Transformerscited by 73
  11. 2023ImageBrush: Learning Visual In-Context Instructions for Exemplar-Based Image Manipulationcited by 59
  12. 2023ICL-D3IE: In-Context Learning with Diverse Demonstrations Updating for Document Information Extractioncited by 38
  13. 2020Deep Generation of Face Images from Sketchescited by 32
  14. 2023CLIP-Guided StyleGAN Inversion for Text-Driven Real Image Editingcited by 12
  15. 2024What You See is What You GAN: Rendering Every Pixel for High-Fidelity Geometry in 3D GANscited by 12
  16. 2020CariMe: Unpaired Caricature Generation with Multiple Exaggerationscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 11; 2026: 15.

30 papers.

Sort:

By area:

  1. 2025JarvisEvo: Towards a Self-Evolving Photo Editing Agent with Synergistic Editor-Evaluator Optimizationcited by 30
  2. 2025ImageRAG: Dynamic Image Retrieval for Reference-Guided Image Generationcited by 20
  3. 2025Personalized Vision via Visual In-Context Learningcited by 14
  4. 2024Unleashing In-context Learning of Autoregressive Models for Few-shot Image Manipulationcited by 13
  5. 2025Visual Prompting for One-shot Controllable Video Editing without Inversioncited by 8
  6. 2025PairEdit: Learning Semantic Variations for Exemplar-based Image Editingcited by 8
  7. 2026Omni-3DEdit: Generalized Versatile 3D Editing in One-Passcited by 6
  8. 2024LoRA of Change: Learning to Generate LoRA for the Editing Instruction from A Single Before-After Image Paircited by 5
  9. 2026Spanning the Visual Analogy Space with a Weight Basis of LoRAscited by 4
  10. 2024INRetouch: Context Aware Implicit Neural Representation for Photography Retouchingcited by 3
  11. 2025IP-Prompter: Training-Free Theme-Specific Image Generation via Dynamic Visual Promptingcited by 3
  12. 2025Difference Inversion: Interpolate and Isolate the Difference with Token Consistency for Image Analogy Generationcited by 3
18 more
  1. 2025Is Visual in-Context Learning for Compositional Medical Tasks within Reach?cited by 3
  2. 2025Universal Few-Shot Spatial Control for Diffusion Modelscited by 2
  3. 2025Splatent: Splatting Diffusion Latents for Novel View Synthesiscited by 2
  4. 2026FlowFixer: Towards Detail-Preserving Subject-Driven Generationcited by 1
  5. 2026ChArtist: Generating Pictorial Charts with Unified Spatial and Subject Controlcited by 1
  6. 2026Language-Free Generative Editing from One Visual Examplecited by 1
  7. 2026Delta-Adapter: Scalable Exemplar-Based Image Editing with Single-Pair Supervisioncited by 1
  8. 2024Pattern Analogies: Learning to Perform Programmatic Image Edits by Analogycited by 0
  9. 2025One-shot Embroidery Customization via Contrastive LoRA Modulationcited by 0
  10. 2026Cycle-Consistent Tuning for Layered Image Decompositioncited by 0
  11. 2026Abstraction in Style: Beyond Texture and Colorcited by 0
  12. 2026Probing Intrinsic Medical Task Relationships: A Contrastive Learning Perspectivecited by 0
  13. 2026Quo Vadis, Visual In-Context Learning? A Unified Benchmark Across Domains and Taskscited by 0
  14. 2026MirrorPPR: Exemplar-Based Portrait Photo Retouchingcited by 0
  15. 2026Hidden-Shot: Towards One-Shot Task Generalization for Low-Level Vision Generalist Modelscited by 0
  16. 2026Tree-of-Thoughts Reasoning for Text-to-Image In-Context Learningcited by 0
  17. 2026TransPhy: Visual In-Context Learning for Physically Grounded Image Editingcited by 0
  18. 2026Unifying Video Tasks via Spatiotemporal Analogycited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026VIRAL: Visual In-Context Reasoning via Analogy in Diffusion Transformers
  2. 2023Im-Promptu: In-Context Composition from Image Prompts
  3. 2026Enhancing Multimodal In-Context Learning via Inductive-Deductive Reasoning
  4. 2024Visual In-Context Learning for Large Vision-Language Models
  5. 2025T2T-VICL: Cross-Task Visual In-Context Learning via Implicit Text-Driven VLMs
  6. 2025What do vision-language models see in the context? Investigating multimodal in-context learning
  7. 2025Embracing Collaboration Over Competition: Condensing Multiple Prompts for Visual In-Context Learning
  8. 2023Improving In-Context Learning in Diffusion Models with Visual Context-Modulated Prompts