Unleashing In-context Learning of Autoregressive Models for Few-shot Image Manipulation
Bolin Lai, Felix Juefei-Xu, Miao Liu, Xiaoliang Dai, Nikhil Mehta, Chenguang Zhu, Zeyi Huang, James M. Rehg, Sangmin Lee, Ning Zhang, Tong Xiao
Abstract
Abstract Text-guided image manipulation has experienced notable advancement in recent years. In order to mitigate linguistic ambiguity, few-shot learning with visual examples has been applied for instructions that are underrepresented in the training set, or difficult to describe purely in language. However, learning from visual prompts requires strong reasoning capability, which diffusion models are struggling with. To address this issue, we introduce a novel multi-modal autoregressive model, dubbed Insta-Manip, that can instantly learn a new image manipulation operation from textual and visual guidance via in-context learning, and apply it to new query images. Specifically, we propose an innovative group self-attention mechanism to break down the in-context learning process into two separate stages -learning and applying, which simplifies the complex problem into two easier tasks. We also introduce a relation regularization method to further disentangle image transformation features from irrelevant contents in exemplar images. Extensive experiments suggest that our method surpasses previous few-shot image manipulation models by a notable margin (≥19% in human evaluation). We also find our model can be further boosted by increasing the number or diversity of exemplar images. Please check out our project page ( https://bolinlai.github.io/projects/InstaManip/ ).
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
- VisualCloze: A Universal Image Generation Framework via Visual in-Context Learning cites LoRA: Low-Rank Adaptation of Large Language Models
- VisualCloze: A Universal Image Generation Framework via Visual in-Context Learning cites High-Resolution Image Synthesis with Latent Diffusion Models
- VisualCloze: A Universal Image Generation Framework via Visual in-Context Learning cites Language Models are Few-Shot Learners
- VisualCloze: A Universal Image Generation Framework via Visual in-Context Learning cites Learning Transferable Visual Models From Natural Language Supervision
- Visual Autoregressive Modeling for Instruction-Guided Image Editing cites Learning Transferable Visual Models From Natural Language Supervision
- EditClip: Representation Learning for Image Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
- EditClip: Representation Learning for Image Editing cites Learning Transferable Visual Models From Natural Language Supervision
- EditClip: Representation Learning for Image Editing cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Residual Decoder Adapter: ID-Preserving Tokenizer Adaption for Autoregressive Text Rendering cites High-Resolution Image Synthesis with Latent Diffusion Models
- Residual Decoder Adapter: ID-Preserving Tokenizer Adaption for Autoregressive Text Rendering cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Language Models are Few-Shot Learners
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers5
- Visual Autoregressive Modeling for Instruction-Guided Image EditingQingyang Mao, Qi Cai, Yehao Li, Yingwei Pan et al.ICLR 2026 · 21 citations
- VisualCloze: A Universal Image Generation Framework via Visual in-Context LearningZhong-Yu Li, Ruoyi Du, Juncheng Yan, Le Zhuo et al.ICCV 2025 · 2 citations
- EditClip: Representation Learning for Image EditingQian Wang, Aleksandar Cvejic, Abdelrahman Eldesokey, Peter WonkaICCV 2025 · 1 citation
- Residual Decoder Adapter: ID-Preserving Tokenizer Adaption for Autoregressive Text RenderingDongxing Mao, Alex Jinpeng Wang, Jiahao Tang, Kevin Qinghong Lin et al.CVPR 2026 · 1 citation
- When Privacy Meets Recovery: The Overlooked Half of Surrogate-Driven Privacy Preservation for MLLM EditingSiyuan Xu, Yibing Liu, Peilin Chen, Yung-Hui Li et al.AAAI 2026
Builds on56
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
Related papers
- The Promise of RL for Autoregressive Image EditingSaba Ahmadi, Rabiul Awal, Ankur Sikarwar, Amirhossein Kazemnejad et al.NeurIPS 2025 · 6 citations
- ImageBrush: Learning Visual In-Context Instructions for Exemplar-Based Image ManipulationYasheng Sun, Yifan Yang, Houwen Peng, Yifei Shen et al.NeurIPS 2023 · 71 citations
- DomainGallery: Few-shot Domain-driven Image Generation by Attribute-centric FinetuningYuxuan Duan, Yan Hong, Bo Zhang, Jun Lan et al.NeurIPS 2024 · 2 citations
- DiffusionCLIP: Text-Guided Diffusion Models for Robust Image ManipulationGwanghyun Kim, Taesung Kwon, Jong Chul YeCVPR 2022 · 458 citations
- Multimodal Few-Shot Learning with Frozen Language ModelsMaria Tsimpoukelli, Jacob Menick, Serkan Cabi, S. M. Ali Eslami et al.NeurIPS 2021 · 1,020 citations
