Pattern Analogies: Learning to Perform Programmatic Image Edits by Analogy
Not on the map. Why?
Abstract (arXiv)
Pattern images are everywhere in the digital and physical worlds, and tools to edit them are valuable. But editing pattern images is tricky: desired edits are often programmatic: structure-aware edits that alter the underlying program which generates the pattern. One could attempt to infer this underlying program, but current methods for doing so struggle with complex images and produce unorganized programs that make editing tedious. In this work, we introduce a novel approach to perform programmatic edits on pattern images. By using a pattern analogy -- a pair of simple patterns to demonstrate the intended edit -- and a learning-based generative model to execute these edits, our method allows users to intuitively edit patterns. To enable this paradigm, we introduce SplitWeave, a domain-specific language that, combined with a framework for sampling synthetic pattern analogies, enables the creation of a large, high-quality synthetic training dataset. We also present TriFuser, a Latent Diffusion Model (LDM) designed to overcome critical issues that arise when naively deploying LDMs to this task. Extensive experiments on real-world, artist-sourced patterns reveals that our method faithfully performs the demonstrated edit while also generalizing to related pattern styles beyond its training distribution.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 45 of its 74 references that are in the map. First posted on arXiv 17 Dec 2024.
Builds on
45 of 74 references.
References · 45
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,107
- 2020Image Quality Assessment: Unifying Structure and Texture Similaritycited by 792
- 2024Eyes Wide Shut? Exploring the Visual Shortcomings of Multimodal LLMscited by 719
33 more
- 2015A Neural Algorithm of Artistic Stylecited by 480
- 2021DeepCAD: A Deep Generative Network for Computer-Aided Design Modelscited by 266
- 2022EDICT: Exact Diffusion Inversion via Coupled Transformationscited by 256
- 2022Visual Prompting via Image Inpaintingcited by 248
- 2022Versatile Diffusion: Text, Images and Variations All in One Diffusion Modelcited by 199
- 2021ZeroCap: Zero-Shot Image-to-Text Generation for Visual-Semantic Arithmeticcited by 150
- 2023Cross-Image Attention for Zero-Shot Appearance Transfercited by 135
- 2017Visual Attribute Transfer through Deep Image Analogycited by 123
- 2024Transparent Image Layer Diffusion using Latent Transparencycited by 111
- 2023From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Modelscited by 96
- 2021Computer-Aided Design as Languagecited by 82
- 2017Learning to Infer Graphics Programs from Hand-Drawn Imagescited by 73
- 2023LooseControl: Lifting ControlNet for Generalized Depth Conditioningcited by 68
- 2023ImageBrush: Learning Visual In-Context Instructions for Exemplar-Based Image Manipulationcited by 59
- 2024Combining Induction and Transduction for Abstract Reasoningcited by 53
- 2021CSG-Stump: A Learning Friendly CSG-Like Representation for Interpretable Shape Parsingcited by 51
- 2021Inferring CAD Modeling Sequences Using Zone Graphscited by 50
- 2022ExtrudeNet: Unsupervised Inverse Sketch-and-Extrude for Shape Parsingcited by 38
- 2024GeoDiffuser: Geometry-Based Image Editing with Diffusion Modelscited by 34
- 2024Analogist: Out-of-the-box Visual In-Context Learning with Image Diffusion Modelcited by 30
- 2024TexSliders: Diffusion-Based Texture Editing in CLIP Spacecited by 23
- 2023ShapeCoder: Discovering Abstractions for Visual Programs from Unstructured Primitivescited by 22
- 2020PLAD: Learning to Infer Shape Programs with Pseudo-Labels and Approximate Distributionscited by 19
- 2022GeoCode: Interpretable Shape Programscited by 16
- 2024Learning Continuous 3D Words for Text-to-Image Generationcited by 16
- 2022Node Graph Optimization Using Differentiable Proxiescited by 13
- 2024Editable Image Elements for Controllable Synthesiscited by 13
- 2019Program-Guided Image Manipulatorscited by 12
- 2024InstructGIE: Towards Generalizable Image Editingcited by 11
- 2023Improving Unsupervised Visual Program Inference with Code Rewriting Familiescited by 10
- 2024EBDM: Exemplar-guided Image Translation with Brownian-bridge Diffusion Modelscited by 8
- 2024Learning to Edit Visual Programs with Self-Supervisioncited by 7
- 2024One Noise to Rule Them All: Learning a Unified Model of Spatially-Varying Noise Patternscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Editing on the Generative Manifold: A Theoretical and Empirical Study of General Diffusion-Based Image Editing Trade-offs
- 2025R-Genie: Reasoning-Guided Generative Image Editing
- 2026ScribbleEdit: Synthetic Data for Image Editing with Scribbles and Text
- 2026Training-Free Multi-Concept Image Editing
- 2026Is This Edit Correct? A Multi-Dimensional Benchmark for Reasoning-Aware Image Editing
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructions
- 2024Zero-shot Image Editing with Reference Imitation
- 2025Image Editing As Programs with Diffusion Models