paper-with-me

Papers

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

2024-05-16 · Zheng Gu, Shiyuan Yang, Jing Liao, Jing Huo, Yang Gao

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.

📄 PDF Abstract BibTeX arXiv:2405.10316

Code (0)

등록된 구현이 없습니다.

Tasks

Image InpaintingIn-Context LearningVisual PromptingVisual Reasoning

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Context Diffusion: In-Context Aware Image Generation

2023-12-06 · Ivona Najdenkoska, Animesh Sinha, Abhimanyu Dubey, Dhruv Mahajan 외

We propose Context Diffusion, a diffusion-based framework that enables image generation models to learn from visual examples presented in context. Recent work tackles such in-context learning for image generation, where …

Image GenerationIn-Context Learning

Improving In-Context Learning in Diffusion Models with Visual Context-Modulated Prompts

2023-12-03 · Tianqi Chen, Yongfei Liu, Zhendong Wang, Jianbo Yuan 외

In light of the remarkable success of in-context learning in large language models, its potential extension to the vision domain, particularly with visual foundation models like Stable Diffusion, has sparked considerable…

In-Context Learning

Contextualized Diffusion Models for Text-Guided Image and Video Generation

2024-02-26 · Ling Yang, Zhilong Zhang, Zhaochen Yu, Jingwei Liu 외

Conditional diffusion models have exhibited superior performance in high-fidelity text-guided visual generation and editing. Nevertheless, prevailing text-guided visual diffusion models primarily focus on incorporating t…

Image GenerationText to Image GenerationText-to-Image GenerationText-to-Video Editing+2

VIRAL: Visual In-Context Reasoning via Analogy in Diffusion Transformers

2026-02-03 · Zhiwen Li, Zhongjie Duan, Jinyan Ye, Cen Chen 외 arxiv

Replicating In-Context Learning (ICL) in computer vision remains challenging due to task heterogeneity. We propose \textbf{VIRAL}, a framework that elicits visual reasoning from a pre-trained image editing model by formu…

Visual ReasoningImage Editing

InvSeg: Test-Time Prompt Inversion for Semantic Segmentation

2024-10-15 · Jiayi Lin, Jiabo Huang, Jian Hu, Shaogang Gong

Visual-textual correlations in the attention maps derived from text-to-image diffusion models are proven beneficial to dense visual prediction tasks, e.g., semantic segmentation. However, a significant challenge arises d…

Image GenerationOpen Vocabulary Semantic SegmentationOpen-Vocabulary Semantic SegmentationSegmentation+1