Integrating element correlation with prompt-based spatial relation extraction
Feng WANG , Sheng XU , Peifeng LI , Qiaoming ZHU
Front. Comput. Sci. ›› 2025, Vol. 19 ›› Issue (2) : 192308
Integrating element correlation with prompt-based spatial relation extraction
Spatial relations in text refer to how a geographical entity is located in space in relation to a reference entity. Extracting spatial relations from text is a fundamental task in natural language understanding. Previous studies have only focused on generic fine-tuning methods with additional classifiers, ignoring the importance of the semantic correlation between different spatial elements and the large offset between the relation extraction task and the pre-trained models. To address the above two issues, we propose a spatial relation extraction model based on Dual-view Prompt and Element Correlation (DPEC). Specifically, we first reformulate spatial relation extraction as a mask language model with a Dual-view Prompt (i.e., Link Prompt and Confidence Prompt). Link Prompt can not only guide the model to incorporate more contextual information related to the spatial relation extraction task, but also better adapt to the original pre-training task of the language models. Meanwhile, Confidence Prompt can measure the confidence of candidate triplets in Link Prompt and work as a supplement to identify those easily confused examples in Link Prompt. Moreover, we incorporate the element correlation to measure the consistency between different spatial elements, which is an effective cue for identifying the rationality of spatial relations. Experimental results on the popular SpaceEval show that our DPEC significantly outperforms the SOTA baselines.
spatial relation extraction / Dual-view Prompt / spatial element correlation / Link Prompt / Confidence Prompt
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
Shin H J, Park J Y, Yuk D B, Lee J S. BERT-based spatial information extraction. In: Proceedings of the 3rd International Workshop on Spatial Language Understanding. 2020, 10−17 |
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
Kordjamshidi P, Bethard S, Moens M F. SemEval-2012 task 3: spatial role labeling. In: Proceedings of the 1st Joint Conference on Lexical and Computational Semantics – Volume 1: Proceedings of the Main Conference and the Shared Task, and Volume 2: Proceedings of the 6th International Workshop on Semantic Evaluation. 2012, 365−373 |
| [15] |
Kolomiyets O, Kordjamshidi P, Moens M F, Bethard S. Semeval-2013 task 3: spatial role labeling. In: Proceedings of the 2nd Joint Conference on Lexical and Computational Semantics (*SEM), Volume 2: Proceedings of the 7th International Workshop on Semantic Evaluation. 2013, 255−262 |
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
Higher Education Press
Supplementary files
/
| 〈 |
|
〉 |