ContextSeg: Sketch Semantic Segmentation by Querying the Context with Attention
Not on the map. Why?
Abstract (arXiv)
Sketch semantic segmentation is a well-explored and pivotal problem in computer vision involving the assignment of pre-defined part labels to individual strokes. This paper presents ContextSeg - a simple yet highly effective approach to tackling this problem with two stages. In the first stage, to better encode the shape and positional information of strokes, we propose to predict an extra dense distance field in an autoencoder network to reinforce structural information learning. In the second stage, we treat an entire stroke as a single entity and label a group of strokes within the same semantic part using an auto-regressive Transformer with the default attention mechanism. By group-based labeling, our method can fully leverage the context information when making decisions for the remaining groups of strokes. Our method achieves the best segmentation accuracy compared with state-of-the-art approaches on two representative datasets and has been extensively evaluated demonstrating its superior performance. Additionally, we offer insights into solving part imbalance in training data and the preliminary experiment on cross-category training, which can inspire future research in this field.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 9 of its 33 references that are in the map. First posted on arXiv 28 Nov 2023.
Builds on
9 of 33 references.
References · 9
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
- 2017A Neural Representation of Sketch Drawingscited by 311
- 2018An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solutioncited by 302
- 2019Scheduled Sampling for Transformerscited by 46
- 2020Creative Sketch Generationcited by 44
Built on by
Citing papers per year: 2024: 1; 2025: 7; 2026: 1.
9 papers.
- 2024SketchAgent: Language-Driven Sequential Sketch Generationcited by 30
- 2025Instance Segmentation of Scene Sketches Using Natural Image Priorscited by 4
- 2026Stroke of Surprise: Progressive Semantic Illusions in Vector Sketchingcited by 1
- 2025ViSketch-GPT: Collaborative Multi-Scale Feature Extraction for Sketch Recognition and Generationcited by 0
- 2025Deeply Dual Supervised learning for melanoma recognitioncited by 0
- 2025Edge Detection for Organ Boundaries via Top Down Refinement and SubPixel Upsamplingcited by 0
- 2025DualResolution Residual Architecture with Artifact Suppression for Melanocytic Lesion Segmentationcited by 0
- 2025VesselRW: Weakly Supervised Subcutaneous Vessel Segmentation via Learned Random Walk Propagationcited by 0
- 2025Semantic-E2VID: a Semantic-Enriched Paradigm for Event-to-Video Reconstructioncited by 0
- 2026Stroke of Surprise: Progressive Semantic Illusions in Vector Sketching12 Feb 2026
- 2025Semantic-E2VID: a Semantic-Enriched Paradigm for Event-to-Video Reconstruction20 Oct 2025
- 2025VesselRW: Weakly Supervised Subcutaneous Vessel Segmentation via Learned Random Walk Propagation9 Aug 2025
- 2025DualResolution Residual Architecture with Artifact Suppression for Melanocytic Lesion Segmentation9 Aug 2025
- 2025Edge Detection for Organ Boundaries via Top Down Refinement and SubPixel Upsampling9 Aug 2025
- 2025Deeply Dual Supervised learning for melanoma recognition4 Aug 2025
- 2025ViSketch-GPT: Collaborative Multi-Scale Feature Extraction for Sketch Recognition and Generation28 Mar 2025
- 2025Instance Segmentation of Scene Sketches Using Natural Image Priors13 Feb 2025
- 2024SketchAgent: Language-Driven Sequential Sketch Generation26 Nov 2024