atlas

Research map / Detection and segmentation / CNN features

ContextSeg: Sketch Semantic Segmentation by Querying the Context with Attention

CVPR 2024 · Detection and segmentation › CNN features · approach: Context modeling for semantic segmentation · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

ContextSeg is a two-stage sketch semantic segmentation method that learns stroke embeddings with an autoencoder plus dense distance-field regression, then labels groups of strokes auto-regressively with a Transformer decoder using pointer-style selection and focal loss.

Problem

Sketch semantic segmentation: assigning pre-defined part labels to strokes, where prior image-, sequence- and graph-based methods struggle to jointly capture stroke structure, positional information, and inter-stroke proximity.

Approach

Treat each whole stroke as a raster-image entity embedded by a coordinate-augmented CNN autoencoder with an extra narrow-band distance-field decoder, then decode groups of strokes per step with an auto-regressive Transformer so previously labeled and remaining strokes serve as context.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ContextSeg instead of Sketch-SegformerSketch semantic segmentation · SPG averageCAcc: 91.2 -> 92.6Helped
Use ContextSeg instead of Sketch-SegformerSketch semantic segmentation · CreativeSketch averageCAcc: 43.9 -> 55.8Helped
Replace the stroke embedding network with Sketchformer (ablation)ContextSeg · SPG selected-category averageCAcc: 93.6 -> 68.6Hurt
Remove coordinate channels from the embedding network (ablation)ContextSeg · SPG selected-category averageCAcc: 93.6 -> 86.3Hurt
Add distance-field regression to the embedding network (ablation)ContextSeg · SPG selected-category averageCAcc: 90.9 -> 93.6Helped
Replace parallel decoding with autoregressive decoding (ablation)ContextSeg · SPG selected-category averageCAcc: 91.6 -> 93.6Helped
Train jointly across the five selected categoriesContextSeg · SPG cross-category trainingSAcc: +13.1; -0.3; +0.4; +0.2; +0.1Mixed
Apply semantic-aware copy-and-paste augmentationContextSeg · AntSAcc: 69.3 -> 89.1Helped
Apply semantic-aware copy-and-paste augmentationContextSeg · AmbulanceSAcc: 58.6 -> 76.2Helped

Surprising findings

Limitations

Experimental setup

Datasets: SPG CreativeSketch

Benchmarks: SPG CreativeSketch

Metrics: stroke accuracy (SAcc) grouping accuracy (GAcc) component accuracy (CAcc)

Baselines: SPGSeg SketchGNN Sketch-Segformer Sketchformer-Seg parallel decoding variant (Ours-PD)

Builds on: Transformer Pointer Networks CoordConv Sketchformer focal loss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy