CoSE: Compositional Stroke Embeddings
Emre Aksan, Thomas Deselaers, Andrea Tagliasacchi, Otmar Hilliges
Abstract
We present a generative model for complex free-form structures such as strokebased drawing tasks. While previous approaches rely on sequence-based models for drawings of basic objects or handwritten text, we propose a model that treats drawings as a collection of strokes that can be composed into complex structures such as diagrams (e.g., flow-charts). At the core of the approach lies a novel autoencoder that projects variable-length strokes into a latent space of fixed dimension. This representation space allows a relational model, operating in latent space, to better capture the relationship between strokes and to predict subsequent strokes. We demonstrate qualitatively and quantitatively that our proposed approach is able to model the appearance of individual strokes, as well as the compositional structure of larger diagram drawings. Our approach is suitable for interactive use cases such as auto-completing diagrams. We make code and models publicly available at https://eth-ait.github.io/cose .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers11
- Coarse-to-Fine Generative Modeling for Graphic LayoutsZhaoyun Jiang, Shizhao Sun, Jihua Zhu, Jian-Guang Lou et al.AAAI 2022 · 54 citations
- Sketching without Worrying: Noise-Tolerant Sketch-Based Image RetrievalAyan Kumar Bhunia, Subhadeep Koley, Abdullah Faiz Ur Rahman Khilji, Aneeshan Sain et al.CVPR 2022 · 53 citations
- Recognizing Vector Graphics without RasterizationXinyang Jiang, Lu Liu, Caihua Shan, Yifei Shen et al.NeurIPS 2021 · 28 citations
- SketchEmbedNet: Learning Novel Concepts by Imitating DrawingsAlexander Wang, Mengye Ren, Richard S. ZemelICML 2021 · 24 citations
- Drawing out of Distribution with Neuro-Symbolic Generative ModelsYichao Liang, Josh Tenenbaum, Tuan Anh Le, N. SiddharthNeurIPS 2022 · 12 citations
Builds on2
Related papers
- Modelling complex vector drawings with stroke-cloudsAlexander Ashcroft, Ayan Das, Yulia Gryaditskaya, Zhiyu Qu et al.ICLR 2024 · 5 citations
- VQ-SGen: A Vector Quantized Stroke Representation for Creative Sketch GenerationJiawei Wang, Zhiming Cui, Changjian LiICCV 2025 · 3 citations
- Generating Sketches in a Hierarchical Auto-Regressive Process for Flexible Sketch Drawing Manipulation at Stroke-LevelSicong Zang, Shuhui Gao, Zhijun FangAAAI 2026 · 2 citations
- CanvasVAE: Learning to Generate Vector Graphic DocumentsKota YamaguchiICCV 2021 · 103 citations
- ContextSeg: Sketch Semantic Segmentation by Querying the Context with AttentionJiawei Wang, Changjian LiCVPR 2024 · 6 citations
