Lune

ICCV2025Top-tier venue

VisualCloze: A Universal Image Generation Framework via Visual in-Context Learning

Zhong-Yu Li, Ruoyi Du, Juncheng Yan, Le Zhuo, Zhen Li, Peng Gao, Zhanyu Ma, Ming-Ming Cheng

Abstract

Recent advances in diffusion models have significantly advanced image generation; however, existing models remain task-specific, limiting their efficiency and generalizability. While universal models attempt to address these limitations, they face critical challenges, including generalizable instruction design, appropriate task distributions, and unified architectural design. In this work, we propose VisualCloze, a universal image generation framework, to tackle these challenges. Unlike existing methods that rely on language-based task descriptions, leading to task ambiguity and weak generalization, we integrate visual in-context learning, allowing models to identify tasks from demonstrations. Meanwhile, the inherent sparsity of visual task distributions hampers the learning of transferable knowledge across tasks. To this end, we introduce Graph200K, a graph-structured dataset that establishes various interrelated tasks, enhancing task density and knowledge transfer. Furthermore, we uncover an intrinsic alignment between image infilling and in-context learning, enabling us to leverage the strong generative priors of pre-trained infilling models without modifying their architectures. Experiments demonstrate that VisualCloze achieves strong performance across various indomain tasks while generalizing to unseen tasks in few-shot and zero-shot settings. Our codes and dataset are available at https://visualcloze.github.io/.

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.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
  • Mind-the-Glitch: Visual Correspondence for Detecting Inconsistencies in Subject-Driven Generation cites LoRA: Low-Rank Adaptation of Large Language Models
  • Mind-the-Glitch: Visual Correspondence for Detecting Inconsistencies in Subject-Driven Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • RelationAdapter: Learning and Transferring Visual Relation with Diffusion Transformers cites LoRA: Low-Rank Adaptation of Large Language Models
  • RelationAdapter: Learning and Transferring Visual Relation with Diffusion Transformers cites Learning Transferable Visual Models From Natural Language Supervision
  • RelationAdapter: Learning and Transferring Visual Relation with Diffusion Transformers cites Denoising Diffusion Probabilistic Models
  • Dimension-Reduction Attack! Video Generative Models are Experts on Controllable Image Synthesis cites LoRA: Low-Rank Adaptation of Large Language Models
  • Dimension-Reduction Attack! Video Generative Models are Experts on Controllable Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Language Models are Few-Shot Learners
  • Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • IC-Custom: Diverse Image Customization via In-Context Learning cites LoRA: Low-Rank Adaptation of Large Language Models
  • IC-Custom: Diverse Image Customization via In-Context Learning cites Diffusion Models Beat GANs on Image Synthesis
  • IC-Custom: Diverse Image Customization via In-Context Learning cites Learning Transferable Visual Models From Natural Language Supervision
  • IC-Custom: Diverse Image Customization via In-Context Learning cites Denoising Diffusion Probabilistic Models
  • Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
  • OmniTry: Virtual Try-On Anything without Masks cites LoRA: Low-Rank Adaptation of Large Language Models
  • OmniTry: Virtual Try-On Anything without Masks cites Learning Transferable Visual Models From Natural Language Supervision
  • OmniTry: Virtual Try-On Anything without Masks cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. RelationAdapter: Learning and Transferring Visual Relation with Diffusion TransformersYan Gong, Yiren Song, Yicheng Li, Chenglin Li et al.NeurIPS 2025 · 30 citations
  2. OmniTry: Virtual Try-On Anything without MasksYutong Feng, Linlin Zhang, Hengyuan Cao, Yiming Chen et al.NeurIPS 2025 · 16 citations
  3. IC-Custom: Diverse Image Customization via In-Context LearningYaowei Li, Xiaoyu Li, Zhaoyang Zhang, Yuxuan Bian et al.ICLR 2026 · 10 citations
  4. Mind-the-Glitch: Visual Correspondence for Detecting Inconsistencies in Subject-Driven GenerationAbdelrahman Eldesokey, Aleksandar Cvejic, Bernard Ghanem, Peter WonkaNeurIPS 2025 · 6 citations
  5. Dimension-Reduction Attack! Video Generative Models are Experts on Controllable Image SynthesisHengyuan Cao, Yutong Feng, Biao Gong, Yijing Tian et al.NeurIPS 2025 · 6 citations

Builds on53

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  3. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  4. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  5. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations

Related papers

  1. Analogist: Out-of-the-box Visual In-Context Learning with Image Diffusion ModelZheng Gu, Shiyuan Yang, Jing Liao, Jing Huo et al.SIGGRAPH 2024 · 7 citations
  2. Visual in-Context PromptingFeng Li, Qing Jiang, Hao Zhang, Tianhe Ren et al.CVPR 2024
  3. In-Context Learning Unlocked for Diffusion ModelsZhendong Wang, Yifan Jiang, Yadong Lu, Yelong Shen et al.NeurIPS 2023 · 128 citations
  4. Visual Bridge: Universal Visual Perception Representations GeneratingYilin Gao, Shuguang Dou, Junzhou Li, Zhiheng Yu et al.AAAI 2026 · 1 citation
  5. Diffusion Guided Chain-of-Vision for Large Autoregressive Vision ModelsXinyang Wang, Kecheng Zheng, Minfeng Zhu, Wei Wu et al.CVPR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines