ScribeTokens: Fixed-Vocabulary Tokenization of Digital Ink
Not on the map. Why?
Abstract (arXiv)
Digital ink -- the coordinate stream captured from stylus or touch input -- lacks a unified representation. Continuous vector representations produce long sequences and suffer from training instability, while existing token representations require large vocabularies, face out-of-vocabulary issues, and underperform vectors on recognition. We propose ScribeTokens, a tokenization that decomposes pen movement into unit pixel steps. Together with two pen-state tokens, this fixed 10-token base vocabulary suffices to represent any digital ink and enables aggressive BPE compression. On handwritten text generation, ScribeTokens dramatically outperforms vectors (17.33% vs. 70.29% CER), showing tokens are far more effective for generation. On recognition, ScribeTokens is the only token representation to outperform vectors without pretraining. We further introduce next-ink-token prediction as a self-supervised pretraining strategy, which consistently improves recognition across all token-based models and accelerates convergence by up to 83x. With pretraining, ScribeTokens achieves the best recognition results across all representations on both datasets (8.27% CER on IAM, 9.83% on DeepWriting).
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 36 references that are in the map. First posted on arXiv 3 Mar 2026.
Builds on
25 of 36 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2020GLU Variants Improve Transformercited by 1,724
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2013Generating Sequences With Recurrent Neural Networkscited by 549
- 2020Jukebox: A Generative Model for Musiccited by 535
13 more
- 2024CosyVoice: A Scalable Multilingual Zero-shot Text-to-speech Synthesizer based on Supervised Semantic Tokenscited by 323
- 2017A Neural Representation of Sketch Drawingscited by 311
- 2018Multimodal Trajectory Predictions for Autonomous Driving using Deep Convolutional Networkscited by 289
- 2019Overcoming Limitations of Mixture Density Networks: A Sampling and Fitting Framework for Multimodal Future Predictioncited by 96
- 2020Sketchformer: Transformer-based Representation for Sketched Structurecited by 78
- 2020Sketch-BERT: Learning Sketch Bidirectional Encoder Representation from Transformers by Self-supervised Learning of Sketch Gestaltcited by 42
- 2018DeepWriting: Making Digital Ink Editable via Deep Generative Modelingcited by 39
- 2021Vectorization and Rasterization: Self-Supervised Learning for Sketch and Handwritingcited by 38
- 2023Disentangling Writer and Character Styles for Handwriting Generationcited by 35
- 2016Drawing and Recognizing Chinese Characters with Recurrent Neural Networkcited by 26
- 2019Fast Multi-language LSTM-based Online Handwriting Recognitioncited by 22
- 2024Representing Online Handwriting for Recognition in Large Vision-Language Modelscited by 7
- 2024SketchGPT: Autoregressive Modeling for Sketch Generation and Recognitioncited by 5
Built on by
Not cited yet.