ContextSeg: Sketch Semantic Segmentation by Querying the Context with Attention

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wang, Jiawei, Li, Changjian
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929288434941952
author Wang, Jiawei
Li, Changjian
author_facet Wang, Jiawei
Li, Changjian
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2311_16682
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle ContextSeg: Sketch Semantic Segmentation by Querying the Context with Attention
Wang, Jiawei
Li, Changjian
Computer Vision and Pattern Recognition
Graphics
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.
title ContextSeg: Sketch Semantic Segmentation by Querying the Context with Attention
topic Computer Vision and Pattern Recognition
Graphics
url https://arxiv.org/abs/2311.16682