Lune

AAAI2024Top-tier venue

SpaceGTN: A Time-Agnostic Graph Transformer Network for Handwritten Diagram Recognition and Segmentation

Haoxiang Hu, Cangjun Gao, Yaokun Li, Xiaoming Deng, Yu-Kun Lai, Cuixia Ma, Yong-Jin Liu, Hongan Wang

Abstract

Online handwriting recognition is pivotal in domains like note-taking, education, healthcare, and office tasks. Existing diagram recognition algorithms mainly rely on the temporal information of strokes, resulting in a decline in recognition performance when dealing with notes that have been modified or have no temporal information. The current datasets are drawn based on templates and cannot reflect the real free-drawing situation. To address these challenges, we present SpaceGTN, a time-agnostic Graph Transformer Network, leveraging spatial integration and removing the need for temporal data. Extensive experiments on multiple datasets have demonstrated that our method consistently outperforms existing methods and achieves state-of-the-art performance. We also propose a pipeline that seamlessly connects offline and online handwritten diagrams. By integrating a stroke restoration technique with SpaceGTN, it enables intelligent editing of previously uneditable offline diagrams at the stroke level. In addition, we have also launched the first online handwritten diagram dataset, OHSD, which is collected using a free-drawing method and comes with modification annotations.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Diagram2Structure: Unlocking LLMs' Diagram Comprehension through DiagramDiff, a Framework for Structuring Offline Diagrams cites Stroke Extraction of Chinese Character Based on Deep Structure Deformable Image Registration
  • Diagram2Structure: Unlocking LLMs' Diagram Comprehension through DiagramDiff, a Framework for Structuring Offline Diagrams cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Do Transformers Really Perform Badly for Graph Representation? cites Principal Neighbourhood Aggregation for Graph Nets
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Diagram2Structure: Unlocking LLMs' Diagram Comprehension through DiagramDiff, a Framework for Structuring Offline DiagramsHaoxiang Hu, Yaokun Li, Zeyuan Huang, Cangjun Gao et al.CVPR 2026

Builds on5

  1. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  2. Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng et al.NeurIPS 2021 · 1,632 citations
  3. Principal Neighbourhood Aggregation for Graph NetsGabriele Corso, Luca Cavalleri, Dominique Beaini, Pietro Liò et al.NeurIPS 2020 · 914 citations
  4. Adaptive Structural Fingerprints for Graph Attention NetworksKai Zhang, Yaokang Zhu, Jun Wang, Jie ZhangICLR 2020 · 87 citations
  5. Stroke Extraction of Chinese Character Based on Deep Structure Deformable Image RegistrationMeng Li, Yahan Yu, Yi Yang, Guanghao Ren et al.AAAI 2023 · 7 citations

Related papers

  1. Sketchformer: Transformer-Based Representation for Sketched StructureLeo Sampaio Ferraz Ribeiro, Tu Bui, John P. Collomosse, Moacir PontiCVPR 2020
  2. CoSE: Compositional Stroke EmbeddingsEmre Aksan, Thomas Deselaers, Andrea Tagliasacchi, Otmar HilligesNeurIPS 2020 · 37 citations
  3. GPTR: Gestalt-Perception Transformer for Diagram Object DetectionXin Hu, Lingling Zhang, Jun Liu, Jinfu Fan et al.AAAI 2023 · 9 citations
  4. OrigamiNet: Weakly-Supervised, Segmentation-Free, One-Step, Full Page Text Recognition by learning to unfoldMohamed Yousef, Tom E. BishopCVPR 2020
  5. DiagramGPT-Llama3: Enabling Editable, High-Fidelity Diagram Generation with Vision Large Language ModelsYongyuan Chen, Minjie Hong, Boxi Wu, Xicheng HanAAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines