In-Context LoRA for Diffusion Transformers
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Recent research arXiv:2410.15027 has explored the use of diffusion transformers (DiTs) for task-agnostic image generation by simply concatenating attention tokens across images. However, despite substantial computational resources, the fidelity of the generated images remains suboptimal. In this study, we reevaluate and streamline this framework by hypothesizing that text-to-image DiTs inherently possess in-context generation capabilities, requiring only minimal tuning to activate them. Through diverse task experiments, we qualitatively demonstrate that existing text-to-image DiTs can effectively perform in-context generation without any tuning. Building on this insight, we propose a remarkably simple pipeline to leverage the in-context abilities of DiTs: (1) concatenate images instead of tokens, (2) perform joint captioning of multiple images, and (3) apply task-specific LoRA tuning using small datasets (e.g., 20~100 samples) instead of full-parameter tuning with large datasets. We name our models In-Context LoRA (IC-LoRA). This approach requires no modifications to the original DiT models, only changes to the training data. Remarkably, our pipeline generates high-fidelity image sets that better adhere to prompts. While task-specific in terms of tuning data, our framework remains task-agnostic in architecture and pipeline, offering a powerful tool for the community and providing valuable insights for further research on product-level task-agnostic generation systems. We release our code, data, and models at https://github.com/ali-vilab/In-Context-LoRA
Key facts. Cited by 158 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 40 of its 45 references that are in the map. First posted on arXiv 31 Oct 2024.
Builds on
40 of 45 references.
Closest ancestors · 13
Same direction, newest first
- 2024Group Diffusion Transformers are Unsupervised Multitask Learners19 Oct
- 2024Emu3: Next-Token Prediction is All You Need27 Sep
- 2024OmniGen: Unified Image Generation17 Sep
- 2024ANOLE: An Open, Autoregressive, Native Large Multimodal Models for Interleaved Image-Text Generation8 Jul
- 2024InstantID: Zero-shot Identity-Preserving Generation in Seconds15 Jan
- 2023IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models13 Aug
- 2023DragDiffusion: Harnessing Diffusion Models for Interactive Point-based Image Editing26 Jun
- 2023Intelligent Grimm -- Open-ended Visual Storytelling via Latent Diffusion Models1 Jun
- 2023LayoutDiffusion: Controllable Diffusion Model for Layout-to-image Generation30 Mar
- 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
1 more
Other references · 27
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
- 2021Image Super-Resolution via Iterative Refinementcited by 1,511
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,430
15 more
- 2022Denoising Diffusion Restoration Modelscited by 963
- 2024Show-o: One Single Transformer to Unify Multimodal Understanding and Generationcited by 752
- 2024Transfusion: Predict the Next Token and Diffuse Images with One Multi-Modal Modelcited by 483
- 2023Generative Multimodal Models are In-Context Learnerscited by 446
- 2023PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embeddingcited by 328
- 2023Emu Edit: Precise Image Editing via Recognition and Generation Taskscited by 324
- 2023Composer: Creative and Controllable Image Synthesis with Composable Conditionscited by 304
- 2023DiffIR: Efficient Diffusion Model for Image Restorationcited by 255
- 2024StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generationcited by 247
- 2023Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifoldcited by 219
- 2023Style Aligned Image Generation via Shared Attentioncited by 216
- 2023Making LLaMA SEE and Draw with SEED Tokenizercited by 185
- 2023Diffusion Models for Image Restoration and Enhancement: A Comprehensive Surveycited by 109
- 2024SEED-Story: Multimodal Long Story Generation with Large Language Modelcited by 73
- 2024Drag Your Noise: Interactive Point-based Editing via Diffusion Semantic Propagationcited by 51
Built on by
Citing papers per year: 2024: 6; 2025: 96; 2026: 56.
158 papers.
Sort:
By area:
- 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 1,006
- 2024OminiControl: Minimal and Universal Control for Diffusion Transformercited by 340
- 2025In-Context Edit: Enabling Instructional Image Editing with In-Context Generation in Large Scale Diffusion Transformercited by 204
- 2025Less-to-More Generalization: Unlocking More Controllability by In-Context Generationcited by 154
- 2025Phantom: Subject-consistent video generation via cross-modal alignmentcited by 129
- 2025EasyControl: Adding Efficient and Flexible Control for Diffusion Transformercited by 119
- 2025Long Context Tuning for Video Generationcited by 113
- 2025Mixture of Contexts for Long Video Generationcited by 95
- 2025Automated Movie Generation via Multi-Agent CoT Planningcited by 89
- 2025DreamO: A Unified Framework for Image Customizationcited by 83
- 2026Helios: Real Real-Time Long Video Generation Modelcited by 65
- 2025Any2AnyTryon: Leveraging Adaptive Position Embeddings for Versatile Virtual Clothing Taskscited by 63
38 more
- 2025Insert Anything: Image Insertion via In-Context Editing in DiTcited by 61
- 2025HoloCine: Holistic Generation of Cinematic Multi-Shot Long Video Narrativescited by 54
- 2025Captain Cinema: Towards Short Movie Generationcited by 48
- 2025MemFlow: Flowing Adaptive Memory for Consistent and Efficient Long Video Narrativescited by 45
- 2025StoryMem: Multi-shot Long Video Storytelling with Memorycited by 40
- 2025VisualCloze: A Universal Image Generation Framework via Visual In-Context Learningcited by 39
- 2025DreamOmni2: Multimodal Instruction-based Editing and Generationcited by 38
- 2025CreatiDesign: A Unified Multi-Conditional Diffusion Transformer for Creative Graphic Designcited by 36
- 2025EliGen: Entity-Level Controlled Image Generation with Regional Attentioncited by 33
- 2025EchoShot: Multi-Shot Portrait Video Generationcited by 29
- 2026LiveWorld: Simulating Out-of-Sight Dynamics in Generative Video World Modelscited by 28
- 2025Omni-Effects: Unified and Spatially-Controllable Visual Effects Generationcited by 27
- 2025USO: Unified Style and Subject-Driven Generation via Disentangled and Reward Learningcited by 27
- 2026VideoMemory: Toward Consistent Video Generation via Memory Integrationcited by 25
- 2025Edit Transfer: Learning Image Editing via Vision In-Context Relationscited by 23
- 2025Region-Constraint In-Context Generation for Instructional Video Editingcited by 23
- 2025Nested Attention: Semantic-aware Attention Values for Concept Personalizationcited by 21
- 2025UMO: Scaling Multi-Identity Consistency for Image Customization via Matching Rewardcited by 19
- 2025VideoAuteur: Towards Long Narrative Video Generationcited by 18
- 2025FullDiT2: Efficient In-Context Conditioning for Video Diffusion Transformerscited by 18
- 2025MoGA: Mixture-of-Groups Attention for End-to-End Long Video Generationcited by 18
- 2025VINCIE: Unlocking In-context Image Editing from Videocited by 17
- 2025Story2Board: A Training-Free Approach for Expressive Storyboard Generationcited by 17
- 2025In-Context Meta LoRA Generationcited by 15
- 2025Cut2Next: Generating Next Shot via In-Context Tuningcited by 15
- 2025Personalized Vision via Visual In-Context Learningcited by 14
- 2025Video-As-Prompt: Unified Semantic Control for Video Generationcited by 14
- 2025Mitty: Diffusion-based Human-to-Robot Video Generationcited by 14
- 2025DreamFuse: Adaptive Image Fusion with Diffusion Transformercited by 13
- 2025TextFlux: An OCR-Free DiT Model for High-Fidelity Multilingual Scene Text Synthesiscited by 13
- 2025OmniTry: Virtual Try-On Anything without Maskscited by 13
- 2024Video Diffusion Transformers are In-Context Learnerscited by 12
- 2025First Frame Is the Place to Go for Video Content Customizationcited by 12
- 2025Flux Already Knows -- Activating Subject-Driven Image Generation without Trainingcited by 11
- 2025MUSAR: Exploring Multi-Subject Customization from Single-Subject Dataset via Attention Routingcited by 11
- 2025FastFit: Accelerating Multi-Reference Virtual Try-On via Cacheable Diffusion Modelscited by 11
- 2025IC-Custom: Diverse Image Customization via In-Context Learningcited by 10
- 2025FilmWeaver: Weaving Consistent Multi-Shot Videos with Cache-Guided Autoregressive Diffusioncited by 10
50 most cited of 158 All 158 (JSON)
- 2026VINCIE-NExT: Unlocking Video Editing from Images via In-Context Modeling8 Oct 2026
- 2026SepGen: Multi-Stem Audio-Video Separation and Generation in a Single Model8 Oct 2026
- 2026RefRoute: Decoupling Conditioning Cost from References via Compact Residual Conditioning and Spatial Routing6 Oct 2026
- 2026SemCam: Semantic Camera Motion Control for Video Generation4 Oct 2026
- 2026In-Token Learning for High-Fidelity Image Restoration via Diffusion Transformers27 Sep 2026
- 2026CameraEditor: Camera-Controlled Image Editing via Video-Prior Sequential Modeling1 Sep 2026
- 2026Grounded-Exo2Ego: Structured Semantic Grounding for Robust Exocentric-to-Egocentric Video Generation20 Aug 2026
- 2026JoLT: Joint Latent Trajectories for Context-Guided High-Resolution Tiled Generation15 Aug 2026
- 2026UniSwap: Streaming Audio-Visual Identity Swapping for Talking Videos12 Aug 2026
- 2026VIPER: Visual In-Context Physics Reasoning for Physically Plausible Video Generation26 Jul 2026
- 2026DynEval: Holistic Evaluations of T2I Generative Models in the Wild13 Jul 2026
- 2026CtrlVTON: Controllable Virtual Try-On via Visual-Instance-Prompt Segmentation10 Jul 2026
38 more
- 2026Global Pose Control for Generative View Synthesis in Normalized Object Coordinate Space2 Jul 2026
- 2026ICDepth: Taming Video Diffusion Models for Video Depth Estimation via In-Context Conditioning2 Jul 2026
- 2026MAVIN: Multi-Shot Audio-Visual Generation with Customized Narrative Control28 Jun 2026
- 2026FDM-MFVT: Few-step Sampling Diffusion Model for Mask-Free Virtual Try-On28 Jun 2026
- 2026In-context Region-based Drag: Drag Any Region to Any Shape24 Jun 2026
- 2026UnityShots: Memory-Driven Multi-Shot Audio-Video Generation with Boundary-Aware Gating19 Jun 2026
- 2026EvoState: Closed-Loop Visual State Management for Long-Form Video Generation15 Jun 2026
- 2026Memento: Reconstruct to Remember for Consistent Long Video Generation12 Jun 2026
- 2026OmniTryOn: Video Try-On Anything at Once!7 Jun 2026
- 2026C3VD-DEFCOL: A Deformable Colonoscopy Dataset with Time-Resolved 3D Ground Truth and Realistic Appearance5 Jun 2026
- 2026Squeezing Capacity from Multimodal Large Language Models for Subject-driven Generation25 May 2026
- 2026CollectionLoRA: Collecting 50 Effects in 1 LoRA via Multi-Teacher On-Policy Distillation25 May 2026
- 2026AtlasVid: Efficient Ultra-High-Resolution Long Video Generation via Decoupled Global-Local Modeling15 May 2026
- 2026EntityBench: Towards Entity-Consistent Long-Range Multi-Shot Video Generation14 May 2026
- 2026HorizonDrive: Self-Corrective Autoregressive World Model for Long-horizon Driving Simulation12 May 2026
- 2026EditTransfer++: Toward Faithful and Efficient Visual-Prompt-Guided Image Editing8 May 2026
- 2026Semantic-Structural Alignment for Generative Pictorial Charts5 May 2026
- 2026SpatialEdit: Benchmarking Fine-Grained Image Spatial Editing6 Apr 2026
- 2026StoryBlender: Inter-Shot Consistent and Editable 3D Storyboard with Spatial-temporal Dynamics1 Apr 2026
- 2026OPRO: Orthogonal Panel-Relative Operators for Panel-Aware In-Context Image Generation29 Mar 2026
- 2026AVControl: Efficient Framework for Training Audio-Visual Controls25 Mar 2026
- 2026TexEditor: Structure-Preserving Text-Driven Texture Editing19 Mar 2026
- 2026ChArtist: Generating Pictorial Charts with Unified Spatial and Subject Control15 Mar 2026
- 2026Reference-Free Image Quality Assessment for Virtual Try-On via Human Feedback13 Mar 2026
- 2026WeEdit: A Dataset, Benchmark and Glyph-Guided Framework for Text-centric Image Editing12 Mar 2026
- 2026ID-LoRA: Identity-Driven Audio-Video Personalization with In-Context LoRA10 Mar 2026
- 2026LiveWorld: Simulating Out-of-Sight Dynamics in Generative Video World Models7 Mar 2026
- 2026StreamWise: Serving Multi-Modal Generation in Real-Time at Scale6 Mar 2026
- 2026Narrative Weaver: Towards Controllable Long-Range Visual Consistency with Multi-Modal Conditioning4 Mar 2026
- 2026Helios: Real Real-Time Long Video Generation Model4 Mar 2026
- 2026SkeleGuide: Explicit Skeleton Reasoning for Context-Aware Human-in-Place Image Synthesis2 Mar 2026
- 2026Cycle-Consistent Tuning for Layered Image Decomposition24 Feb 2026
- 2026Efficient Text-Guided Convolutional Adapter for the Diffusion Model16 Feb 2026
- 2026Diff-Aid: Inference-time Adaptive Interaction Denoising for Rectified Text-to-Image Generation14 Feb 2026
- 2026Tele-Omni: a Unified Multimodal Framework for Video Generation and Editing10 Feb 2026
- 2026SemanticMoments: Training-Free Motion Similarity via Third Moment Features9 Feb 2026
- 2026JUST-DUB-IT: Video Dubbing via Joint Audio-Visual Diffusion29 Jan 2026
- 2026DreamActor-M2: Universal Character Image Animation via Spatiotemporal In-Context Learning29 Jan 2026
50 newest of 158 All 158 (JSON)
- 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 1,006
- 2024OminiControl: Minimal and Universal Control for Diffusion Transformercited by 340
- 2025In-Context Edit: Enabling Instructional Image Editing with In-Context Generation in Large Scale Diffusion Transformercited by 204
- 2025EasyControl: Adding Efficient and Flexible Control for Diffusion Transformercited by 119
- 2025Long Context Tuning for Video Generationcited by 113
- 2025StoryMem: Multi-shot Long Video Storytelling with Memorycited by 40
- 2025VisualCloze: A Universal Image Generation Framework via Visual In-Context Learningcited by 39
- 2025CreatiDesign: A Unified Multi-Conditional Diffusion Transformer for Creative Graphic Designcited by 36
- 2025EliGen: Entity-Level Controlled Image Generation with Regional Attentioncited by 33
- 2025EchoShot: Multi-Shot Portrait Video Generationcited by 29
- 2025FullDiT2: Efficient In-Context Conditioning for Video Diffusion Transformerscited by 18
- 2025MoGA: Mixture-of-Groups Attention for End-to-End Long Video Generationcited by 18
12 most cited of 47 All 47 (JSON)
- 2026In-Token Learning for High-Fidelity Image Restoration via Diffusion Transformers27 Sep 2026
- 2026ICDepth: Taming Video Diffusion Models for Video Depth Estimation via In-Context Conditioning2 Jul 2026
- 2026FDM-MFVT: Few-step Sampling Diffusion Model for Mask-Free Virtual Try-On28 Jun 2026
- 2026In-context Region-based Drag: Drag Any Region to Any Shape24 Jun 2026
- 2026CollectionLoRA: Collecting 50 Effects in 1 LoRA via Multi-Teacher On-Policy Distillation25 May 2026
- 2026AtlasVid: Efficient Ultra-High-Resolution Long Video Generation via Decoupled Global-Local Modeling15 May 2026
- 2026OPRO: Orthogonal Panel-Relative Operators for Panel-Aware In-Context Image Generation29 Mar 2026
- 2026ChArtist: Generating Pictorial Charts with Unified Spatial and Subject Control15 Mar 2026
- 2026Efficient Text-Guided Convolutional Adapter for the Diffusion Model16 Feb 2026
- 2026Diff-Aid: Inference-time Adaptive Interaction Denoising for Rectified Text-to-Image Generation14 Feb 2026
- 2026Tele-Omni: a Unified Multimodal Framework for Video Generation and Editing10 Feb 2026
- 2026Sissi: Zero-shot Style-guided Image Synthesis via Semantic-style Integration10 Jan 2026
12 newest of 47 All 47 (JSON)
- 2026LiveWorld: Simulating Out-of-Sight Dynamics in Generative Video World Modelscited by 28
- 2025IC-World: In-Context Generation for Shared World Modelingcited by 6
- 2026HorizonDrive: Self-Corrective Autoregressive World Model for Long-horizon Driving Simulationcited by 4
- 2025ViewPoint: Panoramic Video Generation with Pretrained Diffusion Modelscited by 1
- 2026HorizonDrive: Self-Corrective Autoregressive World Model for Long-horizon Driving Simulation12 May 2026
- 2026LiveWorld: Simulating Out-of-Sight Dynamics in Generative Video World Models7 Mar 2026
- 2025IC-World: In-Context Generation for Shared World Modeling1 Dec 2025
- 2025ViewPoint: Panoramic Video Generation with Pretrained Diffusion Models30 Jun 2025
- 2025Automated Movie Generation via Multi-Agent CoT Planningcited by 89
- 2025Automated Movie Generation via Multi-Agent CoT Planning10 Mar 2025
- 2025Less-to-More Generalization: Unlocking More Controllability by In-Context Generationcited by 154
- 2025Phantom: Subject-consistent video generation via cross-modal alignmentcited by 129
- 2025Mixture of Contexts for Long Video Generationcited by 95
- 2025DreamO: A Unified Framework for Image Customizationcited by 83
- 2026Helios: Real Real-Time Long Video Generation Modelcited by 65
- 2025Any2AnyTryon: Leveraging Adaptive Position Embeddings for Versatile Virtual Clothing Taskscited by 63
- 2025Insert Anything: Image Insertion via In-Context Editing in DiTcited by 61
- 2025HoloCine: Holistic Generation of Cinematic Multi-Shot Long Video Narrativescited by 54
- 2025Captain Cinema: Towards Short Movie Generationcited by 48
- 2025MemFlow: Flowing Adaptive Memory for Consistent and Efficient Long Video Narrativescited by 45
- 2025DreamOmni2: Multimodal Instruction-based Editing and Generationcited by 38
- 2025Omni-Effects: Unified and Spatially-Controllable Visual Effects Generationcited by 27
12 most cited of 99 All 99 (JSON)
- 2026VINCIE-NExT: Unlocking Video Editing from Images via In-Context Modeling8 Oct 2026
- 2026SepGen: Multi-Stem Audio-Video Separation and Generation in a Single Model8 Oct 2026
- 2026RefRoute: Decoupling Conditioning Cost from References via Compact Residual Conditioning and Spatial Routing6 Oct 2026
- 2026SemCam: Semantic Camera Motion Control for Video Generation4 Oct 2026
- 2026CameraEditor: Camera-Controlled Image Editing via Video-Prior Sequential Modeling1 Sep 2026
- 2026Grounded-Exo2Ego: Structured Semantic Grounding for Robust Exocentric-to-Egocentric Video Generation20 Aug 2026
- 2026JoLT: Joint Latent Trajectories for Context-Guided High-Resolution Tiled Generation15 Aug 2026
- 2026UniSwap: Streaming Audio-Visual Identity Swapping for Talking Videos12 Aug 2026
- 2026DynEval: Holistic Evaluations of T2I Generative Models in the Wild13 Jul 2026
- 2026CtrlVTON: Controllable Virtual Try-On via Visual-Instance-Prompt Segmentation10 Jul 2026
- 2026Global Pose Control for Generative View Synthesis in Normalized Object Coordinate Space2 Jul 2026
- 2026MAVIN: Multi-Shot Audio-Visual Generation with Customized Narrative Control28 Jun 2026
12 newest of 99 All 99 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Token Pruning for In-Context Generation in Diffusion Transformers
- 2024Efficient Scaling of Diffusion Transformers for Text-to-Image Generation
- 2025Reflect-DiT: Inference-Time Scaling for Text-to-Image Diffusion Transformers via In-Context Reflection
- 2026Learning to Read the Contextual Tokens in Diffusion Transformers
- 2024Contextualized Diffusion Models for Text-Guided Image and Video Generation
- 2025DiT-Air: Revisiting the Efficiency of Diffusion Model Architecture Design in Text to Image Generation
- 2023DiffBlender: Composable and Versatile Multimodal Text-to-Image Diffusion Models
- 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models