mlsanityData to 7 Oct 2026

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

arXiv 2403.17525 ↗First posted 26 Mar 2024cs.CV cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 21 of its 39 references that are in the map. First posted on arXiv 26 Mar 2024.

Builds on

21 of 39 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  3. 2017Graph Attention Networkscited by 8,854
  4. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  5. 2018Self-Attention with Relative Position Representationscited by 1,112
  6. 2017Convolutional Sequence to Sequence Learningcited by 550
  7. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  8. 2017A Neural Representation of Sketch Drawingscited by 311
  9. 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
  10. 2020Sketchformer: Transformer-based Representation for Sketched Structurecited by 78
  11. 2018Learning to Sketch with Shortcut Cycle Consistencycited by 47
  12. 2020Sketch-BERT: Learning Sketch Bidirectional Encoder Representation from Transformers by Self-supervised Learning of Sketch Gestaltcited by 42
9 more
  1. 2018SketchMate: Deep Hashing for Million-Scale Human Sketch Retrievalcited by 35
  2. 2019Multi-Graph Transformer for Free-Hand Sketch Recognitioncited by 35
  3. 2019Self-Attention with Structural Position Representationscited by 21
  4. 2017Sketch-pix2seq: a Model to Generate Sketches of Multiple Categoriescited by 20
  5. 2021SketchLattice: Latticed Representation for Sketch Manipulationcited by 19
  6. 2018Universal Perceptual Groupingcited by 14
  7. 2021One Sketch for All: One-Shot Personalized Sketch Segmentationcited by 9
  8. 2020Deep Self-Supervised Representation Learning for Free-Hand Sketchcited by 7
  9. 2022Linking Sketch Patches by Learning Synonymous Proximity for Graphic Sketch Representationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.