CVAIMar 26, 2024

Equipping Sketch Patches with Context-Aware Positional Encoding for Graphic Sketch Representation

arXiv:2403.17525v23 citationsh-index: 5Has CodeComputer Vision and Image Understanding
Originality Incremental advance
AI Analysis

This work addresses a domain-specific issue in sketch representation for computer graphics, offering an incremental improvement over existing methods.

The paper tackles the problem of unreliable graph edges in graphic sketch representation due to inconsistent contextual relationships with drawing orders, proposing a method that uses context-aware positional encoding to enhance sketch learning, resulting in significant improvements in sketch healing and controllable sketch synthesis.

When benefiting graphic sketch representation with sketch drawing orders, recent studies have linked sketch patches as graph edges by drawing orders in accordance to a temporal-based nearest neighboring strategy. However, such constructed graph edges may be unreliable, since the contextual relationships between patches may be inconsistent with the sequential positions in drawing orders, due to variants of sketch drawings. In this paper, we propose a variant-drawing-protected method by equipping sketch patches with context-aware positional encoding (PE) to make better use of drawing orders for sketch learning. We introduce a sinusoidal absolute PE to embed the sequential positions in drawing orders, and a learnable relative PE to encode the unseen contextual relationships between patches. Both types of PEs never attend the construction of graph edges, but are injected into graph nodes to cooperate with the visual patterns captured from patches. After linking nodes by semantic proximity, during message aggregation via graph convolutional networks, each node receives both semantic features from patches and contextual information from PEs from its neighbors, which equips local patch patterns with global contextual information, further obtaining drawing-order-enhanced sketch representations. Experimental results indicate that our method significantly improves sketch healing and controllable sketch synthesis. The source codes could be found at https://github.com/SCZang/DC-gra2seq.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes