VGTS: Visually Guided Text Spotting for Novel Categories in Historical Manuscripts
Wenbo Hu, Hongjian Zhan, Xinchen Ma, Cong Liu, Bing Yin, Yue Lu
TL;DR
This work tackles open-set, low-resource text spotting in historical manuscripts by introducing VGTS, a framework that guides spotting with a single support example. It combines dense correlation matching with a spatial alignment module featuring Dual Spatial Attention and Geometric Matching to localize novel characters without fine-tuning, and it employs a torus loss to improve distance-metric discrimination under data scarcity. The approach is validated on a newly introduced Dongba dataset and multiple public datasets, where VGTS consistently outperforms baselines in mAP, recall, and F1, and shows robustness to rotation, long-tail distributions, and degraded support images. The method promises practical utility for historians by enabling rapid cataloging of novel symbols with minimal annotation and preparation effort.
Abstract
In the field of historical manuscript research, scholars frequently encounter novel symbols in ancient texts, investing considerable effort in their identification and documentation. Although existing object detection methods achieve impressive performance on known categories, they struggle to recognize novel symbols without retraining. To address this limitation, we propose a Visually Guided Text Spotting (VGTS) approach that accurately spots novel characters using just one annotated support sample. The core of VGTS is a spatial alignment module consisting of a Dual Spatial Attention (DSA) block and a Geometric Matching (GM) block. The DSA block aims to identify, focus on, and learn discriminative spatial regions in the support and query images, mimicking the human visual spotting process. It first refines the support image by analyzing inter-channel relationships to identify critical areas, and then refines the query image by focusing on informative key points. The GM block, on the other hand, establishes the spatial correspondence between the two images, enabling accurate localization of the target character in the query image. To tackle the example imbalance problem in low-resource spotting tasks, we develop a novel torus loss function that enhances the discriminative power of the embedding space for distance metric learning. To further validate our approach, we introduce a new dataset featuring ancient Dongba hieroglyphics (DBH) associated with the Naxi minority of China. Extensive experiments on the DBH dataset and other public datasets, including EGY, VML-HD, TKH, and NC, show that VGTS consistently surpasses state-of-the-art methods. The proposed framework exhibits great potential for application in historical manuscript text spotting, enabling scholars to efficiently identify and document novel symbols with minimal annotation effort.
