mlsanityData to 7 Oct 2026

Context Diffusion: In-Context Aware Image Generation

arXiv 2312.03584 ↗First posted 6 Dec 2023cs.CVcited by 20

Not on the map. Why?

Abstract (arXiv)

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 a query image is provided alongside context examples and text prompts. However, the quality and context fidelity of the generated images deteriorate when the prompt is not present, demonstrating that these models cannot truly learn from the visual context. To address this, we propose a novel framework that separates the encoding of the visual context and the preservation of the desired image layout. This results in the ability to learn from the visual context and prompts, but also from either of them. Furthermore, we enable our model to handle few-shot settings, to effectively address diverse in-context learning scenarios. Our experiments and human evaluation demonstrate that Context Diffusion excels in both in-domain and out-of-domain tasks, resulting in an overall enhancement in image quality and context fidelity compared to counterpart models.

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 50 of its 57 references that are in the map. First posted on arXiv 6 Dec 2023.

Builds on

50 of 57 references.

References · 50

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  6. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  7. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  8. 2022Training language models to follow instructions with human feedbackcited by 15,712
  9. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  10. 2020Denoising Diffusion Implicit Modelscited by 9,655
  11. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  12. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
38 more
  1. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  2. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  3. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  5. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  7. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  8. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  10. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  11. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,006
  12. 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
  13. 2022Emergent Abilities of Large Language Modelscited by 2,483
  14. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  15. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  16. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
  17. 2022Null-text Inversion for Editing Real Images using Guided Diffusion Modelscited by 1,168
  18. 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 924
  19. 2023GLIGEN: Open-Set Grounded Text-to-Image Generationcited by 774
  20. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
  21. 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
  22. 2023ELITE: Encoding Visual Concepts into Textual Embeddings for Customized Text-to-Image Generationcited by 414
  23. 2023Uni-ControlNet: All-in-One Control to Text-to-Image Diffusion Modelscited by 358
  24. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
  25. 2023Emu: Enhancing Image Generation Models Using Photogenic Needles in a Haystackcited by 278
  26. 2022Visual Prompting via Image Inpaintingcited by 248
  27. 2022SpaText: Spatio-Textual Representation for Controllable Image Generationcited by 217
  28. 2023Subject-driven Text-to-Image Generation via Apprenticeship Learningcited by 210
  29. 2022Re-Imagen: Retrieval-Augmented Text-to-Image Generatorcited by 208
  30. 2023Encoder-based Domain Tuning for Fast Personalization of Text-to-Image Modelscited by 203
  31. 2023UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wildcited by 197
  32. 2023Noise2Music: Text-conditioned Music Generation with Diffusion Modelscited by 173
  33. 2023Patch Diffusion: Faster and More Data-Efficient Training of Diffusion Modelscited by 131
  34. 2023Grounding Language Models to Images for Multimodal Inputs and Outputscited by 129
  35. 2023In-Context Learning Unlocked for Diffusion Modelscited by 103
  36. 2022Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesiscited by 75
  37. 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Modelscited by 62
  38. 2023MaskSketch: Unpaired Structure-guided Masked Image Generationcited by 27

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 10; 2026: 5.

20 papers.

Sort:

By area:

  1. 2024Controllable Generation with Text-to-Image Diffusion Models: A Surveycited by 82
  2. 2024A Survey on Personalized Content Synthesis with Diffusion Modelscited by 29
  3. 2025ImageRAG: Dynamic Image Retrieval for Reference-Guided Image Generationcited by 20
  4. 2025VINCIE: Unlocking In-context Image Editing from Videocited by 17
  5. 2024XLand-100B: A Large-Scale Multi-Task Dataset for In-Context Reinforcement Learningcited by 13
  6. 2025Embracing Collaboration Over Competition: Condensing Multiple Prompts for Visual In-Context Learningcited by 7
  7. 2025In-Context Brush: Zero-shot Customized Subject Insertion with Context-Aware Latent Space Manipulationcited by 7
  8. 2025Pointmap-Conditioned Diffusion for Consistent Novel View Synthesiscited by 4
  9. 2025Does Feasibility Matter? Understanding the Impact of Feasibility on Synthetic Training Datacited by 4
  10. 2024INRetouch: Context Aware Implicit Neural Representation for Photography Retouchingcited by 3
  11. 2025IA-T2I: Internet-Augmented Text-to-Image Generationcited by 3
  12. 2025In-Context Sync-LoRA for Portrait Video Editingcited by 3
8 more
  1. 2024Conditional Diffusion on Web-Scale Image Pairs leads to Diverse Image Variationscited by 0
  2. 2025Vision-Driven Prompt Optimization for Large Language Models in Multimodal Generative Taskscited by 0
  3. 2025Underlying Semantic Diffusion for Effective and Efficient In-Context Learningcited by 0
  4. 2026Sissi: Zero-shot Style-guided Image Synthesis via Semantic-style Integrationcited by 0
  5. 2026OPRO: Orthogonal Panel-Relative Operators for Panel-Aware In-Context Image Generationcited by 0
  6. 2026Beyond Text Prompts: Visual-to-Visual Generation as A Unified Paradigmcited by 0
  7. 2026Support-Conditioned Flow Matching Is Kernel Smoothingcited by 0
  8. 2026Tree-of-Thoughts Reasoning for Text-to-Image In-Context Learningcited by 0