Journal of Jilin University(Engineering and Technology Edition) ›› 2025, Vol. 55 ›› Issue (12): 4045-4051.doi: 10.13229/j.cnki.jdxbgxb.20240474

Previous Articles    

Entity relationship extraction method based on span and semantic features

Ping FENG1,2(),Zi-qian YANG1,Ren-jie WANG1,Shi-yu FENG1,Hang WU1,Yu SUN3   

  1. 1.College of Computer Science and Technology,Changchun University,Changchun 130022,China
    2.Ministry of Education Key Laboratory of Intelligent Rehabilitation and Barrier-free Access for the Disabled,Changchun University,Changchun 130022,China
    3.College of Special Education,Changchun University,Changchun 130022,China
  • Received:2024-04-30 Online:2025-12-01 Published:2026-02-03

Abstract:

A end-to-end entity relationship extraction model based on span and semantic features was proposed to address the problems of traditional entity relationship extraction methods relying on distance measurement or simple span recognition, which make it difficult to capture potential relationships between entities, and the high computational complexity and error propagation of the model. Firstly, the text vectors were randomly segmented into span sequences so that the model can learn a wider range of semantic feature information. Secondly, semantic relationships were judged to screen out subsets of candidate relationships, thus reducing information redundancy. Finally, the candidate relationships were transformed into relationship-span combinations containing important relationship semantics, and the Transformer decoder was used to achieve the joint extraction of entity relationships. The experimental results show that the F1 value of this model is significantly improved in the NYT and WebNLG datasets compared to other baseline models, proving its effectiveness.

Key words: entity relationship extraction, span, semantic feature, context information

CLC Number: 

  • TP391

Fig.1

Semantic-SPAN entity relation extraction model"

Fig.2

Semantic relationship determines the module structure"

Fig.3

Structure of joint extraction module"

Table 1

Experimental environment setting"

参数
GPU/(24 G)4 090
内存/G32
batch size16
学习率0.000 1
max span6
epoch100
BERT_emb768

Table 2

Experimental results of model comparison"

模型NYTWebNLG
PRF1PRF1
CopyRE61.056.658.737.736.437.1
GraphRel63.960.061.944.741.142.9
PRGC89.682.385.890.688.589.5
GRTE92.993.193.093.794.293.9
Ours93.193.893.494.094.194.0

Fig.4

Loss change curve (compared to the GRTE model)"

Table 3

Results of ablation experiments of the proposed model on two datasets"

数据集模式F1/%
NYT语义筛选关系子集93.4
常规90.3
WebNLG语义筛选关系子集94.0
常规88.7

Fig.5

Change curves of F1 values for different Dropout parameters"

[1] 李冬梅, 张扬, 李东远, 等. 实体关系抽取方法研究综述[J]. 计算机研究与发展, 2020, 57(7): 1424-1448.
Li Dong-mei, Zhang Yang, Li Dong-yuan, et al. Review of studies on entity relationship extraction methods[J]. Computer Research and Development, 2020,57(7): 1424-1448.
[2] Yang Y, Wu Z L, Yang Y X, et al.A Survey of information extraction based on deep learning[J].Applied Sciences, 2022, 12(19): No.9691.
[3] Li J, Sun A X, Han J L, et al. A survey on deep learning for named entity recognition[J]. IEEE Transactionson Knowledge and Data Engineering, 2020: 50-70.
[4] 王进, 蒋诗琪. 基于多路局部特征整合的嵌套命名实体识别方法[J]. 江苏大学学报:自然科学版, 2025, 46(4): 431-437.
Wang Jin, Jiang Shi-qi. Nested named entity recognition method based on multiplexed local feature integration[J]. Journal of Jiangsu University (Natural Science Edition), 2025, 46(4): 431-437.
[5] 王进, 王猛旗, 张昕跃, 等. 基于多头注意力机制字词联合的中文命名实体识别[J]. 江苏大学学报:自然科学版, 2024, 45(1): 77-84.
Wang Jin, Wang Meng-qi, Zhang Xin-yue, et al. Chinese named entity recognition based on multi-head attention character word integration[J]. Journal of Jiangsu University (Natural Science Edition), 2024, 45(1): 77-84.
[6] Tuo M, Yang W Z, Wei F Y, et al.A novel chinese overlapping entity relation extraction model using word-label based on cascade binary tagging[J]. Electronics, 2023, 12(4): No.1013.
[7] Wang P. A survey of research on deep learning entity relationship extraction[J]. Natural Language Processing and Speech Recognition, 2019, 1(1): 1-5.
[8] Li J L, Xu Y J, Lin H Z, et al.Semantic-consistent learning for one-shot joint entity and relation extraction[J]. Applied Intelligence, 2022,53(5): 5963-5976.
[9] Lin Y, Shen S, Liu Z, et al. Neural relation extraction with selective attention over instances[C]∥Proceedings of the 54the Annual Meeting of the Association for Computational Linguistics. Berlin: Association for Computational Linguistics, 2016: 2124-2133.
[10] Kalpit D, Yaser A.Span-Level Model for Relation Extraction[C]∥Proceedings of 57th Annual Meeting of the Association for Computational Linguistics (ACL 2019), Florence, Italy, 2019: 5308-5314.
[11] Eberts M, Ulges A.Span-based joint entity and relation extraction with transformer pre-Training[C]∥ Proceedings of the 24th European Conference on Artificial Intelligence. Amsterdam: IOS Press, 2020: 2006-2013.
[12] Wan Q, Wei L, Zhao S, et al.A span-based multi-modal attention network for joint entity-relation extraction[J].Knowledge-Based Systems, 2023, 262:No.110228.
[13] Devlin J, Chang M W, Lee K, et al. BERT: pre-training of deep bidirectional transformers for language understanding[EB/OL]. [2024-03-15].
[14] Ma L, Ren H, Zhang X.Effective cascade dual-decoder model for joint entity and relation extraction[EB/OL]. [2024-03-17].
[15] Surdeanu M, Tibshirani J, Nallapati R, Manning C D. Multi-instance multi-label learning for relation extraction[C]∥Proceedings of the Joint Conference on Empirical Methods in Natural Language Processing and Computationl Natural Language Learning. Je ju Island: Association for Computational Linguistics, 2012: 455-465.
[16] Riedel S, Yao L, McCallum A.Modeling relations and their mentions without labeled text[C]∥Proceedings of the European Conference on Machine Learning and Knowledge Discovery in Databases (ECML PKDD). Berlin: Springer, 2010: 148-163.
[17] Zeng X R, Zeng D J, He S Z,et al.Extracting relational facts by an end-to-end neural model with copy mechanism[C]∥Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics,Melbourne, Australia, 2018: 506-514.
[18] Ren F L, Zhang L H, Yin S J,et al.A novel global feature-oriented relational triple extraction model based on table filling[C]∥Proceedings of the Conference on Empirical Methods in Natural Language Processing, Online and Punta Cana, Dominican Republic, 2021: 2646-2656.
[19] Xie X Y, Xie M, Moshayedi A J, et al. A hybrid improved neural networks algorithm based on L2 and dropout regularization[J].Mathematical Problems in Engineering, 2022: 1-19.
[1] Lei ZHANG,Jing JIAO,Bo-xin LI,Yan-jie ZHOU. Large capacity semi structured data extraction algorithm combining machine learning and deep learning [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(9): 2631-2637.
[2] Chang-jiang SHAO,Hao-meng CUI,Qi-ming QI,Wei-lin ZHUANG. Longitudinal seismic mitigation of near⁃fault long⁃span RC soft⁃lighten arch bridge based on viscous damper [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(5): 1355-1367.
[3] Chun-hua WANG,En-ze LI,Min XIAO. Object detection in high-resolution remote sensing images based on multi-feature fusion and twin attention network [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(1): 240-250.
[4] Zhao-wei CHEN,Qian-hua PU. Suppression characteristics of vehicle⁃bridge coupling vibration of long⁃span cable⁃stayed bridge with resilient wheels [J]. Journal of Jilin University(Engineering and Technology Edition), 2023, 53(9): 2519-2532.
[5] Yu FENG,Jian-ming HAO,Feng WANF,Jiu-peng ZHANG,Xiao-ming HUANG. Analysis of transient wind⁃induced response of long⁃span bridge under nonstationary wind field [J]. Journal of Jilin University(Engineering and Technology Edition), 2023, 53(6): 1638-1649.
[6] Er-gang XIONG,Zhong-wen GONG,Jia-ming LUO,Tuan-jie FAN. Experiment on cracks in reinforced concrete beams based on digital image correlation technology [J]. Journal of Jilin University(Engineering and Technology Edition), 2023, 53(4): 1094-1104.
[7] Xue WANG,Zhan-shan LI,Ying-da LYU. Medical image segmentation based on multi⁃scale context⁃aware and semantic adaptor [J]. Journal of Jilin University(Engineering and Technology Edition), 2022, 52(3): 640-647.
[8] Shu-lun GUO,Tie-yi ZHONG,Zhi-gang YAN. Calculation method of buffeting response for stay cables of long⁃span cable⁃stayed bridge [J]. Journal of Jilin University(Engineering and Technology Edition), 2021, 51(5): 1756-1762.
[9] Jin XU,Cun-shu PAN,Jing-hou FU,Jun LIU,Dan-qi WANG. Speed behavior characteristic on typical driving scenarios and along switched scenarios [J]. Journal of Jilin University(Engineering and Technology Edition), 2021, 51(4): 1331-1341.
[10] Jiang YU,Zhi-hao ZHAO,Yong-jun QIN. Damage of reinforced concrete shear beams based on acoustic emission and fractal [J]. Journal of Jilin University(Engineering and Technology Edition), 2021, 51(2): 620-630.
[11] Yi JIA,Ren-da ZHAO,Yong-bao WANG,Fu-hai LI. Sensitivity analysis of viscous damper parameters for multi⁃span and long⁃unit continuous girder bridges [J]. Journal of Jilin University(Engineering and Technology Edition), 2019, 49(6): 1871-1883.
[12] LU Ying, WANG Hui-qin, QIN Li-ke. Accurate fire location method in high and large-span space buildings [J]. 吉林大学学报(工学版), 2016, 46(6): 2067-2073.
[13] GONG Min-ming, SHI Wei, ZHANG Yan-ru, JIANG Jun, ZHANG Wei-ge, JIANG Jiu-chun. Operating condition control of large format LiMn2O4 battery for electric bus [J]. 吉林大学学报(工学版), 2014, 44(4): 1081-1087.
[14] YANG Yong-jian, WANG En, DU Zhan-wei. Congestion control strategy based on Markov meeting time span prediction model [J]. 吉林大学学报(工学版), 2014, 44(01): 149-157.
[15] YUN Di, LIU He, ZHANG Su-mei. Natural vibration and stability of large-span half-through concrete filled steel tubular arch bridge [J]. 吉林大学学报(工学版), 2013, 43(01): 86-91.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!