Generate multiple related images without changing model architecture - just concatenate and tune
https://arxiv.org/abs/2410.23775
π― Original Problem:
Text-to-image models struggle with generating coherent sets of related images. Current solutions either require task-specific architectures or extensive computational resources, limiting their practical applications.
-----
π§ Solution in this Paper:
β Built a simple pipeline called In-Context LoRA that leverages inherent capabilities of text-to-image Diffusion Transformers
β Concatenates multiple images into one large image instead of combining attention tokens
β Uses joint captioning for multiple images with single merged prompt
β Applies task-specific LoRA tuning using very small datasets (20-100 samples)
β Training done on single A100 GPU for 5000 steps with batch size of 4
-----
π‘ Key Insights:
β Text-to-image models already have built-in capabilities for in-context generation
β No need to modify original model architecture - only changes to training data required
β Small high-quality datasets sufficient instead of large-scale training
β Single unified prompt better than separate prompts per image
-----
π Results:
β Successfully handles diverse tasks: storyboard generation, font design, portrait photography, visual identity design
β Maintains high visual quality and consistency across generated image sets
β Works in both reference-free (text-only) and reference-based (text+image) generation
β Requires minimal computational resources compared to previous approaches










