A Transformer-Based Approach for Efficient Geometric Feature Extraction from Vector Shape Data
The extraction of shape features from vector elements is essential in cartography and geographic information science, supporting a range of intelligent processing tasks. Traditional methods rely on different machine learning algorithms tailored to specific types of line and polygon elements, limiting their general applicability. This study introduces a novel approach called “Pre-Trained Shape Feature Representations from Transformers (PSRT)”, which utilizes transformer encoders designed with three self-supervised pre-training tasks: coordinate masking prediction, coordinate offset correction, and coordinate sequence rearrangement. This approach enables the extraction of general shape features applicable to both line and polygon elements, generating high-dimensional embedded feature vectors. These vectors facilitate downstream tasks like shape classification, pattern recognition, and cartographic generalization. Our experimental results show that PSRT can extract vector shape features effectively without needing labeled samples and is adaptable to various types of vector features. Compared to the methods without pre-training, PSRT enhances training efficiency by over five times and improves accuracy by 5–10% in tasks such as line element matching and polygon shape classification. This innovative approach offers a more unified, efficient solution for processing vector shape data across different applications.
Authors
- Xiao Wang (ORCID: https://orcid.org/0000-0002-4666-0392)
- Haizhong Qian (ORCID: https://orcid.org/0000-0002-8125-7750)
- Longfei Cui (ORCID: https://orcid.org/0009-0005-4424-6074)
- Junkui Xu (ORCID: https://orcid.org/0000-0002-2971-4803)
- Xinyu Niu (ORCID: https://orcid.org/0000-0003-0202-9408)
Institutions
- PLA Information Engineering University (CN)
- Henan University (CN)
- National Engineering Research Center of Electromagnetic Radiation Control Materials (CN)
- State Key Laboratory of Complex Electromagnetic Environment Effects on Electronics and Information System
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-02-23
- DOI
- https://doi.org/10.3390/app15052383
- Primary Topic
- Image Retrieval and Classification Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China