[Paper Review] SketchGNN: Semantic Sketch Segmentation with Graph Neural Networks
SketchGNN proposes a graph neural network for semantic sketch segmentation that models freehand vector sketches as graphs, with nodes as sampled points and edges encoding stroke structure. By combining static and dynamic graph convolutions with a novel stroke pooling operation, it achieves state-of-the-art performance with 11.2% higher pixel-based accuracy and 18.2% higher component-based accuracy on the SPG dataset, while using significantly fewer parameters than image- or sequence-based methods.
We introduce SketchGNN, a convolutional graph neural network for semantic segmentation and labeling of freehand vector sketches. We treat an input stroke-based sketch as a graph, with nodes representing the sampled points along input strokes and edges encoding the stroke structure information. To predict the per-node labels, our SketchGNN uses graph convolution and a static-dynamic branching network architecture to extract the features at three levels, i.e., point-level, stroke-level, and sketch-level. SketchGNN significantly improves the accuracy of the state-of-the-art methods for semantic sketch segmentation (by 11.2% in the pixel-based metric and 18.2% in the component-based metric over a large-scale challenging SPG dataset) and has magnitudes fewer parameters than both image-based and sequence-based methods.
Motivation & Objective
- Address the limitations of existing image-based and sequence-based methods for sketch segmentation, which either ignore stroke structure or proximity information.
- Overcome the sparsity and structural ambiguity in freehand sketches by modeling them as graphs with rich spatial and structural relationships.
- Improve semantic labeling consistency within individual strokes through a novel stroke pooling mechanism.
- Enhance robustness to sketch variations and noise by introducing a two-branch architecture with static and dynamic graph convolutions.
- Develop a parameter-efficient method that outperforms existing deep learning-based approaches in accuracy while reducing model complexity.
Proposed method
- Represent a sketch as a 2D point set graph, where nodes are sampled points along strokes and edges encode both intrinsic stroke structure (static) and proximity-based relationships (dynamic).
- Employ a two-branch network: one branch uses static edges to preserve original stroke topology, and another uses learned dynamic edges to capture inter-stroke relationships.
- Introduce a novel stroke pooling operation that aggregates features across points within the same stroke to improve intra-stroke label consistency.
- Use graph convolutional networks (GCNs) to extract hierarchical features at three levels: point-level, stroke-level, and sketch-level.
- Leverage absolute coordinates of points to naturally encode spatial proximity, avoiding reliance on relative coordinates used in sequence-based models.
- Apply data augmentation during training—assigning new or random labels to scribbled strokes—to improve robustness against noisy or imperfect sketches.
Experimental results
Research questions
- RQ1Can a graph-based deep learning approach outperform image-based and sequence-based methods in semantic sketch segmentation by better modeling spatial and structural relationships?
- RQ2How can graph neural networks be designed to preserve stroke-level structure while capturing inter-stroke relationships for improved segmentation accuracy?
- RQ3To what extent does the proposed stroke pooling operation enhance label consistency within individual strokes compared to standard GCN layers?
- RQ4How does the use of both static and dynamic edges in a two-branch architecture affect robustness to sketch noise and structural variations?
- RQ5Can a graph-based method achieve state-of-the-art performance with significantly fewer parameters than existing image- or sequence-based models?
Key findings
- SketchGNN achieves 11.2% higher pixel-based accuracy and 18.2% higher component-based accuracy than the previous state-of-the-art method on the challenging SPG dataset.
- The model reduces parameter count by orders of magnitude compared to image-based and sequence-based deep learning methods, making it more efficient.
- The two-branch architecture with static and dynamic edges improves performance by balancing structural correctness and relational completeness.
- Stroke pooling significantly enhances intra-stroke label consistency, reducing misclassification within individual strokes.
- Data augmentation strategies—labeling scribbled strokes as new or random existing classes—improve robustness, especially on noisy or imperfect sketches.
- The model generalizes well across datasets, as shown by strong performance on the Huang14 and TU-Berlin benchmarks, despite domain shifts in test data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.